kumquat-buildroot/boot
Thomas Petazzoni 1c2eb2684f boot/uboot: fix build of old U-Boot versions
Since commit 0dca644e44 ("boot/uboot: fix
missing host-openssl for i.MX28 target"), we pass HOSTCFLAGS/HOSTLDFLAGS
in the environment of U-Boot when building. This is needed to allow
U-Boot to find the OpenSSL headers/libraries when they are
needed. Unfortunately, this breaks the build with old U-Boot versions as
the U-Boot Makefiles were not designed to have HOSTCFLAGS passed in,
which causes some important CFLAGS from the U-Boot build system to be
ignored.

As suggested by Arnout, we pass the HOST_CFLAGS inside HOSTCC directly,
which allows to pass the CFLAGS without overriding the internal U-Boot
CFLAGS.

Tested with an old U-Boot (2012.10), and a modern U-Boot in a
configuration that needs OpenSSL.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-05 12:06:47 +02:00
..
afboot-stm32 afboot-stm32: use the Buildroot toolchain 2016-04-16 12:43:16 +02:00
at91bootstrap package/at91bootstrap: add hash file 2016-06-19 21:10:16 +02:00
at91bootstrap3 Fix fallout after generated defconfig support 2015-12-23 09:54:14 +01:00
at91dataflashboot package/at91dataflashboot: add hash file 2016-06-19 21:11:25 +02:00
barebox barebox: bump to version 2016.06.0 2016-06-23 21:07:17 +02:00
boot-wrapper-aarch64 .mk files: bulk aligment and whitespace cleanup of assignments 2014-10-07 15:00:28 +02:00
grub boot/grub: add rootwait to default config 2016-03-10 22:29:36 +01:00
grub2 grub2: really disable liblzma 2016-06-15 23:01:18 +02:00
gummiboot boot/gummiboot: switch to http for git clone 2015-05-01 10:26:51 +02:00
lpc32xxcdl Normalize separator size to 80 2013-06-07 10:54:54 +02:00
mxs-bootlets package/mxs-bootlets: add hash file 2016-06-19 21:54:20 +02:00
s500-bootloader boot: add s500-bootloader package 2016-05-26 10:35:34 +02:00
syslinux syslinux: fix boot hang when host-gcc is 5.3 2016-05-01 22:22:11 +02:00
uboot boot/uboot: fix build of old U-Boot versions 2016-07-05 12:06:47 +02:00
xloader packages: refactor checks using BR_BUILDING 2015-04-26 21:43:25 +02:00
common.mk Fix build reproducibility in Make 3.82 2013-09-06 23:27:42 +02:00
Config.in boot: add s500-bootloader package 2016-05-26 10:35:34 +02:00