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
This commit is contained in:
parent
2b092a1664
commit
3fe1e58de1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=280727
@ -63,6 +63,15 @@ MK_${var}:= no
|
||||
.endfor
|
||||
.undef __DEFAULT_NO_OPTIONS
|
||||
|
||||
#
|
||||
# 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
|
||||
|
||||
#
|
||||
# MK_* options which are always no, usually because they are
|
||||
# unsupported/badly broken on this architecture.
|
||||
|
@ -119,6 +119,16 @@ MK_${var}:= no
|
||||
.undef BROKEN_OPTIONS
|
||||
#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".
|
||||
|
Loading…
Reference in New Issue
Block a user