From c72e6582c073b489348df3fedb273456d504559f Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Tue, 23 Jan 2018 16:51:52 +0200 Subject: [PATCH] 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 --- 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 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)))