Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758779Ab0GPSSG (ORCPT ); Fri, 16 Jul 2010 14:18:06 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:59430 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758754Ab0GPSSE (ORCPT ); Fri, 16 Jul 2010 14:18:04 -0400 MIME-Version: 1.0 In-Reply-To: <20100716180701.GA26854@n2100.arm.linux.org.uk> References: <20100713230352.6781.18644.stgit@angua> <1279296221.17878.66.camel@e102109-lin.cambridge.arm.com> <20100716180701.GA26854@n2100.arm.linux.org.uk> Date: Fri, 16 Jul 2010 11:17:24 -0700 Message-ID: Subject: Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig From: Linus Torvalds To: Russell King - ARM Linux Cc: Grant Likely , Catalin Marinas , linuxppc-dev@lists.ozlabs.org, Nicolas Pitre , Benjamin Herrenschmidt , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Tony Lindgren , Daniel Walker , =?ISO-8859-1?Q?Uwe_Kleine=2DK=F6nig?= , Stephen Rothwell Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1369 Lines: 34 On Fri, Jul 16, 2010 at 11:07 AM, Russell King - ARM Linux wrote: > > I thought Linus' idea was to use: > > KBUILD_KCONFIG=file make allnoconfig See an earlier reply - that is indeed what I suggested, and yes, it avoids the need to be able to "unselect" things. However, it turns out that even then you do want to extend the Kconfig language with the ability to select particular values. Not for boolean (or even tristate things), but for things that select an integer or string value etc. So the "select OPTION=xyz" syntax ends up being a good thing even for the "-n" (allnoconfig) case too. And while I think the allnoconfig model has some advantages (the Kconfig input file ends up being independent of the default values), that very fact ends up being a disadvantage too (the Kconfig input file likely ends up being larger, since _hopefully_ the defaults are sane). So I'm not at all married to the "allnoconfig" model. It's one way of doing things, but I think the argument that we should start with the defaults and modify those instead is not an invalid one. Linus -- 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/