1 .\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman.
8 .Nd "source build options"
12 file contains settings that will apply to every build involving the
19 file uses the standard makefile syntax.
22 should not specify any dependencies to
28 variables that control the aspects of how the system builds.
30 The default location of
34 though an alternative location can be specified in the
38 Overriding the location of
40 may be necessary if the system-wide settings are not suitable
41 for a particular build.
46 effectively resets all build controls to their defaults.
50 is to control the compilation of the
52 source code, which is usually located in
54 As a rule, the system administrator creates
56 when the values of certain control variables need to be changed
59 In addition, control variables can be specified
60 for a particular build via the
64 or in its environment; see
69 for the build can be controlled via the
71 variable, which defaults to
72 .Pa /etc/src-env.conf .
73 Some examples that may only be set in this file are
74 .Va WITH_DIRDEPS_BUILD ,
79 as they are environment-only variables.
81 The values of variables are ignored regardless of their setting;
82 even if they would be set to
86 The presence of an option causes
90 This list provides a name and short description for variables
91 that can be used for source builds.
92 .Bl -tag -width indent
94 Set to not build process accounting tools such as
102 and related programs.
107 and related programs.
108 .It Va WITHOUT_ASSERT_DEBUG
109 Set to compile programs and libraries without the
115 and related utilities.
118 programs and libraries related to ATM networking.
120 Set to not build audit support into system programs.
121 .It Va WITHOUT_AUTHPF
124 .It Va WITHOUT_AUTOFS
127 related programs, libraries, and kernel modules.
128 .It Va WITHOUT_AUTO_OBJ
129 Disable automatic creation of objdirs.
130 This is enabled by default if the wanted OBJDIR is writable by the current user.
132 This must be set in the environment, make command line, or
133 .Pa /etc/src-env.conf ,
137 Build the BearSSL library.
139 BearSSL is a tiny SSL library suitable for embedded environments.
141 .Lk http://www.BearSSL.org/
143 This library is currently only used to perform
144 signature verification and related operations
145 for Verified Exec and
147 When set, these options are also in effect:
150 .It Va WITH_LOADER_EFI_SECUREBOOT
152 .Va WITHOUT_LOADER_EFI_SECUREBOOT
154 .It Va WITH_LOADER_VERIEXEC
156 .Va WITHOUT_LOADER_VERIEXEC
158 .It Va WITH_LOADER_VERIEXEC_VECTX
160 .Va WITHOUT_LOADER_VERIEXEC_VECTX
168 Set to not build or install
170 associated utilities, and examples.
172 This option only affects amd64/amd64.
173 .It Va WITH_BHYVE_SNAPSHOT
174 Set to include support for save and restore (snapshots) in
179 This option only affects amd64/amd64.
181 Build all binaries with the
183 flag set to indicate that the run-time loader should perform all relocation
184 processing at process startup rather than on demand.
185 .It Va WITHOUT_BINUTILS
186 Do not build or install GNU
190 of the normal system build.
192 This is a default setting on
193 arm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
195 Build and install GNU
200 as part of the normal system build.
202 This is a default setting on
203 amd64/amd64, arm/armv6, arm/armv7, i386/i386, mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
204 .It Va WITHOUT_BINUTILS_BOOTSTRAP
205 Do not build GNU binutils
206 as part of the bootstrap process.
208 This is a default setting on
209 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
210 .It Va WITH_BINUTILS_BOOTSTRAP
212 as part of the bootstrap process.
214 This is a default setting on
215 amd64/amd64 and i386/i386.
216 .It Va WITHOUT_BLACKLIST
217 Set this if you do not want to build
221 When set, these options are also in effect:
224 .It Va WITHOUT_BLACKLIST_SUPPORT
226 .Va WITH_BLACKLIST_SUPPORT
229 .It Va WITHOUT_BLACKLIST_SUPPORT
230 Set to build some programs without
237 .It Va WITHOUT_BLUETOOTH
238 Set to not build Bluetooth related kernel modules, programs and libraries.
240 Set to not build the boot blocks and loader.
241 .It Va WITHOUT_BOOTPARAMD
242 Set to not build or install
244 .It Va WITHOUT_BOOTPD
245 Set to not build or install
247 .It Va WITHOUT_BSDINSTALL
251 and related programs.
252 .It Va WITHOUT_BSD_CPIO
253 Set to not build the BSD licensed version of cpio based on
256 Install BSD-licensed grep as '[ef]grep' instead of GNU grep.
258 Set to not build or install
260 and related libraries and data files.
262 Set to not build contributed bzip2 software as a part of the base system.
264 The option has no effect yet.
266 When set, these options are also in effect:
269 .It Va WITHOUT_BZIP2_SUPPORT
271 .Va WITH_BZIP2_SUPPORT
274 .It Va WITHOUT_BZIP2_SUPPORT
275 Set to build some programs without optional bzip2 support.
276 .It Va WITHOUT_CALENDAR
279 .It Va WITHOUT_CAPSICUM
280 Set to not build Capsicum support into system programs.
281 When set, it enforces these options:
287 .It Va WITHOUT_CAROOT
288 Set to not add the trusted certificates from the Mozilla NSS bundle to
290 .It Va WITHOUT_CASPER
291 Set to not build Casper program and related libraries.
292 .It Va WITH_CCACHE_BUILD
296 No configuration is required except to install the
302 .Sy CCACHE_PREFIX=/usr/local/bin/distcc .
303 The default cache directory of
305 will be used, which can be overridden by setting
308 .Sy CCACHE_COMPILERCHECK
311 when using the in-tree bootstrap compiler,
314 when using an external compiler.
317 option is used for Clang but not GCC.
319 Sharing a cache between multiple work directories requires using a layout
323 and an environment such as:
324 .Bd -literal -offset indent
325 CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
330 for more configuration options.
334 and related utilities.
336 Set to not build code licensed under Sun's CDDL.
337 When set, it enforces these options:
343 .Va WITHOUT_LOADER_ZFS
348 Set to not build the Clang C/C++ compiler during the regular phase of the build.
349 When set, it enforces these options:
353 .Va WITHOUT_CLANG_EXTRAS
355 .Va WITHOUT_CLANG_FULL
359 .It Va WITHOUT_CLANG_BOOTSTRAP
360 Set to not build the Clang C/C++ compiler during the bootstrap phase of
362 To be able to build the system, either gcc or clang bootstrap must be
363 enabled unless an alternate compiler is provided via XCC.
364 .It Va WITH_CLANG_EXTRAS
365 Set to build additional clang and llvm tools, such as bugpoint and
367 .It Va WITHOUT_CLANG_FULL
368 Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
369 the Clang C/C++ compiler.
370 .It Va WITHOUT_CLANG_IS_CC
371 Do not install links to the Clang C/C++ compiler as
379 .It Va WITHOUT_CROSS_COMPILER
380 Set to not build any cross compiler in the cross-tools stage of buildworld.
381 When compiling a different version of
383 than what is installed on the system, provide an alternate
384 compiler with XCC to ensure success.
385 When compiling with an identical version of
387 to the host, this option may be safely used.
388 This option may also be safe when the host version of
390 is close to the sources being built, but all bets are off if there have
391 been any changes to the toolchain between the versions.
392 When set, it enforces these options:
396 .Va WITHOUT_BINUTILS_BOOTSTRAP
398 .Va WITHOUT_CLANG_BOOTSTRAP
400 .Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
402 .Va WITHOUT_LLD_BOOTSTRAP
405 Set to not build any crypto code.
406 When set, it enforces these options:
414 .Va WITHOUT_KERBEROS_SUPPORT
418 .Va WITHOUT_LDNS_UTILS
424 .Va WITHOUT_PKGBOOTSTRAP
435 When set, these options are also in effect:
438 .It Va WITHOUT_GSSAPI
444 Set to compile with CTF (Compact C Type Format) data.
445 CTF data encapsulates a reduced form of debugging information
446 similar to DWARF and the venerable stabs and is required for DTrace.
448 Set to not build CUSE-related programs and libraries.
449 .It Va WITHOUT_CXGBETOOL
453 This is a default setting on
454 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
455 .It Va WITH_CXGBETOOL
459 This is a default setting on
460 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
464 and related libraries.
465 It will also prevent building of
469 When set, it enforces these options:
475 .Va WITHOUT_CLANG_EXTRAS
477 .Va WITHOUT_CLANG_FULL
479 .Va WITHOUT_DTRACE_TESTS
481 .Va WITHOUT_GOOGLETEST
487 .It Va WITHOUT_DEBUG_FILES
488 Set to avoid building or installing standalone debug files for each
489 executable binary and shared library.
490 .It Va WITHOUT_DIALOG
497 When set, it enforces these options:
501 .Va WITHOUT_BSDINSTALL
504 Set to not build the Webster dictionary files.
505 .It Va WITH_DIRDEPS_BUILD
506 This is an experimental build system.
508 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
509 Build commands can be seen from the top-level with:
510 .Dl make show-valid-targets
511 The build is driven by dirdeps.mk using
514 Makefile.depend files found in each directory.
516 The build can be started from anywhere, and behaves the same.
517 The initial instance of
522 .Pa Makefile.depend ,
523 computing a graph of tree dependencies from the current origin.
526 skips checking dirdep dependencies and will only build in the current
527 and child directories.
529 skips building any dirdeps and only build the current directory.
531 This also utilizes the
533 logic for incremental builds.
535 The build hides commands executed unless
539 Note that there is currently no mass install feature for this.
541 When set, it enforces these options:
545 .Va WITH_INSTALL_AS_USER
548 When set, these options are also in effect:
551 .It Va WITH_META_MODE
553 .Va WITHOUT_META_MODE
559 .It Va WITH_STAGING_MAN
561 .Va WITHOUT_STAGING_MAN
563 .It Va WITH_STAGING_PROG
565 .Va WITHOUT_STAGING_PROG
573 This must be set in the environment, make command line, or
574 .Pa /etc/src-env.conf ,
577 .It Va WITH_DIRDEPS_CACHE
578 Cache result of dirdeps.mk which can save significant time
579 for subsequent builds.
581 .Va WITH_DIRDEPS_BUILD .
583 This must be set in the environment, make command line, or
584 .Pa /etc/src-env.conf ,
587 .It Va WITHOUT_DMAGENT
588 Set to not build dma Mail Transport Agent.
589 .It Va WITHOUT_DOCCOMPRESS
590 Set to not install compressed system documentation.
591 Only the uncompressed version will be installed.
592 .It Va WITH_DTRACE_TESTS
593 Set to build and install the DTrace test suite in
594 .Pa /usr/tests/cddl/usr.sbin/dtrace .
595 This test suite is considered experimental on architectures other than
596 amd64/amd64 and running it may cause system instability.
597 .It Va WITHOUT_DYNAMICROOT
598 Set this if you do not want to link
604 Set to not build and install
607 and related programs.
614 This is a default setting on
615 mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
622 This is a default setting on
623 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
624 .It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
625 Set to not build ELF Tool Chain tools
626 (addr2line, nm, size, strings and strip)
627 as part of the bootstrap process.
629 An alternate bootstrap tool chain must be provided.
631 .It Va WITHOUT_EXAMPLES
632 Set to avoid installing examples to
633 .Pa /usr/share/examples/ .
634 .It Va WITH_EXPERIMENTAL
635 Set to include experimental features in the build.
636 .It Va WITH_EXTRA_TCP_STACKS
637 Set to build extra TCP stack modules.
639 Set to not build Flattened Device Tree support as part of the base system.
640 This includes the device tree compiler (dtc) and libfdt support library.
644 and related programs.
645 When set, it enforces these options:
651 .It Va WITHOUT_FINGER
652 Set to not build or install
656 .It Va WITHOUT_FLOPPY
657 Set to not build or install programs
658 for operating floppy disk driver.
659 .It Va WITHOUT_FMTREE
660 Set to not build and install
661 .Pa /usr/sbin/fmtree .
662 .It Va WITHOUT_FORMAT_EXTENSIONS
664 .Fl fformat-extensions
665 when compiling the kernel.
666 Also disables all format checking.
668 Set to build bootloaders without Forth support.
669 .It Va WITHOUT_FP_LIBC
672 without floating-point support.
673 .It Va WITHOUT_FREEBSD_UPDATE
675 .Xr freebsd-update 8 .
677 Set to not build or install
682 Set to not build games.
687 This is a default setting on
688 arm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
693 This is a default setting on
694 amd64/amd64, arm/armv6, arm/armv7, i386/i386, mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
695 .It Va WITHOUT_GNU_DIFF
700 .It Va WITHOUT_GNU_GREP
703 .It Va WITH_GNU_GREP_COMPAT
704 Set this option to include GNU extensions in
706 by linking against libgnuregex.
707 .It Va WITHOUT_GOOGLETEST
708 Set to neither build nor install
713 This is a default setting on
714 mips/mips and mips/mips64.
715 .It Va WITH_GOOGLETEST
716 Set to build and install
721 This is a default setting on
722 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
726 as part of the base system.
727 .It Va WITHOUT_GSSAPI
728 Set to not build libgssapi.
732 and related utilities.
734 Set to build Hesiod support.
736 Set to not build HTML docs.
737 .It Va WITHOUT_HYPERV
738 Set to not build or install HyperV utilities.
740 This is a default setting on
741 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
743 Set to build or install HyperV utilities.
745 This is a default setting on
746 amd64/amd64 and i386/i386.
748 Set to not build iconv as part of libc.
749 .It Va WITHOUT_INCLUDES
750 Set to not install header files.
751 This option used to be spelled
754 The option does not work for build targets.
757 Set to not build programs and libraries related to IPv4 networking.
758 When set, it enforces these options:
762 .Va WITHOUT_INET_SUPPORT
766 programs and libraries related to IPv6 networking.
767 When set, it enforces these options:
771 .Va WITHOUT_INET6_SUPPORT
773 .It Va WITHOUT_INET6_SUPPORT
774 Set to build libraries, programs, and kernel modules without IPv6 support.
778 .It Va WITHOUT_INET_SUPPORT
779 Set to build libraries, programs, and kernel modules without IPv4 support.
780 .It Va WITHOUT_INSTALLLIB
781 Set this to not install optional libraries.
782 For example, when creating a
786 The option does not work for build targets.
788 .It Va WITH_INSTALL_AS_USER
789 Set to make install targets succeed for non-root users by installing
790 files with owner and group attributes set to that of the user running
794 The user still must set the
796 variable to point to a directory where the user has write permissions.
797 .It Va WITHOUT_IPFILTER
798 Set to not build IP Filter package.
800 Set to not build IPFW tools.
801 .It Va WITHOUT_IPSEC_SUPPORT
802 Set to not build the kernel with
805 This option is needed for
812 and related utilities.
814 Set to not build tools for the support of jails; e.g.,
821 .It Va WITHOUT_KERBEROS
822 Set this to not build Kerberos 5 (KTH Heimdal).
823 When set, these options are also in effect:
826 .It Va WITHOUT_GSSAPI
830 .It Va WITHOUT_KERBEROS_SUPPORT
832 .Va WITH_KERBEROS_SUPPORT
835 .It Va WITHOUT_KERBEROS_SUPPORT
836 Set to build some programs without Kerberos support, like
842 .It Va WITH_KERNEL_RETPOLINE
843 Set to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel
845 .It Va WITHOUT_KERNEL_SYMBOLS
846 Set to not install kernel symbol files.
848 This option is recommended for those people who have small root partitions.
853 library as a part of the base system.
855 The option has no effect yet.
857 When set, these options are also in effect:
860 .It Va WITHOUT_KVM_SUPPORT
865 .It Va WITHOUT_KVM_SUPPORT
866 Set to build some programs without optional
870 Setting this variable will prevent the LDNS library from being built.
871 When set, it enforces these options:
875 .Va WITHOUT_LDNS_UTILS
879 .It Va WITHOUT_LDNS_UTILS
880 Setting this variable will prevent building the LDNS utilities
884 .It Va WITHOUT_LEGACY_CONSOLE
885 Set to not build programs that support a legacy PC console; e.g.,
890 On 64-bit platforms, set to not build 32-bit library set and a
894 This is a default setting on
895 arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
896 .It Va WITHOUT_LIBCPLUSPLUS
897 Set to avoid building libcxxrt and libc++.
898 .It Va WITHOUT_LIBPTHREAD
903 When set, it enforces these options:
910 On armv6 only, set to enable soft float ABI compatibility libraries.
911 This option is for transitioning to the new hard float ABI.
912 .It Va WITHOUT_LIBTHR
918 Set to not build LLVM's lld linker.
920 Set to not build the LLDB debugger.
922 This is a default setting on
923 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
925 Set to build the LLDB debugger.
927 This is a default setting on
928 amd64/amd64, arm64/aarch64 and i386/i386.
929 .It Va WITHOUT_LLD_BOOTSTRAP
930 Set to not build the LLD linker during the bootstrap phase of
932 To be able to build the system, either Binutils or LLD bootstrap must be
933 enabled unless an alternate linker is provided via XLD.
934 .It Va WITHOUT_LLD_IS_LD
935 Set to use GNU binutils ld as the system linker, instead of LLVM's LLD.
936 .It Va WITHOUT_LLVM_ASSERTIONS
937 Set to disable debugging assertions in LLVM.
938 .It Va WITHOUT_LLVM_COV
942 .It Va WITHOUT_LLVM_TARGET_AARCH64
943 Set to not build LLVM target support for AArch64.
946 option should be used rather than this in most cases.
947 .It Va WITHOUT_LLVM_TARGET_ALL
948 Set to only build the required LLVM target support.
949 This option is preferred to specific target support options.
950 When set, these options are also in effect:
953 .It Va WITHOUT_LLVM_TARGET_AARCH64
955 .Va WITH_LLVM_TARGET_AARCH64
957 .It Va WITHOUT_LLVM_TARGET_ARM
959 .Va WITH_LLVM_TARGET_ARM
961 .It Va WITHOUT_LLVM_TARGET_MIPS
963 .Va WITH_LLVM_TARGET_MIPS
965 .It Va WITHOUT_LLVM_TARGET_POWERPC
967 .Va WITH_LLVM_TARGET_POWERPC
969 .It Va WITHOUT_LLVM_TARGET_RISCV
971 .Va WITH_LLVM_TARGET_RISCV
974 .It Va WITHOUT_LLVM_TARGET_ARM
975 Set to not build LLVM target support for ARM.
978 option should be used rather than this in most cases.
979 .It Va WITH_LLVM_TARGET_BPF
980 Set to build LLVM target support for BPF.
983 option should be used rather than this in most cases.
984 .It Va WITHOUT_LLVM_TARGET_MIPS
985 Set to not build LLVM target support for MIPS.
988 option should be used rather than this in most cases.
989 .It Va WITHOUT_LLVM_TARGET_POWERPC
990 Set to not build LLVM target support for PowerPC.
993 option should be used rather than this in most cases.
994 .It Va WITHOUT_LLVM_TARGET_RISCV
995 Set to not build LLVM target support for RISC-V.
998 option should be used rather than this in most cases.
999 .It Va WITHOUT_LLVM_TARGET_X86
1000 Set to not build LLVM target support for X86.
1003 option should be used rather than this in most cases.
1004 .It Va WITH_LOADER_EFI_SECUREBOOT
1007 with support for verification based on certificates obtained from UEFI.
1009 .It Va WITH_LOADER_FIREWIRE
1010 Enable firewire support in /boot/loader on x86. This option is a nop
1011 on all other platforms.
1012 .It Va WITH_LOADER_FORCE_LE
1013 Set to force the powerpc boot loader to launch the kernel in little
1015 .It Va WITHOUT_LOADER_GELI
1016 Disable inclusion of GELI crypto support in the boot chain binaries.
1018 This is a default setting on
1019 powerpc/powerpc and powerpc/powerpc64.
1020 .It Va WITH_LOADER_GELI
1021 Set to build GELI bootloader support.
1023 This is a default setting on
1024 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1025 .It Va WITHOUT_LOADER_LUA
1026 Set to not build LUA bindings for the boot loader.
1028 This is a default setting on
1029 powerpc/powerpc and powerpc/powerpc64.
1030 .It Va WITH_LOADER_LUA
1031 Set to build LUA bindings for the boot loader.
1033 This is a default setting on
1034 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1035 .It Va WITHOUT_LOADER_OFW
1036 Disable building of openfirmware bootloader components.
1038 This is a default setting on
1039 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1040 .It Va WITH_LOADER_OFW
1041 Set to build openfirmware bootloader components.
1043 This is a default setting on
1044 powerpc/powerpc and powerpc/powerpc64.
1045 .It Va WITHOUT_LOADER_UBOOT
1046 Disable building of ubldr.
1048 This is a default setting on
1049 amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
1050 .It Va WITH_LOADER_UBOOT
1053 This is a default setting on
1054 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
1055 .It Va WITH_LOADER_VERBOSE
1056 Set to build with extra verbose debugging in the loader.
1057 May explode already nearly too large loader over the limit.
1060 .It Va WITH_LOADER_VERIEXEC
1063 with support for verification similar to Verified Exec.
1067 When set, these options are also in effect:
1070 .It Va WITH_LOADER_EFI_SECUREBOOT
1072 .Va WITHOUT_LOADER_EFI_SECUREBOOT
1074 .It Va WITH_LOADER_VERIEXEC_VECTX
1076 .Va WITHOUT_LOADER_VERIEXEC_VECTX
1079 .It Va WITH_LOADER_VERIEXEC_PASS_MANIFEST
1082 with support to pass a verified manifest to the kernel.
1083 The kernel has to be built with a module to parse the manifest.
1086 .Va WITH_LOADER_VERIEXEC .
1087 .It Va WITHOUT_LOADER_ZFS
1088 Set to not build ZFS file system boot loader support.
1089 .It Va WITHOUT_LOCALES
1090 Set to not build localization files; see
1092 .It Va WITHOUT_LOCATE
1095 and related programs.
1099 and related programs.
1100 .It Va WITHOUT_LS_COLORS
1103 without support for colors to distinguish file types.
1104 .It Va WITHOUT_LZMA_SUPPORT
1105 Set to build some programs without optional lzma compression support.
1107 Set to not build any mail support (MUA or MTA).
1108 When set, it enforces these options:
1114 .Va WITHOUT_MAILWRAPPER
1116 .Va WITHOUT_SENDMAIL
1118 .It Va WITHOUT_MAILWRAPPER
1119 Set to not build the
1125 and related support files.
1126 .It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
1129 in limited sandbox mode.
1130 This option should be paired with
1131 .Va WITH_INSTALL_AS_USER
1132 if executed as an unprivileged user.
1137 Set to not build manual pages.
1138 When set, these options are also in effect:
1141 .It Va WITHOUT_MAN_UTILS
1146 .It Va WITHOUT_MANCOMPRESS
1147 Set to not to install compressed man pages.
1148 Only the uncompressed versions will be installed.
1149 .It Va WITHOUT_MAN_UTILS
1150 Set to not build utilities for manual pages,
1156 and related support files.
1157 .It Va WITH_META_MODE
1160 meta files when building, which can provide a reliable incremental build when
1163 The meta file is created in OBJDIR as
1165 These meta files track the command that was executed, its output, and the
1169 module is required unless
1172 When the module is loaded, any files used by the commands executed are
1173 tracked as dependencies for the target in its meta file.
1174 The target is considered out-of-date and rebuilt if any of these
1175 conditions are true compared to the last build:
1176 .Bl -bullet -compact
1178 The command to execute changes.
1180 The current working directory changes.
1182 The target's meta file is missing.
1184 The target's meta file is missing filemon data when filemon is loaded
1185 and a previous run did not have it loaded.
1189 Files read, executed or linked to are newer than the target.
1193 Files read, written, executed or linked are missing.
1195 The meta files can also be useful for debugging.
1197 The build hides commands that are executed unless
1202 to show some of its environment for further debugging.
1204 The build operates as it normally would otherwise.
1205 This option originally invoked a different build system but that was renamed
1207 .Va WITH_DIRDEPS_BUILD .
1209 This must be set in the environment, make command line, or
1210 .Pa /etc/src-env.conf ,
1213 .It Va WITHOUT_MLX5TOOL
1217 This is a default setting on
1218 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1219 .It Va WITH_MLX5TOOL
1223 This is a default setting on
1224 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1226 Set to not build programs and libraries
1227 related to NDIS emulation support.
1228 .It Va WITHOUT_NETCAT
1232 .It Va WITHOUT_NETGRAPH
1233 Set to not build applications to support
1235 When set, it enforces these options:
1241 .Va WITHOUT_BLUETOOTH
1244 When set, these options are also in effect:
1247 .It Va WITHOUT_NETGRAPH_SUPPORT
1249 .Va WITH_NETGRAPH_SUPPORT
1252 .It Va WITHOUT_NETGRAPH_SUPPORT
1253 Set to build libraries, programs, and kernel modules without netgraph support.
1257 support and related programs.
1258 If set, you might need to adopt your
1264 Set to not build NLS catalogs.
1265 When set, it enforces these options:
1269 .Va WITHOUT_NLS_CATALOGS
1271 .It Va WITHOUT_NLS_CATALOGS
1272 Set to not build NLS catalog support for
1274 .It Va WITHOUT_NS_CACHING
1275 Set to disable name caching in the
1278 The generic caching daemon,
1280 will not be built either if this option is set.
1284 and related programs.
1286 Set to not build nvme related tools and kernel modules.
1288 This is a default setting on
1289 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1291 Set to build nvme related tools and kernel modules.
1294 This is a default setting on
1295 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1298 .Dq "OpenFabrics Enterprise Distribution"
1299 Infiniband software stack.
1300 .It Va WITH_OFED_EXTRA
1301 Set to build the non-essential components of the
1302 .Dq "OpenFabrics Enterprise Distribution"
1303 Infiniband software stack, mostly examples.
1304 .It Va WITH_OPENLDAP
1305 Enable building openldap support for kerberos.
1306 .It Va WITHOUT_OPENMP
1307 Set to not build LLVM's OpenMP runtime.
1309 This is a default setting on
1310 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1312 Set to build LLVM's OpenMP runtime.
1314 This is a default setting on
1315 amd64/amd64, i386/i386 and powerpc/powerpc64.
1316 .It Va WITHOUT_OPENSSH
1317 Set to not build OpenSSH.
1318 .It Va WITHOUT_OPENSSL
1319 Set to not build OpenSSL.
1320 When set, it enforces these options:
1326 .Va WITHOUT_KERBEROS
1328 .Va WITHOUT_KERBEROS_SUPPORT
1332 .Va WITHOUT_LDNS_UTILS
1336 .Va WITHOUT_PKGBOOTSTRAP
1344 .Va WITHOUT_WIRELESS
1347 When set, these options are also in effect:
1350 .It Va WITHOUT_GSSAPI
1356 Set to not build PAM library and modules.
1358 This option is deprecated and does nothing.
1360 When set, these options are also in effect:
1363 .It Va WITHOUT_PAM_SUPPORT
1365 .Va WITH_PAM_SUPPORT
1368 .It Va WITHOUT_PAM_SUPPORT
1369 Set to build some programs without PAM support, particularly
1374 Set to not build PF firewall package.
1375 When set, it enforces these options:
1382 Build dynamically linked binaries as
1383 Position-Independent Executable (PIE).
1384 .It Va WITHOUT_PKGBOOTSTRAP
1391 and related programs.
1392 .It Va WITHOUT_PORTSNAP
1393 Set to not build or install
1396 When set, it enforces these options:
1400 .Va WITHOUT_FREEBSD_UPDATE
1405 and related programs.
1406 .It Va WITHOUT_PROFILE
1407 Set to not build profiled libraries for use with
1410 This is a default setting on
1413 Set to build profiled libraries for use with
1416 This is a default setting on
1417 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1418 .It Va WITHOUT_QUOTAS
1421 and related programs.
1422 .It Va WITHOUT_RADIUS_SUPPORT
1423 Set to not build radius support into various applications, like
1427 .It Va WITH_RATELIMIT
1428 Set to build the system with rate limit support.
1431 .Dv SO_MAX_PACING_RATE
1439 .It Va WITHOUT_RBOOTD
1440 Set to not build or install
1442 .It Va WITH_REPRODUCIBLE_BUILD
1443 Set to exclude build metadata (such as the build time, user, or host)
1444 from the kernel, boot loaders, and uname output, so that builds produce
1445 bit-for-bit identical output.
1446 .It Va WITHOUT_RESCUE
1449 .It Va WITH_RETPOLINE
1450 Set to build the base system with the retpoline speculative execution
1451 vulnerability mitigation for CVE-2017-5715.
1452 .It Va WITHOUT_ROUTED
1456 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1459 with warmstart support.
1460 .It Va WITHOUT_SENDMAIL
1463 and related programs.
1464 .It Va WITHOUT_SERVICESDB
1466 .Pa /var/db/services.db .
1467 .It Va WITHOUT_SETUID_LOGIN
1468 Set this to disable the installation of
1470 as a set-user-ID root program.
1471 .It Va WITHOUT_SHAREDOCS
1472 Set to not build the
1475 .It Va WITHOUT_SHARED_TOOLCHAIN
1476 Set to build the toolchain binaries as statically linked executables.
1480 and necessary utilities like assembler, linker and library archive manager.
1481 .It Va WITH_SORT_THREADS
1482 Set to enable threads in
1484 .It Va WITHOUT_SOURCELESS
1485 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1486 When set, it enforces these options:
1490 .Va WITHOUT_SOURCELESS_HOST
1492 .Va WITHOUT_SOURCELESS_UCODE
1494 .It Va WITHOUT_SOURCELESS_HOST
1495 Set to not build kernel modules that include sourceless native code for host CPU.
1496 .It Va WITHOUT_SOURCELESS_UCODE
1497 Set to not build kernel modules that include sourceless microcode.
1499 Set to not build world with propolice stack smashing protection.
1501 This is a default setting on
1502 mips/mips and mips/mips64.
1504 Set to build world with propolice stack smashing protection.
1506 This is a default setting on
1507 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1509 Enable staging of files to a stage tree.
1510 This can be best thought of as auto-install to
1512 with some extra meta data to ensure dependencies can be tracked.
1514 .Va WITH_DIRDEPS_BUILD .
1515 When set, these options are also in effect:
1518 .It Va WITH_STAGING_MAN
1520 .Va WITHOUT_STAGING_MAN
1522 .It Va WITH_STAGING_PROG
1524 .Va WITHOUT_STAGING_PROG
1528 This must be set in the environment, make command line, or
1529 .Pa /etc/src-env.conf ,
1532 .It Va WITH_STAGING_MAN
1533 Enable staging of man pages to stage tree.
1534 .It Va WITH_STAGING_PROG
1535 Enable staging of PROGs to stage tree.
1536 .It Va WITH_STALE_STAGED
1537 Check staged files are not stale.
1538 .It Va WITHOUT_STATS
1539 Set to neither build nor install
1541 and dependent binaries.
1547 .It Va WITHOUT_SVNLITE
1550 and related programs.
1551 .It Va WITHOUT_SYSCONS
1554 support files such as keyboard maps, fonts, and screen output maps.
1556 Enable use of sysroot during build.
1558 .Va WITH_DIRDEPS_BUILD .
1560 This must be set in the environment, make command line, or
1561 .Pa /etc/src-env.conf ,
1564 .It Va WITHOUT_SYSTEM_COMPILER
1565 Set to not opportunistically skip building a cross-compiler during the
1566 bootstrap phase of the build.
1567 Normally, if the currently installed compiler matches the planned bootstrap
1568 compiler type and revision, then it will not be built.
1569 This does not prevent a compiler from being built for installation though,
1570 only for building one for the build itself.
1573 option controls that.
1574 .It Va WITHOUT_SYSTEM_LINKER
1575 Set to not opportunistically skip building a cross-linker during the
1576 bootstrap phase of the build.
1577 Normally, if the currently installed linker matches the planned bootstrap
1578 linker type and revision, then it will not be built.
1579 This does not prevent a linker from being built for installation though,
1580 only for building one for the build itself.
1584 .Va WITHOUT_BINUTILS
1585 options control those.
1587 This option is only relevant when
1588 .Va WITH_LLD_BOOTSTRAP
1591 Set to not build or install
1595 .It Va WITHOUT_TCP_WRAPPERS
1596 Set to not build or install
1598 and related utilities.
1600 Set to not build and install
1604 .It Va WITHOUT_TELNET
1607 and related programs.
1608 .It Va WITHOUT_TESTS
1609 Set to not build nor install the
1616 This also disables the build of all test-related dependencies, including ATF.
1617 When set, it enforces these options:
1621 .Va WITHOUT_DTRACE_TESTS
1624 When set, these options are also in effect:
1627 .It Va WITHOUT_GOOGLETEST
1631 .It Va WITHOUT_TESTS_SUPPORT
1633 .Va WITH_TESTS_SUPPORT
1636 .It Va WITHOUT_TESTS_SUPPORT
1637 Set to disables the build of all test-related dependencies, including ATF.
1638 When set, it enforces these options:
1642 .Va WITHOUT_GOOGLETEST
1644 .It Va WITHOUT_TEXTPROC
1646 programs used for text processing.
1648 Set to not build or install
1652 .It Va WITHOUT_TOOLCHAIN
1653 Set to not install header or
1654 programs used for program development,
1655 compilers, debuggers etc.
1656 When set, it enforces these options:
1660 .Va WITHOUT_BINUTILS
1664 .Va WITHOUT_CLANG_EXTRAS
1666 .Va WITHOUT_CLANG_FULL
1670 .Va WITHOUT_INCLUDES
1676 .Va WITHOUT_LLVM_COV
1678 .It Va WITHOUT_UNBOUND
1681 and related programs.
1682 .It Va WITHOUT_UNIFIED_OBJDIR
1683 Set to use the historical object directory format for
1686 For native-builds and builds done directly in sub-directories the format of
1687 .Pa ${MAKEOBJDIRPREFIX}/${.CURDIR}
1689 while for cross-builds
1690 .Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR}
1693 This option is transitional and will be removed before the 12.0 release,
1695 .va WITH_UNIFIED_OBJDIR
1696 will be enabled permanently.
1698 This must be set in the environment, make command line, or
1699 .Pa /etc/src-env.conf ,
1703 Set to not build USB-related programs and libraries.
1704 .It Va WITHOUT_USB_GADGET_EXAMPLES
1705 Set to not build USB gadget kernel modules.
1706 .It Va WITHOUT_UTMPX
1707 Set to not build user accounting tools such as
1715 .It Va WITH_VERIEXEC
1718 which loads the contents of verified manifests into the kernel
1725 Set to not build and install vi, view, ex and related programs.
1729 support files (fonts and keymaps).
1730 .It Va WITHOUT_WARNS
1731 Set this to not add warning flags to the compiler invocations.
1732 Useful as a temporary workaround when code enters the tree
1733 which triggers warnings in environments that differ from the
1735 .It Va WITHOUT_WIRELESS
1736 Set to not build programs used for 802.11 wireless networks; especially
1737 .Xr wpa_supplicant 8
1740 When set, these options are also in effect:
1743 .It Va WITHOUT_WIRELESS_SUPPORT
1745 .Va WITH_WIRELESS_SUPPORT
1748 .It Va WITHOUT_WIRELESS_SUPPORT
1749 Set to build libraries, programs, and kernel modules without
1750 802.11 wireless support.
1751 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1753 .Xr wpa_supplicant 8
1754 without support for the IEEE 802.1X protocol and without
1755 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1756 protocols (usable only via 802.1X).
1758 Set to not build ZFS file system kernel module, libraries, and user commands.
1759 .It Va WITHOUT_ZONEINFO
1760 Set to not build the timezone database.
1761 When set, it enforces these options:
1765 .Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
1767 .It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
1768 Set to build leapsecond information in to the timezone database.
1771 .Bl -tag -compact -width Pa
1772 .It Pa /etc/src.conf
1773 .It Pa /etc/src-env.conf
1774 .It Pa /usr/share/mk/bsd.own.mk
1787 This manual page was autogenerated by
1788 .An tools/build/options/makeman .