From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linux-foundation.org (smtp1.linux-foundation.org [140.211.169.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smtp.linux-foundation.org", Issuer "CA Cert Signing Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 512141007D4 for ; Sat, 17 Jul 2010 04:52:11 +1000 (EST) Received: from mail-gx0-f179.google.com (mail-gx0-f179.google.com [209.85.161.179]) (authenticated bits=0) by smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with ESMTP id o6GIppJQ003517 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL) for ; Fri, 16 Jul 2010 11:51:52 -0700 Received: by gxk26 with SMTP id 26so1564508gxk.38 for ; Fri, 16 Jul 2010 11:51:46 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <20100713230352.6781.18644.stgit@angua> <1279296221.17878.66.camel@e102109-lin.cambridge.arm.com> <20100716183028.GB26854@n2100.arm.linux.org.uk> Date: Fri, 16 Jul 2010 11:46:17 -0700 Message-ID: Subject: Re: [RFC PATCH] Kconfig: Enable Kconfig fragments to be used for defconfig From: Linus Torvalds To: Nicolas Pitre Content-Type: text/plain; charset=ISO-8859-1 Cc: Stephen Rothwell , Daniel Walker , Russell King - ARM Linux , linux-kbuild@vger.kernel.org, Tony Lindgren , Catalin Marinas , =?ISO-8859-1?Q?Uwe_Kleine=2DK=F6nig?= , lkml , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Jul 16, 2010 at 11:40 AM, Nicolas Pitre wrote: > > DOH. Well, it's possible that the correct approach is a mixture. Automatically do the trivial cases (recursive selects, dependencies that are simple or of the form "x && y" etc), and warn about the cases that aren't trivial (where "not trivial" may not necessarily be about fundamentally ambiguous ones, but just "complex enough that I won't even try"). Maybe a full "solver" is unnecessary, for example, but just a simple "automatically enable the direct dependencies and scream when it's not simple any more" would take care of 99% of the common cases, and then warn when it needs some manual help. So it's not a strict "one or the other" issue. The solution could be "some of both". Linus