kumquat-buildroot/boot
Julien Boibessot 0dca644e44 boot/uboot: fix missing host-openssl for i.MX28 target
Building an U-Boot image for the i.MX23 or i.MX28 target requires to run the
bootloaders 'mxsimage' tool on the host. As mxsimage needs unconditionally
OpenSSL, building U-Boot for those targets fails if it is not available on
the host:

tools/mxsimage.c:18:25: fatal error: openssl/evp.h: No such file or directory
  #include <openssl/evp.h>

Add the required dependency 'host-openssl' to all the different U-Boot image
types used to build a bootloader image for an i.MX23/i.MX28 target.

Also pass HOST_CFLAGS and HOST_LDFLAGS to the U-Boot build process so the right
-I/-L options will be used to find OpenSSL.

Ported from the Armadeus project:
https://sourceforge.net/p/armadeus/mailman/message/33595402/

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
[Jörg: port to recent Buildroot version]
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-05-25 17:09:22 +02:00
..
afboot-stm32 afboot-stm32: use the Buildroot toolchain 2016-04-16 12:43:16 +02:00
at91bootstrap packages: refactor checks using BR_BUILDING 2015-04-26 21:43:25 +02:00
at91bootstrap3 Fix fallout after generated defconfig support 2015-12-23 09:54:14 +01:00
at91dataflashboot package: remove the trailing slash sign from <PKG>_SITE variable 2014-07-31 23:17:46 +02:00
barebox barebox: add an option to embed environment image 2016-05-06 15:48:01 +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 boot/grub2: enable squashfs support by default 2016-03-29 03:02:05 +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 boot/mxs-bootlets: do not check hash of custom tarball 2015-05-02 15:11:01 +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 missing host-openssl for i.MX28 target 2016-05-25 17:09:22 +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 afboot-stm32: new package 2016-02-22 23:23:17 +01:00