--- scripts/kconfig/Makefile | 4 +--- scripts/kconfig/check.sh | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 4e934f1..2eb71ee 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile @@ -176,7 +176,7 @@ KC_CHECK := gettext ifeq ($(MAKECMDGOALS),nconfig) hostprogs-y += nconf - KC_CHECK += ncurses + KC_CHECK += menu panel ncurses endif ifeq ($(MAKECMDGOALS),menuconfig) @@ -211,8 +211,6 @@ HOSTCFLAGS_zconf.tab.o := -I$(src) HOSTCFLAGS_gconf.o = -Wno-missing-prototypes -HOSTLOADLIBES_nconf = -lmenu -lpanel - need-check := $(addprefix $(obj)/,$(frontends-objs)) need-check += $(addprefix $(obj)/,$(lxdialog)) diff --git a/scripts/kconfig/check.sh b/scripts/kconfig/check.sh index ec551b7..d19eca8 100755 --- a/scripts/kconfig/check.sh +++ b/scripts/kconfig/check.sh @@ -47,6 +47,12 @@ check_gtk() echo "HOSTLOADLIBES_gconf += $libs" >> ${obj}/.tmp_check } +check_menu() +{ + + echo "HOSTLOADLIBES_nconf += -lmenu" >> ${obj}/.tmp_check +} + check_ncurses() { local cflags="" @@ -96,6 +102,12 @@ check_ncurses() echo "HOSTLOADLIBES_nconf += $libs" >> ${obj}/.tmp_check } +check_panel() +{ + + echo "HOSTLOADLIBES_nconf += -lpanel" >> ${obj}/.tmp_check +} + check_qt() { local cflags="" @@ -163,7 +175,9 @@ for arg in $*; do case $arg in gettext) ;; gtk) ;; + menu) ;; ncurses) ;; + panel) ;; qt) ;; *) echo " *" -- 1.7.3.4.574.g608b.dirty -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html