aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-10-04 17:51:48 +0200
committerFelix Fietkau <nbd@nbd.name>2016-10-04 17:51:49 +0200
commit86c966a8ae9c4e74b912a16a760aaed17c68eb32 (patch)
treeef0f490c26fe5af835f99280f63136a2ff356ed2
parent8a7a1b0029f200d4912fc2b5f940e1834cc22646 (diff)
downloadupstream-86c966a8ae9c4e74b912a16a760aaed17c68eb32.tar.gz
upstream-86c966a8ae9c4e74b912a16a760aaed17c68eb32.tar.bz2
upstream-86c966a8ae9c4e74b912a16a760aaed17c68eb32.zip
build: fix regression on running make kernel_menuconfig
The build system overrides HOST_LOADLIBES to add the staging dir to the library search path. menuconfig needs -lncurses, add another override for it. Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--include/kernel-build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk
index f1372df7ce..04878f8250 100644
--- a/include/kernel-build.mk
+++ b/include/kernel-build.mk
@@ -141,7 +141,7 @@ define BuildKernel
rm -f $(LINUX_DIR)/.config.prev
rm -f $(STAMP_CONFIGURED)
$(LINUX_RECONF_CMD) > $(LINUX_DIR)/.config
- $(_SINGLE)$(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKEOPTS) $$@
+ $(_SINGLE)$(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKEOPTS) HOST_LOADLIBES="-L$(STAGING_DIR_HOST)/lib -lncurses" $$@
$(LINUX_RECONF_DIFF) $(LINUX_DIR)/.config > $(LINUX_RECONFIG_TARGET)
install: $(LINUX_DIR)/.image