summaryrefslogtreecommitdiff
path: root/package/u-boot
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-01-15 10:15:25 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-01-15 10:15:48 +0100
commit95344f4501936c3ad79fbe21dda4888dbcfd5d51 (patch)
treec7c2f922307f4d4ab07eb7474eea698ef9ca9572 /package/u-boot
parent43fdeb57bee13ebcbb5a1035405a7212f2f01252 (diff)
openssl host required for u-boot mkimage
Diffstat (limited to 'package/u-boot')
-rw-r--r--package/u-boot/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/u-boot/Makefile b/package/u-boot/Makefile
index 578b48cb6..079ed4066 100644
--- a/package/u-boot/Makefile
+++ b/package/u-boot/Makefile
@@ -9,6 +9,7 @@ PKG_RELEASE:= 1
PKG_HASH:= 383051a656ebe11757b17d38a3326387e4a1b0949ca8a9e8ee506bf71dac9fde
PKG_DESCR:= portable bootloader
PKG_SECTION:= base/boot
+HOST_BUILDDEP:= openssl-host
PKG_BUILDDEP:= u-boot-host
PKG_URL:= http://www.denx.de/wiki/U-Boot
PKG_SITES:= ftp://ftp.denx.de/pub/u-boot/
@@ -30,6 +31,8 @@ ifeq ($(ADK_TARGET_SYSTEM_ATMEL_NGW100),y)
CONFIG:= atngw100_defconfig
endif
+HOST_MAKE_FLAGS+= HOSTCFLAGS="$(HOST_CPPFLAGS) $(HOST_CFLAGS)" \
+ HOSTLDFLAGS="$(HOST_LDFLAGS) -ldl"
HOST_STYLE:= manual
CONFIG_STYLE:= manual
BUILD_STYLE:= manual