Changeset View
Changeset View
Standalone View
Standalone View
sys/conf/kern.opts.mk
Show All 29 Lines | |||||
__DEFAULT_YES_OPTIONS = \ | __DEFAULT_YES_OPTIONS = \ | ||||
AUTOFS \ | AUTOFS \ | ||||
BHYVE \ | BHYVE \ | ||||
BLUETOOTH \ | BLUETOOTH \ | ||||
CCD \ | CCD \ | ||||
CDDL \ | CDDL \ | ||||
CRYPT \ | CRYPT \ | ||||
CUSE \ | CUSE \ | ||||
DTRACE \ | |||||
EFI \ | EFI \ | ||||
FORMAT_EXTENSIONS \ | FORMAT_EXTENSIONS \ | ||||
INET \ | INET \ | ||||
INET6 \ | INET6 \ | ||||
IPFILTER \ | IPFILTER \ | ||||
IPSEC_SUPPORT \ | IPSEC_SUPPORT \ | ||||
ISCSI \ | ISCSI \ | ||||
KERNEL_SYMBOLS \ | KERNEL_SYMBOLS \ | ||||
▲ Show 20 Lines • Show All 130 Lines • ▼ Show 20 Lines | |||||
.else # otherwise, yes | .else # otherwise, yes | ||||
MK_${var}_SUPPORT:= yes | MK_${var}_SUPPORT:= yes | ||||
.endif | .endif | ||||
.endif | .endif | ||||
.endfor | .endfor | ||||
.if ${MK_SPLIT_KERNEL_DEBUG} == "no" | .if ${MK_SPLIT_KERNEL_DEBUG} == "no" | ||||
MK_KERNEL_SYMBOLS:= no | MK_KERNEL_SYMBOLS:= no | ||||
.endif | |||||
.if ${MK_CDDL} == "no" | |||||
MK_DTRACE:= no | |||||
.endif | .endif | ||||
# Some modules only compile successfully if option FDT is set, due to #ifdef FDT | # Some modules only compile successfully if option FDT is set, due to #ifdef FDT | ||||
# wrapped around declarations. Module makefiles can optionally compile such | # wrapped around declarations. Module makefiles can optionally compile such | ||||
# things using .if !empty(OPT_FDT) | # things using .if !empty(OPT_FDT) | ||||
.if !defined(OPT_FDT) && defined(KERNBUILDDIR) | .if !defined(OPT_FDT) && defined(KERNBUILDDIR) | ||||
OPT_FDT!= sed -n '/FDT/p' ${KERNBUILDDIR}/opt_platform.h | OPT_FDT!= sed -n '/FDT/p' ${KERNBUILDDIR}/opt_platform.h | ||||
.export OPT_FDT | .export OPT_FDT | ||||
.if empty(OPT_FDT) | .if empty(OPT_FDT) | ||||
MK_FDT:=no | MK_FDT:=no | ||||
.else | .else | ||||
MK_FDT:=yes | MK_FDT:=yes | ||||
.endif | .endif | ||||
.endif | .endif |