Changeset View
Changeset View
Standalone View
Standalone View
share/mk/src.opts.mk
Show First 20 Lines • Show All 192 Lines • ▼ Show 20 Lines | |||||
__DEFAULT_NO_OPTIONS = \ | __DEFAULT_NO_OPTIONS = \ | ||||
AMD \ | AMD \ | ||||
BEARSSL \ | BEARSSL \ | ||||
BSD_GREP \ | BSD_GREP \ | ||||
CLANG_EXTRAS \ | CLANG_EXTRAS \ | ||||
DTRACE_TESTS \ | DTRACE_TESTS \ | ||||
EXPERIMENTAL \ | EXPERIMENTAL \ | ||||
GCC \ | |||||
GCC_BOOTSTRAP \ | |||||
GCOV \ | |||||
GNUCXX \ | |||||
GNU_GREP_COMPAT \ | GNU_GREP_COMPAT \ | ||||
GPL_DTC \ | GPL_DTC \ | ||||
HESIOD \ | HESIOD \ | ||||
LIBSOFT \ | LIBSOFT \ | ||||
LOADER_FIREWIRE \ | LOADER_FIREWIRE \ | ||||
LOADER_FORCE_LE \ | LOADER_FORCE_LE \ | ||||
LOADER_VERBOSE \ | LOADER_VERBOSE \ | ||||
LOADER_VERIEXEC_PASS_MANIFEST \ | LOADER_VERIEXEC_PASS_MANIFEST \ | ||||
▲ Show 20 Lines • Show All 91 Lines • ▼ Show 20 Lines | |||||
__DEFAULT_YES_OPTIONS+=CLANG LLD | __DEFAULT_YES_OPTIONS+=CLANG LLD | ||||
__DEFAULT_NO_OPTIONS+=CLANG_BOOTSTRAP CLANG_IS_CC | __DEFAULT_NO_OPTIONS+=CLANG_BOOTSTRAP CLANG_IS_CC | ||||
.else | .else | ||||
# Everything else disables Clang, and uses GCC instead. | # Everything else disables Clang, and uses GCC instead. | ||||
__DEFAULT_NO_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_IS_CC LLD | __DEFAULT_NO_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_IS_CC LLD | ||||
.endif | .endif | ||||
# In-tree binutils/gcc are older versions without modern architecture support. | # In-tree binutils/gcc are older versions without modern architecture support. | ||||
.if ${__T} == "aarch64" || ${__T:Mriscv*} != "" | .if ${__T} == "aarch64" || ${__T:Mriscv*} != "" | ||||
BROKEN_OPTIONS+=BINUTILS BINUTILS_BOOTSTRAP GCC GCC_BOOTSTRAP GDB | BROKEN_OPTIONS+=BINUTILS BINUTILS_BOOTSTRAP GDB | ||||
imp: ah, gdb... | |||||
.endif | .endif | ||||
.if ${__T} == "amd64" || ${__T} == "i386" || ${__T:Mpowerpc*} | .if ${__T} == "amd64" || ${__T} == "i386" || ${__T:Mpowerpc*} | ||||
__DEFAULT_YES_OPTIONS+=BINUTILS_BOOTSTRAP | __DEFAULT_YES_OPTIONS+=BINUTILS_BOOTSTRAP | ||||
.else | .else | ||||
__DEFAULT_NO_OPTIONS+=BINUTILS_BOOTSTRAP | __DEFAULT_NO_OPTIONS+=BINUTILS_BOOTSTRAP | ||||
.endif | .endif | ||||
.if ${__T:Mriscv*} != "" | .if ${__T:Mriscv*} != "" | ||||
BROKEN_OPTIONS+=OFED | BROKEN_OPTIONS+=OFED | ||||
▲ Show 20 Lines • Show All 143 Lines • ▼ Show 20 Lines | |||||
MK_OPENSSL:= no | MK_OPENSSL:= no | ||||
MK_OPENSSH:= no | MK_OPENSSH:= no | ||||
MK_KERBEROS:= no | MK_KERBEROS:= no | ||||
MK_KERBEROS_SUPPORT:= no | MK_KERBEROS_SUPPORT:= no | ||||
.endif | .endif | ||||
.if ${MK_CXX} == "no" | .if ${MK_CXX} == "no" | ||||
MK_CLANG:= no | MK_CLANG:= no | ||||
MK_GNUCXX:= no | |||||
MK_GOOGLETEST:= no | MK_GOOGLETEST:= no | ||||
MK_TESTS:= no | MK_TESTS:= no | ||||
.endif | .endif | ||||
.if ${MK_DIALOG} == "no" | .if ${MK_DIALOG} == "no" | ||||
MK_BSDINSTALL:= no | MK_BSDINSTALL:= no | ||||
.endif | .endif | ||||
.if ${MK_FILE} == "no" | .if ${MK_FILE} == "no" | ||||
MK_SVNLITE:= no | MK_SVNLITE:= no | ||||
.endif | .endif | ||||
.if (${__TT} == "mips" || ${__TT} == "sparc64") && ${MK_GCC} == "no" | .if (${__TT} == "mips" || ${__TT} == "sparc64") | ||||
Not Done Inline ActionsThis will cause a merge conflict before the end of the month... imp: This will cause a merge conflict before the end of the month... | |||||
Done Inline ActionsA rather trivial one though :) emaste: A rather trivial one though :)
I expect to rebase this every week or so leading up to the end… | |||||
MK_BINUTILS_BOOTSTRAP:= no | MK_BINUTILS_BOOTSTRAP:= no | ||||
.endif | .endif | ||||
.if ${MK_MAIL} == "no" | .if ${MK_MAIL} == "no" | ||||
MK_MAILWRAPPER:= no | MK_MAILWRAPPER:= no | ||||
MK_SENDMAIL:= no | MK_SENDMAIL:= no | ||||
MK_DMAGENT:= no | MK_DMAGENT:= no | ||||
.endif | .endif | ||||
▲ Show 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | |||||
MK_ZONEINFO_LEAPSECONDS_SUPPORT:= no | MK_ZONEINFO_LEAPSECONDS_SUPPORT:= no | ||||
MK_ZONEINFO_OLD_TIMEZONES_SUPPORT:= no | MK_ZONEINFO_OLD_TIMEZONES_SUPPORT:= no | ||||
.endif | .endif | ||||
.if ${MK_CROSS_COMPILER} == "no" | .if ${MK_CROSS_COMPILER} == "no" | ||||
MK_BINUTILS_BOOTSTRAP:= no | MK_BINUTILS_BOOTSTRAP:= no | ||||
MK_CLANG_BOOTSTRAP:= no | MK_CLANG_BOOTSTRAP:= no | ||||
MK_ELFTOOLCHAIN_BOOTSTRAP:= no | MK_ELFTOOLCHAIN_BOOTSTRAP:= no | ||||
MK_GCC_BOOTSTRAP:= no | |||||
MK_LLD_BOOTSTRAP:= no | MK_LLD_BOOTSTRAP:= no | ||||
.endif | .endif | ||||
.if ${MK_TOOLCHAIN} == "no" | .if ${MK_TOOLCHAIN} == "no" | ||||
MK_BINUTILS:= no | MK_BINUTILS:= no | ||||
MK_CLANG:= no | MK_CLANG:= no | ||||
MK_GCC:= no | |||||
MK_GDB:= no | MK_GDB:= no | ||||
MK_INCLUDES:= no | MK_INCLUDES:= no | ||||
MK_LLD:= no | MK_LLD:= no | ||||
MK_LLDB:= no | MK_LLDB:= no | ||||
.endif | .endif | ||||
.if ${MK_CLANG} == "no" | .if ${MK_CLANG} == "no" | ||||
MK_CLANG_EXTRAS:= no | MK_CLANG_EXTRAS:= no | ||||
Show All 21 Lines | |||||
.endfor | .endfor | ||||
# | # | ||||
# Set defaults for the MK_*_SUPPORT variables. | # Set defaults for the MK_*_SUPPORT variables. | ||||
# | # | ||||
.if !${COMPILER_FEATURES:Mc++11} | .if !${COMPILER_FEATURES:Mc++11} | ||||
MK_LLDB:= no | MK_LLDB:= no | ||||
.endif | |||||
# gcc 4.8 and newer supports libc++, so suppress gnuc++ in that case. | |||||
# while in theory we could build it with that, we don't want to do | |||||
# that since it creates too much confusion for too little gain. | |||||
# XXX: This is incomplete and needs X_COMPILER_TYPE/VERSION checks too | |||||
# to prevent Makefile.inc1 from bootstrapping unneeded dependencies | |||||
# and to support 'make delete-old' when supplying an external toolchain. | |||||
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 40800 | |||||
MK_GNUCXX:=no | |||||
MK_GCC:=no | |||||
.endif | .endif | ||||
.endif # !target(__<src.opts.mk>__) | .endif # !target(__<src.opts.mk>__) |
ah, gdb...