Changeset View
Changeset View
Standalone View
Standalone View
head/sys/conf/kern.opts.mk
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | __DEFAULT_YES_OPTIONS = \ | ||||
SOURCELESS_HOST \ | SOURCELESS_HOST \ | ||||
SOURCELESS_UCODE \ | SOURCELESS_UCODE \ | ||||
TESTS \ | TESTS \ | ||||
USB_GADGET_EXAMPLES \ | USB_GADGET_EXAMPLES \ | ||||
ZFS | ZFS | ||||
__DEFAULT_NO_OPTIONS = \ | __DEFAULT_NO_OPTIONS = \ | ||||
EXTRA_TCP_STACKS \ | EXTRA_TCP_STACKS \ | ||||
KERNEL_RETPOLINE \ | |||||
NAND \ | NAND \ | ||||
OFED \ | OFED \ | ||||
RATELIMIT \ | RATELIMIT \ | ||||
REPRODUCIBLE_BUILD | REPRODUCIBLE_BUILD | ||||
# Some options are totally broken on some architectures. We disable | # Some options are totally broken on some architectures. We disable | ||||
# them. If you need to enable them on an experimental basis, you | # them. If you need to enable them on an experimental basis, you | ||||
# must change this code. | # must change this code. | ||||
Show All 20 Lines | |||||
.if ${MACHINE_CPUARCH} == "riscv" | .if ${MACHINE_CPUARCH} == "riscv" | ||||
BROKEN_OPTIONS+= FORMAT_EXTENSIONS | BROKEN_OPTIONS+= FORMAT_EXTENSIONS | ||||
.endif | .endif | ||||
# Things that don't work because the kernel doesn't have the support | # Things that don't work because the kernel doesn't have the support | ||||
# for them. | # for them. | ||||
.if ${MACHINE} != "i386" && ${MACHINE} != "amd64" | .if ${MACHINE} != "i386" && ${MACHINE} != "amd64" | ||||
BROKEN_OPTIONS+= OFED | BROKEN_OPTIONS+= OFED | ||||
.endif | |||||
# Things that don't work based on toolchain support. | |||||
.if ${MACHINE} != "amd64" | |||||
BROKEN_OPTIONS+= KERNEL_RETPOLINE | |||||
.endif | .endif | ||||
# expanded inline from bsd.mkopt.mk to avoid share/mk dependency | # expanded inline from bsd.mkopt.mk to avoid share/mk dependency | ||||
# Those that default to yes | # Those that default to yes | ||||
.for var in ${__DEFAULT_YES_OPTIONS} | .for var in ${__DEFAULT_YES_OPTIONS} | ||||
.if !defined(MK_${var}) | .if !defined(MK_${var}) | ||||
.if defined(WITHOUT_${var}) # WITHOUT always wins | .if defined(WITHOUT_${var}) # WITHOUT always wins | ||||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |