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>
This commit is contained in:
parent
8a7a1b0029
commit
86c966a8ae
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ define BuildKernel
|
||||||
rm -f $(LINUX_DIR)/.config.prev
|
rm -f $(LINUX_DIR)/.config.prev
|
||||||
rm -f $(STAMP_CONFIGURED)
|
rm -f $(STAMP_CONFIGURED)
|
||||||
$(LINUX_RECONF_CMD) > $(LINUX_DIR)/.config
|
$(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)
|
$(LINUX_RECONF_DIFF) $(LINUX_DIR)/.config > $(LINUX_RECONFIG_TARGET)
|
||||||
|
|
||||||
install: $(LINUX_DIR)/.image
|
install: $(LINUX_DIR)/.image
|
||||||
|
|
Loading…
Reference in a new issue