From: Felix Fietkau Date: Thu, 29 Sep 2016 11:34:21 +0000 (+0200) Subject: kernel: add STAGING_DIR_HOST/lib to host library search path X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=685ed1e0722245c9eca97bbb7e840009c113bcb5;p=openwrt%2Fstaging%2Fzorun.git kernel: add STAGING_DIR_HOST/lib to host library search path Signed-off-by: Felix Fietkau --- 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))