Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751429Ab1BZWSn (ORCPT ); Sat, 26 Feb 2011 17:18:43 -0500 Received: from pfepa.post.tele.dk ([195.41.46.235]:52535 "EHLO pfepa.post.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751293Ab1BZWSl (ORCPT ); Sat, 26 Feb 2011 17:18:41 -0500 Date: Sat, 26 Feb 2011 23:18:38 +0100 From: Sam Ravnborg To: Arnaud Lacombe Cc: Jeff Mahoney , Linux Kernel Mailing List , Roman Zippel , linux-kbuild@vger.kernel.org Subject: Re: [PATCH] Add ``cloneconfig'' target Message-ID: <20110226221838.GA24028@merkur.ravnborg.org> References: <4D671556.80607@suse.com> <20110225060706.GA12723@merkur.ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1515 Lines: 35 On Sat, Feb 26, 2011 at 02:47:01PM -0500, Arnaud Lacombe wrote: > Hi, > > On Fri, Feb 25, 2011 at 1:07 AM, Sam Ravnborg wrote: > > We already have something remotely similar in kconfig. > > We use the following list: > > config DEFCONFIG_LIST > > ? ? ? ?string > > ? ? ? ?depends on !UML > > ? ? ? ?option defconfig_list > > ? ? ? ?default "/lib/modules/$UNAME_RELEASE/.config" > > ? ? ? ?default "/etc/kernel-config" > > ? ? ? ?default "/boot/config-$UNAME_RELEASE" > > ? ? ? ?default "$ARCH_DEFCONFIG" > > ? ? ? ?default "arch/$ARCH/defconfig" > > > I may argue that anything within the Linux tree which point > _by_default_ to something outside the tree itself is broken. The above allows the average user to just type "make menuconfig" and then the configuration of the current kernel is presented to the user. This is convinient in many cases. We know the /proc/config.gz is an incresingly popular way to gain access to the configuration of the running kernel. So extending the already know and working way to obtaing the configuration of the running kernel to suppport /proc/config.gz is logical. The fact that the configuration is gzipped does not warrant a new option to deal with this that almost duplicate the existing functionality. Sam -- 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/