From: Alexandru Ardelean Date: Tue, 23 Jan 2018 14:51:52 +0000 (+0200) Subject: u-boot.mk: add HOST_LDFLAGS to UBOOT_MAKE_FLAGS X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c72e6582c073b489348df3fedb273456d504559f;p=openwrt%2Fstaging%2Flinusw.git 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 --- diff --git a/include/u-boot.mk b/include/u-boot.mk index 5bcf0315d3..babb76497a 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)))