From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 24 03:50:06 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F2F9016A4D0 for ; Sat, 24 Jul 2004 03:50:05 +0000 (GMT) Received: from 1002-17.Lowesthosting.com (1002-17.lowesthosting.com [207.44.234.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 8F81243D48 for ; Sat, 24 Jul 2004 03:50:05 +0000 (GMT) (envelope-from jhamby@anobject.com) Received: (qmail 24152 invoked from network); 24 Jul 2004 03:50:04 -0000 Received: from ar39.lsanca2-4.16.240.21.lsanca2.elnk.dsl.genuity.net (HELO ?192.168.0.13?) (4.16.240.21) by 1002-17.lowesthosting.com with SMTP; 24 Jul 2004 03:50:04 -0000 Message-ID: <4101DC69.9030309@anobject.com> Date: Fri, 23 Jul 2004 20:50:01 -0700 From: Jake Hamby User-Agent: Mozilla Thunderbird 0.7.2 (X11/20040719) X-Accept-Language: en-us, en MIME-Version: 1.0 To: conrads@cox.net References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org cc: freebsd-config@freebsd.org Subject: Re: "Next Generation" kernel configuration? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jul 2004 03:50:06 -0000 Conrad J. Sabatier wrote: > On 21-Jul-2004 Devon H. O'Dell wrote: > > >>I'm sure this will become another bikeshed, so I suggest whoever came >>up with the idea to put up or shut up. People are interested in >>solutions, not suggestions. > > > Agreed. And the original proponent of the idea was me. I just wanted > to see if there was any willingness to even consider something like > this before I went and did a lot of work for nothing. > > Seems the general concensus is that most people are OK with the idea, > depending on the implementation. > > I'll be quiet now until/unless I can actually come up with something. > :-) If you are looking to improve the current build process, here's an idea someone could implement that would save a lot of people a lot of time... My biggest annoyance with building the kernel, compared to Linux, is that it insists on building all of the possible kernel modules, even though I only want to build the ones that make sense for my hardware. In Linux, despite the drawbacks of the menu-based config, it is nice being able to easily specify Yes, Module, or No for most options. The least intrusive approach would probably be to add a second config file (e.g. "MYKERNEL.modules") which would contain only the names of the modules to build in some make-friendly format. You could then modify config(8) to automatically copy this file, if it exists, to the object directory where it would be included by the appropriate Makefile. If no .modules file exists, then it would continue the current behavior of building all possible modules. -- Jake Hamby