svn commit: r277681 - in head/sys: conf modules

Warner Losh imp at bsdimp.com
Tue Jan 27 23:06:21 UTC 2015


> On Jan 26, 2015, at 7:30 PM, Garrett Cooper <yaneurabeya at gmail.com> wrote:
> 
> On Jan 25, 2015, at 9:46, Warner Losh <imp at bsdimp.com> wrote:
> 
>> The number of MK_foo opts that are intruding into the kernel module builds is
>> starting to get out of hand. :( Especially since they are duplicative of the
>> MODULES_OVERRIDE functionality and are very unevenly applied.
> 
> I don’t really like it either to be honest, but the problem is that building MK_CUSE == no (for instance) should produce a working default set of SUBDIRs so both the kernel and userland infrastructure are compiled with the build. Telling someone to use MODULES_OVERRIDE to just remove cuse (for instance), is a user unfriendly system..
> 
> If there was a way to pick up a subset of src.opts.mk though and apply it to kern.opts.mk, I would be incredibly keen on making that change.

There isn’t. That’s the problem with the current setup. It isn’t always clear to me that if you disable the user land side you necessarily want to disable the kernel side, but it is the best indication we have.

Warner



More information about the svn-src-head mailing list