Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754859AbXITUll (ORCPT ); Thu, 20 Sep 2007 16:41:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751729AbXITUle (ORCPT ); Thu, 20 Sep 2007 16:41:34 -0400 Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5]:35209 "EHLO grelber.thyrsus.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751126AbXITUld (ORCPT ); Thu, 20 Sep 2007 16:41:33 -0400 From: Rob Landley Organization: Boundaries Unlimited To: linux-tiny@selenic.com Subject: Re: Monster switch for small size (was Linux-tiny revival) Date: Thu, 20 Sep 2007 16:41:22 -0500 User-Agent: KMail/1.9.6 Cc: Tim Bird , Andy Whitcroft , Andrew Morton , linux kernel , Michael Opdenacker , CE Linux Developers List References: <46F1645D.9050406@am.sony.com> <20070920091042.GA6035@shadowen.org> <46F2A99A.3080400@am.sony.com> In-Reply-To: <46F2A99A.3080400@am.sony.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <200709201641.22580.rob@landley.net> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2017 Lines: 46 On Thursday 20 September 2007 12:10:50 pm Tim Bird wrote: > Andy Whitcroft wrote: > > Knowing nothing about these options, from a test perspective it would > > be nice if we were able to simply enable "the lot" so we can do "normal" > > -mm runs and "tiny" -mm runs without any manual intervention? > > I agree completely. > > I have been thinking for a while about how to make a "monster switch" > (the kind they always seem to have in Frankenstein movies) that > switches a whole bunch of settings at once. We currently have methods > in the kernel for: > * default (or recommended) config for a particular platform > * all yes - to build as much as possible > * all no - to build as little as possible > > The problem with "allno" is that it rarely produces a usable > kernel. Beyond that, allno doesn't come close to switching everything off. 1) You have to _enable_ CONFIG_EMBEDDED in order to go into that menu and switch _off_ the stuff in there. 2) The stuff CONFIG_EMBEDDED reveals isn't all in that menu. CONFIG_BLOCK is at the top level menu. CONFIG_VT and CONFIG_UNIX98_PTYS are buried down under device drivers->character devices, and there's more sprinkled all over. You have to track it all down and switch it off to get an _actual_ allnoconfig kernel. (I cut the bit where you reinvent miniconfig. People keep doing this. I dig it up and resubmit it every year or so, so Roman Zippel can shoot it down again. Meanwhile, not only is Firmware Linux happily using it, but I even wrote more documentation at http://landley.net/code/firmware/new_platform.html although you have to scroll down a bit to get to the stuff about miniconfig...) Rob -- "One of my most productive days was throwing away 1000 lines of code." - Ken Thompson. - 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/