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. Thank you!
signature.asc
Description: Message signed with OpenPGP using GPGMail