Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757405AbXETLqS (ORCPT ); Sun, 20 May 2007 07:46:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755438AbXETLqJ (ORCPT ); Sun, 20 May 2007 07:46:09 -0400 Received: from einhorn.in-berlin.de ([192.109.42.8]:48525 "EHLO einhorn.in-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755444AbXETLqI (ORCPT ); Sun, 20 May 2007 07:46:08 -0400 X-Envelope-From: stefanr@s5r6.in-berlin.de Message-ID: <465034AA.6030904@s5r6.in-berlin.de> Date: Sun, 20 May 2007 13:44:42 +0200 From: Stefan Richter User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20070408 SeaMonkey/1.1.1 MIME-Version: 1.0 To: Trent Piepho CC: Satyam Sharma , Adrian Bunk , Andrew Morton , Sam Ravnborg , LKML , Roman Zippel , Kumar Gala , Simon Horman Subject: Re: RFC: kconfig select warnings bogus? References: <20070519151523.GA26724@uranus.ravnborg.org> <20070519230940.GJ6291@stusta.de> <465029F1.6090301@s5r6.in-berlin.de> In-Reply-To: X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1196 Lines: 43 Trent Piepho wrote: > On Sun, 20 May 2007, Stefan Richter wrote: >> 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. If "make whateverconfig" works correctly,... >> Iterating upwards and downwards the dependency graph is the duty of >> "make snafuconfig", not of the maintainers. ...multi-level dependencies are no problem for it. There is nothing wrong with A... depends on B B... depends on C # CONFIG_C is not set -> A is unavailable. -- Stefan Richter -=====-=-=== -=-= =-=-- http://arcgraph.de/sr/ - 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/