diff options
author | Waldemar Brodkorb <wbrodkorb@conet.de> | 2015-02-04 15:54:14 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbrodkorb@conet.de> | 2015-02-04 15:54:14 +0100 |
commit | c1d99926ac64957c77cf8e25466b8ae6efb11d3c (patch) | |
tree | 06f9f5abff6393331dc4b214eef2cf1d072ad28b /package/u-boot | |
parent | 684cbc081d43a46cd5230844b29f4ba0956591fa (diff) |
fix mkimage linking
Diffstat (limited to 'package/u-boot')
-rw-r--r-- | package/u-boot/Makefile | 3 | ||||
-rw-r--r-- | package/u-boot/patches/patch-tools_Makefile | 11 |
2 files changed, 12 insertions, 2 deletions
diff --git a/package/u-boot/Makefile b/package/u-boot/Makefile index 079ed4066..e32c9b7a3 100644 --- a/package/u-boot/Makefile +++ b/package/u-boot/Makefile @@ -31,8 +31,7 @@ ifeq ($(ADK_TARGET_SYSTEM_ATMEL_NGW100),y) CONFIG:= atngw100_defconfig endif -HOST_MAKE_FLAGS+= HOSTCFLAGS="$(HOST_CPPFLAGS) $(HOST_CFLAGS)" \ - HOSTLDFLAGS="$(HOST_LDFLAGS) -ldl" +HOST_MAKE_FLAGS+= HOSTCFLAGS="$(HOST_CPPFLAGS) $(HOST_CFLAGS)" HOST_STYLE:= manual CONFIG_STYLE:= manual BUILD_STYLE:= manual diff --git a/package/u-boot/patches/patch-tools_Makefile b/package/u-boot/patches/patch-tools_Makefile new file mode 100644 index 000000000..90ef0c55d --- /dev/null +++ b/package/u-boot/patches/patch-tools_Makefile @@ -0,0 +1,11 @@ +--- u-boot-2015.01.orig/tools/Makefile 2015-01-12 15:39:08.000000000 +0100 ++++ u-boot-2015.01/tools/Makefile 2015-02-04 14:51:33.663150060 +0100 +@@ -115,7 +115,7 @@ endif + + # MXSImage needs LibSSL + ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_FIT_SIGNATURE),) +-HOSTLOADLIBES_mkimage += -lssl -lcrypto ++HOSTLOADLIBES_mkimage += -lssl -lcrypto -ldl + endif + + HOSTLOADLIBES_dumpimage := $(HOSTLOADLIBES_mkimage) |