[RFC] shipping kernels with default modules?

Warner Losh imp at bsdimp.com
Sun Jun 12 17:54:33 UTC 2011


On Jun 12, 2011, at 12:36 AM, Adrian Chadd wrote:

> On 11 June 2011 17:21, Adrian Chadd <adrian at freebsd.org> wrote:
> 
>> Is there any reason we aren't doing this at the moment? Eg by having a
>> default loader modules list populated from the kernel config file?
> 
> The immediate problem - how does one get the config parameters from
> the kernel configuration file to appear in the per-module build setup?

For options, we've been doing that for years.  Config generates the opt_foo.h files, and they are picked up by the modules.

> Or, in a more general sense, how do you do per-module configuration?

Generally, the modules follow the global settings, since we've never tested building some network drivers with INET and some without, for example.

Or did you have something else in mind when you asked?

Warner


More information about the freebsd-arch mailing list