Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751878Ab1B0JDM (ORCPT ); Sun, 27 Feb 2011 04:03:12 -0500 Received: from mail-fx0-f46.google.com ([209.85.161.46]:52520 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751367Ab1B0JDE convert rfc822-to-8bit (ORCPT ); Sun, 27 Feb 2011 04:03:04 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=hxjagoeb7eCP+BzuHY3IGVBMoel6nx3F3UQAJINh2Yu1X//L5rHdk2TP9NCUbM/uZC IGcF2TVDybpPhL0fUE0FCpE5MlQLQ+QkMe7HjpF1gSmrwPr2FFDzmdsTMiNIppdGmuU2 O8bb8U+BmK4VBMxgST+2avAid2q53YCt5XoaE= MIME-Version: 1.0 In-Reply-To: <20110226221838.GA24028@merkur.ravnborg.org> References: <4D671556.80607@suse.com> <20110225060706.GA12723@merkur.ravnborg.org> <20110226221838.GA24028@merkur.ravnborg.org> Date: Sun, 27 Feb 2011 10:03:02 +0100 X-Google-Sender-Auth: EmMvPxYyMQCL7l8CpR2Yd5N37Wo Message-ID: Subject: Re: [PATCH] Add ``cloneconfig'' target From: Geert Uytterhoeven To: Sam Ravnborg Cc: Arnaud Lacombe , Jeff Mahoney , Linux Kernel Mailing List , Roman Zippel , linux-kbuild@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1937 Lines: 42 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... Gr{oetje,eeting}s,                         Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.                                 -- Linus Torvalds -- 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/