From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753859Ab1HJQdO (ORCPT ); Wed, 10 Aug 2011 12:33:14 -0400 Received: from casper.infradead.org ([85.118.1.10]:46379 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753173Ab1HJQdL (ORCPT ); Wed, 10 Aug 2011 12:33:11 -0400 Subject: Re: [PATCH 2/2] Enable 'make CONFIG_FOO=y oldconfig' From: David Woodhouse To: Arnaud Lacombe Cc: Michal Marek , "H. Peter Anvin" , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Date: Wed, 10 Aug 2011 17:33:05 +0100 In-Reply-To: References: <1312067499.22074.59.camel@i7.infradead.org> <1312067670.22074.61.camel@i7.infradead.org> <4E34998D.8060806@zytor.com> <4E4140B3.7090802@suse.cz> <4E4280BA.9050109@suse.cz> <1312981658.2989.39.camel@i7.infradead.org> <1312985888.2989.46.camel@i7.infradead.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.0.2 (3.0.2-3.fc15) Content-Transfer-Encoding: 7bit Message-ID: <1312993987.2989.53.camel@i7.infradead.org> Mime-Version: 1.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2011-08-10 at 10:34 -0400, Arnaud Lacombe wrote: > your point being ? I might as well tell you that I find the current > behavior of 'all*.config' just as broken wrt. to dependency > management. You might indeed. And I would find that commentary just as irrelevant and unhelpful. > > If you have nothing relevant to say, just don't say anything. > > > maybe you can come with a detailed description of your proposal's > behavior, including how to manage case like this, instead of just > throwing patch around ? How's this for a definition: "The behaviour for unsettable (or unclearable) options shall be exactly like it already is if you put them in all*.config, or if you manually edit the .config file and run 'make oldconfig', as people have been doing for years. There is nothing new to see here." > If I do: > > # make CONFIG_WIRELESS_EXT=y allnoconfig > > I expect either a success or an error, not a silent discard. And > *yes*, the problem already exists with "all*.config". [dwmw2@i7 linux-2.6]$ make CONFIG_WIRELESS_EXT=y allnoconfig scripts/kconfig/conf --allnoconfig Kconfig # # Could not set CONFIG_WIRELESS_EXT=y; perhaps it has unmet dependencies? # # # configuration written to .config # -- dwmw2