From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751664Ab2GSQBY (ORCPT ); Thu, 19 Jul 2012 12:01:24 -0400 Received: from cantor2.suse.de ([195.135.220.15]:45663 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750748Ab2GSQBW (ORCPT ); Thu, 19 Jul 2012 12:01:22 -0400 Message-ID: <50082F44.7070500@suse.cz> Date: Thu, 19 Jul 2012 18:01:08 +0200 From: Michal Marek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Geert Uytterhoeven Cc: Linus Torvalds , david@lang.hm, Borislav Petkov , Cyrill Gorcunov , Pekka Enberg , richard -rw- weinberger , "Myklebust, Trond" , Dave Jones , Greg Kroah-Hartman , Ubuntu Kernel Team , Debian Kernel Team , OpenSUSE Kernel Team , Linux Kernel Mailing List , Ingo Molnar , Sasha Levin , Asias He , Pavel Emelyanov Subject: Re: [opensuse-kernel] Re: [RFC] Simplifying kernel configuration for distro issues References: <1342212885.25704.4.camel@lade.trondhjem.org> <20120714103716.GD26559@liondog.tnic> <20120715101434.GA18144@aftab.osrc.amd.com> <20120715211848.GA21167@aftab.osrc.amd.com> <20120715214819.GA1990@moon> <20120716082418.GC24327@aftab.osrc.amd.com> In-Reply-To: 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 On 17.7.2012 10:03, Geert Uytterhoeven wrote: > On Mon, Jul 16, 2012 at 10:56 PM, Linus Torvalds > wrote: >> On Mon, Jul 16, 2012 at 12:26 PM, wrote: >>> Some of the proposed ways to implement the minimum distro kernel would not >>> allow you to override the distro defaults because they would be implemented >>> by setting dependancies, not by selecting options that you as the user could >>> then unselect. >> >> The sanest thing to do is just a list of "select" statements. And in >> any case it would have to depend on the "distro config" entry, so EVEN >> THEN you could just create the Kconfig file, then edit out the distro >> config thing, and then do whatever you want. > > Except that "select" is one of the ugliest things in Kconfig, as it > blindly sets a symbol > without checking if its dependencies are fulfilled. But for the few options Linus proposed (TMPFS, TMPFS_POSIX_*, DEVTMPFS(_MOUNT)), the amount of additional dependencies is reasonable. For something more advanced like 'build me a kernel for a laptop with $VENDOR hardware', we would need a better dependency solver, indeed. Michal