From patchwork Sat Jul 2 01:47:39 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnaud Lacombe X-Patchwork-Id: 939732 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p621mZWO003613 for ; Sat, 2 Jul 2011 01:48:35 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753286Ab1GBBsD (ORCPT ); Fri, 1 Jul 2011 21:48:03 -0400 Received: from mail-iy0-f174.google.com ([209.85.210.174]:41010 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753119Ab1GBBsB (ORCPT ); Fri, 1 Jul 2011 21:48:01 -0400 Received: by mail-iy0-f174.google.com with SMTP id 12so3223102iyb.19 for ; Fri, 01 Jul 2011 18:48:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=UwsG0O6aHJ3JLYUY6lR+CK30BFvPw2pvwZgqN38jl5o=; b=JnCh6v/32DZGktZf7TO7BUXnjKHeVoCw0SQ2Awk7OLB3eoHjUwNpTPgZjL3tEqJD8t HG367Tt6Kj9fPxdinB37C4p/P/QG+DWm2TQ6n6TawK3Q/Gd6llGboVyfOy0hxH+UWwGl m7+XCpxyMK+dvPGXBp4CgJ0TvkNGC47jkEvMA= Received: by 10.42.200.133 with SMTP id ew5mr4047389icb.182.1309571281496; Fri, 01 Jul 2011 18:48:01 -0700 (PDT) Received: from localhost.localdomain (69-165-144-226.dsl.teksavvy.com [69.165.144.226]) by mx.google.com with ESMTPS id d8sm3918766icy.21.2011.07.01.18.48.00 (version=SSLv3 cipher=OTHER); Fri, 01 Jul 2011 18:48:00 -0700 (PDT) From: Arnaud Lacombe To: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Michal Marek Cc: Arnaud Lacombe Subject: [RFC 7/7] kconfig: add stub for nconf checks Date: Fri, 1 Jul 2011 21:47:39 -0400 Message-Id: <1309571259-15241-8-git-send-email-lacombar@gmail.com> X-Mailer: git-send-email 1.7.3.4.574.g608b.dirty In-Reply-To: <1309571259-15241-1-git-send-email-lacombar@gmail.com> References: <1307387767-9237-1-git-send-email-lacombar@gmail.com> <1309571259-15241-1-git-send-email-lacombar@gmail.com> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sat, 02 Jul 2011 01:48:35 +0000 (UTC) --- 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 " *"