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.
186 Build and install GNU
188 as part of the normal system build.
189 This option is not available as of
191 .It Va WITH_BINUTILS_BOOTSTRAP
193 as part of the bootstrap process.
194 .It Va WITHOUT_BLACKLIST
195 Set this if you do not want to build
199 When set, these options are also in effect:
202 .It Va WITHOUT_BLACKLIST_SUPPORT
204 .Va WITH_BLACKLIST_SUPPORT
207 .It Va WITHOUT_BLACKLIST_SUPPORT
208 Set to build some programs without
215 .It Va WITHOUT_BLUETOOTH
216 Set to not build Bluetooth related kernel modules, programs and libraries.
218 Set to not build the boot blocks and loader.
219 .It Va WITHOUT_BOOTPARAMD
220 Set to not build or install
222 .It Va WITHOUT_BOOTPD
223 Set to not build or install
225 .It Va WITHOUT_BSDINSTALL
229 and related programs.
230 .It Va WITHOUT_BSD_CPIO
231 Set to not build the BSD licensed version of cpio based on
234 Install BSD-licensed grep as '[ef]grep' instead of GNU grep.
236 Set to not build or install
238 and related libraries and data files.
240 Set to not build contributed bzip2 software as a part of the base system.
242 The option has no effect yet.
244 When set, these options are also in effect:
247 .It Va WITHOUT_BZIP2_SUPPORT
249 .Va WITH_BZIP2_SUPPORT
252 .It Va WITHOUT_BZIP2_SUPPORT
253 Set to build some programs without optional bzip2 support.
254 .It Va WITHOUT_CALENDAR
257 .It Va WITHOUT_CAPSICUM
258 Set to not build Capsicum support into system programs.
259 When set, it enforces these options:
265 .It Va WITHOUT_CAROOT
266 Set to not add the trusted certificates from the Mozilla NSS bundle to
268 .It Va WITHOUT_CASPER
269 Set to not build Casper program and related libraries.
270 .It Va WITH_CCACHE_BUILD
274 No configuration is required except to install the
280 .Sy CCACHE_PREFIX=/usr/local/bin/distcc .
281 The default cache directory of
283 will be used, which can be overridden by setting
286 .Sy CCACHE_COMPILERCHECK
289 when using the in-tree bootstrap compiler,
292 when using an external compiler.
295 option is used for Clang but not GCC.
297 Sharing a cache between multiple work directories requires using a layout
301 and an environment such as:
302 .Bd -literal -offset indent
303 CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
308 for more configuration options.
312 and related utilities.
314 Set to not build code licensed under Sun's CDDL.
315 When set, it enforces these options:
321 .Va WITHOUT_LOADER_ZFS
326 Set to not build the Clang C/C++ compiler during the regular phase of the build.
327 When set, it enforces these options:
331 .Va WITHOUT_CLANG_EXTRAS
333 .Va WITHOUT_CLANG_FULL
337 .It Va WITHOUT_CLANG_BOOTSTRAP
338 Set to not build the Clang C/C++ compiler during the bootstrap phase of
340 To be able to build the system, either gcc or clang bootstrap must be
341 enabled unless an alternate compiler is provided via XCC.
342 .It Va WITH_CLANG_EXTRAS
343 Set to build additional clang and llvm tools, such as bugpoint and
345 .It Va WITHOUT_CLANG_FULL
346 Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
347 the Clang C/C++ compiler.
348 .It Va WITHOUT_CLANG_IS_CC
349 Do not install links to the Clang C/C++ compiler as
357 .It Va WITHOUT_CROSS_COMPILER
358 Set to not build any cross compiler in the cross-tools stage of buildworld.
359 When compiling a different version of
361 than what is installed on the system, provide an alternate
362 compiler with XCC to ensure success.
363 When compiling with an identical version of
365 to the host, this option may be safely used.
366 This option may also be safe when the host version of
368 is close to the sources being built, but all bets are off if there have
369 been any changes to the toolchain between the versions.
370 When set, it enforces these options:
374 .Va WITHOUT_BINUTILS_BOOTSTRAP
376 .Va WITHOUT_CLANG_BOOTSTRAP
378 .Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
380 .Va WITHOUT_LLD_BOOTSTRAP
383 Set to not build any crypto code.
384 When set, it enforces these options:
392 .Va WITHOUT_KERBEROS_SUPPORT
396 .Va WITHOUT_LDNS_UTILS
402 .Va WITHOUT_PKGBOOTSTRAP
413 When set, these options are also in effect:
416 .It Va WITHOUT_GSSAPI
422 Set to compile with CTF (Compact C Type Format) data.
423 CTF data encapsulates a reduced form of debugging information
424 similar to DWARF and the venerable stabs and is required for DTrace.
426 Set to not build CUSE-related programs and libraries.
427 .It Va WITHOUT_CXGBETOOL
431 This is a default setting on
432 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
433 .It Va WITH_CXGBETOOL
437 This is a default setting on
438 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
442 and related libraries.
443 It will also prevent building of
447 When set, it enforces these options:
453 .Va WITHOUT_CLANG_EXTRAS
455 .Va WITHOUT_CLANG_FULL
457 .Va WITHOUT_DTRACE_TESTS
459 .Va WITHOUT_GOOGLETEST
465 .It Va WITHOUT_DEBUG_FILES
466 Set to avoid building or installing standalone debug files for each
467 executable binary and shared library.
468 .It Va WITHOUT_DIALOG
475 When set, it enforces these options:
479 .Va WITHOUT_BSDINSTALL
482 Set to not build the Webster dictionary files.
483 .It Va WITH_DIRDEPS_BUILD
484 This is an experimental build system.
486 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
487 Build commands can be seen from the top-level with:
488 .Dl make show-valid-targets
489 The build is driven by dirdeps.mk using
492 Makefile.depend files found in each directory.
494 The build can be started from anywhere, and behaves the same.
495 The initial instance of
500 .Pa Makefile.depend ,
501 computing a graph of tree dependencies from the current origin.
504 skips checking dirdep dependencies and will only build in the current
505 and child directories.
507 skips building any dirdeps and only build the current directory.
509 This also utilizes the
511 logic for incremental builds.
513 The build hides commands executed unless
517 Note that there is currently no mass install feature for this.
519 When set, it enforces these options:
523 .Va WITH_INSTALL_AS_USER
526 When set, these options are also in effect:
529 .It Va WITH_META_MODE
531 .Va WITHOUT_META_MODE
537 .It Va WITH_STAGING_MAN
539 .Va WITHOUT_STAGING_MAN
541 .It Va WITH_STAGING_PROG
543 .Va WITHOUT_STAGING_PROG
551 This must be set in the environment, make command line, or
552 .Pa /etc/src-env.conf ,
555 .It Va WITH_DIRDEPS_CACHE
556 Cache result of dirdeps.mk which can save significant time
557 for subsequent builds.
559 .Va WITH_DIRDEPS_BUILD .
561 This must be set in the environment, make command line, or
562 .Pa /etc/src-env.conf ,
565 .It Va WITHOUT_DMAGENT
566 Set to not build dma Mail Transport Agent.
567 .It Va WITHOUT_DOCCOMPRESS
568 Set to not install compressed system documentation.
569 Only the uncompressed version will be installed.
570 .It Va WITH_DTRACE_TESTS
571 Set to build and install the DTrace test suite in
572 .Pa /usr/tests/cddl/usr.sbin/dtrace .
573 This test suite is considered experimental on architectures other than
574 amd64/amd64 and running it may cause system instability.
575 .It Va WITHOUT_DYNAMICROOT
576 Set this if you do not want to link
582 Set to not build and install
585 and related programs.
592 This is a default setting on
593 mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
600 This is a default setting on
601 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
602 .It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
603 Set to not build ELF Tool Chain tools
604 (addr2line, nm, size, strings and strip)
605 as part of the bootstrap process.
607 An alternate bootstrap tool chain must be provided.
609 .It Va WITHOUT_EXAMPLES
610 Set to avoid installing examples to
611 .Pa /usr/share/examples/ .
612 .It Va WITH_EXPERIMENTAL
613 Set to include experimental features in the build.
614 .It Va WITH_EXTRA_TCP_STACKS
615 Set to build extra TCP stack modules.
617 Set to not build Flattened Device Tree support as part of the base system.
618 This includes the device tree compiler (dtc) and libfdt support library.
622 and related programs.
623 When set, it enforces these options:
629 .It Va WITHOUT_FINGER
630 Set to not build or install
634 .It Va WITHOUT_FLOPPY
635 Set to not build or install programs
636 for operating floppy disk driver.
637 .It Va WITHOUT_FMTREE
638 Set to not build and install
639 .Pa /usr/sbin/fmtree .
640 .It Va WITHOUT_FORMAT_EXTENSIONS
642 .Fl fformat-extensions
643 when compiling the kernel.
644 Also disables all format checking.
646 Set to build bootloaders without Forth support.
647 .It Va WITHOUT_FP_LIBC
650 without floating-point support.
651 .It Va WITHOUT_FREEBSD_UPDATE
653 .Xr freebsd-update 8 .
655 Set to not build or install
660 Set to not build games.
665 This is a default setting on
666 arm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
671 This is a default setting on
672 amd64/amd64, arm/armv6, arm/armv7, i386/i386, mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
673 .It Va WITHOUT_GNU_DIFF
676 .It Va WITHOUT_GNU_GREP
679 .It Va WITH_GNU_GREP_COMPAT
680 Set this option to include GNU extensions in
682 by linking against libgnuregex.
683 .It Va WITHOUT_GOOGLETEST
684 Set to neither build nor install
689 This is a default setting on
690 mips/mips and mips/mips64.
691 .It Va WITH_GOOGLETEST
692 Set to build and install
697 This is a default setting on
698 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
702 as part of the base system.
703 .It Va WITHOUT_GSSAPI
704 Set to not build libgssapi.
708 and related utilities.
710 Set to build Hesiod support.
712 Set to not build HTML docs.
713 .It Va WITHOUT_HYPERV
714 Set to not build or install HyperV utilities.
716 This is a default setting on
717 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
719 Set to build or install HyperV utilities.
721 This is a default setting on
722 amd64/amd64 and i386/i386.
724 Set to not build iconv as part of libc.
725 .It Va WITHOUT_INCLUDES
726 Set to not install header files.
727 This option used to be spelled
730 The option does not work for build targets.
733 Set to not build programs and libraries related to IPv4 networking.
734 When set, it enforces these options:
738 .Va WITHOUT_INET_SUPPORT
742 programs and libraries related to IPv6 networking.
743 When set, it enforces these options:
747 .Va WITHOUT_INET6_SUPPORT
749 .It Va WITHOUT_INET6_SUPPORT
750 Set to build libraries, programs, and kernel modules without IPv6 support.
754 .It Va WITHOUT_INET_SUPPORT
755 Set to build libraries, programs, and kernel modules without IPv4 support.
756 .It Va WITHOUT_INSTALLLIB
757 Set this to not install optional libraries.
758 For example, when creating a
762 The option does not work for build targets.
764 .It Va WITH_INSTALL_AS_USER
765 Set to make install targets succeed for non-root users by installing
766 files with owner and group attributes set to that of the user running
770 The user still must set the
772 variable to point to a directory where the user has write permissions.
773 .It Va WITHOUT_IPFILTER
774 Set to not build IP Filter package.
776 Set to not build IPFW tools.
777 .It Va WITHOUT_IPSEC_SUPPORT
778 Set to not build the kernel with
781 This option is needed for
788 and related utilities.
790 Set to not build tools for the support of jails; e.g.,
797 .It Va WITHOUT_KERBEROS
798 Set this to not build Kerberos 5 (KTH Heimdal).
799 When set, these options are also in effect:
802 .It Va WITHOUT_GSSAPI
806 .It Va WITHOUT_KERBEROS_SUPPORT
808 .Va WITH_KERBEROS_SUPPORT
811 .It Va WITHOUT_KERBEROS_SUPPORT
812 Set to build some programs without Kerberos support, like
818 .It Va WITH_KERNEL_RETPOLINE
819 Set to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel
821 .It Va WITHOUT_KERNEL_SYMBOLS
822 Set to not install kernel symbol files.
824 This option is recommended for those people who have small root partitions.
829 library as a part of the base system.
831 The option has no effect yet.
833 When set, these options are also in effect:
836 .It Va WITHOUT_KVM_SUPPORT
841 .It Va WITHOUT_KVM_SUPPORT
842 Set to build some programs without optional
846 Setting this variable will prevent the LDNS library from being built.
847 When set, it enforces these options:
851 .Va WITHOUT_LDNS_UTILS
855 .It Va WITHOUT_LDNS_UTILS
856 Setting this variable will prevent building the LDNS utilities
860 .It Va WITHOUT_LEGACY_CONSOLE
861 Set to not build programs that support a legacy PC console; e.g.,
866 On 64-bit platforms, set to not build 32-bit library set and a
870 This is a default setting on
871 arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
872 .It Va WITHOUT_LIBCPLUSPLUS
873 Set to avoid building libcxxrt and libc++.
874 .It Va WITHOUT_LIBPTHREAD
879 When set, it enforces these options:
886 On armv6 only, set to enable soft float ABI compatibility libraries.
887 This option is for transitioning to the new hard float ABI.
888 .It Va WITHOUT_LIBTHR
894 Set to not build LLVM's lld linker.
896 Set to not build the LLDB debugger.
898 This is a default setting on
899 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
901 Set to build the LLDB debugger.
903 This is a default setting on
904 amd64/amd64, arm64/aarch64 and i386/i386.
905 .It Va WITHOUT_LLD_BOOTSTRAP
906 Set to not build the LLD linker during the bootstrap phase of
908 To be able to build the system, either Binutils or LLD bootstrap must be
909 enabled unless an alternate linker is provided via XLD.
910 .It Va WITHOUT_LLD_IS_LD
911 Set to use GNU binutils ld as the system linker, instead of LLVM's LLD.
912 .It Va WITHOUT_LLVM_ASSERTIONS
913 Set to disable debugging assertions in LLVM.
914 .It Va WITHOUT_LLVM_COV
918 .It Va WITHOUT_LLVM_TARGET_AARCH64
919 Set to not build LLVM target support for AArch64.
922 option should be used rather than this in most cases.
923 .It Va WITHOUT_LLVM_TARGET_ALL
924 Set to only build the required LLVM target support.
925 This option is preferred to specific target support options.
926 When set, these options are also in effect:
929 .It Va WITHOUT_LLVM_TARGET_AARCH64
931 .Va WITH_LLVM_TARGET_AARCH64
933 .It Va WITHOUT_LLVM_TARGET_ARM
935 .Va WITH_LLVM_TARGET_ARM
937 .It Va WITHOUT_LLVM_TARGET_MIPS
939 .Va WITH_LLVM_TARGET_MIPS
941 .It Va WITHOUT_LLVM_TARGET_POWERPC
943 .Va WITH_LLVM_TARGET_POWERPC
945 .It Va WITHOUT_LLVM_TARGET_RISCV
947 .Va WITH_LLVM_TARGET_RISCV
950 .It Va WITHOUT_LLVM_TARGET_ARM
951 Set to not build LLVM target support for ARM.
954 option should be used rather than this in most cases.
955 .It Va WITH_LLVM_TARGET_BPF
956 Set to build LLVM target support for BPF.
959 option should be used rather than this in most cases.
960 .It Va WITHOUT_LLVM_TARGET_MIPS
961 Set to not build LLVM target support for MIPS.
964 option should be used rather than this in most cases.
965 .It Va WITHOUT_LLVM_TARGET_POWERPC
966 Set to not build LLVM target support for PowerPC.
969 option should be used rather than this in most cases.
970 .It Va WITHOUT_LLVM_TARGET_RISCV
971 Set to not build LLVM target support for RISC-V.
974 option should be used rather than this in most cases.
975 .It Va WITHOUT_LLVM_TARGET_X86
976 Set to not build LLVM target support for X86.
979 option should be used rather than this in most cases.
980 .It Va WITH_LOADER_EFI_SECUREBOOT
983 with support for verification based on certificates obtained from UEFI.
985 .It Va WITH_LOADER_FIREWIRE
986 Enable firewire support in /boot/loader on x86. This option is a nop
987 on all other platforms.
988 .It Va WITH_LOADER_FORCE_LE
989 Set to force the powerpc boot loader to launch the kernel in little
991 .It Va WITHOUT_LOADER_GELI
992 Disable inclusion of GELI crypto support in the boot chain binaries.
994 This is a default setting on
995 powerpc/powerpc and powerpc/powerpc64.
996 .It Va WITH_LOADER_GELI
997 Set to build GELI bootloader support.
999 This is a default setting on
1000 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1001 .It Va WITHOUT_LOADER_LUA
1002 Set to not build LUA bindings for the boot loader.
1004 This is a default setting on
1005 powerpc/powerpc and powerpc/powerpc64.
1006 .It Va WITH_LOADER_LUA
1007 Set to build LUA bindings for the boot loader.
1009 This is a default setting on
1010 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1011 .It Va WITHOUT_LOADER_OFW
1012 Disable building of openfirmware bootloader components.
1014 This is a default setting on
1015 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1016 .It Va WITH_LOADER_OFW
1017 Set to build openfirmware bootloader components.
1019 This is a default setting on
1020 powerpc/powerpc and powerpc/powerpc64.
1021 .It Va WITHOUT_LOADER_UBOOT
1022 Disable building of ubldr.
1024 This is a default setting on
1025 amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
1026 .It Va WITH_LOADER_UBOOT
1029 This is a default setting on
1030 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
1031 .It Va WITH_LOADER_VERBOSE
1032 Set to build with extra verbose debugging in the loader.
1033 May explode already nearly too large loader over the limit.
1036 .It Va WITH_LOADER_VERIEXEC
1039 with support for verification similar to Verified Exec.
1043 When set, these options are also in effect:
1046 .It Va WITH_LOADER_EFI_SECUREBOOT
1048 .Va WITHOUT_LOADER_EFI_SECUREBOOT
1050 .It Va WITH_LOADER_VERIEXEC_VECTX
1052 .Va WITHOUT_LOADER_VERIEXEC_VECTX
1055 .It Va WITH_LOADER_VERIEXEC_PASS_MANIFEST
1058 with support to pass a verified manifest to the kernel.
1059 The kernel has to be built with a module to parse the manifest.
1062 .Va WITH_LOADER_VERIEXEC .
1063 .It Va WITHOUT_LOADER_ZFS
1064 Set to not build ZFS file system boot loader support.
1065 .It Va WITHOUT_LOCALES
1066 Set to not build localization files; see
1068 .It Va WITHOUT_LOCATE
1071 and related programs.
1075 and related programs.
1076 .It Va WITHOUT_LS_COLORS
1079 without support for colors to distinguish file types.
1080 .It Va WITHOUT_LZMA_SUPPORT
1081 Set to build some programs without optional lzma compression support.
1083 Set to not build any mail support (MUA or MTA).
1084 When set, it enforces these options:
1090 .Va WITHOUT_MAILWRAPPER
1092 .Va WITHOUT_SENDMAIL
1094 .It Va WITHOUT_MAILWRAPPER
1095 Set to not build the
1101 and related support files.
1102 .It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
1105 in limited sandbox mode.
1106 This option should be paired with
1107 .Va WITH_INSTALL_AS_USER
1108 if executed as an unprivileged user.
1113 Set to not build manual pages.
1114 When set, these options are also in effect:
1117 .It Va WITHOUT_MAN_UTILS
1122 .It Va WITHOUT_MANCOMPRESS
1123 Set to not to install compressed man pages.
1124 Only the uncompressed versions will be installed.
1125 .It Va WITHOUT_MAN_UTILS
1126 Set to not build utilities for manual pages,
1132 and related support files.
1133 .It Va WITH_META_MODE
1136 meta files when building, which can provide a reliable incremental build when
1139 The meta file is created in OBJDIR as
1141 These meta files track the command that was executed, its output, and the
1145 module is required unless
1148 When the module is loaded, any files used by the commands executed are
1149 tracked as dependencies for the target in its meta file.
1150 The target is considered out-of-date and rebuilt if any of these
1151 conditions are true compared to the last build:
1152 .Bl -bullet -compact
1154 The command to execute changes.
1156 The current working directory changes.
1158 The target's meta file is missing.
1160 The target's meta file is missing filemon data when filemon is loaded
1161 and a previous run did not have it loaded.
1165 Files read, executed or linked to are newer than the target.
1169 Files read, written, executed or linked are missing.
1171 The meta files can also be useful for debugging.
1173 The build hides commands that are executed unless
1178 to show some of its environment for further debugging.
1180 The build operates as it normally would otherwise.
1181 This option originally invoked a different build system but that was renamed
1183 .Va WITH_DIRDEPS_BUILD .
1185 This must be set in the environment, make command line, or
1186 .Pa /etc/src-env.conf ,
1189 .It Va WITHOUT_MLX5TOOL
1193 This is a default setting on
1194 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1195 .It Va WITH_MLX5TOOL
1199 This is a default setting on
1200 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1202 Set to not build programs and libraries
1203 related to NDIS emulation support.
1204 .It Va WITHOUT_NETCAT
1208 .It Va WITHOUT_NETGRAPH
1209 Set to not build applications to support
1211 When set, it enforces these options:
1217 .Va WITHOUT_BLUETOOTH
1220 When set, these options are also in effect:
1223 .It Va WITHOUT_NETGRAPH_SUPPORT
1225 .Va WITH_NETGRAPH_SUPPORT
1228 .It Va WITHOUT_NETGRAPH_SUPPORT
1229 Set to build libraries, programs, and kernel modules without netgraph support.
1233 support and related programs.
1234 If set, you might need to adopt your
1240 Set to not build NLS catalogs.
1241 When set, it enforces these options:
1245 .Va WITHOUT_NLS_CATALOGS
1247 .It Va WITHOUT_NLS_CATALOGS
1248 Set to not build NLS catalog support for
1250 .It Va WITHOUT_NS_CACHING
1251 Set to disable name caching in the
1254 The generic caching daemon,
1256 will not be built either if this option is set.
1260 and related programs.
1262 Set to not build nvme related tools and kernel modules.
1264 This is a default setting on
1265 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1267 Set to build nvme related tools and kernel modules.
1270 This is a default setting on
1271 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1274 .Dq "OpenFabrics Enterprise Distribution"
1275 Infiniband software stack.
1276 .It Va WITH_OFED_EXTRA
1277 Set to build the non-essential components of the
1278 .Dq "OpenFabrics Enterprise Distribution"
1279 Infiniband software stack, mostly examples.
1280 .It Va WITH_OPENLDAP
1281 Enable building openldap support for kerberos.
1282 .It Va WITHOUT_OPENMP
1283 Set to not build LLVM's OpenMP runtime.
1285 This is a default setting on
1286 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1288 Set to build LLVM's OpenMP runtime.
1290 This is a default setting on
1291 amd64/amd64, i386/i386 and powerpc/powerpc64.
1292 .It Va WITHOUT_OPENSSH
1293 Set to not build OpenSSH.
1294 .It Va WITHOUT_OPENSSL
1295 Set to not build OpenSSL.
1296 When set, it enforces these options:
1302 .Va WITHOUT_KERBEROS
1304 .Va WITHOUT_KERBEROS_SUPPORT
1308 .Va WITHOUT_LDNS_UTILS
1312 .Va WITHOUT_PKGBOOTSTRAP
1320 .Va WITHOUT_WIRELESS
1323 When set, these options are also in effect:
1326 .It Va WITHOUT_GSSAPI
1332 Set to not build PAM library and modules.
1334 This option is deprecated and does nothing.
1336 When set, these options are also in effect:
1339 .It Va WITHOUT_PAM_SUPPORT
1341 .Va WITH_PAM_SUPPORT
1344 .It Va WITHOUT_PAM_SUPPORT
1345 Set to build some programs without PAM support, particularly
1350 Set to not build PF firewall package.
1351 When set, it enforces these options:
1358 Build dynamically linked binaries as
1359 Position-Independent Executable (PIE).
1360 .It Va WITHOUT_PKGBOOTSTRAP
1367 and related programs.
1368 .It Va WITHOUT_PORTSNAP
1369 Set to not build or install
1372 When set, it enforces these options:
1376 .Va WITHOUT_FREEBSD_UPDATE
1381 and related programs.
1382 .It Va WITHOUT_PROFILE
1383 Set to not build profiled libraries for use with
1386 This is a default setting on
1389 Set to build profiled libraries for use with
1392 This is a default setting on
1393 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1394 .It Va WITHOUT_QUOTAS
1397 and related programs.
1398 .It Va WITHOUT_RADIUS_SUPPORT
1399 Set to not build radius support into various applications, like
1403 .It Va WITH_RATELIMIT
1404 Set to build the system with rate limit support.
1407 .Dv SO_MAX_PACING_RATE
1415 .It Va WITHOUT_RBOOTD
1416 Set to not build or install
1418 .It Va WITH_REPRODUCIBLE_BUILD
1419 Set to exclude build metadata (such as the build time, user, or host)
1420 from the kernel, boot loaders, and uname output, so that builds produce
1421 bit-for-bit identical output.
1422 .It Va WITHOUT_RESCUE
1425 .It Va WITH_RETPOLINE
1426 Set to build the base system with the retpoline speculative execution
1427 vulnerability mitigation for CVE-2017-5715.
1428 .It Va WITHOUT_ROUTED
1432 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1435 with warmstart support.
1436 .It Va WITHOUT_SENDMAIL
1439 and related programs.
1440 .It Va WITHOUT_SERVICESDB
1442 .Pa /var/db/services.db .
1443 .It Va WITHOUT_SETUID_LOGIN
1444 Set this to disable the installation of
1446 as a set-user-ID root program.
1447 .It Va WITHOUT_SHAREDOCS
1448 Set to not build the
1451 .It Va WITHOUT_SHARED_TOOLCHAIN
1452 Set to build the toolchain binaries as statically linked executables.
1456 and necessary utilities like assembler, linker and library archive manager.
1457 .It Va WITH_SORT_THREADS
1458 Set to enable threads in
1460 .It Va WITHOUT_SOURCELESS
1461 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1462 When set, it enforces these options:
1466 .Va WITHOUT_SOURCELESS_HOST
1468 .Va WITHOUT_SOURCELESS_UCODE
1470 .It Va WITHOUT_SOURCELESS_HOST
1471 Set to not build kernel modules that include sourceless native code for host CPU.
1472 .It Va WITHOUT_SOURCELESS_UCODE
1473 Set to not build kernel modules that include sourceless microcode.
1475 Set to not build world with propolice stack smashing protection.
1477 This is a default setting on
1478 mips/mips and mips/mips64.
1480 Set to build world with propolice stack smashing protection.
1482 This is a default setting on
1483 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1485 Enable staging of files to a stage tree.
1486 This can be best thought of as auto-install to
1488 with some extra meta data to ensure dependencies can be tracked.
1490 .Va WITH_DIRDEPS_BUILD .
1491 When set, these options are also in effect:
1494 .It Va WITH_STAGING_MAN
1496 .Va WITHOUT_STAGING_MAN
1498 .It Va WITH_STAGING_PROG
1500 .Va WITHOUT_STAGING_PROG
1504 This must be set in the environment, make command line, or
1505 .Pa /etc/src-env.conf ,
1508 .It Va WITH_STAGING_MAN
1509 Enable staging of man pages to stage tree.
1510 .It Va WITH_STAGING_PROG
1511 Enable staging of PROGs to stage tree.
1512 .It Va WITH_STALE_STAGED
1513 Check staged files are not stale.
1514 .It Va WITHOUT_STATS
1515 Set to neither build nor install
1517 and dependent binaries.
1523 .It Va WITHOUT_SVNLITE
1526 and related programs.
1527 .It Va WITHOUT_SYSCONS
1530 support files such as keyboard maps, fonts, and screen output maps.
1532 Enable use of sysroot during build.
1534 .Va WITH_DIRDEPS_BUILD .
1536 This must be set in the environment, make command line, or
1537 .Pa /etc/src-env.conf ,
1540 .It Va WITHOUT_SYSTEM_COMPILER
1541 Set to not opportunistically skip building a cross-compiler during the
1542 bootstrap phase of the build.
1543 Normally, if the currently installed compiler matches the planned bootstrap
1544 compiler type and revision, then it will not be built.
1545 This does not prevent a compiler from being built for installation though,
1546 only for building one for the build itself.
1549 option controls that.
1550 .It Va WITHOUT_SYSTEM_LINKER
1551 Set to not opportunistically skip building a cross-linker during the
1552 bootstrap phase of the build.
1553 Normally, if the currently installed linker matches the planned bootstrap
1554 linker type and revision, then it will not be built.
1555 This does not prevent a linker from being built for installation though,
1556 only for building one for the build itself.
1559 option controls that.
1561 This option is only relevant when
1562 .Va WITH_LLD_BOOTSTRAP
1565 Set to not build or install
1569 .It Va WITHOUT_TCP_WRAPPERS
1570 Set to not build or install
1572 and related utilities.
1574 Set to not build and install
1578 .It Va WITHOUT_TELNET
1581 and related programs.
1582 .It Va WITHOUT_TESTS
1583 Set to not build nor install the
1590 This also disables the build of all test-related dependencies, including ATF.
1591 When set, it enforces these options:
1595 .Va WITHOUT_DTRACE_TESTS
1598 When set, these options are also in effect:
1601 .It Va WITHOUT_GOOGLETEST
1605 .It Va WITHOUT_TESTS_SUPPORT
1607 .Va WITH_TESTS_SUPPORT
1610 .It Va WITHOUT_TESTS_SUPPORT
1611 Set to disables the build of all test-related dependencies, including ATF.
1612 When set, it enforces these options:
1616 .Va WITHOUT_GOOGLETEST
1618 .It Va WITHOUT_TEXTPROC
1620 programs used for text processing.
1622 Set to not build or install
1626 .It Va WITHOUT_TOOLCHAIN
1627 Set to not install header or
1628 programs used for program development,
1629 compilers, debuggers etc.
1630 When set, it enforces these options:
1634 .Va WITHOUT_BINUTILS
1638 .Va WITHOUT_CLANG_EXTRAS
1640 .Va WITHOUT_CLANG_FULL
1644 .Va WITHOUT_INCLUDES
1650 .Va WITHOUT_LLVM_COV
1652 .It Va WITHOUT_UNBOUND
1655 and related programs.
1656 .It Va WITHOUT_UNIFIED_OBJDIR
1657 Set to use the historical object directory format for
1660 For native-builds and builds done directly in sub-directories the format of
1661 .Pa ${MAKEOBJDIRPREFIX}/${.CURDIR}
1663 while for cross-builds
1664 .Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR}
1667 This option is transitional and will be removed before the 12.0 release,
1669 .va WITH_UNIFIED_OBJDIR
1670 will be enabled permanently.
1672 This must be set in the environment, make command line, or
1673 .Pa /etc/src-env.conf ,
1677 Set to not build USB-related programs and libraries.
1678 .It Va WITHOUT_USB_GADGET_EXAMPLES
1679 Set to not build USB gadget kernel modules.
1680 .It Va WITHOUT_UTMPX
1681 Set to not build user accounting tools such as
1689 .It Va WITH_VERIEXEC
1692 which loads the contents of verified manifests into the kernel
1699 Set to not build and install vi, view, ex and related programs.
1703 support files (fonts and keymaps).
1704 .It Va WITHOUT_WARNS
1705 Set this to not add warning flags to the compiler invocations.
1706 Useful as a temporary workaround when code enters the tree
1707 which triggers warnings in environments that differ from the
1709 .It Va WITHOUT_WIRELESS
1710 Set to not build programs used for 802.11 wireless networks; especially
1711 .Xr wpa_supplicant 8
1714 When set, these options are also in effect:
1717 .It Va WITHOUT_WIRELESS_SUPPORT
1719 .Va WITH_WIRELESS_SUPPORT
1722 .It Va WITHOUT_WIRELESS_SUPPORT
1723 Set to build libraries, programs, and kernel modules without
1724 802.11 wireless support.
1725 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1727 .Xr wpa_supplicant 8
1728 without support for the IEEE 802.1X protocol and without
1729 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1730 protocols (usable only via 802.1X).
1732 Set to not build ZFS file system kernel module, libraries, and user commands.
1733 .It Va WITHOUT_ZONEINFO
1734 Set to not build the timezone database.
1735 When set, it enforces these options:
1739 .Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
1741 .It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
1742 Set to build leapsecond information in to the timezone database.
1745 .Bl -tag -compact -width Pa
1746 .It Pa /etc/src.conf
1747 .It Pa /etc/src-env.conf
1748 .It Pa /usr/share/mk/bsd.own.mk
1761 This manual page was autogenerated by
1762 .An tools/build/options/makeman .