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_BLACKLIST
186 Set this if you do not want to build
190 When set, these options are also in effect:
193 .It Va WITHOUT_BLACKLIST_SUPPORT
195 .Va WITH_BLACKLIST_SUPPORT
198 .It Va WITHOUT_BLACKLIST_SUPPORT
199 Set to build some programs without
206 .It Va WITHOUT_BLUETOOTH
207 Set to not build Bluetooth related kernel modules, programs and libraries.
209 Set to not build the boot blocks and loader.
210 .It Va WITHOUT_BOOTPARAMD
211 Set to not build or install
213 .It Va WITHOUT_BOOTPD
214 Set to not build or install
216 .It Va WITHOUT_BSDINSTALL
220 and related programs.
221 .It Va WITHOUT_BSD_CPIO
222 Set to not build the BSD licensed version of cpio based on
225 Install BSD-licensed grep as '[ef]grep' instead of GNU grep.
227 Set to not build or install
229 and related libraries and data files.
231 Set to not build contributed bzip2 software as a part of the base system.
233 The option has no effect yet.
235 When set, these options are also in effect:
238 .It Va WITHOUT_BZIP2_SUPPORT
240 .Va WITH_BZIP2_SUPPORT
243 .It Va WITHOUT_BZIP2_SUPPORT
244 Set to build some programs without optional bzip2 support.
245 .It Va WITHOUT_CALENDAR
248 .It Va WITHOUT_CAPSICUM
249 Set to not build Capsicum support into system programs.
250 When set, it enforces these options:
256 .It Va WITHOUT_CAROOT
257 Set to not add the trusted certificates from the Mozilla NSS bundle to
259 .It Va WITHOUT_CASPER
260 Set to not build Casper program and related libraries.
261 .It Va WITH_CCACHE_BUILD
265 No configuration is required except to install the
271 .Sy CCACHE_PREFIX=/usr/local/bin/distcc .
272 The default cache directory of
274 will be used, which can be overridden by setting
277 .Sy CCACHE_COMPILERCHECK
280 when using the in-tree bootstrap compiler,
283 when using an external compiler.
286 option is used for Clang but not GCC.
288 Sharing a cache between multiple work directories requires using a layout
292 and an environment such as:
293 .Bd -literal -offset indent
294 CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
299 for more configuration options.
303 and related utilities.
305 Set to not build code licensed under Sun's CDDL.
306 When set, it enforces these options:
312 .Va WITHOUT_LOADER_ZFS
317 Set to not build the Clang C/C++ compiler during the regular phase of the build.
318 When set, it enforces these options:
322 .Va WITHOUT_CLANG_EXTRAS
324 .Va WITHOUT_CLANG_FORMAT
326 .Va WITHOUT_CLANG_FULL
330 .It Va WITHOUT_CLANG_BOOTSTRAP
331 Set to not build the Clang C/C++ compiler during the bootstrap phase of
333 To be able to build the system, either gcc or clang bootstrap must be
334 enabled unless an alternate compiler is provided via XCC.
335 .It Va WITH_CLANG_EXTRAS
336 Set to build additional clang and llvm tools, such as bugpoint and
338 .It Va WITH_CLANG_FORMAT
339 Set to build clang-format.
340 .It Va WITHOUT_CLANG_FULL
341 Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
342 the Clang C/C++ compiler.
343 .It Va WITHOUT_CLANG_IS_CC
344 Do not install links to the Clang C/C++ compiler as
350 Do not clean before building world and/or kernel.
354 .It Va WITHOUT_CROSS_COMPILER
355 Set to not build any cross compiler in the cross-tools stage of buildworld.
356 When compiling a different version of
358 than what is installed on the system, provide an alternate
359 compiler with XCC to ensure success.
360 When compiling with an identical version of
362 to the host, this option may be safely used.
363 This option may also be safe when the host version of
365 is close to the sources being built, but all bets are off if there have
366 been any changes to the toolchain between the versions.
367 When set, it enforces these options:
371 .Va WITHOUT_CLANG_BOOTSTRAP
373 .Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
375 .Va WITHOUT_LLD_BOOTSTRAP
378 Set to not build any crypto code.
379 When set, it enforces these options:
387 .Va WITHOUT_KERBEROS_SUPPORT
391 .Va WITHOUT_LDNS_UTILS
397 .Va WITHOUT_PKGBOOTSTRAP
408 When set, these options are also in effect:
411 .It Va WITHOUT_GSSAPI
417 Set to compile with CTF (Compact C Type Format) data.
418 CTF data encapsulates a reduced form of debugging information
419 similar to DWARF and the venerable stabs and is required for DTrace.
421 Set to not build CUSE-related programs and libraries.
422 .It Va WITHOUT_CXGBETOOL
426 This is a default setting on
427 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
428 .It Va WITH_CXGBETOOL
432 This is a default setting on
433 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
437 and related libraries.
438 It will also prevent building of
442 When set, it enforces these options:
448 .Va WITHOUT_CLANG_EXTRAS
450 .Va WITHOUT_CLANG_FORMAT
452 .Va WITHOUT_CLANG_FULL
454 .Va WITHOUT_DTRACE_TESTS
456 .Va WITHOUT_GOOGLETEST
462 .It Va WITHOUT_DEBUG_FILES
463 Set to avoid building or installing standalone debug files for each
464 executable binary and shared library.
465 .It Va WITHOUT_DIALOG
472 When set, it enforces these options:
476 .Va WITHOUT_BSDINSTALL
479 Set to not build the Webster dictionary files.
480 .It Va WITH_DIRDEPS_BUILD
481 This is an experimental build system.
483 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
484 Build commands can be seen from the top-level with:
485 .Dl make show-valid-targets
486 The build is driven by dirdeps.mk using
489 Makefile.depend files found in each directory.
491 The build can be started from anywhere, and behaves the same.
492 The initial instance of
497 .Pa Makefile.depend ,
498 computing a graph of tree dependencies from the current origin.
501 skips checking dirdep dependencies and will only build in the current
502 and child directories.
504 skips building any dirdeps and only build the current directory.
506 This also utilizes the
508 logic for incremental builds.
510 The build hides commands executed unless
514 Note that there is currently no mass install feature for this.
516 When set, it enforces these options:
520 .Va WITH_INSTALL_AS_USER
523 When set, these options are also in effect:
526 .It Va WITH_META_MODE
528 .Va WITHOUT_META_MODE
534 .It Va WITH_STAGING_MAN
536 .Va WITHOUT_STAGING_MAN
538 .It Va WITH_STAGING_PROG
540 .Va WITHOUT_STAGING_PROG
548 This must be set in the environment, make command line, or
549 .Pa /etc/src-env.conf ,
552 .It Va WITH_DIRDEPS_CACHE
553 Cache result of dirdeps.mk which can save significant time
554 for subsequent builds.
556 .Va WITH_DIRDEPS_BUILD .
558 This must be set in the environment, make command line, or
559 .Pa /etc/src-env.conf ,
562 .It Va WITHOUT_DMAGENT
563 Set to not build dma Mail Transport Agent.
564 .It Va WITHOUT_DOCCOMPRESS
565 Set to not install compressed system documentation.
566 Only the uncompressed version will be installed.
567 .It Va WITH_DTRACE_TESTS
568 Set to build and install the DTrace test suite in
569 .Pa /usr/tests/cddl/usr.sbin/dtrace .
570 This test suite is considered experimental on architectures other than
571 amd64/amd64 and running it may cause system instability.
572 .It Va WITHOUT_DYNAMICROOT
573 Set this if you do not want to link
579 Set to not build and install
582 and related programs.
589 This is a default setting on
590 mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
597 This is a default setting on
598 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
599 .It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
600 Set to not build ELF Tool Chain tools
601 (addr2line, nm, size, strings and strip)
602 as part of the bootstrap process.
604 An alternate bootstrap tool chain must be provided.
606 .It Va WITHOUT_EXAMPLES
607 Set to avoid installing examples to
608 .Pa /usr/share/examples/ .
609 .It Va WITH_EXPERIMENTAL
610 Set to include experimental features in the build.
611 .It Va WITH_EXTRA_TCP_STACKS
612 Set to build extra TCP stack modules.
614 Set to not build Flattened Device Tree support as part of the base system.
615 This includes the device tree compiler (dtc) and libfdt support library.
619 and related programs.
620 When set, it enforces these options:
626 .It Va WITHOUT_FINGER
627 Set to not build or install
631 .It Va WITHOUT_FLOPPY
632 Set to not build or install programs
633 for operating floppy disk driver.
634 .It Va WITHOUT_FMTREE
635 Set to not build and install
636 .Pa /usr/sbin/fmtree .
637 .It Va WITHOUT_FORMAT_EXTENSIONS
639 .Fl fformat-extensions
640 when compiling the kernel.
641 Also disables all format checking.
643 Set to build bootloaders without Forth support.
644 .It Va WITHOUT_FP_LIBC
647 without floating-point support.
648 .It Va WITHOUT_FREEBSD_UPDATE
650 .Xr freebsd-update 8 .
652 Set to not build or install
657 Set to not build games.
662 This is a default setting on
663 arm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
668 This is a default setting on
669 amd64/amd64, arm/armv6, arm/armv7, i386/i386, mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
670 .It Va WITHOUT_GNU_DIFF
673 .It Va WITHOUT_GNU_GREP
676 .It Va WITH_GNU_GREP_COMPAT
677 Set this option to include GNU extensions in
679 by linking against libgnuregex.
680 .It Va WITHOUT_GOOGLETEST
681 Set to neither build nor install
686 This is a default setting on
687 mips/mips and mips/mips64.
688 .It Va WITH_GOOGLETEST
689 Set to build and install
694 This is a default setting on
695 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
699 as part of the base system.
700 .It Va WITHOUT_GSSAPI
701 Set to not build libgssapi.
705 and related utilities.
707 Set to build Hesiod support.
709 Set to not build HTML docs.
710 .It Va WITHOUT_HYPERV
711 Set to not build or install HyperV utilities.
713 This is a default setting on
714 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
716 Set to build or install HyperV utilities.
718 This is a default setting on
719 amd64/amd64 and i386/i386.
721 Set to not build iconv as part of libc.
722 .It Va WITHOUT_INCLUDES
723 Set to not install header files.
724 This option used to be spelled
727 The option does not work for build targets.
730 Set to not build programs and libraries related to IPv4 networking.
731 When set, it enforces these options:
735 .Va WITHOUT_INET_SUPPORT
739 programs and libraries related to IPv6 networking.
740 When set, it enforces these options:
744 .Va WITHOUT_INET6_SUPPORT
746 .It Va WITHOUT_INET6_SUPPORT
747 Set to build libraries, programs, and kernel modules without IPv6 support.
751 .It Va WITHOUT_INET_SUPPORT
752 Set to build libraries, programs, and kernel modules without IPv4 support.
753 .It Va WITHOUT_INSTALLLIB
754 Set this to not install optional libraries.
755 For example, when creating a
759 The option does not work for build targets.
761 .It Va WITH_INSTALL_AS_USER
762 Set to make install targets succeed for non-root users by installing
763 files with owner and group attributes set to that of the user running
767 The user still must set the
769 variable to point to a directory where the user has write permissions.
770 .It Va WITHOUT_IPFILTER
771 Set to not build IP Filter package.
773 Set to not build IPFW tools.
774 .It Va WITHOUT_IPSEC_SUPPORT
775 Set to not build the kernel with
778 This option is needed for
785 and related utilities.
787 Set to not build tools for the support of jails; e.g.,
794 .It Va WITHOUT_KERBEROS
795 Set this to not build Kerberos 5 (KTH Heimdal).
796 When set, these options are also in effect:
799 .It Va WITHOUT_GSSAPI
803 .It Va WITHOUT_KERBEROS_SUPPORT
805 .Va WITH_KERBEROS_SUPPORT
808 .It Va WITHOUT_KERBEROS_SUPPORT
809 Set to build some programs without Kerberos support, like
815 .It Va WITH_KERNEL_RETPOLINE
816 Set to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel
818 .It Va WITHOUT_KERNEL_SYMBOLS
819 Set to not install kernel symbol files.
821 This option is recommended for those people who have small root partitions.
826 library as a part of the base system.
828 The option has no effect yet.
830 When set, these options are also in effect:
833 .It Va WITHOUT_KVM_SUPPORT
838 .It Va WITHOUT_KVM_SUPPORT
839 Set to build some programs without optional
843 Setting this variable will prevent the LDNS library from being built.
844 When set, it enforces these options:
848 .Va WITHOUT_LDNS_UTILS
852 .It Va WITHOUT_LDNS_UTILS
853 Setting this variable will prevent building the LDNS utilities
857 .It Va WITHOUT_LEGACY_CONSOLE
858 Set to not build programs that support a legacy PC console; e.g.,
863 On 64-bit platforms, set to not build 32-bit library set and a
867 This is a default setting on
868 arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
869 .It Va WITHOUT_LIBCPLUSPLUS
870 Set to avoid building libcxxrt and libc++.
871 .It Va WITHOUT_LIBPTHREAD
876 When set, it enforces these options:
883 On armv6 only, set to enable soft float ABI compatibility libraries.
884 This option is for transitioning to the new hard float ABI.
885 .It Va WITHOUT_LIBTHR
891 Set to not build LLVM's lld linker.
893 Set to not build the LLDB debugger.
895 This is a default setting on
896 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
898 Set to build the LLDB debugger.
900 This is a default setting on
901 amd64/amd64, arm64/aarch64 and i386/i386.
902 .It Va WITHOUT_LLD_BOOTSTRAP
903 Set to not build the LLD linker during the bootstrap phase of
905 To be able to build the system, either Binutils or LLD bootstrap must be
906 enabled unless an alternate linker is provided via XLD.
907 .It Va WITHOUT_LLD_IS_LD
908 Set to use GNU binutils ld as the system linker, instead of LLVM's LLD.
909 .It Va WITHOUT_LLVM_ASSERTIONS
910 Set to disable debugging assertions in LLVM.
911 .It Va WITHOUT_LLVM_COV
915 .It Va WITHOUT_LLVM_TARGET_AARCH64
916 Set to not build LLVM target support for AArch64.
919 option should be used rather than this in most cases.
920 .It Va WITHOUT_LLVM_TARGET_ALL
921 Set to only build the required LLVM target support.
922 This option is preferred to specific target support options.
923 When set, these options are also in effect:
926 .It Va WITHOUT_LLVM_TARGET_AARCH64
928 .Va WITH_LLVM_TARGET_AARCH64
930 .It Va WITHOUT_LLVM_TARGET_ARM
932 .Va WITH_LLVM_TARGET_ARM
934 .It Va WITHOUT_LLVM_TARGET_MIPS
936 .Va WITH_LLVM_TARGET_MIPS
938 .It Va WITHOUT_LLVM_TARGET_POWERPC
940 .Va WITH_LLVM_TARGET_POWERPC
942 .It Va WITHOUT_LLVM_TARGET_RISCV
944 .Va WITH_LLVM_TARGET_RISCV
947 .It Va WITHOUT_LLVM_TARGET_ARM
948 Set to not build LLVM target support for ARM.
951 option should be used rather than this in most cases.
952 .It Va WITH_LLVM_TARGET_BPF
953 Set to build LLVM target support for BPF.
956 option should be used rather than this in most cases.
957 .It Va WITHOUT_LLVM_TARGET_MIPS
958 Set to not build LLVM target support for MIPS.
961 option should be used rather than this in most cases.
962 .It Va WITHOUT_LLVM_TARGET_POWERPC
963 Set to not build LLVM target support for PowerPC.
966 option should be used rather than this in most cases.
967 .It Va WITHOUT_LLVM_TARGET_RISCV
968 Set to not build LLVM target support for RISC-V.
971 option should be used rather than this in most cases.
972 .It Va WITHOUT_LLVM_TARGET_X86
973 Set to not build LLVM target support for X86.
976 option should be used rather than this in most cases.
977 .It Va WITH_LOADER_EFI_SECUREBOOT
980 with support for verification based on certificates obtained from UEFI.
982 .It Va WITH_LOADER_FIREWIRE
983 Enable firewire support in /boot/loader on x86. This option is a nop
984 on all other platforms.
985 .It Va WITH_LOADER_FORCE_LE
986 Set to force the powerpc boot loader to launch the kernel in little
988 .It Va WITHOUT_LOADER_GELI
989 Disable inclusion of GELI crypto support in the boot chain binaries.
991 This is a default setting on
992 powerpc/powerpc and powerpc/powerpc64.
993 .It Va WITH_LOADER_GELI
994 Set to build GELI bootloader support.
996 This is a default setting on
997 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
998 .It Va WITHOUT_LOADER_LUA
999 Set to not build LUA bindings for the boot loader.
1001 This is a default setting on
1002 powerpc/powerpc and powerpc/powerpc64.
1003 .It Va WITH_LOADER_LUA
1004 Set to build LUA bindings for the boot loader.
1006 This is a default setting on
1007 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1008 .It Va WITHOUT_LOADER_OFW
1009 Disable building of openfirmware bootloader components.
1011 This is a default setting on
1012 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1013 .It Va WITH_LOADER_OFW
1014 Set to build openfirmware bootloader components.
1016 This is a default setting on
1017 powerpc/powerpc and powerpc/powerpc64.
1018 .It Va WITHOUT_LOADER_UBOOT
1019 Disable building of ubldr.
1021 This is a default setting on
1022 amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
1023 .It Va WITH_LOADER_UBOOT
1026 This is a default setting on
1027 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
1028 .It Va WITH_LOADER_VERBOSE
1029 Set to build with extra verbose debugging in the loader.
1030 May explode already nearly too large loader over the limit.
1033 .It Va WITH_LOADER_VERIEXEC
1036 with support for verification similar to Verified Exec.
1040 When set, these options are also in effect:
1043 .It Va WITH_LOADER_EFI_SECUREBOOT
1045 .Va WITHOUT_LOADER_EFI_SECUREBOOT
1047 .It Va WITH_LOADER_VERIEXEC_VECTX
1049 .Va WITHOUT_LOADER_VERIEXEC_VECTX
1052 .It Va WITH_LOADER_VERIEXEC_PASS_MANIFEST
1055 with support to pass a verified manifest to the kernel.
1056 The kernel has to be built with a module to parse the manifest.
1059 .Va WITH_LOADER_VERIEXEC .
1060 .It Va WITHOUT_LOADER_ZFS
1061 Set to not build ZFS file system boot loader support.
1062 .It Va WITHOUT_LOCALES
1063 Set to not build localization files; see
1065 .It Va WITHOUT_LOCATE
1068 and related programs.
1072 and related programs.
1073 .It Va WITHOUT_LS_COLORS
1076 without support for colors to distinguish file types.
1077 .It Va WITHOUT_LZMA_SUPPORT
1078 Set to build some programs without optional lzma compression support.
1080 Set to not build any mail support (MUA or MTA).
1081 When set, it enforces these options:
1087 .Va WITHOUT_MAILWRAPPER
1089 .Va WITHOUT_SENDMAIL
1091 .It Va WITHOUT_MAILWRAPPER
1092 Set to not build the
1098 and related support files.
1099 .It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
1102 in limited sandbox mode.
1103 This option should be paired with
1104 .Va WITH_INSTALL_AS_USER
1105 if executed as an unprivileged user.
1109 .It Va WITH_MALLOC_PRODUCTION
1110 Set to disable assertions and statistics gathering in
1112 It also defaults the A and J runtime options to off.
1114 Set to not build manual pages.
1115 When set, these options are also in effect:
1118 .It Va WITHOUT_MAN_UTILS
1123 .It Va WITHOUT_MANCOMPRESS
1124 Set to not to install compressed man pages.
1125 Only the uncompressed versions will be installed.
1126 .It Va WITHOUT_MAN_UTILS
1127 Set to not build utilities for manual pages,
1133 and related support files.
1134 .It Va WITH_META_MODE
1137 meta files when building, which can provide a reliable incremental build when
1140 The meta file is created in OBJDIR as
1142 These meta files track the command that was executed, its output, and the
1146 module is required unless
1149 When the module is loaded, any files used by the commands executed are
1150 tracked as dependencies for the target in its meta file.
1151 The target is considered out-of-date and rebuilt if any of these
1152 conditions are true compared to the last build:
1153 .Bl -bullet -compact
1155 The command to execute changes.
1157 The current working directory changes.
1159 The target's meta file is missing.
1161 The target's meta file is missing filemon data when filemon is loaded
1162 and a previous run did not have it loaded.
1166 Files read, executed or linked to are newer than the target.
1170 Files read, written, executed or linked are missing.
1172 The meta files can also be useful for debugging.
1174 The build hides commands that are executed unless
1179 to show some of its environment for further debugging.
1181 The build operates as it normally would otherwise.
1182 This option originally invoked a different build system but that was renamed
1184 .Va WITH_DIRDEPS_BUILD .
1186 This must be set in the environment, make command line, or
1187 .Pa /etc/src-env.conf ,
1190 .It Va WITHOUT_MLX5TOOL
1194 This is a default setting on
1195 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1196 .It Va WITH_MLX5TOOL
1200 This is a default setting on
1201 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1203 Set to not build programs and libraries
1204 related to NDIS emulation support.
1205 .It Va WITHOUT_NETCAT
1209 .It Va WITHOUT_NETGRAPH
1210 Set to not build applications to support
1212 When set, it enforces these options:
1218 .Va WITHOUT_BLUETOOTH
1221 When set, these options are also in effect:
1224 .It Va WITHOUT_NETGRAPH_SUPPORT
1226 .Va WITH_NETGRAPH_SUPPORT
1229 .It Va WITHOUT_NETGRAPH_SUPPORT
1230 Set to build libraries, programs, and kernel modules without netgraph support.
1234 support and related programs.
1235 If set, you might need to adopt your
1241 Set to not build NLS catalogs.
1242 When set, it enforces these options:
1246 .Va WITHOUT_NLS_CATALOGS
1248 .It Va WITHOUT_NLS_CATALOGS
1249 Set to not build NLS catalog support for
1251 .It Va WITHOUT_NS_CACHING
1252 Set to disable name caching in the
1255 The generic caching daemon,
1257 will not be built either if this option is set.
1261 and related programs.
1263 Set to not build nvme related tools and kernel modules.
1265 This is a default setting on
1266 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1268 Set to build nvme related tools and kernel modules.
1271 This is a default setting on
1272 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1275 .Dq "OpenFabrics Enterprise Distribution"
1276 Infiniband software stack.
1277 .It Va WITH_OFED_EXTRA
1278 Set to build the non-essential components of the
1279 .Dq "OpenFabrics Enterprise Distribution"
1280 Infiniband software stack, mostly examples.
1281 .It Va WITH_OPENLDAP
1282 Enable building openldap support for kerberos.
1283 .It Va WITHOUT_OPENMP
1284 Set to not build LLVM's OpenMP runtime.
1286 This is a default setting on
1287 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1289 Set to build LLVM's OpenMP runtime.
1291 This is a default setting on
1292 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1293 .It Va WITHOUT_OPENSSH
1294 Set to not build OpenSSH.
1295 .It Va WITHOUT_OPENSSL
1296 Set to not build OpenSSL.
1297 When set, it enforces these options:
1303 .Va WITHOUT_KERBEROS
1305 .Va WITHOUT_KERBEROS_SUPPORT
1309 .Va WITHOUT_LDNS_UTILS
1313 .Va WITHOUT_PKGBOOTSTRAP
1321 .Va WITHOUT_WIRELESS
1324 When set, these options are also in effect:
1327 .It Va WITHOUT_GSSAPI
1333 Set to not build PAM library and modules.
1335 This option is deprecated and does nothing.
1337 When set, these options are also in effect:
1340 .It Va WITHOUT_PAM_SUPPORT
1342 .Va WITH_PAM_SUPPORT
1345 .It Va WITHOUT_PAM_SUPPORT
1346 Set to build some programs without PAM support, particularly
1351 Set to not build PF firewall package.
1352 When set, it enforces these options:
1359 Build dynamically linked binaries as
1360 Position-Independent Executable (PIE).
1361 .It Va WITHOUT_PKGBOOTSTRAP
1368 and related programs.
1369 .It Va WITHOUT_PORTSNAP
1370 Set to not build or install
1376 and related programs.
1377 .It Va WITHOUT_PROFILE
1378 Set to not build profiled libraries for use with
1381 This is a default setting on
1384 Set to build profiled libraries for use with
1387 This is a default setting on
1388 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1389 .It Va WITHOUT_QUOTAS
1392 and related programs.
1393 .It Va WITHOUT_RADIUS_SUPPORT
1394 Set to not build radius support into various applications, like
1398 .It Va WITH_RATELIMIT
1399 Set to build the system with rate limit support.
1402 .Dv SO_MAX_PACING_RATE
1410 .It Va WITHOUT_RBOOTD
1411 Set to not build or install
1413 .It Va WITH_REPRODUCIBLE_BUILD
1414 Set to exclude build metadata (such as the build time, user, or host)
1415 from the kernel, boot loaders, and uname output, so that builds produce
1416 bit-for-bit identical output.
1417 .It Va WITHOUT_RESCUE
1420 .It Va WITH_RETPOLINE
1421 Set to build the base system with the retpoline speculative execution
1422 vulnerability mitigation for CVE-2017-5715.
1423 .It Va WITHOUT_ROUTED
1427 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1430 with warmstart support.
1431 .It Va WITHOUT_SENDMAIL
1434 and related programs.
1435 .It Va WITHOUT_SERVICESDB
1437 .Pa /var/db/services.db .
1438 .It Va WITHOUT_SETUID_LOGIN
1439 Set this to disable the installation of
1441 as a set-user-ID root program.
1442 .It Va WITHOUT_SHAREDOCS
1443 Set to not build the
1446 .It Va WITHOUT_SHARED_TOOLCHAIN
1447 Set to build the toolchain binaries as statically linked executables.
1451 and necessary utilities like assembler, linker and library archive manager.
1452 .It Va WITH_SORT_THREADS
1453 Set to enable threads in
1455 .It Va WITHOUT_SOURCELESS
1456 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1457 When set, it enforces these options:
1461 .Va WITHOUT_SOURCELESS_HOST
1463 .Va WITHOUT_SOURCELESS_UCODE
1465 .It Va WITHOUT_SOURCELESS_HOST
1466 Set to not build kernel modules that include sourceless native code for host CPU.
1467 .It Va WITHOUT_SOURCELESS_UCODE
1468 Set to not build kernel modules that include sourceless microcode.
1470 Set to not build world with propolice stack smashing protection.
1472 This is a default setting on
1473 mips/mips and mips/mips64.
1475 Set to build world with propolice stack smashing protection.
1477 This is a default setting on
1478 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1480 Enable staging of files to a stage tree.
1481 This can be best thought of as auto-install to
1483 with some extra meta data to ensure dependencies can be tracked.
1485 .Va WITH_DIRDEPS_BUILD .
1486 When set, these options are also in effect:
1489 .It Va WITH_STAGING_MAN
1491 .Va WITHOUT_STAGING_MAN
1493 .It Va WITH_STAGING_PROG
1495 .Va WITHOUT_STAGING_PROG
1499 This must be set in the environment, make command line, or
1500 .Pa /etc/src-env.conf ,
1503 .It Va WITH_STAGING_MAN
1504 Enable staging of man pages to stage tree.
1505 .It Va WITH_STAGING_PROG
1506 Enable staging of PROGs to stage tree.
1507 .It Va WITH_STALE_STAGED
1508 Check staged files are not stale.
1509 .It Va WITHOUT_STATS
1510 Set to neither build nor install
1512 and dependent binaries.
1518 .It Va WITHOUT_SVNLITE
1521 and related programs.
1522 .It Va WITHOUT_SYSCONS
1525 support files such as keyboard maps, fonts, and screen output maps.
1527 Enable use of sysroot during build.
1529 .Va WITH_DIRDEPS_BUILD .
1531 This must be set in the environment, make command line, or
1532 .Pa /etc/src-env.conf ,
1535 .It Va WITHOUT_SYSTEM_COMPILER
1536 Set to not opportunistically skip building a cross-compiler during the
1537 bootstrap phase of the build.
1538 Normally, if the currently installed compiler matches the planned bootstrap
1539 compiler type and revision, then it will not be built.
1540 This does not prevent a compiler from being built for installation though,
1541 only for building one for the build itself.
1544 option controls that.
1545 .It Va WITHOUT_SYSTEM_LINKER
1546 Set to not opportunistically skip building a cross-linker during the
1547 bootstrap phase of the build.
1548 Normally, if the currently installed linker matches the planned bootstrap
1549 linker type and revision, then it will not be built.
1550 This does not prevent a linker from being built for installation though,
1551 only for building one for the build itself.
1554 option controls that.
1556 This option is only relevant when
1557 .Va WITH_LLD_BOOTSTRAP
1560 Set to not build or install
1564 .It Va WITHOUT_TCP_WRAPPERS
1565 Set to not build or install
1567 and related utilities.
1569 Set to not build and install
1573 .It Va WITHOUT_TELNET
1576 and related programs.
1577 .It Va WITHOUT_TESTS
1578 Set to not build nor install the
1585 This also disables the build of all test-related dependencies, including ATF.
1586 When set, it enforces these options:
1590 .Va WITHOUT_DTRACE_TESTS
1593 When set, these options are also in effect:
1596 .It Va WITHOUT_GOOGLETEST
1600 .It Va WITHOUT_TESTS_SUPPORT
1602 .Va WITH_TESTS_SUPPORT
1605 .It Va WITHOUT_TESTS_SUPPORT
1606 Set to disables the build of all test-related dependencies, including ATF.
1607 When set, it enforces these options:
1611 .Va WITHOUT_GOOGLETEST
1613 .It Va WITHOUT_TEXTPROC
1615 programs used for text processing.
1617 Set to not build or install
1621 .It Va WITHOUT_TOOLCHAIN
1622 Set to not install header or
1623 programs used for program development,
1624 compilers, debuggers etc.
1625 When set, it enforces these options:
1631 .Va WITHOUT_CLANG_EXTRAS
1633 .Va WITHOUT_CLANG_FORMAT
1635 .Va WITHOUT_CLANG_FULL
1639 .Va WITHOUT_INCLUDES
1645 .Va WITHOUT_LLVM_COV
1647 .It Va WITHOUT_UNBOUND
1650 and related programs.
1651 .It Va WITHOUT_UNIFIED_OBJDIR
1652 Set to use the historical object directory format for
1655 For native-builds and builds done directly in sub-directories the format of
1656 .Pa ${MAKEOBJDIRPREFIX}/${.CURDIR}
1658 while for cross-builds
1659 .Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR}
1662 This option is transitional and will be removed before the 12.0 release,
1664 .va WITH_UNIFIED_OBJDIR
1665 will be enabled permanently.
1667 This must be set in the environment, make command line, or
1668 .Pa /etc/src-env.conf ,
1672 Set to not build USB-related programs and libraries.
1673 .It Va WITHOUT_USB_GADGET_EXAMPLES
1674 Set to not build USB gadget kernel modules.
1675 .It Va WITHOUT_UTMPX
1676 Set to not build user accounting tools such as
1684 .It Va WITH_VERIEXEC
1687 which loads the contents of verified manifests into the kernel
1694 Set to not build and install vi, view, ex and related programs.
1698 support files (fonts and keymaps).
1699 .It Va WITHOUT_WARNS
1700 Set this to not add warning flags to the compiler invocations.
1701 Useful as a temporary workaround when code enters the tree
1702 which triggers warnings in environments that differ from the
1704 .It Va WITHOUT_WIRELESS
1705 Set to not build programs used for 802.11 wireless networks; especially
1706 .Xr wpa_supplicant 8
1709 When set, these options are also in effect:
1712 .It Va WITHOUT_WIRELESS_SUPPORT
1714 .Va WITH_WIRELESS_SUPPORT
1717 .It Va WITHOUT_WIRELESS_SUPPORT
1718 Set to build libraries, programs, and kernel modules without
1719 802.11 wireless support.
1720 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1722 .Xr wpa_supplicant 8
1723 without support for the IEEE 802.1X protocol and without
1724 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1725 protocols (usable only via 802.1X).
1727 Set to not build ZFS file system kernel module, libraries, and user commands.
1728 .It Va WITHOUT_ZONEINFO
1729 Set to not build the timezone database.
1730 When set, it enforces these options:
1734 .Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
1736 .It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
1737 Set to build leapsecond information in to the timezone database.
1740 .Bl -tag -compact -width Pa
1741 .It Pa /etc/src.conf
1742 .It Pa /etc/src-env.conf
1743 .It Pa /usr/share/mk/bsd.own.mk
1756 This manual page was autogenerated by
1757 .An tools/build/options/makeman .