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
189 of the normal system build.
191 This is a default setting on
192 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
194 Build and install GNU
196 as part of the normal system build.
198 This is a default setting on
199 amd64/amd64 and i386/i386.
200 .It Va WITHOUT_BINUTILS_BOOTSTRAP
201 Do not build GNU binutils
202 as part of the bootstrap process.
204 This is a default setting on
205 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
206 .It Va WITH_BINUTILS_BOOTSTRAP
208 as part of the bootstrap process.
210 This is a default setting on
211 amd64/amd64 and i386/i386.
212 .It Va WITHOUT_BLACKLIST
213 Set this if you do not want to build
217 When set, these options are also in effect:
220 .It Va WITHOUT_BLACKLIST_SUPPORT
222 .Va WITH_BLACKLIST_SUPPORT
225 .It Va WITHOUT_BLACKLIST_SUPPORT
226 Set to build some programs without
233 .It Va WITHOUT_BLUETOOTH
234 Set to not build Bluetooth related kernel modules, programs and libraries.
236 Set to not build the boot blocks and loader.
237 .It Va WITHOUT_BOOTPARAMD
238 Set to not build or install
240 .It Va WITHOUT_BOOTPD
241 Set to not build or install
243 .It Va WITHOUT_BSDINSTALL
247 and related programs.
248 .It Va WITHOUT_BSD_CPIO
249 Set to not build the BSD licensed version of cpio based on
252 Install BSD-licensed grep as '[ef]grep' instead of GNU grep.
254 Set to not build or install
256 and related libraries and data files.
258 Set to not build contributed bzip2 software as a part of the base system.
260 The option has no effect yet.
262 When set, these options are also in effect:
265 .It Va WITHOUT_BZIP2_SUPPORT
267 .Va WITH_BZIP2_SUPPORT
270 .It Va WITHOUT_BZIP2_SUPPORT
271 Set to build some programs without optional bzip2 support.
272 .It Va WITHOUT_CALENDAR
275 .It Va WITHOUT_CAPSICUM
276 Set to not build Capsicum support into system programs.
277 When set, it enforces these options:
283 .It Va WITHOUT_CAROOT
284 Set to not add the trusted certificates from the Mozilla NSS bundle to
286 .It Va WITHOUT_CASPER
287 Set to not build Casper program and related libraries.
288 .It Va WITH_CCACHE_BUILD
292 No configuration is required except to install the
298 .Sy CCACHE_PREFIX=/usr/local/bin/distcc .
299 The default cache directory of
301 will be used, which can be overridden by setting
304 .Sy CCACHE_COMPILERCHECK
307 when using the in-tree bootstrap compiler,
310 when using an external compiler.
313 option is used for Clang but not GCC.
315 Sharing a cache between multiple work directories requires using a layout
319 and an environment such as:
320 .Bd -literal -offset indent
321 CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
326 for more configuration options.
330 and related utilities.
332 Set to not build code licensed under Sun's CDDL.
333 When set, it enforces these options:
339 .Va WITHOUT_LOADER_ZFS
344 Set to not build the Clang C/C++ compiler during the regular phase of the build.
345 When set, it enforces these options:
349 .Va WITHOUT_CLANG_EXTRAS
351 .Va WITHOUT_CLANG_FULL
355 .It Va WITHOUT_CLANG_BOOTSTRAP
356 Set to not build the Clang C/C++ compiler during the bootstrap phase of
358 To be able to build the system, either gcc or clang bootstrap must be
359 enabled unless an alternate compiler is provided via XCC.
360 .It Va WITH_CLANG_EXTRAS
361 Set to build additional clang and llvm tools, such as bugpoint and
363 .It Va WITHOUT_CLANG_FULL
364 Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
365 the Clang C/C++ compiler.
366 .It Va WITHOUT_CLANG_IS_CC
367 Do not install links to the Clang C/C++ compiler as
375 .It Va WITHOUT_CROSS_COMPILER
376 Set to not build any cross compiler in the cross-tools stage of buildworld.
377 When compiling a different version of
379 than what is installed on the system, provide an alternate
380 compiler with XCC to ensure success.
381 When compiling with an identical version of
383 to the host, this option may be safely used.
384 This option may also be safe when the host version of
386 is close to the sources being built, but all bets are off if there have
387 been any changes to the toolchain between the versions.
388 When set, it enforces these options:
392 .Va WITHOUT_BINUTILS_BOOTSTRAP
394 .Va WITHOUT_CLANG_BOOTSTRAP
396 .Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
398 .Va WITHOUT_LLD_BOOTSTRAP
401 Set to not build any crypto code.
402 When set, it enforces these options:
410 .Va WITHOUT_KERBEROS_SUPPORT
414 .Va WITHOUT_LDNS_UTILS
420 .Va WITHOUT_PKGBOOTSTRAP
431 When set, these options are also in effect:
434 .It Va WITHOUT_GSSAPI
440 Set to compile with CTF (Compact C Type Format) data.
441 CTF data encapsulates a reduced form of debugging information
442 similar to DWARF and the venerable stabs and is required for DTrace.
444 Set to not build CUSE-related programs and libraries.
445 .It Va WITHOUT_CXGBETOOL
449 This is a default setting on
450 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
451 .It Va WITH_CXGBETOOL
455 This is a default setting on
456 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
460 and related libraries.
461 It will also prevent building of
465 When set, it enforces these options:
471 .Va WITHOUT_CLANG_EXTRAS
473 .Va WITHOUT_CLANG_FULL
475 .Va WITHOUT_DTRACE_TESTS
477 .Va WITHOUT_GOOGLETEST
483 .It Va WITHOUT_DEBUG_FILES
484 Set to avoid building or installing standalone debug files for each
485 executable binary and shared library.
486 .It Va WITHOUT_DIALOG
493 When set, it enforces these options:
497 .Va WITHOUT_BSDINSTALL
500 Set to not build the Webster dictionary files.
501 .It Va WITH_DIRDEPS_BUILD
502 This is an experimental build system.
504 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
505 Build commands can be seen from the top-level with:
506 .Dl make show-valid-targets
507 The build is driven by dirdeps.mk using
510 Makefile.depend files found in each directory.
512 The build can be started from anywhere, and behaves the same.
513 The initial instance of
518 .Pa Makefile.depend ,
519 computing a graph of tree dependencies from the current origin.
522 skips checking dirdep dependencies and will only build in the current
523 and child directories.
525 skips building any dirdeps and only build the current directory.
527 This also utilizes the
529 logic for incremental builds.
531 The build hides commands executed unless
535 Note that there is currently no mass install feature for this.
537 When set, it enforces these options:
541 .Va WITH_INSTALL_AS_USER
544 When set, these options are also in effect:
547 .It Va WITH_META_MODE
549 .Va WITHOUT_META_MODE
555 .It Va WITH_STAGING_MAN
557 .Va WITHOUT_STAGING_MAN
559 .It Va WITH_STAGING_PROG
561 .Va WITHOUT_STAGING_PROG
569 This must be set in the environment, make command line, or
570 .Pa /etc/src-env.conf ,
573 .It Va WITH_DIRDEPS_CACHE
574 Cache result of dirdeps.mk which can save significant time
575 for subsequent builds.
577 .Va WITH_DIRDEPS_BUILD .
579 This must be set in the environment, make command line, or
580 .Pa /etc/src-env.conf ,
583 .It Va WITHOUT_DMAGENT
584 Set to not build dma Mail Transport Agent.
585 .It Va WITHOUT_DOCCOMPRESS
586 Set to not install compressed system documentation.
587 Only the uncompressed version will be installed.
588 .It Va WITH_DTRACE_TESTS
589 Set to build and install the DTrace test suite in
590 .Pa /usr/tests/cddl/usr.sbin/dtrace .
591 This test suite is considered experimental on architectures other than
592 amd64/amd64 and running it may cause system instability.
593 .It Va WITHOUT_DYNAMICROOT
594 Set this if you do not want to link
600 Set to not build and install
603 and related programs.
610 This is a default setting on
611 mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
618 This is a default setting on
619 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
620 .It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
621 Set to not build ELF Tool Chain tools
622 (addr2line, nm, size, strings and strip)
623 as part of the bootstrap process.
625 An alternate bootstrap tool chain must be provided.
627 .It Va WITHOUT_EXAMPLES
628 Set to avoid installing examples to
629 .Pa /usr/share/examples/ .
630 .It Va WITH_EXPERIMENTAL
631 Set to include experimental features in the build.
632 .It Va WITH_EXTRA_TCP_STACKS
633 Set to build extra TCP stack modules.
635 Set to not build Flattened Device Tree support as part of the base system.
636 This includes the device tree compiler (dtc) and libfdt support library.
640 and related programs.
641 When set, it enforces these options:
647 .It Va WITHOUT_FINGER
648 Set to not build or install
652 .It Va WITHOUT_FLOPPY
653 Set to not build or install programs
654 for operating floppy disk driver.
655 .It Va WITHOUT_FMTREE
656 Set to not build and install
657 .Pa /usr/sbin/fmtree .
658 .It Va WITHOUT_FORMAT_EXTENSIONS
660 .Fl fformat-extensions
661 when compiling the kernel.
662 Also disables all format checking.
664 Set to build bootloaders without Forth support.
665 .It Va WITHOUT_FP_LIBC
668 without floating-point support.
669 .It Va WITHOUT_FREEBSD_UPDATE
671 .Xr freebsd-update 8 .
673 Set to not build or install
678 Set to not build games.
683 This is a default setting on
684 arm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
689 This is a default setting on
690 amd64/amd64, arm/armv6, arm/armv7, i386/i386, mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
691 .It Va WITHOUT_GNU_DIFF
696 .It Va WITHOUT_GNU_GREP
699 .It Va WITH_GNU_GREP_COMPAT
700 Set this option to include GNU extensions in
702 by linking against libgnuregex.
703 .It Va WITHOUT_GOOGLETEST
704 Set to neither build nor install
709 This is a default setting on
710 mips/mips and mips/mips64.
711 .It Va WITH_GOOGLETEST
712 Set to build and install
717 This is a default setting on
718 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
722 as part of the base system.
723 .It Va WITHOUT_GSSAPI
724 Set to not build libgssapi.
728 and related utilities.
730 Set to build Hesiod support.
732 Set to not build HTML docs.
733 .It Va WITHOUT_HYPERV
734 Set to not build or install HyperV utilities.
736 This is a default setting on
737 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
739 Set to build or install HyperV utilities.
741 This is a default setting on
742 amd64/amd64 and i386/i386.
744 Set to not build iconv as part of libc.
745 .It Va WITHOUT_INCLUDES
746 Set to not install header files.
747 This option used to be spelled
750 The option does not work for build targets.
753 Set to not build programs and libraries related to IPv4 networking.
754 When set, it enforces these options:
758 .Va WITHOUT_INET_SUPPORT
762 programs and libraries related to IPv6 networking.
763 When set, it enforces these options:
767 .Va WITHOUT_INET6_SUPPORT
769 .It Va WITHOUT_INET6_SUPPORT
770 Set to build libraries, programs, and kernel modules without IPv6 support.
774 .It Va WITHOUT_INET_SUPPORT
775 Set to build libraries, programs, and kernel modules without IPv4 support.
776 .It Va WITHOUT_INSTALLLIB
777 Set this to not install optional libraries.
778 For example, when creating a
782 The option does not work for build targets.
784 .It Va WITH_INSTALL_AS_USER
785 Set to make install targets succeed for non-root users by installing
786 files with owner and group attributes set to that of the user running
790 The user still must set the
792 variable to point to a directory where the user has write permissions.
793 .It Va WITHOUT_IPFILTER
794 Set to not build IP Filter package.
796 Set to not build IPFW tools.
797 .It Va WITHOUT_IPSEC_SUPPORT
798 Set to not build the kernel with
801 This option is needed for
808 and related utilities.
810 Set to not build tools for the support of jails; e.g.,
817 .It Va WITHOUT_KERBEROS
818 Set this to not build Kerberos 5 (KTH Heimdal).
819 When set, these options are also in effect:
822 .It Va WITHOUT_GSSAPI
826 .It Va WITHOUT_KERBEROS_SUPPORT
828 .Va WITH_KERBEROS_SUPPORT
831 .It Va WITHOUT_KERBEROS_SUPPORT
832 Set to build some programs without Kerberos support, like
838 .It Va WITH_KERNEL_RETPOLINE
839 Set to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel
841 .It Va WITHOUT_KERNEL_SYMBOLS
842 Set to not install kernel symbol files.
844 This option is recommended for those people who have small root partitions.
849 library as a part of the base system.
851 The option has no effect yet.
853 When set, these options are also in effect:
856 .It Va WITHOUT_KVM_SUPPORT
861 .It Va WITHOUT_KVM_SUPPORT
862 Set to build some programs without optional
866 Setting this variable will prevent the LDNS library from being built.
867 When set, it enforces these options:
871 .Va WITHOUT_LDNS_UTILS
875 .It Va WITHOUT_LDNS_UTILS
876 Setting this variable will prevent building the LDNS utilities
880 .It Va WITHOUT_LEGACY_CONSOLE
881 Set to not build programs that support a legacy PC console; e.g.,
886 On 64-bit platforms, set to not build 32-bit library set and a
890 This is a default setting on
891 arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
892 .It Va WITHOUT_LIBCPLUSPLUS
893 Set to avoid building libcxxrt and libc++.
894 .It Va WITHOUT_LIBPTHREAD
899 When set, it enforces these options:
906 On armv6 only, set to enable soft float ABI compatibility libraries.
907 This option is for transitioning to the new hard float ABI.
908 .It Va WITHOUT_LIBTHR
914 Set to not build LLVM's lld linker.
916 Set to not build the LLDB debugger.
918 This is a default setting on
919 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
921 Set to build the LLDB debugger.
923 This is a default setting on
924 amd64/amd64, arm64/aarch64 and i386/i386.
925 .It Va WITHOUT_LLD_BOOTSTRAP
926 Set to not build the LLD linker during the bootstrap phase of
928 To be able to build the system, either Binutils or LLD bootstrap must be
929 enabled unless an alternate linker is provided via XLD.
930 .It Va WITHOUT_LLD_IS_LD
931 Set to use GNU binutils ld as the system linker, instead of LLVM's LLD.
932 .It Va WITHOUT_LLVM_ASSERTIONS
933 Set to disable debugging assertions in LLVM.
934 .It Va WITHOUT_LLVM_COV
938 .It Va WITHOUT_LLVM_TARGET_AARCH64
939 Set to not build LLVM target support for AArch64.
942 option should be used rather than this in most cases.
943 .It Va WITHOUT_LLVM_TARGET_ALL
944 Set to only build the required LLVM target support.
945 This option is preferred to specific target support options.
946 When set, these options are also in effect:
949 .It Va WITHOUT_LLVM_TARGET_AARCH64
951 .Va WITH_LLVM_TARGET_AARCH64
953 .It Va WITHOUT_LLVM_TARGET_ARM
955 .Va WITH_LLVM_TARGET_ARM
957 .It Va WITHOUT_LLVM_TARGET_MIPS
959 .Va WITH_LLVM_TARGET_MIPS
961 .It Va WITHOUT_LLVM_TARGET_POWERPC
963 .Va WITH_LLVM_TARGET_POWERPC
965 .It Va WITHOUT_LLVM_TARGET_RISCV
967 .Va WITH_LLVM_TARGET_RISCV
970 .It Va WITHOUT_LLVM_TARGET_ARM
971 Set to not build LLVM target support for ARM.
974 option should be used rather than this in most cases.
975 .It Va WITH_LLVM_TARGET_BPF
976 Set to build LLVM target support for BPF.
979 option should be used rather than this in most cases.
980 .It Va WITHOUT_LLVM_TARGET_MIPS
981 Set to not build LLVM target support for MIPS.
984 option should be used rather than this in most cases.
985 .It Va WITHOUT_LLVM_TARGET_POWERPC
986 Set to not build LLVM target support for PowerPC.
989 option should be used rather than this in most cases.
990 .It Va WITHOUT_LLVM_TARGET_RISCV
991 Set to not build LLVM target support for RISC-V.
994 option should be used rather than this in most cases.
995 .It Va WITHOUT_LLVM_TARGET_X86
996 Set to not build LLVM target support for X86.
999 option should be used rather than this in most cases.
1000 .It Va WITH_LOADER_EFI_SECUREBOOT
1003 with support for verification based on certificates obtained from UEFI.
1005 .It Va WITH_LOADER_FIREWIRE
1006 Enable firewire support in /boot/loader on x86. This option is a nop
1007 on all other platforms.
1008 .It Va WITH_LOADER_FORCE_LE
1009 Set to force the powerpc boot loader to launch the kernel in little
1011 .It Va WITHOUT_LOADER_GELI
1012 Disable inclusion of GELI crypto support in the boot chain binaries.
1014 This is a default setting on
1015 powerpc/powerpc and powerpc/powerpc64.
1016 .It Va WITH_LOADER_GELI
1017 Set to build GELI bootloader support.
1019 This is a default setting on
1020 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1021 .It Va WITHOUT_LOADER_LUA
1022 Set to not build LUA bindings for the boot loader.
1024 This is a default setting on
1025 powerpc/powerpc and powerpc/powerpc64.
1026 .It Va WITH_LOADER_LUA
1027 Set to build LUA bindings for the boot loader.
1029 This is a default setting on
1030 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1031 .It Va WITHOUT_LOADER_OFW
1032 Disable building of openfirmware bootloader components.
1034 This is a default setting on
1035 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1036 .It Va WITH_LOADER_OFW
1037 Set to build openfirmware bootloader components.
1039 This is a default setting on
1040 powerpc/powerpc and powerpc/powerpc64.
1041 .It Va WITHOUT_LOADER_UBOOT
1042 Disable building of ubldr.
1044 This is a default setting on
1045 amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
1046 .It Va WITH_LOADER_UBOOT
1049 This is a default setting on
1050 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
1051 .It Va WITH_LOADER_VERBOSE
1052 Set to build with extra verbose debugging in the loader.
1053 May explode already nearly too large loader over the limit.
1056 .It Va WITH_LOADER_VERIEXEC
1059 with support for verification similar to Verified Exec.
1063 When set, these options are also in effect:
1066 .It Va WITH_LOADER_EFI_SECUREBOOT
1068 .Va WITHOUT_LOADER_EFI_SECUREBOOT
1070 .It Va WITH_LOADER_VERIEXEC_VECTX
1072 .Va WITHOUT_LOADER_VERIEXEC_VECTX
1075 .It Va WITH_LOADER_VERIEXEC_PASS_MANIFEST
1078 with support to pass a verified manifest to the kernel.
1079 The kernel has to be built with a module to parse the manifest.
1082 .Va WITH_LOADER_VERIEXEC .
1083 .It Va WITHOUT_LOADER_ZFS
1084 Set to not build ZFS file system boot loader support.
1085 .It Va WITHOUT_LOCALES
1086 Set to not build localization files; see
1088 .It Va WITHOUT_LOCATE
1091 and related programs.
1095 and related programs.
1096 .It Va WITHOUT_LS_COLORS
1099 without support for colors to distinguish file types.
1100 .It Va WITHOUT_LZMA_SUPPORT
1101 Set to build some programs without optional lzma compression support.
1103 Set to not build any mail support (MUA or MTA).
1104 When set, it enforces these options:
1110 .Va WITHOUT_MAILWRAPPER
1112 .Va WITHOUT_SENDMAIL
1114 .It Va WITHOUT_MAILWRAPPER
1115 Set to not build the
1121 and related support files.
1122 .It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
1125 in limited sandbox mode.
1126 This option should be paired with
1127 .Va WITH_INSTALL_AS_USER
1128 if executed as an unprivileged user.
1133 Set to not build manual pages.
1134 When set, these options are also in effect:
1137 .It Va WITHOUT_MAN_UTILS
1142 .It Va WITHOUT_MANCOMPRESS
1143 Set to not to install compressed man pages.
1144 Only the uncompressed versions will be installed.
1145 .It Va WITHOUT_MAN_UTILS
1146 Set to not build utilities for manual pages,
1152 and related support files.
1153 .It Va WITH_META_MODE
1156 meta files when building, which can provide a reliable incremental build when
1159 The meta file is created in OBJDIR as
1161 These meta files track the command that was executed, its output, and the
1165 module is required unless
1168 When the module is loaded, any files used by the commands executed are
1169 tracked as dependencies for the target in its meta file.
1170 The target is considered out-of-date and rebuilt if any of these
1171 conditions are true compared to the last build:
1172 .Bl -bullet -compact
1174 The command to execute changes.
1176 The current working directory changes.
1178 The target's meta file is missing.
1180 The target's meta file is missing filemon data when filemon is loaded
1181 and a previous run did not have it loaded.
1185 Files read, executed or linked to are newer than the target.
1189 Files read, written, executed or linked are missing.
1191 The meta files can also be useful for debugging.
1193 The build hides commands that are executed unless
1198 to show some of its environment for further debugging.
1200 The build operates as it normally would otherwise.
1201 This option originally invoked a different build system but that was renamed
1203 .Va WITH_DIRDEPS_BUILD .
1205 This must be set in the environment, make command line, or
1206 .Pa /etc/src-env.conf ,
1209 .It Va WITHOUT_MLX5TOOL
1213 This is a default setting on
1214 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1215 .It Va WITH_MLX5TOOL
1219 This is a default setting on
1220 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1222 Set to not build programs and libraries
1223 related to NDIS emulation support.
1224 .It Va WITHOUT_NETCAT
1228 .It Va WITHOUT_NETGRAPH
1229 Set to not build applications to support
1231 When set, it enforces these options:
1237 .Va WITHOUT_BLUETOOTH
1240 When set, these options are also in effect:
1243 .It Va WITHOUT_NETGRAPH_SUPPORT
1245 .Va WITH_NETGRAPH_SUPPORT
1248 .It Va WITHOUT_NETGRAPH_SUPPORT
1249 Set to build libraries, programs, and kernel modules without netgraph support.
1253 support and related programs.
1254 If set, you might need to adopt your
1260 Set to not build NLS catalogs.
1261 When set, it enforces these options:
1265 .Va WITHOUT_NLS_CATALOGS
1267 .It Va WITHOUT_NLS_CATALOGS
1268 Set to not build NLS catalog support for
1270 .It Va WITHOUT_NS_CACHING
1271 Set to disable name caching in the
1274 The generic caching daemon,
1276 will not be built either if this option is set.
1280 and related programs.
1282 Set to not build nvme related tools and kernel modules.
1284 This is a default setting on
1285 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1287 Set to build nvme related tools and kernel modules.
1290 This is a default setting on
1291 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1294 .Dq "OpenFabrics Enterprise Distribution"
1295 Infiniband software stack.
1296 .It Va WITH_OFED_EXTRA
1297 Set to build the non-essential components of the
1298 .Dq "OpenFabrics Enterprise Distribution"
1299 Infiniband software stack, mostly examples.
1300 .It Va WITH_OPENLDAP
1301 Enable building openldap support for kerberos.
1302 .It Va WITHOUT_OPENMP
1303 Set to not build LLVM's OpenMP runtime.
1305 This is a default setting on
1306 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1308 Set to build LLVM's OpenMP runtime.
1310 This is a default setting on
1311 amd64/amd64, i386/i386 and powerpc/powerpc64.
1312 .It Va WITHOUT_OPENSSH
1313 Set to not build OpenSSH.
1314 .It Va WITHOUT_OPENSSL
1315 Set to not build OpenSSL.
1316 When set, it enforces these options:
1322 .Va WITHOUT_KERBEROS
1324 .Va WITHOUT_KERBEROS_SUPPORT
1328 .Va WITHOUT_LDNS_UTILS
1332 .Va WITHOUT_PKGBOOTSTRAP
1340 .Va WITHOUT_WIRELESS
1343 When set, these options are also in effect:
1346 .It Va WITHOUT_GSSAPI
1352 Set to not build PAM library and modules.
1354 This option is deprecated and does nothing.
1356 When set, these options are also in effect:
1359 .It Va WITHOUT_PAM_SUPPORT
1361 .Va WITH_PAM_SUPPORT
1364 .It Va WITHOUT_PAM_SUPPORT
1365 Set to build some programs without PAM support, particularly
1370 Set to not build PF firewall package.
1371 When set, it enforces these options:
1378 Build dynamically linked binaries as
1379 Position-Independent Executable (PIE).
1380 .It Va WITHOUT_PKGBOOTSTRAP
1387 and related programs.
1388 .It Va WITHOUT_PORTSNAP
1389 Set to not build or install
1392 When set, it enforces these options:
1396 .Va WITHOUT_FREEBSD_UPDATE
1401 and related programs.
1402 .It Va WITHOUT_PROFILE
1403 Set to not build profiled libraries for use with
1406 This is a default setting on
1409 Set to build profiled libraries for use with
1412 This is a default setting on
1413 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1414 .It Va WITHOUT_QUOTAS
1417 and related programs.
1418 .It Va WITHOUT_RADIUS_SUPPORT
1419 Set to not build radius support into various applications, like
1423 .It Va WITH_RATELIMIT
1424 Set to build the system with rate limit support.
1427 .Dv SO_MAX_PACING_RATE
1435 .It Va WITHOUT_RBOOTD
1436 Set to not build or install
1438 .It Va WITH_REPRODUCIBLE_BUILD
1439 Set to exclude build metadata (such as the build time, user, or host)
1440 from the kernel, boot loaders, and uname output, so that builds produce
1441 bit-for-bit identical output.
1442 .It Va WITHOUT_RESCUE
1445 .It Va WITH_RETPOLINE
1446 Set to build the base system with the retpoline speculative execution
1447 vulnerability mitigation for CVE-2017-5715.
1448 .It Va WITHOUT_ROUTED
1452 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1455 with warmstart support.
1456 .It Va WITHOUT_SENDMAIL
1459 and related programs.
1460 .It Va WITHOUT_SERVICESDB
1462 .Pa /var/db/services.db .
1463 .It Va WITHOUT_SETUID_LOGIN
1464 Set this to disable the installation of
1466 as a set-user-ID root program.
1467 .It Va WITHOUT_SHAREDOCS
1468 Set to not build the
1471 .It Va WITHOUT_SHARED_TOOLCHAIN
1472 Set to build the toolchain binaries as statically linked executables.
1476 and necessary utilities like assembler, linker and library archive manager.
1477 .It Va WITH_SORT_THREADS
1478 Set to enable threads in
1480 .It Va WITHOUT_SOURCELESS
1481 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1482 When set, it enforces these options:
1486 .Va WITHOUT_SOURCELESS_HOST
1488 .Va WITHOUT_SOURCELESS_UCODE
1490 .It Va WITHOUT_SOURCELESS_HOST
1491 Set to not build kernel modules that include sourceless native code for host CPU.
1492 .It Va WITHOUT_SOURCELESS_UCODE
1493 Set to not build kernel modules that include sourceless microcode.
1495 Set to not build world with propolice stack smashing protection.
1497 This is a default setting on
1498 mips/mips and mips/mips64.
1500 Set to build world with propolice stack smashing protection.
1502 This is a default setting on
1503 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1505 Enable staging of files to a stage tree.
1506 This can be best thought of as auto-install to
1508 with some extra meta data to ensure dependencies can be tracked.
1510 .Va WITH_DIRDEPS_BUILD .
1511 When set, these options are also in effect:
1514 .It Va WITH_STAGING_MAN
1516 .Va WITHOUT_STAGING_MAN
1518 .It Va WITH_STAGING_PROG
1520 .Va WITHOUT_STAGING_PROG
1524 This must be set in the environment, make command line, or
1525 .Pa /etc/src-env.conf ,
1528 .It Va WITH_STAGING_MAN
1529 Enable staging of man pages to stage tree.
1530 .It Va WITH_STAGING_PROG
1531 Enable staging of PROGs to stage tree.
1532 .It Va WITH_STALE_STAGED
1533 Check staged files are not stale.
1534 .It Va WITHOUT_STATS
1535 Set to neither build nor install
1537 and dependent binaries.
1543 .It Va WITHOUT_SVNLITE
1546 and related programs.
1547 .It Va WITHOUT_SYSCONS
1550 support files such as keyboard maps, fonts, and screen output maps.
1552 Enable use of sysroot during build.
1554 .Va WITH_DIRDEPS_BUILD .
1556 This must be set in the environment, make command line, or
1557 .Pa /etc/src-env.conf ,
1560 .It Va WITHOUT_SYSTEM_COMPILER
1561 Set to not opportunistically skip building a cross-compiler during the
1562 bootstrap phase of the build.
1563 Normally, if the currently installed compiler matches the planned bootstrap
1564 compiler type and revision, then it will not be built.
1565 This does not prevent a compiler from being built for installation though,
1566 only for building one for the build itself.
1569 option controls that.
1570 .It Va WITHOUT_SYSTEM_LINKER
1571 Set to not opportunistically skip building a cross-linker during the
1572 bootstrap phase of the build.
1573 Normally, if the currently installed linker matches the planned bootstrap
1574 linker type and revision, then it will not be built.
1575 This does not prevent a linker from being built for installation though,
1576 only for building one for the build itself.
1580 .Va WITHOUT_BINUTILS
1581 options control those.
1583 This option is only relevant when
1584 .Va WITH_LLD_BOOTSTRAP
1587 Set to not build or install
1591 .It Va WITHOUT_TCP_WRAPPERS
1592 Set to not build or install
1594 and related utilities.
1596 Set to not build and install
1600 .It Va WITHOUT_TELNET
1603 and related programs.
1604 .It Va WITHOUT_TESTS
1605 Set to not build nor install the
1612 This also disables the build of all test-related dependencies, including ATF.
1613 When set, it enforces these options:
1617 .Va WITHOUT_DTRACE_TESTS
1620 When set, these options are also in effect:
1623 .It Va WITHOUT_GOOGLETEST
1627 .It Va WITHOUT_TESTS_SUPPORT
1629 .Va WITH_TESTS_SUPPORT
1632 .It Va WITHOUT_TESTS_SUPPORT
1633 Set to disables the build of all test-related dependencies, including ATF.
1634 When set, it enforces these options:
1638 .Va WITHOUT_GOOGLETEST
1640 .It Va WITHOUT_TEXTPROC
1642 programs used for text processing.
1644 Set to not build or install
1648 .It Va WITHOUT_TOOLCHAIN
1649 Set to not install header or
1650 programs used for program development,
1651 compilers, debuggers etc.
1652 When set, it enforces these options:
1656 .Va WITHOUT_BINUTILS
1660 .Va WITHOUT_CLANG_EXTRAS
1662 .Va WITHOUT_CLANG_FULL
1666 .Va WITHOUT_INCLUDES
1672 .Va WITHOUT_LLVM_COV
1674 .It Va WITHOUT_UNBOUND
1677 and related programs.
1678 .It Va WITHOUT_UNIFIED_OBJDIR
1679 Set to use the historical object directory format for
1682 For native-builds and builds done directly in sub-directories the format of
1683 .Pa ${MAKEOBJDIRPREFIX}/${.CURDIR}
1685 while for cross-builds
1686 .Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR}
1689 This option is transitional and will be removed before the 12.0 release,
1691 .va WITH_UNIFIED_OBJDIR
1692 will be enabled permanently.
1694 This must be set in the environment, make command line, or
1695 .Pa /etc/src-env.conf ,
1699 Set to not build USB-related programs and libraries.
1700 .It Va WITHOUT_USB_GADGET_EXAMPLES
1701 Set to not build USB gadget kernel modules.
1702 .It Va WITHOUT_UTMPX
1703 Set to not build user accounting tools such as
1711 .It Va WITH_VERIEXEC
1714 which loads the contents of verified manifests into the kernel
1721 Set to not build and install vi, view, ex and related programs.
1725 support files (fonts and keymaps).
1726 .It Va WITHOUT_WARNS
1727 Set this to not add warning flags to the compiler invocations.
1728 Useful as a temporary workaround when code enters the tree
1729 which triggers warnings in environments that differ from the
1731 .It Va WITHOUT_WIRELESS
1732 Set to not build programs used for 802.11 wireless networks; especially
1733 .Xr wpa_supplicant 8
1736 When set, these options are also in effect:
1739 .It Va WITHOUT_WIRELESS_SUPPORT
1741 .Va WITH_WIRELESS_SUPPORT
1744 .It Va WITHOUT_WIRELESS_SUPPORT
1745 Set to build libraries, programs, and kernel modules without
1746 802.11 wireless support.
1747 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1749 .Xr wpa_supplicant 8
1750 without support for the IEEE 802.1X protocol and without
1751 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1752 protocols (usable only via 802.1X).
1754 Set to not build ZFS file system kernel module, libraries, and user commands.
1755 .It Va WITHOUT_ZONEINFO
1756 Set to not build the timezone database.
1757 When set, it enforces these options:
1761 .Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
1763 .It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
1764 Set to build leapsecond information in to the timezone database.
1767 .Bl -tag -compact -width Pa
1768 .It Pa /etc/src.conf
1769 .It Pa /etc/src-env.conf
1770 .It Pa /usr/share/mk/bsd.own.mk
1783 This manual page was autogenerated by
1784 .An tools/build/options/makeman .