From patchwork Fri Nov 26 16:15:11 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Marek X-Patchwork-Id: 359172 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oAQGFJQq025196 for ; Fri, 26 Nov 2010 16:15:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752341Ab0KZQPO (ORCPT ); Fri, 26 Nov 2010 11:15:14 -0500 Received: from cantor.suse.de ([195.135.220.2]:34221 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751798Ab0KZQPN (ORCPT ); Fri, 26 Nov 2010 11:15:13 -0500 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 3DA62945D6; Fri, 26 Nov 2010 17:15:12 +0100 (CET) Received: by sepie.suse.cz (Postfix, from userid 10020) id B011C764D1; Fri, 26 Nov 2010 17:15:11 +0100 (CET) Date: Fri, 26 Nov 2010 17:15:11 +0100 From: Michal Marek To: Arnaud Lacombe Cc: linux-kbuild@vger.kernel.org, linux-media@vger.kernel.org, Mauro Carvalho Chehab Subject: Re: [PATCH 1/5] kconfig: add an option to determine a menu's visibility Message-ID: <20101126161511.GD9418@sepie.suse.cz> References: <4CD300AC.3010708@redhat.com> <1289079027-3037-2-git-send-email-lacombar@gmail.com> <4CEF8C74.8010600@suse.cz> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4CEF8C74.8010600@suse.cz> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 26 Nov 2010 16:15:19 +0000 (UTC) diff --git a/Documentation/kbuild/kconfig-language.txt b/Documentation/kbuild/kconfig-language.txt index 2fe93ca..2522cca 100644 --- a/Documentation/kbuild/kconfig-language.txt +++ b/Documentation/kbuild/kconfig-language.txt @@ -114,6 +114,13 @@ applicable everywhere (see syntax). the illegal configurations all over. kconfig should one day warn about such things. +- limiting menu display: "visible if" + This attribute is only applicable to menu blocks, if the condition is + false, the menu block is not displayed to the user (the symbols + contained there can still be selected by other symbols, though). It is + similar to a conditional "prompt" attribude for individual menu + entries. + - numerical ranges: "range" ["if" ] This allows to limit the range of possible input values for int and hex symbols. The user can only input a value which is larger than @@ -300,7 +307,8 @@ menu: "endmenu" This defines a menu block, see "Menu structure" above for more -information. The only possible options are dependencies. +information. The only possible options are dependencies and "visible" +attributes. if: