From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx3.mail.elte.hu ([157.181.1.138]:48774 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932625AbZHUVDA (ORCPT ); Fri, 21 Aug 2009 17:03:00 -0400 Date: Fri, 21 Aug 2009 23:02:15 +0200 From: Ingo Molnar Subject: Re: [PATCH 00/14] kconfig: streamline distro configs for testers Message-ID: <20090821210215.GA26956@elte.hu> References: <20090821145406.GA3659@elte.hu> <20090821162822.GA20898@elte.hu> <20090821195131.GE5356@elte.hu> <20090821203949.GD15439@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, Andrew Morton , Thomas Gleixner , Peter Zijlstra , Linus Torvalds , Theodore Tso , Arjan van de Ven , Greg KH , "Luis R. Rodriguez" , zippel@linux-m68k.org, linux-kbuild@vger.kernel.org, Sam Ravnborg , Jonathan Corbet , Alan Jenkins , Andi Kleen * Steven Rostedt wrote: > On Fri, 21 Aug 2009, Ingo Molnar wrote: > > > > ah - indeed, i forgot that it bases its decision off /proc/config, > > if available, right? > > Here's the list in order of seach: > > 1. local .config file (in tree root) > 2. /proc/config.gz > 3. /boot/config-`uname -r` > 4. /boot/vmlinuz-`uname -r` (extracts .config if configured in) > 5. vmlinux (local built vmlinux if .config is configured in) > 6. /lib/modules/`uname -r`/kernel/kernel/configs.ko > 7. kernel/configs.ko > 8. kernel/configs.o > > I originally had /proc/config.gz but Andi Kleen correctly pointed > out that it would be more intuitive if we use the local .config > first. This would be something that I myself would expect. If you > don't want the local .config used, then simply delete it. Well, but there's already a mechanism to include configs as a must-have list: KCONFIG_ALLCONFIG=.config. Ingo