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_FULL
328 .It Va WITHOUT_CLANG_BOOTSTRAP
329 Set to not build the Clang C/C++ compiler during the bootstrap phase of
331 To be able to build the system, either gcc or clang bootstrap must be
332 enabled unless an alternate compiler is provided via XCC.
333 .It Va WITH_CLANG_EXTRAS
334 Set to build additional clang and llvm tools, such as bugpoint and
336 .It Va WITHOUT_CLANG_FULL
337 Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
338 the Clang C/C++ compiler.
339 .It Va WITHOUT_CLANG_IS_CC
340 Do not install links to the Clang C/C++ compiler as
348 .It Va WITHOUT_CROSS_COMPILER
349 Set to not build any cross compiler in the cross-tools stage of buildworld.
350 When compiling a different version of
352 than what is installed on the system, provide an alternate
353 compiler with XCC to ensure success.
354 When compiling with an identical version of
356 to the host, this option may be safely used.
357 This option may also be safe when the host version of
359 is close to the sources being built, but all bets are off if there have
360 been any changes to the toolchain between the versions.
361 When set, it enforces these options:
365 .Va WITHOUT_CLANG_BOOTSTRAP
367 .Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
369 .Va WITHOUT_LLD_BOOTSTRAP
372 Set to not build any crypto code.
373 When set, it enforces these options:
381 .Va WITHOUT_KERBEROS_SUPPORT
385 .Va WITHOUT_LDNS_UTILS
391 .Va WITHOUT_PKGBOOTSTRAP
402 When set, these options are also in effect:
405 .It Va WITHOUT_GSSAPI
411 Set to compile with CTF (Compact C Type Format) data.
412 CTF data encapsulates a reduced form of debugging information
413 similar to DWARF and the venerable stabs and is required for DTrace.
415 Set to not build CUSE-related programs and libraries.
416 .It Va WITHOUT_CXGBETOOL
420 This is a default setting on
421 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
422 .It Va WITH_CXGBETOOL
426 This is a default setting on
427 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
431 and related libraries.
432 It will also prevent building of
436 When set, it enforces these options:
442 .Va WITHOUT_CLANG_EXTRAS
444 .Va WITHOUT_CLANG_FULL
446 .Va WITHOUT_DTRACE_TESTS
448 .Va WITHOUT_GOOGLETEST
454 .It Va WITHOUT_DEBUG_FILES
455 Set to avoid building or installing standalone debug files for each
456 executable binary and shared library.
457 .It Va WITHOUT_DIALOG
464 When set, it enforces these options:
468 .Va WITHOUT_BSDINSTALL
471 Set to not build the Webster dictionary files.
472 .It Va WITH_DIRDEPS_BUILD
473 This is an experimental build system.
475 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
476 Build commands can be seen from the top-level with:
477 .Dl make show-valid-targets
478 The build is driven by dirdeps.mk using
481 Makefile.depend files found in each directory.
483 The build can be started from anywhere, and behaves the same.
484 The initial instance of
489 .Pa Makefile.depend ,
490 computing a graph of tree dependencies from the current origin.
493 skips checking dirdep dependencies and will only build in the current
494 and child directories.
496 skips building any dirdeps and only build the current directory.
498 This also utilizes the
500 logic for incremental builds.
502 The build hides commands executed unless
506 Note that there is currently no mass install feature for this.
508 When set, it enforces these options:
512 .Va WITH_INSTALL_AS_USER
515 When set, these options are also in effect:
518 .It Va WITH_META_MODE
520 .Va WITHOUT_META_MODE
526 .It Va WITH_STAGING_MAN
528 .Va WITHOUT_STAGING_MAN
530 .It Va WITH_STAGING_PROG
532 .Va WITHOUT_STAGING_PROG
540 This must be set in the environment, make command line, or
541 .Pa /etc/src-env.conf ,
544 .It Va WITH_DIRDEPS_CACHE
545 Cache result of dirdeps.mk which can save significant time
546 for subsequent builds.
548 .Va WITH_DIRDEPS_BUILD .
550 This must be set in the environment, make command line, or
551 .Pa /etc/src-env.conf ,
554 .It Va WITHOUT_DMAGENT
555 Set to not build dma Mail Transport Agent.
556 .It Va WITHOUT_DOCCOMPRESS
557 Set to not install compressed system documentation.
558 Only the uncompressed version will be installed.
559 .It Va WITH_DTRACE_TESTS
560 Set to build and install the DTrace test suite in
561 .Pa /usr/tests/cddl/usr.sbin/dtrace .
562 This test suite is considered experimental on architectures other than
563 amd64/amd64 and running it may cause system instability.
564 .It Va WITHOUT_DYNAMICROOT
565 Set this if you do not want to link
571 Set to not build and install
574 and related programs.
581 This is a default setting on
582 mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
589 This is a default setting on
590 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
591 .It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
592 Set to not build ELF Tool Chain tools
593 (addr2line, nm, size, strings and strip)
594 as part of the bootstrap process.
596 An alternate bootstrap tool chain must be provided.
598 .It Va WITHOUT_EXAMPLES
599 Set to avoid installing examples to
600 .Pa /usr/share/examples/ .
601 .It Va WITH_EXPERIMENTAL
602 Set to include experimental features in the build.
603 .It Va WITH_EXTRA_TCP_STACKS
604 Set to build extra TCP stack modules.
606 Set to not build Flattened Device Tree support as part of the base system.
607 This includes the device tree compiler (dtc) and libfdt support library.
611 and related programs.
612 When set, it enforces these options:
618 .It Va WITHOUT_FINGER
619 Set to not build or install
623 .It Va WITHOUT_FLOPPY
624 Set to not build or install programs
625 for operating floppy disk driver.
626 .It Va WITHOUT_FMTREE
627 Set to not build and install
628 .Pa /usr/sbin/fmtree .
629 .It Va WITHOUT_FORMAT_EXTENSIONS
631 .Fl fformat-extensions
632 when compiling the kernel.
633 Also disables all format checking.
635 Set to build bootloaders without Forth support.
636 .It Va WITHOUT_FP_LIBC
639 without floating-point support.
640 .It Va WITHOUT_FREEBSD_UPDATE
642 .Xr freebsd-update 8 .
644 Set to not build or install
649 Set to not build games.
654 This is a default setting on
655 arm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
660 This is a default setting on
661 amd64/amd64, arm/armv6, arm/armv7, i386/i386, mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
662 .It Va WITHOUT_GNU_DIFF
665 .It Va WITHOUT_GNU_GREP
668 .It Va WITH_GNU_GREP_COMPAT
669 Set this option to include GNU extensions in
671 by linking against libgnuregex.
672 .It Va WITHOUT_GOOGLETEST
673 Set to neither build nor install
678 This is a default setting on
679 mips/mips and mips/mips64.
680 .It Va WITH_GOOGLETEST
681 Set to build and install
686 This is a default setting on
687 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
691 as part of the base system.
692 .It Va WITHOUT_GSSAPI
693 Set to not build libgssapi.
697 and related utilities.
699 Set to build Hesiod support.
701 Set to not build HTML docs.
702 .It Va WITHOUT_HYPERV
703 Set to not build or install HyperV utilities.
705 This is a default setting on
706 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
708 Set to build or install HyperV utilities.
710 This is a default setting on
711 amd64/amd64 and i386/i386.
713 Set to not build iconv as part of libc.
714 .It Va WITHOUT_INCLUDES
715 Set to not install header files.
716 This option used to be spelled
719 The option does not work for build targets.
722 Set to not build programs and libraries related to IPv4 networking.
723 When set, it enforces these options:
727 .Va WITHOUT_INET_SUPPORT
731 programs and libraries related to IPv6 networking.
732 When set, it enforces these options:
736 .Va WITHOUT_INET6_SUPPORT
738 .It Va WITHOUT_INET6_SUPPORT
739 Set to build libraries, programs, and kernel modules without IPv6 support.
743 .It Va WITHOUT_INET_SUPPORT
744 Set to build libraries, programs, and kernel modules without IPv4 support.
745 .It Va WITHOUT_INSTALLLIB
746 Set this to not install optional libraries.
747 For example, when creating a
751 The option does not work for build targets.
753 .It Va WITH_INSTALL_AS_USER
754 Set to make install targets succeed for non-root users by installing
755 files with owner and group attributes set to that of the user running
759 The user still must set the
761 variable to point to a directory where the user has write permissions.
762 .It Va WITHOUT_IPFILTER
763 Set to not build IP Filter package.
765 Set to not build IPFW tools.
766 .It Va WITHOUT_IPSEC_SUPPORT
767 Set to not build the kernel with
770 This option is needed for
777 and related utilities.
779 Set to not build tools for the support of jails; e.g.,
786 .It Va WITHOUT_KERBEROS
787 Set this to not build Kerberos 5 (KTH Heimdal).
788 When set, these options are also in effect:
791 .It Va WITHOUT_GSSAPI
795 .It Va WITHOUT_KERBEROS_SUPPORT
797 .Va WITH_KERBEROS_SUPPORT
800 .It Va WITHOUT_KERBEROS_SUPPORT
801 Set to build some programs without Kerberos support, like
807 .It Va WITH_KERNEL_RETPOLINE
808 Set to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel
810 .It Va WITHOUT_KERNEL_SYMBOLS
811 Set to not install kernel symbol files.
813 This option is recommended for those people who have small root partitions.
818 library as a part of the base system.
820 The option has no effect yet.
822 When set, these options are also in effect:
825 .It Va WITHOUT_KVM_SUPPORT
830 .It Va WITHOUT_KVM_SUPPORT
831 Set to build some programs without optional
835 Setting this variable will prevent the LDNS library from being built.
836 When set, it enforces these options:
840 .Va WITHOUT_LDNS_UTILS
844 .It Va WITHOUT_LDNS_UTILS
845 Setting this variable will prevent building the LDNS utilities
849 .It Va WITHOUT_LEGACY_CONSOLE
850 Set to not build programs that support a legacy PC console; e.g.,
855 On 64-bit platforms, set to not build 32-bit library set and a
859 This is a default setting on
860 arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
861 .It Va WITHOUT_LIBCPLUSPLUS
862 Set to avoid building libcxxrt and libc++.
863 .It Va WITHOUT_LIBPTHREAD
868 When set, it enforces these options:
875 On armv6 only, set to enable soft float ABI compatibility libraries.
876 This option is for transitioning to the new hard float ABI.
877 .It Va WITHOUT_LIBTHR
883 Set to not build LLVM's lld linker.
885 Set to not build the LLDB debugger.
887 This is a default setting on
888 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
890 Set to build the LLDB debugger.
892 This is a default setting on
893 amd64/amd64, arm64/aarch64 and i386/i386.
894 .It Va WITHOUT_LLD_BOOTSTRAP
895 Set to not build the LLD linker during the bootstrap phase of
897 To be able to build the system, either Binutils or LLD bootstrap must be
898 enabled unless an alternate linker is provided via XLD.
899 .It Va WITHOUT_LLD_IS_LD
900 Set to use GNU binutils ld as the system linker, instead of LLVM's LLD.
901 .It Va WITHOUT_LLVM_ASSERTIONS
902 Set to disable debugging assertions in LLVM.
903 .It Va WITHOUT_LLVM_COV
907 .It Va WITHOUT_LLVM_TARGET_AARCH64
908 Set to not build LLVM target support for AArch64.
911 option should be used rather than this in most cases.
912 .It Va WITHOUT_LLVM_TARGET_ALL
913 Set to only build the required LLVM target support.
914 This option is preferred to specific target support options.
915 When set, these options are also in effect:
918 .It Va WITHOUT_LLVM_TARGET_AARCH64
920 .Va WITH_LLVM_TARGET_AARCH64
922 .It Va WITHOUT_LLVM_TARGET_ARM
924 .Va WITH_LLVM_TARGET_ARM
926 .It Va WITHOUT_LLVM_TARGET_MIPS
928 .Va WITH_LLVM_TARGET_MIPS
930 .It Va WITHOUT_LLVM_TARGET_POWERPC
932 .Va WITH_LLVM_TARGET_POWERPC
934 .It Va WITHOUT_LLVM_TARGET_RISCV
936 .Va WITH_LLVM_TARGET_RISCV
939 .It Va WITHOUT_LLVM_TARGET_ARM
940 Set to not build LLVM target support for ARM.
943 option should be used rather than this in most cases.
944 .It Va WITH_LLVM_TARGET_BPF
945 Set to build LLVM target support for BPF.
948 option should be used rather than this in most cases.
949 .It Va WITHOUT_LLVM_TARGET_MIPS
950 Set to not build LLVM target support for MIPS.
953 option should be used rather than this in most cases.
954 .It Va WITHOUT_LLVM_TARGET_POWERPC
955 Set to not build LLVM target support for PowerPC.
958 option should be used rather than this in most cases.
959 .It Va WITHOUT_LLVM_TARGET_RISCV
960 Set to not build LLVM target support for RISC-V.
963 option should be used rather than this in most cases.
964 .It Va WITHOUT_LLVM_TARGET_X86
965 Set to not build LLVM target support for X86.
968 option should be used rather than this in most cases.
969 .It Va WITH_LOADER_EFI_SECUREBOOT
972 with support for verification based on certificates obtained from UEFI.
974 .It Va WITH_LOADER_FIREWIRE
975 Enable firewire support in /boot/loader on x86. This option is a nop
976 on all other platforms.
977 .It Va WITH_LOADER_FORCE_LE
978 Set to force the powerpc boot loader to launch the kernel in little
980 .It Va WITHOUT_LOADER_GELI
981 Disable inclusion of GELI crypto support in the boot chain binaries.
983 This is a default setting on
984 powerpc/powerpc and powerpc/powerpc64.
985 .It Va WITH_LOADER_GELI
986 Set to build GELI bootloader support.
988 This is a default setting on
989 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
990 .It Va WITHOUT_LOADER_LUA
991 Set to not build LUA bindings for the boot loader.
993 This is a default setting on
994 powerpc/powerpc and powerpc/powerpc64.
995 .It Va WITH_LOADER_LUA
996 Set to build LUA bindings for the boot loader.
998 This is a default setting on
999 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1000 .It Va WITHOUT_LOADER_OFW
1001 Disable building of openfirmware bootloader components.
1003 This is a default setting on
1004 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1005 .It Va WITH_LOADER_OFW
1006 Set to build openfirmware bootloader components.
1008 This is a default setting on
1009 powerpc/powerpc and powerpc/powerpc64.
1010 .It Va WITHOUT_LOADER_UBOOT
1011 Disable building of ubldr.
1013 This is a default setting on
1014 amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
1015 .It Va WITH_LOADER_UBOOT
1018 This is a default setting on
1019 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
1020 .It Va WITH_LOADER_VERBOSE
1021 Set to build with extra verbose debugging in the loader.
1022 May explode already nearly too large loader over the limit.
1025 .It Va WITH_LOADER_VERIEXEC
1028 with support for verification similar to Verified Exec.
1032 When set, these options are also in effect:
1035 .It Va WITH_LOADER_EFI_SECUREBOOT
1037 .Va WITHOUT_LOADER_EFI_SECUREBOOT
1039 .It Va WITH_LOADER_VERIEXEC_VECTX
1041 .Va WITHOUT_LOADER_VERIEXEC_VECTX
1044 .It Va WITH_LOADER_VERIEXEC_PASS_MANIFEST
1047 with support to pass a verified manifest to the kernel.
1048 The kernel has to be built with a module to parse the manifest.
1051 .Va WITH_LOADER_VERIEXEC .
1052 .It Va WITHOUT_LOADER_ZFS
1053 Set to not build ZFS file system boot loader support.
1054 .It Va WITHOUT_LOCALES
1055 Set to not build localization files; see
1057 .It Va WITHOUT_LOCATE
1060 and related programs.
1064 and related programs.
1065 .It Va WITHOUT_LS_COLORS
1068 without support for colors to distinguish file types.
1069 .It Va WITHOUT_LZMA_SUPPORT
1070 Set to build some programs without optional lzma compression support.
1072 Set to not build any mail support (MUA or MTA).
1073 When set, it enforces these options:
1079 .Va WITHOUT_MAILWRAPPER
1081 .Va WITHOUT_SENDMAIL
1083 .It Va WITHOUT_MAILWRAPPER
1084 Set to not build the
1090 and related support files.
1091 .It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
1094 in limited sandbox mode.
1095 This option should be paired with
1096 .Va WITH_INSTALL_AS_USER
1097 if executed as an unprivileged user.
1102 Set to not build manual pages.
1103 When set, these options are also in effect:
1106 .It Va WITHOUT_MAN_UTILS
1111 .It Va WITHOUT_MANCOMPRESS
1112 Set to not to install compressed man pages.
1113 Only the uncompressed versions will be installed.
1114 .It Va WITHOUT_MAN_UTILS
1115 Set to not build utilities for manual pages,
1121 and related support files.
1122 .It Va WITH_META_MODE
1125 meta files when building, which can provide a reliable incremental build when
1128 The meta file is created in OBJDIR as
1130 These meta files track the command that was executed, its output, and the
1134 module is required unless
1137 When the module is loaded, any files used by the commands executed are
1138 tracked as dependencies for the target in its meta file.
1139 The target is considered out-of-date and rebuilt if any of these
1140 conditions are true compared to the last build:
1141 .Bl -bullet -compact
1143 The command to execute changes.
1145 The current working directory changes.
1147 The target's meta file is missing.
1149 The target's meta file is missing filemon data when filemon is loaded
1150 and a previous run did not have it loaded.
1154 Files read, executed or linked to are newer than the target.
1158 Files read, written, executed or linked are missing.
1160 The meta files can also be useful for debugging.
1162 The build hides commands that are executed unless
1167 to show some of its environment for further debugging.
1169 The build operates as it normally would otherwise.
1170 This option originally invoked a different build system but that was renamed
1172 .Va WITH_DIRDEPS_BUILD .
1174 This must be set in the environment, make command line, or
1175 .Pa /etc/src-env.conf ,
1178 .It Va WITHOUT_MLX5TOOL
1182 This is a default setting on
1183 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1184 .It Va WITH_MLX5TOOL
1188 This is a default setting on
1189 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1191 Set to not build programs and libraries
1192 related to NDIS emulation support.
1193 .It Va WITHOUT_NETCAT
1197 .It Va WITHOUT_NETGRAPH
1198 Set to not build applications to support
1200 When set, it enforces these options:
1206 .Va WITHOUT_BLUETOOTH
1209 When set, these options are also in effect:
1212 .It Va WITHOUT_NETGRAPH_SUPPORT
1214 .Va WITH_NETGRAPH_SUPPORT
1217 .It Va WITHOUT_NETGRAPH_SUPPORT
1218 Set to build libraries, programs, and kernel modules without netgraph support.
1222 support and related programs.
1223 If set, you might need to adopt your
1229 Set to not build NLS catalogs.
1230 When set, it enforces these options:
1234 .Va WITHOUT_NLS_CATALOGS
1236 .It Va WITHOUT_NLS_CATALOGS
1237 Set to not build NLS catalog support for
1239 .It Va WITHOUT_NS_CACHING
1240 Set to disable name caching in the
1243 The generic caching daemon,
1245 will not be built either if this option is set.
1249 and related programs.
1251 Set to not build nvme related tools and kernel modules.
1253 This is a default setting on
1254 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1256 Set to build nvme related tools and kernel modules.
1259 This is a default setting on
1260 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1263 .Dq "OpenFabrics Enterprise Distribution"
1264 Infiniband software stack.
1265 .It Va WITH_OFED_EXTRA
1266 Set to build the non-essential components of the
1267 .Dq "OpenFabrics Enterprise Distribution"
1268 Infiniband software stack, mostly examples.
1269 .It Va WITH_OPENLDAP
1270 Enable building openldap support for kerberos.
1271 .It Va WITHOUT_OPENMP
1272 Set to not build LLVM's OpenMP runtime.
1274 This is a default setting on
1275 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1277 Set to build LLVM's OpenMP runtime.
1279 This is a default setting on
1280 amd64/amd64, i386/i386 and powerpc/powerpc64.
1281 .It Va WITHOUT_OPENSSH
1282 Set to not build OpenSSH.
1283 .It Va WITHOUT_OPENSSL
1284 Set to not build OpenSSL.
1285 When set, it enforces these options:
1291 .Va WITHOUT_KERBEROS
1293 .Va WITHOUT_KERBEROS_SUPPORT
1297 .Va WITHOUT_LDNS_UTILS
1301 .Va WITHOUT_PKGBOOTSTRAP
1309 .Va WITHOUT_WIRELESS
1312 When set, these options are also in effect:
1315 .It Va WITHOUT_GSSAPI
1321 Set to not build PAM library and modules.
1323 This option is deprecated and does nothing.
1325 When set, these options are also in effect:
1328 .It Va WITHOUT_PAM_SUPPORT
1330 .Va WITH_PAM_SUPPORT
1333 .It Va WITHOUT_PAM_SUPPORT
1334 Set to build some programs without PAM support, particularly
1339 Set to not build PF firewall package.
1340 When set, it enforces these options:
1347 Build dynamically linked binaries as
1348 Position-Independent Executable (PIE).
1349 .It Va WITHOUT_PKGBOOTSTRAP
1356 and related programs.
1357 .It Va WITHOUT_PORTSNAP
1358 Set to not build or install
1361 When set, it enforces these options:
1365 .Va WITHOUT_FREEBSD_UPDATE
1370 and related programs.
1371 .It Va WITHOUT_PROFILE
1372 Set to not build profiled libraries for use with
1375 This is a default setting on
1378 Set to build profiled libraries for use with
1381 This is a default setting on
1382 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1383 .It Va WITHOUT_QUOTAS
1386 and related programs.
1387 .It Va WITHOUT_RADIUS_SUPPORT
1388 Set to not build radius support into various applications, like
1392 .It Va WITH_RATELIMIT
1393 Set to build the system with rate limit support.
1396 .Dv SO_MAX_PACING_RATE
1404 .It Va WITHOUT_RBOOTD
1405 Set to not build or install
1407 .It Va WITH_REPRODUCIBLE_BUILD
1408 Set to exclude build metadata (such as the build time, user, or host)
1409 from the kernel, boot loaders, and uname output, so that builds produce
1410 bit-for-bit identical output.
1411 .It Va WITHOUT_RESCUE
1414 .It Va WITH_RETPOLINE
1415 Set to build the base system with the retpoline speculative execution
1416 vulnerability mitigation for CVE-2017-5715.
1417 .It Va WITHOUT_ROUTED
1421 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1424 with warmstart support.
1425 .It Va WITHOUT_SENDMAIL
1428 and related programs.
1429 .It Va WITHOUT_SERVICESDB
1431 .Pa /var/db/services.db .
1432 .It Va WITHOUT_SETUID_LOGIN
1433 Set this to disable the installation of
1435 as a set-user-ID root program.
1436 .It Va WITHOUT_SHAREDOCS
1437 Set to not build the
1440 .It Va WITHOUT_SHARED_TOOLCHAIN
1441 Set to build the toolchain binaries as statically linked executables.
1445 and necessary utilities like assembler, linker and library archive manager.
1446 .It Va WITH_SORT_THREADS
1447 Set to enable threads in
1449 .It Va WITHOUT_SOURCELESS
1450 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1451 When set, it enforces these options:
1455 .Va WITHOUT_SOURCELESS_HOST
1457 .Va WITHOUT_SOURCELESS_UCODE
1459 .It Va WITHOUT_SOURCELESS_HOST
1460 Set to not build kernel modules that include sourceless native code for host CPU.
1461 .It Va WITHOUT_SOURCELESS_UCODE
1462 Set to not build kernel modules that include sourceless microcode.
1464 Set to not build world with propolice stack smashing protection.
1466 This is a default setting on
1467 mips/mips and mips/mips64.
1469 Set to build world with propolice stack smashing protection.
1471 This is a default setting on
1472 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1474 Enable staging of files to a stage tree.
1475 This can be best thought of as auto-install to
1477 with some extra meta data to ensure dependencies can be tracked.
1479 .Va WITH_DIRDEPS_BUILD .
1480 When set, these options are also in effect:
1483 .It Va WITH_STAGING_MAN
1485 .Va WITHOUT_STAGING_MAN
1487 .It Va WITH_STAGING_PROG
1489 .Va WITHOUT_STAGING_PROG
1493 This must be set in the environment, make command line, or
1494 .Pa /etc/src-env.conf ,
1497 .It Va WITH_STAGING_MAN
1498 Enable staging of man pages to stage tree.
1499 .It Va WITH_STAGING_PROG
1500 Enable staging of PROGs to stage tree.
1501 .It Va WITH_STALE_STAGED
1502 Check staged files are not stale.
1503 .It Va WITHOUT_STATS
1504 Set to neither build nor install
1506 and dependent binaries.
1512 .It Va WITHOUT_SVNLITE
1515 and related programs.
1516 .It Va WITHOUT_SYSCONS
1519 support files such as keyboard maps, fonts, and screen output maps.
1521 Enable use of sysroot during build.
1523 .Va WITH_DIRDEPS_BUILD .
1525 This must be set in the environment, make command line, or
1526 .Pa /etc/src-env.conf ,
1529 .It Va WITHOUT_SYSTEM_COMPILER
1530 Set to not opportunistically skip building a cross-compiler during the
1531 bootstrap phase of the build.
1532 Normally, if the currently installed compiler matches the planned bootstrap
1533 compiler type and revision, then it will not be built.
1534 This does not prevent a compiler from being built for installation though,
1535 only for building one for the build itself.
1538 option controls that.
1539 .It Va WITHOUT_SYSTEM_LINKER
1540 Set to not opportunistically skip building a cross-linker during the
1541 bootstrap phase of the build.
1542 Normally, if the currently installed linker matches the planned bootstrap
1543 linker type and revision, then it will not be built.
1544 This does not prevent a linker from being built for installation though,
1545 only for building one for the build itself.
1548 option controls that.
1550 This option is only relevant when
1551 .Va WITH_LLD_BOOTSTRAP
1554 Set to not build or install
1558 .It Va WITHOUT_TCP_WRAPPERS
1559 Set to not build or install
1561 and related utilities.
1563 Set to not build and install
1567 .It Va WITHOUT_TELNET
1570 and related programs.
1571 .It Va WITHOUT_TESTS
1572 Set to not build nor install the
1579 This also disables the build of all test-related dependencies, including ATF.
1580 When set, it enforces these options:
1584 .Va WITHOUT_DTRACE_TESTS
1587 When set, these options are also in effect:
1590 .It Va WITHOUT_GOOGLETEST
1594 .It Va WITHOUT_TESTS_SUPPORT
1596 .Va WITH_TESTS_SUPPORT
1599 .It Va WITHOUT_TESTS_SUPPORT
1600 Set to disables the build of all test-related dependencies, including ATF.
1601 When set, it enforces these options:
1605 .Va WITHOUT_GOOGLETEST
1607 .It Va WITHOUT_TEXTPROC
1609 programs used for text processing.
1611 Set to not build or install
1615 .It Va WITHOUT_TOOLCHAIN
1616 Set to not install header or
1617 programs used for program development,
1618 compilers, debuggers etc.
1619 When set, it enforces these options:
1625 .Va WITHOUT_CLANG_EXTRAS
1627 .Va WITHOUT_CLANG_FULL
1631 .Va WITHOUT_INCLUDES
1637 .Va WITHOUT_LLVM_COV
1639 .It Va WITHOUT_UNBOUND
1642 and related programs.
1643 .It Va WITHOUT_UNIFIED_OBJDIR
1644 Set to use the historical object directory format for
1647 For native-builds and builds done directly in sub-directories the format of
1648 .Pa ${MAKEOBJDIRPREFIX}/${.CURDIR}
1650 while for cross-builds
1651 .Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR}
1654 This option is transitional and will be removed before the 12.0 release,
1656 .va WITH_UNIFIED_OBJDIR
1657 will be enabled permanently.
1659 This must be set in the environment, make command line, or
1660 .Pa /etc/src-env.conf ,
1664 Set to not build USB-related programs and libraries.
1665 .It Va WITHOUT_USB_GADGET_EXAMPLES
1666 Set to not build USB gadget kernel modules.
1667 .It Va WITHOUT_UTMPX
1668 Set to not build user accounting tools such as
1676 .It Va WITH_VERIEXEC
1679 which loads the contents of verified manifests into the kernel
1686 Set to not build and install vi, view, ex and related programs.
1690 support files (fonts and keymaps).
1691 .It Va WITHOUT_WARNS
1692 Set this to not add warning flags to the compiler invocations.
1693 Useful as a temporary workaround when code enters the tree
1694 which triggers warnings in environments that differ from the
1696 .It Va WITHOUT_WIRELESS
1697 Set to not build programs used for 802.11 wireless networks; especially
1698 .Xr wpa_supplicant 8
1701 When set, these options are also in effect:
1704 .It Va WITHOUT_WIRELESS_SUPPORT
1706 .Va WITH_WIRELESS_SUPPORT
1709 .It Va WITHOUT_WIRELESS_SUPPORT
1710 Set to build libraries, programs, and kernel modules without
1711 802.11 wireless support.
1712 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1714 .Xr wpa_supplicant 8
1715 without support for the IEEE 802.1X protocol and without
1716 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1717 protocols (usable only via 802.1X).
1719 Set to not build ZFS file system kernel module, libraries, and user commands.
1720 .It Va WITHOUT_ZONEINFO
1721 Set to not build the timezone database.
1722 When set, it enforces these options:
1726 .Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
1728 .It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
1729 Set to build leapsecond information in to the timezone database.
1732 .Bl -tag -compact -width Pa
1733 .It Pa /etc/src.conf
1734 .It Pa /etc/src-env.conf
1735 .It Pa /usr/share/mk/bsd.own.mk
1748 This manual page was autogenerated by
1749 .An tools/build/options/makeman .