From 685ed1e0722245c9eca97bbb7e840009c113bcb5 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 29 Sep 2016 13:34:21 +0200 Subject: kernel: add STAGING_DIR_HOST/lib to host library search path Signed-off-by: Felix Fietkau --- include/kernel-defaults.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index 2c4bcec474..eff4700fca 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)) -- cgit v1.2.3