Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756634AbXETLXz (ORCPT ); Sun, 20 May 2007 07:23:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755064AbXETLXs (ORCPT ); Sun, 20 May 2007 07:23:48 -0400 Received: from mail6.sea5.speakeasy.net ([69.17.117.8]:47198 "EHLO mail6.sea5.speakeasy.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752702AbXETLXr (ORCPT ); Sun, 20 May 2007 07:23:47 -0400 Date: Sun, 20 May 2007 04:23:46 -0700 (PDT) From: Trent Piepho X-X-Sender: xyzzy@shell4.speakeasy.net To: Stefan Richter cc: Satyam Sharma , Adrian Bunk , Andrew Morton , Sam Ravnborg , LKML , Roman Zippel , Kumar Gala , Simon Horman Subject: Re: RFC: kconfig select warnings bogus? In-Reply-To: <465029F1.6090301@s5r6.in-berlin.de> Message-ID: References: <20070519151523.GA26724@uranus.ravnborg.org> <20070519230940.GJ6291@stusta.de> <465029F1.6090301@s5r6.in-berlin.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1329 Lines: 39 On Sun, 20 May 2007, Stefan Richter wrote: > Trent Piepho wrote: > > config ATARI_KBD_CORE > > bool > > default y if KEYBOARD_ATARI > > default y if MOUSE_ATARI > > > > Basically a line "config A \n select B" is transformed into "config B \n > > default y if A". It's the same number of lines, they're just in a new place. > > Basically you replace > > A... depends on B > > by > > B... serves A > > The latter variant is a pain to maintain. Dependencies change over > time, therefore we should note the dependency always at the dependent > option, not at the serving option. The problem is that "B" will not exist on some architectures. If you put the dependency with "A", the dependency still exists when "B" is gone. If the dependency is with "B", it nicely goes away when "B" is gone. > Iterating upwards and downwards the dependency graph is the duty of > "make snafuconfig", not of the maintainers. > > Besides, the "serves" form cannot stand in for constructs like > > A... depends on (B && C) || D This is for replacing "select" lines, which can't look like that. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/