[Buildroot] [PATCH] board/ci20: Fix U-Boot build failure

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Apr 1 14:05:55 UTC 2018


Hello,

On Sun,  1 Apr 2018 10:50:35 -0300, Ezequiel Garcia wrote:
> Given there is no upstream U-Boot for CI20, the defconfig
> sets an ancient version, with old libfdt headers.
> 
> Enable DTC, so U-Boot can pick Buildroot's libfdt headers
> instead of those installed by the host.
> 
> Fixes multiple errors looking like this:
> 
> In file included from ../include/libfdt.h:54:0,
>                  from fdt_host.h:11,
>                  from mkimage.h:22,
>                  from aisimage.c:8:
> /usr/include/libfdt_env.h:70:30: error: conflicting types for ‘fdt64_t’
>  typedef uint64_t FDT_BITWISE fdt64_t;

Which Buildroot version are you using ? We fixed errors like that
recently, and I built ci20_defconfig yesterday, and it worked fine for
me.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list