lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1309571259-15241-8-git-send-email-lacombar@gmail.com>
Date:	Fri,  1 Jul 2011 21:47:39 -0400
From:	Arnaud Lacombe <lacombar@...il.com>
To:	linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
	Michal Marek <mmarek@...e.cz>
Cc:	Arnaud Lacombe <lacombar@...il.com>
Subject: [RFC 7/7] kconfig: add stub for nconf checks

---
 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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ