lkml.org 
[lkml]   [2011]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC 7/7] kconfig: add stub for nconf checks
Date
---
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


\
 
 \ /
  Last update: 2011-07-02 03:51    [W:0.117 / U:0.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site