[LEDE-DEV] [RFC 1/1] Revert "build: fix regression on running make kernel_menuconfig"

Sergey Ryazanov ryazanov.s.a at gmail.com
Sun May 14 15:20:27 PDT 2017


This reverts commit 86c966a8ae9c4e74b912a16a760aaed17c68eb32.

This patch caused the segmentation fault in mconf during
"make kernel_menuconfig" due to a mess with ncurses/ncursesw libraries
(forced linking with ncurses, while binary compiled with headers of
ncursesw).

Fixes: FS#366 (make kernel_menuconfig: Segmentation fault)

Signed-off-by: Sergey Ryazanov <ryazanov.s.a at gmail.com>
---
 include/kernel-build.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/kernel-build.mk b/include/kernel-build.mk
index 7d1e23c..a4d12ec 100644
--- a/include/kernel-build.mk
+++ b/include/kernel-build.mk
@@ -159,7 +159,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) HOST_LOADLIBES="-L$(STAGING_DIR_HOST)/lib -lncurses" $$@
+	$(_SINGLE)$(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKEOPTS) $$@
 	$(LINUX_RECONF_DIFF) $(LINUX_DIR)/.config > $(LINUX_RECONFIG_TARGET)
 
   install: $(LINUX_DIR)/.image
-- 
2.10.2




More information about the Lede-dev mailing list