kumquat-buildroot/boot
Peter Korsgaard 0bf80e4bcd uboot: ensure host includes are searched before system default includes
Commit baae5156ce (uboot: use local fdt headers) changed the uboot logic
to pass the host include directories with -idirafter instead of -I, so
include files local to u-boot would be preferred over host includes.

This unfortunately breaks configurations using
BR2_TARGET_UBOOT_NEEDS_OPENSSL on hosts with incompatible openssl headers
installed in the system default include directories as explained here:

http://lists.busybox.net/pipermail/buildroot/2018-March/214651.html

The problem is that -idirafter directories gets added to the very end of the
search order, AFTER the system default directories.

Instead use -isystem which causes the directories to be added after -I but
before the system default directories.  With this in place, the include
directories of u-boot will first be scanned, followed by the host includes
and finally the system default include directories.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-03-02 00:12:43 +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
at91dataflashboot
barebox
binaries-marvell binaries-marvell: bump version, add license file and hash 2017-12-08 18:58:49 +01:00
boot-wrapper-aarch64
grub2
gummiboot
lpc32xxcdl
mv-ddr-marvell mv-ddr-marvell: new package 2017-12-08 13:42:27 +01:00
mxs-bootlets
s500-bootloader
syslinux
ts4800-mbrboot
uboot uboot: ensure host includes are searched before system default includes 2018-03-02 00:12:43 +01:00
vexpress-firmware
xloader
common.mk
Config.in binaries-marvell: new package 2017-12-08 13:42:37 +01:00