Re: [U-Boot] [PATCH] fdt: Ensure that libfdt_env.h comes from U-Boot

2013-06-14 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/14/2013 10:56 AM, Joe Hershberger wrote: > Hi Simon, > > On Wed, Apr 17, 2013 at 10:35 AM, Tom Rini wrote: >> On Mon, Mar 11, 2013 at 09:30:27AM -0700, Simon Glass wrote: >> >>> When building host utilities, we include libfdt.h from the >>> ho

Re: [U-Boot] [PATCH] fdt: Ensure that libfdt_env.h comes from U-Boot

2013-06-14 Thread Joe Hershberger
Hi Simon, On Wed, Apr 17, 2013 at 10:35 AM, Tom Rini wrote: > On Mon, Mar 11, 2013 at 09:30:27AM -0700, Simon Glass wrote: > >> When building host utilities, we include libfdt.h from the host, not from >> U-Boot. This in turn brings in libfdt_env.h from the host, which can mess >> up the types an

Re: [U-Boot] [PATCH] fdt: Ensure that libfdt_env.h comes from U-Boot

2013-04-17 Thread Tom Rini
On Mon, Mar 11, 2013 at 09:30:27AM -0700, Simon Glass wrote: > When building host utilities, we include libfdt.h from the host, not from > U-Boot. This in turn brings in libfdt_env.h from the host, which can mess > up the types and cause a build failure, depending on the host environment. > To fix

Re: [U-Boot] [PATCH] fdt: Ensure that libfdt_env.h comes from U-Boot

2013-04-16 Thread Jerry Van Baren
Hi Simon, On 04/12/2013 04:24 PM, Simon Glass wrote: Hi Tom / Jerry, [snip] Another way to fix this is to use -nostdinc and -idirafter to ensure that system includes are included after U-Boot ones. Unfortunately this means that U-Boot's errno.h gets included instead of the system one. This i

Re: [U-Boot] [PATCH] fdt: Ensure that libfdt_env.h comes from U-Boot

2013-04-12 Thread Simon Glass
Hi Tom / Jerry, On Mon, Mar 11, 2013 at 9:30 AM, Simon Glass wrote: > When building host utilities, we include libfdt.h from the host, not from > U-Boot. This in turn brings in libfdt_env.h from the host, which can mess > up the types and cause a build failure, depending on the host environment.

[U-Boot] [PATCH] fdt: Ensure that libfdt_env.h comes from U-Boot

2013-03-11 Thread Simon Glass
When building host utilities, we include libfdt.h from the host, not from U-Boot. This in turn brings in libfdt_env.h from the host, which can mess up the types and cause a build failure, depending on the host environment. To fix this, force inclusion of U-Boot's libfdt_env.h so that the types are