summaryrefslogtreecommitdiff
path: root/include/kernel-defaults.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-09-29 13:34:21 +0200
committerFelix Fietkau <nbd@nbd.name>2016-09-29 13:35:11 +0200
commit685ed1e0722245c9eca97bbb7e840009c113bcb5 (patch)
tree161b8acf67146d44753bdc282345ec862106293c /include/kernel-defaults.mk
parent72e9d19f6e704124a7092353a12eabf21710d782 (diff)
downloadmtk-20170518-685ed1e0722245c9eca97bbb7e840009c113bcb5.zip
mtk-20170518-685ed1e0722245c9eca97bbb7e840009c113bcb5.tar.gz
mtk-20170518-685ed1e0722245c9eca97bbb7e840009c113bcb5.tar.bz2
kernel: add STAGING_DIR_HOST/lib to host library search path
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include/kernel-defaults.mk')
-rw-r--r--include/kernel-defaults.mk1
1 files changed, 1 insertions, 0 deletions
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))