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, i386/i386, 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
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
694 .It Va WITHOUT_GNU_GREP
697 .It Va WITH_GNU_GREP_COMPAT
698 Set this option to include GNU extensions in
700 by linking against libgnuregex.
701 .It Va WITHOUT_GOOGLETEST
702 Set to neither build nor install
707 This is a default setting on
708 mips/mips and mips/mips64.
709 .It Va WITH_GOOGLETEST
710 Set to build and install
715 This is a default setting on
716 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
720 as part of the base system.
721 .It Va WITHOUT_GSSAPI
722 Set to not build libgssapi.
726 and related utilities.
728 Set to build Hesiod support.
730 Set to not build HTML docs.
731 .It Va WITHOUT_HYPERV
732 Set to not build or install HyperV utilities.
734 This is a default setting on
735 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
737 Set to build or install HyperV utilities.
739 This is a default setting on
740 amd64/amd64 and i386/i386.
742 Set to not build iconv as part of libc.
743 .It Va WITHOUT_INCLUDES
744 Set to not install header files.
745 This option used to be spelled
748 The option does not work for build targets.
751 Set to not build programs and libraries related to IPv4 networking.
752 When set, it enforces these options:
756 .Va WITHOUT_INET_SUPPORT
760 programs and libraries related to IPv6 networking.
761 When set, it enforces these options:
765 .Va WITHOUT_INET6_SUPPORT
767 .It Va WITHOUT_INET6_SUPPORT
768 Set to build libraries, programs, and kernel modules without IPv6 support.
772 .It Va WITHOUT_INET_SUPPORT
773 Set to build libraries, programs, and kernel modules without IPv4 support.
774 .It Va WITHOUT_INSTALLLIB
775 Set this to not install optional libraries.
776 For example, when creating a
780 The option does not work for build targets.
782 .It Va WITH_INSTALL_AS_USER
783 Set to make install targets succeed for non-root users by installing
784 files with owner and group attributes set to that of the user running
788 The user still must set the
790 variable to point to a directory where the user has write permissions.
791 .It Va WITHOUT_IPFILTER
792 Set to not build IP Filter package.
794 Set to not build IPFW tools.
795 .It Va WITHOUT_IPSEC_SUPPORT
796 Set to not build the kernel with
799 This option is needed for
806 and related utilities.
808 Set to not build tools for the support of jails; e.g.,
815 .It Va WITHOUT_KERBEROS
816 Set this to not build Kerberos 5 (KTH Heimdal).
817 When set, these options are also in effect:
820 .It Va WITHOUT_GSSAPI
824 .It Va WITHOUT_KERBEROS_SUPPORT
826 .Va WITH_KERBEROS_SUPPORT
829 .It Va WITHOUT_KERBEROS_SUPPORT
830 Set to build some programs without Kerberos support, like
836 .It Va WITH_KERNEL_RETPOLINE
837 Set to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel
839 .It Va WITHOUT_KERNEL_SYMBOLS
840 Set to not install kernel symbol files.
842 This option is recommended for those people who have small root partitions.
847 library as a part of the base system.
849 The option has no effect yet.
851 When set, these options are also in effect:
854 .It Va WITHOUT_KVM_SUPPORT
859 .It Va WITHOUT_KVM_SUPPORT
860 Set to build some programs without optional
864 Setting this variable will prevent the LDNS library from being built.
865 When set, it enforces these options:
869 .Va WITHOUT_LDNS_UTILS
873 .It Va WITHOUT_LDNS_UTILS
874 Setting this variable will prevent building the LDNS utilities
878 .It Va WITHOUT_LEGACY_CONSOLE
879 Set to not build programs that support a legacy PC console; e.g.,
884 On 64-bit platforms, set to not build 32-bit library set and a
888 This is a default setting on
889 arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
890 .It Va WITHOUT_LIBCPLUSPLUS
891 Set to avoid building libcxxrt and libc++.
892 .It Va WITHOUT_LIBPTHREAD
897 When set, it enforces these options:
904 On armv6 only, set to enable soft float ABI compatibility libraries.
905 This option is for transitioning to the new hard float ABI.
906 .It Va WITHOUT_LIBTHR
912 Set to not build LLVM's lld linker.
914 Set to not build the LLDB debugger.
916 This is a default setting on
917 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
919 Set to build the LLDB debugger.
921 This is a default setting on
922 amd64/amd64, arm64/aarch64 and i386/i386.
923 .It Va WITHOUT_LLD_BOOTSTRAP
924 Set to not build the LLD linker during the bootstrap phase of
926 To be able to build the system, either Binutils or LLD bootstrap must be
927 enabled unless an alternate linker is provided via XLD.
928 .It Va WITHOUT_LLD_IS_LD
929 Set to use GNU binutils ld as the system linker, instead of LLVM's LLD.
930 .It Va WITHOUT_LLVM_ASSERTIONS
931 Set to disable debugging assertions in LLVM.
932 .It Va WITHOUT_LLVM_COV
936 .It Va WITHOUT_LLVM_TARGET_AARCH64
937 Set to not build LLVM target support for AArch64.
940 option should be used rather than this in most cases.
941 .It Va WITHOUT_LLVM_TARGET_ALL
942 Set to only build the required LLVM target support.
943 This option is preferred to specific target support options.
944 When set, these options are also in effect:
947 .It Va WITHOUT_LLVM_TARGET_AARCH64
949 .Va WITH_LLVM_TARGET_AARCH64
951 .It Va WITHOUT_LLVM_TARGET_ARM
953 .Va WITH_LLVM_TARGET_ARM
955 .It Va WITHOUT_LLVM_TARGET_MIPS
957 .Va WITH_LLVM_TARGET_MIPS
959 .It Va WITHOUT_LLVM_TARGET_POWERPC
961 .Va WITH_LLVM_TARGET_POWERPC
963 .It Va WITHOUT_LLVM_TARGET_RISCV
965 .Va WITH_LLVM_TARGET_RISCV
968 .It Va WITHOUT_LLVM_TARGET_ARM
969 Set to not build LLVM target support for ARM.
972 option should be used rather than this in most cases.
973 .It Va WITH_LLVM_TARGET_BPF
974 Set to build LLVM target support for BPF.
977 option should be used rather than this in most cases.
978 .It Va WITHOUT_LLVM_TARGET_MIPS
979 Set to not build LLVM target support for MIPS.
982 option should be used rather than this in most cases.
983 .It Va WITHOUT_LLVM_TARGET_POWERPC
984 Set to not build LLVM target support for PowerPC.
987 option should be used rather than this in most cases.
988 .It Va WITHOUT_LLVM_TARGET_RISCV
989 Set to not build LLVM target support for RISC-V.
992 option should be used rather than this in most cases.
993 .It Va WITHOUT_LLVM_TARGET_X86
994 Set to not build LLVM target support for X86.
997 option should be used rather than this in most cases.
998 .It Va WITH_LOADER_EFI_SECUREBOOT
1001 with support for verification based on certificates obtained from UEFI.
1003 .It Va WITH_LOADER_FIREWIRE
1004 Enable firewire support in /boot/loader on x86. This option is a nop
1005 on all other platforms.
1006 .It Va WITH_LOADER_FORCE_LE
1007 Set to force the powerpc boot loader to launch the kernel in little
1009 .It Va WITHOUT_LOADER_GELI
1010 Disable inclusion of GELI crypto support in the boot chain binaries.
1012 This is a default setting on
1013 powerpc/powerpc and powerpc/powerpc64.
1014 .It Va WITH_LOADER_GELI
1015 Set to build GELI bootloader support.
1017 This is a default setting on
1018 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1019 .It Va WITHOUT_LOADER_LUA
1020 Set to not build LUA bindings for the boot loader.
1022 This is a default setting on
1023 powerpc/powerpc and powerpc/powerpc64.
1024 .It Va WITH_LOADER_LUA
1025 Set to build LUA bindings for the boot loader.
1027 This is a default setting on
1028 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1029 .It Va WITHOUT_LOADER_OFW
1030 Disable building of openfirmware bootloader components.
1032 This is a default setting on
1033 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1034 .It Va WITH_LOADER_OFW
1035 Set to build openfirmware bootloader components.
1037 This is a default setting on
1038 powerpc/powerpc and powerpc/powerpc64.
1039 .It Va WITHOUT_LOADER_UBOOT
1040 Disable building of ubldr.
1042 This is a default setting on
1043 amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
1044 .It Va WITH_LOADER_UBOOT
1047 This is a default setting on
1048 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
1049 .It Va WITH_LOADER_VERBOSE
1050 Set to build with extra verbose debugging in the loader.
1051 May explode already nearly too large loader over the limit.
1054 .It Va WITH_LOADER_VERIEXEC
1057 with support for verification similar to Verified Exec.
1061 When set, these options are also in effect:
1064 .It Va WITH_LOADER_EFI_SECUREBOOT
1066 .Va WITHOUT_LOADER_EFI_SECUREBOOT
1068 .It Va WITH_LOADER_VERIEXEC_VECTX
1070 .Va WITHOUT_LOADER_VERIEXEC_VECTX
1073 .It Va WITH_LOADER_VERIEXEC_PASS_MANIFEST
1076 with support to pass a verified manifest to the kernel.
1077 The kernel has to be built with a module to parse the manifest.
1080 .Va WITH_LOADER_VERIEXEC .
1081 .It Va WITHOUT_LOADER_ZFS
1082 Set to not build ZFS file system boot loader support.
1083 .It Va WITHOUT_LOCALES
1084 Set to not build localization files; see
1086 .It Va WITHOUT_LOCATE
1089 and related programs.
1093 and related programs.
1094 .It Va WITHOUT_LS_COLORS
1097 without support for colors to distinguish file types.
1098 .It Va WITHOUT_LZMA_SUPPORT
1099 Set to build some programs without optional lzma compression support.
1101 Set to not build any mail support (MUA or MTA).
1102 When set, it enforces these options:
1108 .Va WITHOUT_MAILWRAPPER
1110 .Va WITHOUT_SENDMAIL
1112 .It Va WITHOUT_MAILWRAPPER
1113 Set to not build the
1119 and related support files.
1120 .It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
1123 in limited sandbox mode.
1124 This option should be paired with
1125 .Va WITH_INSTALL_AS_USER
1126 if executed as an unprivileged user.
1131 Set to not build manual pages.
1132 When set, these options are also in effect:
1135 .It Va WITHOUT_MAN_UTILS
1140 .It Va WITHOUT_MANCOMPRESS
1141 Set to not to install compressed man pages.
1142 Only the uncompressed versions will be installed.
1143 .It Va WITHOUT_MAN_UTILS
1144 Set to not build utilities for manual pages,
1150 and related support files.
1151 .It Va WITH_META_MODE
1154 meta files when building, which can provide a reliable incremental build when
1157 The meta file is created in OBJDIR as
1159 These meta files track the command that was executed, its output, and the
1163 module is required unless
1166 When the module is loaded, any files used by the commands executed are
1167 tracked as dependencies for the target in its meta file.
1168 The target is considered out-of-date and rebuilt if any of these
1169 conditions are true compared to the last build:
1170 .Bl -bullet -compact
1172 The command to execute changes.
1174 The current working directory changes.
1176 The target's meta file is missing.
1178 The target's meta file is missing filemon data when filemon is loaded
1179 and a previous run did not have it loaded.
1183 Files read, executed or linked to are newer than the target.
1187 Files read, written, executed or linked are missing.
1189 The meta files can also be useful for debugging.
1191 The build hides commands that are executed unless
1196 to show some of its environment for further debugging.
1198 The build operates as it normally would otherwise.
1199 This option originally invoked a different build system but that was renamed
1201 .Va WITH_DIRDEPS_BUILD .
1203 This must be set in the environment, make command line, or
1204 .Pa /etc/src-env.conf ,
1207 .It Va WITHOUT_MLX5TOOL
1211 This is a default setting on
1212 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1213 .It Va WITH_MLX5TOOL
1217 This is a default setting on
1218 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1220 Set to not build programs and libraries
1221 related to NDIS emulation support.
1222 .It Va WITHOUT_NETCAT
1226 .It Va WITHOUT_NETGRAPH
1227 Set to not build applications to support
1229 When set, it enforces these options:
1235 .Va WITHOUT_BLUETOOTH
1238 When set, these options are also in effect:
1241 .It Va WITHOUT_NETGRAPH_SUPPORT
1243 .Va WITH_NETGRAPH_SUPPORT
1246 .It Va WITHOUT_NETGRAPH_SUPPORT
1247 Set to build libraries, programs, and kernel modules without netgraph support.
1251 support and related programs.
1252 If set, you might need to adopt your
1258 Set to not build NLS catalogs.
1259 When set, it enforces these options:
1263 .Va WITHOUT_NLS_CATALOGS
1265 .It Va WITHOUT_NLS_CATALOGS
1266 Set to not build NLS catalog support for
1268 .It Va WITHOUT_NS_CACHING
1269 Set to disable name caching in the
1272 The generic caching daemon,
1274 will not be built either if this option is set.
1278 and related programs.
1280 Set to not build nvme related tools and kernel modules.
1282 This is a default setting on
1283 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1285 Set to build nvme related tools and kernel modules.
1288 This is a default setting on
1289 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1292 .Dq "OpenFabrics Enterprise Distribution"
1293 Infiniband software stack.
1294 .It Va WITH_OFED_EXTRA
1295 Set to build the non-essential components of the
1296 .Dq "OpenFabrics Enterprise Distribution"
1297 Infiniband software stack, mostly examples.
1298 .It Va WITH_OPENLDAP
1299 Enable building openldap support for kerberos.
1300 .It Va WITHOUT_OPENMP
1301 Set to not build LLVM's OpenMP runtime.
1303 This is a default setting on
1304 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1306 Set to build LLVM's OpenMP runtime.
1308 This is a default setting on
1309 amd64/amd64, i386/i386 and powerpc/powerpc64.
1310 .It Va WITHOUT_OPENSSH
1311 Set to not build OpenSSH.
1312 .It Va WITHOUT_OPENSSL
1313 Set to not build OpenSSL.
1314 When set, it enforces these options:
1320 .Va WITHOUT_KERBEROS
1322 .Va WITHOUT_KERBEROS_SUPPORT
1326 .Va WITHOUT_LDNS_UTILS
1330 .Va WITHOUT_PKGBOOTSTRAP
1338 .Va WITHOUT_WIRELESS
1341 When set, these options are also in effect:
1344 .It Va WITHOUT_GSSAPI
1350 Set to not build PAM library and modules.
1352 This option is deprecated and does nothing.
1354 When set, these options are also in effect:
1357 .It Va WITHOUT_PAM_SUPPORT
1359 .Va WITH_PAM_SUPPORT
1362 .It Va WITHOUT_PAM_SUPPORT
1363 Set to build some programs without PAM support, particularly
1368 Set to not build PF firewall package.
1369 When set, it enforces these options:
1376 Build dynamically linked binaries as
1377 Position-Independent Executable (PIE).
1378 .It Va WITHOUT_PKGBOOTSTRAP
1385 and related programs.
1386 .It Va WITHOUT_PORTSNAP
1387 Set to not build or install
1390 When set, it enforces these options:
1394 .Va WITHOUT_FREEBSD_UPDATE
1399 and related programs.
1400 .It Va WITHOUT_PROFILE
1401 Set to not build profiled libraries for use with
1404 This is a default setting on
1407 Set to build profiled libraries for use with
1410 This is a default setting on
1411 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1412 .It Va WITHOUT_QUOTAS
1415 and related programs.
1416 .It Va WITHOUT_RADIUS_SUPPORT
1417 Set to not build radius support into various applications, like
1421 .It Va WITH_RATELIMIT
1422 Set to build the system with rate limit support.
1425 .Dv SO_MAX_PACING_RATE
1433 .It Va WITHOUT_RBOOTD
1434 Set to not build or install
1436 .It Va WITH_REPRODUCIBLE_BUILD
1437 Set to exclude build metadata (such as the build time, user, or host)
1438 from the kernel, boot loaders, and uname output, so that builds produce
1439 bit-for-bit identical output.
1440 .It Va WITHOUT_RESCUE
1443 .It Va WITH_RETPOLINE
1444 Set to build the base system with the retpoline speculative execution
1445 vulnerability mitigation for CVE-2017-5715.
1446 .It Va WITHOUT_ROUTED
1450 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1453 with warmstart support.
1454 .It Va WITHOUT_SENDMAIL
1457 and related programs.
1458 .It Va WITHOUT_SERVICESDB
1460 .Pa /var/db/services.db .
1461 .It Va WITHOUT_SETUID_LOGIN
1462 Set this to disable the installation of
1464 as a set-user-ID root program.
1465 .It Va WITHOUT_SHAREDOCS
1466 Set to not build the
1469 .It Va WITHOUT_SHARED_TOOLCHAIN
1470 Set to build the toolchain binaries as statically linked executables.
1474 and necessary utilities like assembler, linker and library archive manager.
1475 .It Va WITH_SORT_THREADS
1476 Set to enable threads in
1478 .It Va WITHOUT_SOURCELESS
1479 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1480 When set, it enforces these options:
1484 .Va WITHOUT_SOURCELESS_HOST
1486 .Va WITHOUT_SOURCELESS_UCODE
1488 .It Va WITHOUT_SOURCELESS_HOST
1489 Set to not build kernel modules that include sourceless native code for host CPU.
1490 .It Va WITHOUT_SOURCELESS_UCODE
1491 Set to not build kernel modules that include sourceless microcode.
1493 Set to not build world with propolice stack smashing protection.
1495 This is a default setting on
1496 mips/mips and mips/mips64.
1498 Set to build world with propolice stack smashing protection.
1500 This is a default setting on
1501 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1503 Enable staging of files to a stage tree.
1504 This can be best thought of as auto-install to
1506 with some extra meta data to ensure dependencies can be tracked.
1508 .Va WITH_DIRDEPS_BUILD .
1509 When set, these options are also in effect:
1512 .It Va WITH_STAGING_MAN
1514 .Va WITHOUT_STAGING_MAN
1516 .It Va WITH_STAGING_PROG
1518 .Va WITHOUT_STAGING_PROG
1522 This must be set in the environment, make command line, or
1523 .Pa /etc/src-env.conf ,
1526 .It Va WITH_STAGING_MAN
1527 Enable staging of man pages to stage tree.
1528 .It Va WITH_STAGING_PROG
1529 Enable staging of PROGs to stage tree.
1530 .It Va WITH_STALE_STAGED
1531 Check staged files are not stale.
1532 .It Va WITHOUT_STATS
1533 Set to neither build nor install
1535 and dependent binaries.
1541 .It Va WITHOUT_SVNLITE
1544 and related programs.
1545 .It Va WITHOUT_SYSCONS
1548 support files such as keyboard maps, fonts, and screen output maps.
1550 Enable use of sysroot during build.
1552 .Va WITH_DIRDEPS_BUILD .
1554 This must be set in the environment, make command line, or
1555 .Pa /etc/src-env.conf ,
1558 .It Va WITHOUT_SYSTEM_COMPILER
1559 Set to not opportunistically skip building a cross-compiler during the
1560 bootstrap phase of the build.
1561 Normally, if the currently installed compiler matches the planned bootstrap
1562 compiler type and revision, then it will not be built.
1563 This does not prevent a compiler from being built for installation though,
1564 only for building one for the build itself.
1567 option controls that.
1568 .It Va WITHOUT_SYSTEM_LINKER
1569 Set to not opportunistically skip building a cross-linker during the
1570 bootstrap phase of the build.
1571 Normally, if the currently installed linker matches the planned bootstrap
1572 linker type and revision, then it will not be built.
1573 This does not prevent a linker from being built for installation though,
1574 only for building one for the build itself.
1578 .Va WITHOUT_BINUTILS
1579 options control those.
1581 This option is only relevant when
1582 .Va WITH_LLD_BOOTSTRAP
1585 Set to not build or install
1589 .It Va WITHOUT_TCP_WRAPPERS
1590 Set to not build or install
1592 and related utilities.
1594 Set to not build and install
1598 .It Va WITHOUT_TELNET
1601 and related programs.
1602 .It Va WITHOUT_TESTS
1603 Set to not build nor install the
1610 This also disables the build of all test-related dependencies, including ATF.
1611 When set, it enforces these options:
1615 .Va WITHOUT_DTRACE_TESTS
1618 When set, these options are also in effect:
1621 .It Va WITHOUT_GOOGLETEST
1625 .It Va WITHOUT_TESTS_SUPPORT
1627 .Va WITH_TESTS_SUPPORT
1630 .It Va WITHOUT_TESTS_SUPPORT
1631 Set to disables the build of all test-related dependencies, including ATF.
1632 When set, it enforces these options:
1636 .Va WITHOUT_GOOGLETEST
1638 .It Va WITHOUT_TEXTPROC
1640 programs used for text processing.
1642 Set to not build or install
1646 .It Va WITHOUT_TOOLCHAIN
1647 Set to not install header or
1648 programs used for program development,
1649 compilers, debuggers etc.
1650 When set, it enforces these options:
1654 .Va WITHOUT_BINUTILS
1658 .Va WITHOUT_CLANG_EXTRAS
1660 .Va WITHOUT_CLANG_FULL
1664 .Va WITHOUT_INCLUDES
1670 .Va WITHOUT_LLVM_COV
1672 .It Va WITHOUT_UNBOUND
1675 and related programs.
1676 .It Va WITHOUT_UNIFIED_OBJDIR
1677 Set to use the historical object directory format for
1680 For native-builds and builds done directly in sub-directories the format of
1681 .Pa ${MAKEOBJDIRPREFIX}/${.CURDIR}
1683 while for cross-builds
1684 .Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR}
1687 This option is transitional and will be removed before the 12.0 release,
1689 .va WITH_UNIFIED_OBJDIR
1690 will be enabled permanently.
1692 This must be set in the environment, make command line, or
1693 .Pa /etc/src-env.conf ,
1697 Set to not build USB-related programs and libraries.
1698 .It Va WITHOUT_USB_GADGET_EXAMPLES
1699 Set to not build USB gadget kernel modules.
1700 .It Va WITHOUT_UTMPX
1701 Set to not build user accounting tools such as
1709 .It Va WITH_VERIEXEC
1712 which loads the contents of verified manifests into the kernel
1719 Set to not build and install vi, view, ex and related programs.
1723 support files (fonts and keymaps).
1724 .It Va WITHOUT_WARNS
1725 Set this to not add warning flags to the compiler invocations.
1726 Useful as a temporary workaround when code enters the tree
1727 which triggers warnings in environments that differ from the
1729 .It Va WITHOUT_WIRELESS
1730 Set to not build programs used for 802.11 wireless networks; especially
1731 .Xr wpa_supplicant 8
1734 When set, these options are also in effect:
1737 .It Va WITHOUT_WIRELESS_SUPPORT
1739 .Va WITH_WIRELESS_SUPPORT
1742 .It Va WITHOUT_WIRELESS_SUPPORT
1743 Set to build libraries, programs, and kernel modules without
1744 802.11 wireless support.
1745 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1747 .Xr wpa_supplicant 8
1748 without support for the IEEE 802.1X protocol and without
1749 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1750 protocols (usable only via 802.1X).
1752 Set to not build ZFS file system kernel module, libraries, and user commands.
1753 .It Va WITHOUT_ZONEINFO
1754 Set to not build the timezone database.
1755 When set, it enforces these options:
1759 .Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
1761 .It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
1762 Set to build leapsecond information in to the timezone database.
1765 .Bl -tag -compact -width Pa
1766 .It Pa /etc/src.conf
1767 .It Pa /etc/src-env.conf
1768 .It Pa /usr/share/mk/bsd.own.mk
1781 This manual page was autogenerated by
1782 .An tools/build/options/makeman .