kumquat-buildroot/boot
Thomas Petazzoni bf73334232 uboot: fix build when libfdt-devel is installed system-wide
When libfdt-devel is installed system-wide, the build of U-Boot host
programs currently fails with lots of:

  HOSTCC  tools/aisimage.o
In file included from tools/../include/../lib/libfdt/libfdt.h:10:0,
                 from tools/../include/libfdt.h:1,
                 from tools/fdt_host.h:11,
                 from tools/imagetool.h:24,
                 from tools/aisimage.c:8:
/usr/include/libfdt_env.h:70:30: error: conflicting types for ‘fdt64_t’
 typedef uint64_t FDT_BITWISE fdt64_t;
                              ^~~~~~~
In file included from <command-line>:0:0:
././include/libfdt_env.h:19:16: note: previous declaration of ‘fdt64_t’ was here
 typedef __be64 fdt64_t;
                ^~~~~~~
In file included from ././include/libfdt_env.h:12:0,
                 from <command-line>:0:
/usr/include/libfdt_env.h:90:24: error: expected ‘)’ before ‘x’
 static inline uint32_t fdt32_to_cpu(fdt32_t x)
                        ^

This commit adds a fixup in the U-Boot code to fix this problem. The
fixup is equivalent to applying upstream commit
http://git.denx.de/?p=u-boot.git;a=commitdiff;h=e0d20dc1521e74b82dbd69be53a048847798a90a,
but we can't use a patch for the uboot package, since people are using
arbitrary versions.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-03-10 23:50:44 +01:00
..
afboot-stm32
arm-trusted-firmware boot/arm-trusted-firmware: build fiptool separately with dependency on host-openssl 2017-12-18 23:09:39 +01:00
at91bootstrap
at91bootstrap3 at91bootstrap3: exclude from hash when downloading from git 2017-06-11 14:27:42 +02:00
at91dataflashboot
barebox barebox: bump to version 2017.09.0 2017-10-27 20:46:17 +02:00
binaries-marvell binaries-marvell: bump version, add license file and hash 2017-12-08 18:58:49 +01:00
boot-wrapper-aarch64
grub2 grub2: force -fno-stack-protector in CFLAGS 2017-08-30 22:09:21 +02:00
gummiboot boot, package: use SPDX short identifier for LGPLv2.1/LGPLv2.1+ 2017-04-01 15:18:10 +02:00
lpc32xxcdl
mv-ddr-marvell mv-ddr-marvell: new package 2017-12-08 13:42:27 +01:00
mxs-bootlets Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/bin 2017-07-05 15:19:29 +02:00
s500-bootloader
syslinux boot/syslinux: fix i386 bios build with recent binutils 2017-08-16 22:54:03 +02:00
ts4800-mbrboot boot, package: use SPDX short identifier for BSD-2c 2017-04-01 15:27:05 +02:00
uboot uboot: fix build when libfdt-devel is installed system-wide 2018-03-10 23:50:44 +01:00
vexpress-firmware
xloader
common.mk
Config.in binaries-marvell: new package 2017-12-08 13:42:37 +01:00