Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759437AbXEaIyr (ORCPT ); Thu, 31 May 2007 04:54:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755089AbXEaIyk (ORCPT ); Thu, 31 May 2007 04:54:40 -0400 Received: from hp3.statik.TU-Cottbus.De ([141.43.120.68]:58863 "EHLO hp3.statik.tu-cottbus.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754193AbXEaIyk (ORCPT ); Thu, 31 May 2007 04:54:40 -0400 Message-ID: <465E8D4C.9040506@s5r6.in-berlin.de> Date: Thu, 31 May 2007 10:54:36 +0200 From: Stefan Richter User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.2) Gecko/20070222 SeaMonkey/1.1.1 MIME-Version: 1.0 To: clameter@sgi.com CC: linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org Subject: Re: [RFC 1/4] CONFIG_STABLE: Define it References: <20070531002047.702473071@sgi.com> <20070531003012.302019683@sgi.com> In-Reply-To: <20070531003012.302019683@sgi.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1173 Lines: 39 > --- slub.orig/init/Kconfig 2007-05-30 16:35:05.000000000 -0700 > +++ slub/init/Kconfig 2007-05-30 16:35:45.000000000 -0700 > @@ -65,6 +65,13 @@ endmenu > > menu "General setup" > > +config STABLE > + bool "Stable kernel" > + help > + If the kernel is configured to be a stable kernel then various > + checks that are only of interest to kernel development will be > + omitted. > + > config LOCALVERSION > string "Local version - append to kernel release" > help a) Why in Kconfig, why not in Makefile? b) Of course nobody wants STABLE=n. :-) How about: config RELEASE bool "Build for release" help If the kernel is declared as a release build here, then various checks that are only of interest to kernel development will be omitted. c) A drawback of this general option is, it's hard to tell what will be omitted in particular. -- Stefan Richter -=====-=-=== -=-= ===== http://arcgraph.de/sr/ - 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/