diff options
author | Warner Losh <imp@FreeBSD.org> | 2015-03-27 02:35:11 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2015-03-27 02:35:11 +0000 |
commit | 3fe1e58de14bf2f8fe30ce001e142c95cf8f4ffa (patch) | |
tree | 2604a521bc64d61ae8c54dfd4494d9000dae1168 /sys/conf/kern.opts.mk | |
parent | 2b092a1664ce6b9014f01e5378434995cd105336 (diff) | |
download | src-3fe1e58de14bf2f8fe30ce001e142c95cf8f4ffa.tar.gz src-3fe1e58de14bf2f8fe30ce001e142c95cf8f4ffa.zip |
Add support for specifying unsupported / broken options that override
any defaults or user specified actions on the command line. This would
be useful for specifying features that are always broken or that
cannot make sense on a specific architecture, like ACPI on pc98 or
EISA on !i386 (!x86 usage of EISA is broken and there's no supported
hardware that could have it in any event). Any items in
__ALWAYS_NO_OPTIONS are forced to "no" regardless of other settings.
Differential Revision: https://reviews.freebsd.org/D2011
Notes
Notes:
svn path=/head/; revision=280727
Diffstat (limited to 'sys/conf/kern.opts.mk')
-rw-r--r-- | sys/conf/kern.opts.mk | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/conf/kern.opts.mk b/sys/conf/kern.opts.mk index 02ca4cc71bd8..e0f961c378f1 100644 --- a/sys/conf/kern.opts.mk +++ b/sys/conf/kern.opts.mk @@ -120,6 +120,16 @@ MK_${var}:= no #end of bsd.mkopt.mk expanded inline. # +# MK_* options which are always no, usually because they are +# unsupported/badly broken on this architecture. +# +.for var in ${__ALWAYS_NO_OPTIONS} +MK_${var}:= no +.endfor +.undef __ALWAYS_NO_OPTIONS +#end of bsd.mkopt.mk expanded inline. + +# # MK_*_SUPPORT options which default to "yes" unless their corresponding # MK_* variable is set to "no". # |