> On Jan 26, 2015, at 7:30 PM, Garrett Cooper <yaneurab...@gmail.com> wrote:
> 
> On Jan 25, 2015, at 9:46, Warner Losh <i...@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

_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to