From c1d99926ac64957c77cf8e25466b8ae6efb11d3c Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 4 Feb 2015 15:54:14 +0100 Subject: fix mkimage linking --- package/u-boot/Makefile | 3 +-- package/u-boot/patches/patch-tools_Makefile | 11 +++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 package/u-boot/patches/patch-tools_Makefile (limited to 'package/u-boot') 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) -- cgit v1.2.3