mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-27 19:37:53 +01:00
d93a1c8a02
# Note: MK_ARM_EABI likely is going to die soon.
35 lines
893 B
Makefile
35 lines
893 B
Makefile
# $FreeBSD$
|
|
|
|
# Options set in the build system that affect the kernel somehow.
|
|
|
|
#
|
|
# Define MK_* variables (which are either "yes" or "no") for users
|
|
# to set via WITH_*/WITHOUT_* in /etc/src.conf and override in the
|
|
# make(1) environment.
|
|
# These should be tested with `== "no"' or `!= "no"' in makefiles.
|
|
# The NO_* variables should only be set by makefiles for variables
|
|
# that haven't been converted over.
|
|
#
|
|
|
|
# These options are used by the kernel build process (kern.mk and kmod.mk)
|
|
# They have to be listed here so we can build modules outside of the
|
|
# src tree.
|
|
|
|
__DEFAULT_YES_OPTIONS = \
|
|
ARM_EABI \
|
|
FORMAT_EXTENSIONS \
|
|
KERNEL_SYMBOLS
|
|
|
|
# expanded inline from bsd.mkopt.mk:
|
|
|
|
.for var in ${__DEFAULT_YES_OPTIONS}
|
|
.if !defined(MK_${var})
|
|
.if defined(WITHOUT_${var}) # WITHOUT always wins
|
|
MK_${var}:= no
|
|
.else
|
|
MK_${var}:= yes
|
|
.endif
|
|
.endif
|
|
.endfor
|
|
.undef __DEFAULT_YES_OPTIONS
|