[source] kernel: add STAGING_DIR_HOST/lib to host library search path

LEDE Commits lede-commits at lists.infradead.org
Thu Sep 29 04:35:16 PDT 2016


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/685ed1e0722245c9eca97bbb7e840009c113bcb5

commit 685ed1e0722245c9eca97bbb7e840009c113bcb5
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Thu Sep 29 13:34:21 2016 +0200

    kernel: add STAGING_DIR_HOST/lib to host library search path
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 include/kernel-defaults.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
index 2c4bcec..eff4700 100644
--- a/include/kernel-defaults.mk
+++ b/include/kernel-defaults.mk
@@ -20,6 +20,7 @@ KERNEL_MAKEOPTS := -C $(LINUX_DIR) \
 	KBUILD_BUILD_HOST="$(call qstrip,$(CONFIG_KERNEL_BUILD_DOMAIN))" \
 	KBUILD_BUILD_TIMESTAMP="$(KBUILD_BUILD_TIMESTAMP)" \
 	KBUILD_BUILD_VERSION="0" \
+	HOST_LOADLIBES="-L$(STAGING_DIR_HOST)/lib" \
 	CONFIG_SHELL="$(BASH)" \
 	$(if $(findstring c,$(OPENWRT_VERBOSE)),V=1,V='') \
 	$(if $(PKG_BUILD_ID),LDFLAGS_MODULE=--build-id=0x$(PKG_BUILD_ID))



More information about the lede-commits mailing list