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 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 boot-wrapper-aarch64: update upstream repository 2016-11-16 12:24:19 +01:00
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: ensure host includes are searched before system default includes 2018-03-02 00:12:43 +01:00
vexpress-firmware vexpress-firmware: new package 2016-10-15 12:35:28 +02:00
xloader boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+ 2017-04-01 15:16:38 +02:00
common.mk
Config.in binaries-marvell: new package 2017-12-08 13:42:37 +01:00