[openwrt/openwrt] u-boot.mk: add HOST_LDFLAGS to UBOOT_MAKE_FLAGS

LEDE Commits lede-commits at lists.infradead.org
Sat Feb 10 12:46:44 PST 2018


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/c72e6582c073b489348df3fedb273456d504559f

commit c72e6582c073b489348df3fedb273456d504559f
Author: Alexandru Ardelean <ardeleanalex at gmail.com>
AuthorDate: Tue Jan 23 16:51:52 2018 +0200

    u-boot.mk: add HOST_LDFLAGS to UBOOT_MAKE_FLAGS
    
    This will make sure that the build system's
    paths for linking are available.
    This is needed mostly for linking with tools/libressl.
    
    Signed-off-by: Alexandru Ardelean <ardeleanalex at gmail.com>
---
 include/u-boot.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/u-boot.mk b/include/u-boot.mk
index 5bcf031..babb764 100644
--- a/include/u-boot.mk
+++ b/include/u-boot.mk
@@ -43,7 +43,7 @@ TARGET_DEP = TARGET_$(BUILD_TARGET)$(if $(BUILD_SUBTARGET),_$(BUILD_SUBTARGET))
 UBOOT_MAKE_FLAGS = \
 	HOSTCC="$(HOSTCC)" \
 	HOSTCFLAGS="$(HOST_CFLAGS) $(HOST_CPPFLAGS)" \
-	HOSTLDFLAGS=""
+	HOSTLDFLAGS="$(HOST_LDFLAGS)"
 
 define Build/U-Boot/Target
   $(eval $(call U-Boot/Init,$(1)))



More information about the lede-commits mailing list