Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2003 11:01:00 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Ruslan Ermilov <ru@freebsd.org>
Cc:        current@freebsd.org
Subject:   RE: Change to kernel+modules build approach
Message-ID:  <XFMail.20030814110100.jhb@FreeBSD.org>
In-Reply-To: <20030814100248.GB88037@sunbay.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 14-Aug-2003 Ruslan Ermilov wrote:
> On Thu, Aug 14, 2003 at 02:10:19AM -0600, Scott Long wrote:
>> Luoqi Chen wrote:
> [...]
>> >On the other hand, all modules should create all the opt_*.h files
>> >it needs when built individually. Add opt_ddb.h to nullfs's Makefile
>> >should fix the breakage.
>> >
>> Our kernel build system isn't set up to handle passing config options
>> to modules.  Various solutions to this have been proposed, but nothing
>> has appeared yet.  In 5.x, we document that modules will not work with
>> PAE.
>> 
> How does the below look?  This is basically a more generic implementation
> of Luoqi's idea, but for -CURRENT:

I would prefer something far more radical that would involve moving
all the module metadata to sys/conf (i.e. removing sys/modules) and
building all the modules based on a single kernel config file.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030814110100.jhb>