3 # Options set in the build system that affect the kernel somehow.
6 # Define MK_* variables (which are either "yes" or "no") for users
7 # to set via WITH_*/WITHOUT_* in /etc/src.conf and override in the
9 # These should be tested with `== "no"' or `!= "no"' in makefiles.
10 # The NO_* variables should only be set by makefiles for variables
11 # that haven't been converted over.
14 # These options are used by the kernel build process (kern.mk and kmod.mk)
15 # They have to be listed here so we can build modules outside of the
18 __DEFAULT_YES_OPTIONS = \
23 # expanded inline from bsd.mkopt.mk:
25 .for var in ${__DEFAULT_YES_OPTIONS}
26 .if !defined(MK_${var})
27 .if defined(WITHOUT_${var}) # WITHOUT always wins
34 .undef __DEFAULT_YES_OPTIONS