Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752217Ab1B0RyJ (ORCPT ); Sun, 27 Feb 2011 12:54:09 -0500 Received: from cantor2.suse.de ([195.135.220.15]:54745 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751402Ab1B0RyH (ORCPT ); Sun, 27 Feb 2011 12:54:07 -0500 Message-ID: <4D6A8FB9.3080408@suse.com> Date: Sun, 27 Feb 2011 12:54:01 -0500 From: Jeff Mahoney User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 Thunderbird/3.1.7 MIME-Version: 1.0 To: Geert Uytterhoeven Cc: Sam Ravnborg , Arnaud Lacombe , Linux Kernel Mailing List , Roman Zippel , linux-kbuild@vger.kernel.org Subject: Re: [PATCH] Add ``cloneconfig'' target References: <4D671556.80607@suse.com> <20110225060706.GA12723@merkur.ravnborg.org> <20110226221838.GA24028@merkur.ravnborg.org> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2135 Lines: 53 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/27/2011 04:03 AM, Geert Uytterhoeven wrote: > On Sat, Feb 26, 2011 at 23:18, Sam Ravnborg wrote: >> On Sat, Feb 26, 2011 at 02:47:01PM -0500, Arnaud Lacombe wrote: >>> 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. > > Does this detect cross-compiling? The 'depends on !UML' triggered me... No, and it never has. The DEFCONFIG_LIST feature has been mostly unaltered since it was added in Jun 2006. Prior to that it was hardcoded into scripts/kconfig/confdata.c since before 2002. - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk1qj7kACgkQLPWxlyuTD7J/ZwCfQzFM6Qo+1Va5RTYKj4bXEydm 28EAoINVyrH+F4hYhCWSkXYCq3Y0euY/ =T1qc -----END PGP SIGNATURE----- -- 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/