Changeset View
Changeset View
Standalone View
Standalone View
sys/conf/kern.opts.mk
Show All 36 Lines | __DEFAULT_YES_OPTIONS = \ | ||||
CUSE \ | CUSE \ | ||||
EFI \ | EFI \ | ||||
FORMAT_EXTENSIONS \ | FORMAT_EXTENSIONS \ | ||||
INET \ | INET \ | ||||
INET6 \ | INET6 \ | ||||
IPFILTER \ | IPFILTER \ | ||||
IPSEC_SUPPORT \ | IPSEC_SUPPORT \ | ||||
ISCSI \ | ISCSI \ | ||||
SPLIT_KERNEL_DEBUG \ | |||||
KERNEL_SYMBOLS \ | KERNEL_SYMBOLS \ | ||||
NETGRAPH \ | NETGRAPH \ | ||||
OFED \ | OFED \ | ||||
PF \ | PF \ | ||||
SCTP_SUPPORT \ | SCTP_SUPPORT \ | ||||
SOURCELESS_HOST \ | SOURCELESS_HOST \ | ||||
SOURCELESS_UCODE \ | SOURCELESS_UCODE \ | ||||
TESTS \ | TESTS \ | ||||
▲ Show 20 Lines • Show All 119 Lines • ▼ Show 20 Lines | |||||
.else | .else | ||||
MK_${var}_SUPPORT:= yes | MK_${var}_SUPPORT:= yes | ||||
.endif | .endif | ||||
.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" | |||||
MK_KERNEL_SYMBOLS:= no | |||||
.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 |