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 WITHOUT_BINUTILS_BOOTSTRAP
192 Do not build GNU binutils
193 as part of the bootstrap process.
195 This is a default setting on
196 arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
197 .It Va WITH_BINUTILS_BOOTSTRAP
199 as part of the bootstrap process.
201 This is a default setting on
203 .It Va WITHOUT_BLACKLIST
204 Set this if you do not want to build
208 When set, these options are also in effect:
211 .It Va WITHOUT_BLACKLIST_SUPPORT
213 .Va WITH_BLACKLIST_SUPPORT
216 .It Va WITHOUT_BLACKLIST_SUPPORT
217 Set to build some programs without
224 .It Va WITHOUT_BLUETOOTH
225 Set to not build Bluetooth related kernel modules, programs and libraries.
227 Set to not build the boot blocks and loader.
228 .It Va WITHOUT_BOOTPARAMD
229 Set to not build or install
231 .It Va WITHOUT_BOOTPD
232 Set to not build or install
234 .It Va WITHOUT_BSDINSTALL
238 and related programs.
239 .It Va WITHOUT_BSD_CPIO
240 Set to not build the BSD licensed version of cpio based on
243 Install BSD-licensed grep as '[ef]grep' instead of GNU grep.
245 Set to not build or install
247 and related libraries and data files.
249 Set to not build contributed bzip2 software as a part of the base system.
251 The option has no effect yet.
253 When set, these options are also in effect:
256 .It Va WITHOUT_BZIP2_SUPPORT
258 .Va WITH_BZIP2_SUPPORT
261 .It Va WITHOUT_BZIP2_SUPPORT
262 Set to build some programs without optional bzip2 support.
263 .It Va WITHOUT_CALENDAR
266 .It Va WITHOUT_CAPSICUM
267 Set to not build Capsicum support into system programs.
268 When set, it enforces these options:
274 .It Va WITHOUT_CAROOT
275 Set to not add the trusted certificates from the Mozilla NSS bundle to
277 .It Va WITHOUT_CASPER
278 Set to not build Casper program and related libraries.
279 .It Va WITH_CCACHE_BUILD
283 No configuration is required except to install the
289 .Sy CCACHE_PREFIX=/usr/local/bin/distcc .
290 The default cache directory of
292 will be used, which can be overridden by setting
295 .Sy CCACHE_COMPILERCHECK
298 when using the in-tree bootstrap compiler,
301 when using an external compiler.
304 option is used for Clang but not GCC.
306 Sharing a cache between multiple work directories requires using a layout
310 and an environment such as:
311 .Bd -literal -offset indent
312 CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
317 for more configuration options.
321 and related utilities.
323 Set to not build code licensed under Sun's CDDL.
324 When set, it enforces these options:
330 .Va WITHOUT_LOADER_ZFS
335 Set to not build the Clang C/C++ compiler during the regular phase of the build.
336 When set, it enforces these options:
340 .Va WITHOUT_CLANG_EXTRAS
342 .Va WITHOUT_CLANG_FULL
346 .It Va WITHOUT_CLANG_BOOTSTRAP
347 Set to not build the Clang C/C++ compiler during the bootstrap phase of
349 To be able to build the system, either gcc or clang bootstrap must be
350 enabled unless an alternate compiler is provided via XCC.
351 .It Va WITH_CLANG_EXTRAS
352 Set to build additional clang and llvm tools, such as bugpoint and
354 .It Va WITHOUT_CLANG_FULL
355 Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
356 the Clang C/C++ compiler.
357 .It Va WITHOUT_CLANG_IS_CC
358 Do not install links to the Clang C/C++ compiler as
366 .It Va WITHOUT_CROSS_COMPILER
367 Set to not build any cross compiler in the cross-tools stage of buildworld.
368 When compiling a different version of
370 than what is installed on the system, provide an alternate
371 compiler with XCC to ensure success.
372 When compiling with an identical version of
374 to the host, this option may be safely used.
375 This option may also be safe when the host version of
377 is close to the sources being built, but all bets are off if there have
378 been any changes to the toolchain between the versions.
379 When set, it enforces these options:
383 .Va WITHOUT_BINUTILS_BOOTSTRAP
385 .Va WITHOUT_CLANG_BOOTSTRAP
387 .Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
389 .Va WITHOUT_LLD_BOOTSTRAP
392 Set to not build any crypto code.
393 When set, it enforces these options:
401 .Va WITHOUT_KERBEROS_SUPPORT
405 .Va WITHOUT_LDNS_UTILS
411 .Va WITHOUT_PKGBOOTSTRAP
422 When set, these options are also in effect:
425 .It Va WITHOUT_GSSAPI
431 Set to compile with CTF (Compact C Type Format) data.
432 CTF data encapsulates a reduced form of debugging information
433 similar to DWARF and the venerable stabs and is required for DTrace.
435 Set to not build CUSE-related programs and libraries.
436 .It Va WITHOUT_CXGBETOOL
440 This is a default setting on
441 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
442 .It Va WITH_CXGBETOOL
446 This is a default setting on
447 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
451 and related libraries.
452 It will also prevent building of
456 When set, it enforces these options:
462 .Va WITHOUT_CLANG_EXTRAS
464 .Va WITHOUT_CLANG_FULL
466 .Va WITHOUT_DTRACE_TESTS
468 .Va WITHOUT_GOOGLETEST
474 .It Va WITHOUT_DEBUG_FILES
475 Set to avoid building or installing standalone debug files for each
476 executable binary and shared library.
477 .It Va WITHOUT_DIALOG
484 When set, it enforces these options:
488 .Va WITHOUT_BSDINSTALL
491 Set to not build the Webster dictionary files.
492 .It Va WITH_DIRDEPS_BUILD
493 This is an experimental build system.
495 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
496 Build commands can be seen from the top-level with:
497 .Dl make show-valid-targets
498 The build is driven by dirdeps.mk using
501 Makefile.depend files found in each directory.
503 The build can be started from anywhere, and behaves the same.
504 The initial instance of
509 .Pa Makefile.depend ,
510 computing a graph of tree dependencies from the current origin.
513 skips checking dirdep dependencies and will only build in the current
514 and child directories.
516 skips building any dirdeps and only build the current directory.
518 This also utilizes the
520 logic for incremental builds.
522 The build hides commands executed unless
526 Note that there is currently no mass install feature for this.
528 When set, it enforces these options:
532 .Va WITH_INSTALL_AS_USER
535 When set, these options are also in effect:
538 .It Va WITH_META_MODE
540 .Va WITHOUT_META_MODE
546 .It Va WITH_STAGING_MAN
548 .Va WITHOUT_STAGING_MAN
550 .It Va WITH_STAGING_PROG
552 .Va WITHOUT_STAGING_PROG
560 This must be set in the environment, make command line, or
561 .Pa /etc/src-env.conf ,
564 .It Va WITH_DIRDEPS_CACHE
565 Cache result of dirdeps.mk which can save significant time
566 for subsequent builds.
568 .Va WITH_DIRDEPS_BUILD .
570 This must be set in the environment, make command line, or
571 .Pa /etc/src-env.conf ,
574 .It Va WITHOUT_DMAGENT
575 Set to not build dma Mail Transport Agent.
576 .It Va WITHOUT_DOCCOMPRESS
577 Set to not install compressed system documentation.
578 Only the uncompressed version will be installed.
579 .It Va WITH_DTRACE_TESTS
580 Set to build and install the DTrace test suite in
581 .Pa /usr/tests/cddl/usr.sbin/dtrace .
582 This test suite is considered experimental on architectures other than
583 amd64/amd64 and running it may cause system instability.
584 .It Va WITHOUT_DYNAMICROOT
585 Set this if you do not want to link
591 Set to not build and install
594 and related programs.
601 This is a default setting on
602 mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
609 This is a default setting on
610 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
611 .It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
612 Set to not build ELF Tool Chain tools
613 (addr2line, nm, size, strings and strip)
614 as part of the bootstrap process.
616 An alternate bootstrap tool chain must be provided.
618 .It Va WITHOUT_EXAMPLES
619 Set to avoid installing examples to
620 .Pa /usr/share/examples/ .
621 .It Va WITH_EXPERIMENTAL
622 Set to include experimental features in the build.
623 .It Va WITH_EXTRA_TCP_STACKS
624 Set to build extra TCP stack modules.
626 Set to not build Flattened Device Tree support as part of the base system.
627 This includes the device tree compiler (dtc) and libfdt support library.
631 and related programs.
632 When set, it enforces these options:
638 .It Va WITHOUT_FINGER
639 Set to not build or install
643 .It Va WITHOUT_FLOPPY
644 Set to not build or install programs
645 for operating floppy disk driver.
646 .It Va WITHOUT_FMTREE
647 Set to not build and install
648 .Pa /usr/sbin/fmtree .
649 .It Va WITHOUT_FORMAT_EXTENSIONS
651 .Fl fformat-extensions
652 when compiling the kernel.
653 Also disables all format checking.
655 Set to build bootloaders without Forth support.
656 .It Va WITHOUT_FP_LIBC
659 without floating-point support.
660 .It Va WITHOUT_FREEBSD_UPDATE
662 .Xr freebsd-update 8 .
664 Set to not build or install
669 Set to not build games.
674 This is a default setting on
675 arm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
680 This is a default setting on
681 amd64/amd64, arm/armv6, arm/armv7, i386/i386, mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
682 .It Va WITHOUT_GNU_DIFF
685 .It Va WITHOUT_GNU_GREP
688 .It Va WITH_GNU_GREP_COMPAT
689 Set this option to include GNU extensions in
691 by linking against libgnuregex.
692 .It Va WITHOUT_GOOGLETEST
693 Set to neither build nor install
698 This is a default setting on
699 mips/mips and mips/mips64.
700 .It Va WITH_GOOGLETEST
701 Set to build and install
706 This is a default setting on
707 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
711 as part of the base system.
712 .It Va WITHOUT_GSSAPI
713 Set to not build libgssapi.
717 and related utilities.
719 Set to build Hesiod support.
721 Set to not build HTML docs.
722 .It Va WITHOUT_HYPERV
723 Set to not build or install HyperV utilities.
725 This is a default setting on
726 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
728 Set to build or install HyperV utilities.
730 This is a default setting on
731 amd64/amd64 and i386/i386.
733 Set to not build iconv as part of libc.
734 .It Va WITHOUT_INCLUDES
735 Set to not install header files.
736 This option used to be spelled
739 The option does not work for build targets.
742 Set to not build programs and libraries related to IPv4 networking.
743 When set, it enforces these options:
747 .Va WITHOUT_INET_SUPPORT
751 programs and libraries related to IPv6 networking.
752 When set, it enforces these options:
756 .Va WITHOUT_INET6_SUPPORT
758 .It Va WITHOUT_INET6_SUPPORT
759 Set to build libraries, programs, and kernel modules without IPv6 support.
763 .It Va WITHOUT_INET_SUPPORT
764 Set to build libraries, programs, and kernel modules without IPv4 support.
765 .It Va WITHOUT_INSTALLLIB
766 Set this to not install optional libraries.
767 For example, when creating a
771 The option does not work for build targets.
773 .It Va WITH_INSTALL_AS_USER
774 Set to make install targets succeed for non-root users by installing
775 files with owner and group attributes set to that of the user running
779 The user still must set the
781 variable to point to a directory where the user has write permissions.
782 .It Va WITHOUT_IPFILTER
783 Set to not build IP Filter package.
785 Set to not build IPFW tools.
786 .It Va WITHOUT_IPSEC_SUPPORT
787 Set to not build the kernel with
790 This option is needed for
797 and related utilities.
799 Set to not build tools for the support of jails; e.g.,
806 .It Va WITHOUT_KERBEROS
807 Set this to not build Kerberos 5 (KTH Heimdal).
808 When set, these options are also in effect:
811 .It Va WITHOUT_GSSAPI
815 .It Va WITHOUT_KERBEROS_SUPPORT
817 .Va WITH_KERBEROS_SUPPORT
820 .It Va WITHOUT_KERBEROS_SUPPORT
821 Set to build some programs without Kerberos support, like
827 .It Va WITH_KERNEL_RETPOLINE
828 Set to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel
830 .It Va WITHOUT_KERNEL_SYMBOLS
831 Set to not install kernel symbol files.
833 This option is recommended for those people who have small root partitions.
838 library as a part of the base system.
840 The option has no effect yet.
842 When set, these options are also in effect:
845 .It Va WITHOUT_KVM_SUPPORT
850 .It Va WITHOUT_KVM_SUPPORT
851 Set to build some programs without optional
855 Setting this variable will prevent the LDNS library from being built.
856 When set, it enforces these options:
860 .Va WITHOUT_LDNS_UTILS
864 .It Va WITHOUT_LDNS_UTILS
865 Setting this variable will prevent building the LDNS utilities
869 .It Va WITHOUT_LEGACY_CONSOLE
870 Set to not build programs that support a legacy PC console; e.g.,
875 On 64-bit platforms, set to not build 32-bit library set and a
879 This is a default setting on
880 arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
881 .It Va WITHOUT_LIBCPLUSPLUS
882 Set to avoid building libcxxrt and libc++.
883 .It Va WITHOUT_LIBPTHREAD
888 When set, it enforces these options:
895 On armv6 only, set to enable soft float ABI compatibility libraries.
896 This option is for transitioning to the new hard float ABI.
897 .It Va WITHOUT_LIBTHR
903 Set to not build LLVM's lld linker.
905 Set to not build the LLDB debugger.
907 This is a default setting on
908 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
910 Set to build the LLDB debugger.
912 This is a default setting on
913 amd64/amd64, arm64/aarch64 and i386/i386.
914 .It Va WITHOUT_LLD_BOOTSTRAP
915 Set to not build the LLD linker during the bootstrap phase of
917 To be able to build the system, either Binutils or LLD bootstrap must be
918 enabled unless an alternate linker is provided via XLD.
919 .It Va WITHOUT_LLD_IS_LD
920 Set to use GNU binutils ld as the system linker, instead of LLVM's LLD.
921 .It Va WITHOUT_LLVM_ASSERTIONS
922 Set to disable debugging assertions in LLVM.
923 .It Va WITHOUT_LLVM_COV
927 .It Va WITHOUT_LLVM_TARGET_AARCH64
928 Set to not build LLVM target support for AArch64.
931 option should be used rather than this in most cases.
932 .It Va WITHOUT_LLVM_TARGET_ALL
933 Set to only build the required LLVM target support.
934 This option is preferred to specific target support options.
935 When set, these options are also in effect:
938 .It Va WITHOUT_LLVM_TARGET_AARCH64
940 .Va WITH_LLVM_TARGET_AARCH64
942 .It Va WITHOUT_LLVM_TARGET_ARM
944 .Va WITH_LLVM_TARGET_ARM
946 .It Va WITHOUT_LLVM_TARGET_MIPS
948 .Va WITH_LLVM_TARGET_MIPS
950 .It Va WITHOUT_LLVM_TARGET_POWERPC
952 .Va WITH_LLVM_TARGET_POWERPC
954 .It Va WITHOUT_LLVM_TARGET_RISCV
956 .Va WITH_LLVM_TARGET_RISCV
959 .It Va WITHOUT_LLVM_TARGET_ARM
960 Set to not build LLVM target support for ARM.
963 option should be used rather than this in most cases.
964 .It Va WITH_LLVM_TARGET_BPF
965 Set to build LLVM target support for BPF.
968 option should be used rather than this in most cases.
969 .It Va WITHOUT_LLVM_TARGET_MIPS
970 Set to not build LLVM target support for MIPS.
973 option should be used rather than this in most cases.
974 .It Va WITHOUT_LLVM_TARGET_POWERPC
975 Set to not build LLVM target support for PowerPC.
978 option should be used rather than this in most cases.
979 .It Va WITHOUT_LLVM_TARGET_RISCV
980 Set to not build LLVM target support for RISC-V.
983 option should be used rather than this in most cases.
984 .It Va WITHOUT_LLVM_TARGET_X86
985 Set to not build LLVM target support for X86.
988 option should be used rather than this in most cases.
989 .It Va WITH_LOADER_EFI_SECUREBOOT
992 with support for verification based on certificates obtained from UEFI.
994 .It Va WITH_LOADER_FIREWIRE
995 Enable firewire support in /boot/loader on x86. This option is a nop
996 on all other platforms.
997 .It Va WITH_LOADER_FORCE_LE
998 Set to force the powerpc boot loader to launch the kernel in little
1000 .It Va WITHOUT_LOADER_GELI
1001 Disable inclusion of GELI crypto support in the boot chain binaries.
1003 This is a default setting on
1004 powerpc/powerpc and powerpc/powerpc64.
1005 .It Va WITH_LOADER_GELI
1006 Set to build GELI bootloader support.
1008 This is a default setting on
1009 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1010 .It Va WITHOUT_LOADER_LUA
1011 Set to not build LUA bindings for the boot loader.
1013 This is a default setting on
1014 powerpc/powerpc and powerpc/powerpc64.
1015 .It Va WITH_LOADER_LUA
1016 Set to build LUA bindings for the boot loader.
1018 This is a default setting on
1019 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1020 .It Va WITHOUT_LOADER_OFW
1021 Disable building of openfirmware bootloader components.
1023 This is a default setting on
1024 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1025 .It Va WITH_LOADER_OFW
1026 Set to build openfirmware bootloader components.
1028 This is a default setting on
1029 powerpc/powerpc and powerpc/powerpc64.
1030 .It Va WITHOUT_LOADER_UBOOT
1031 Disable building of ubldr.
1033 This is a default setting on
1034 amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
1035 .It Va WITH_LOADER_UBOOT
1038 This is a default setting on
1039 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
1040 .It Va WITH_LOADER_VERBOSE
1041 Set to build with extra verbose debugging in the loader.
1042 May explode already nearly too large loader over the limit.
1045 .It Va WITH_LOADER_VERIEXEC
1048 with support for verification similar to Verified Exec.
1052 When set, these options are also in effect:
1055 .It Va WITH_LOADER_EFI_SECUREBOOT
1057 .Va WITHOUT_LOADER_EFI_SECUREBOOT
1059 .It Va WITH_LOADER_VERIEXEC_VECTX
1061 .Va WITHOUT_LOADER_VERIEXEC_VECTX
1064 .It Va WITH_LOADER_VERIEXEC_PASS_MANIFEST
1067 with support to pass a verified manifest to the kernel.
1068 The kernel has to be built with a module to parse the manifest.
1071 .Va WITH_LOADER_VERIEXEC .
1072 .It Va WITHOUT_LOADER_ZFS
1073 Set to not build ZFS file system boot loader support.
1074 .It Va WITHOUT_LOCALES
1075 Set to not build localization files; see
1077 .It Va WITHOUT_LOCATE
1080 and related programs.
1084 and related programs.
1085 .It Va WITHOUT_LS_COLORS
1088 without support for colors to distinguish file types.
1089 .It Va WITHOUT_LZMA_SUPPORT
1090 Set to build some programs without optional lzma compression support.
1092 Set to not build any mail support (MUA or MTA).
1093 When set, it enforces these options:
1099 .Va WITHOUT_MAILWRAPPER
1101 .Va WITHOUT_SENDMAIL
1103 .It Va WITHOUT_MAILWRAPPER
1104 Set to not build the
1110 and related support files.
1111 .It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
1114 in limited sandbox mode.
1115 This option should be paired with
1116 .Va WITH_INSTALL_AS_USER
1117 if executed as an unprivileged user.
1122 Set to not build manual pages.
1123 When set, these options are also in effect:
1126 .It Va WITHOUT_MAN_UTILS
1131 .It Va WITHOUT_MANCOMPRESS
1132 Set to not to install compressed man pages.
1133 Only the uncompressed versions will be installed.
1134 .It Va WITHOUT_MAN_UTILS
1135 Set to not build utilities for manual pages,
1141 and related support files.
1142 .It Va WITH_META_MODE
1145 meta files when building, which can provide a reliable incremental build when
1148 The meta file is created in OBJDIR as
1150 These meta files track the command that was executed, its output, and the
1154 module is required unless
1157 When the module is loaded, any files used by the commands executed are
1158 tracked as dependencies for the target in its meta file.
1159 The target is considered out-of-date and rebuilt if any of these
1160 conditions are true compared to the last build:
1161 .Bl -bullet -compact
1163 The command to execute changes.
1165 The current working directory changes.
1167 The target's meta file is missing.
1169 The target's meta file is missing filemon data when filemon is loaded
1170 and a previous run did not have it loaded.
1174 Files read, executed or linked to are newer than the target.
1178 Files read, written, executed or linked are missing.
1180 The meta files can also be useful for debugging.
1182 The build hides commands that are executed unless
1187 to show some of its environment for further debugging.
1189 The build operates as it normally would otherwise.
1190 This option originally invoked a different build system but that was renamed
1192 .Va WITH_DIRDEPS_BUILD .
1194 This must be set in the environment, make command line, or
1195 .Pa /etc/src-env.conf ,
1198 .It Va WITHOUT_MLX5TOOL
1202 This is a default setting on
1203 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1204 .It Va WITH_MLX5TOOL
1208 This is a default setting on
1209 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1211 Set to not build programs and libraries
1212 related to NDIS emulation support.
1213 .It Va WITHOUT_NETCAT
1217 .It Va WITHOUT_NETGRAPH
1218 Set to not build applications to support
1220 When set, it enforces these options:
1226 .Va WITHOUT_BLUETOOTH
1229 When set, these options are also in effect:
1232 .It Va WITHOUT_NETGRAPH_SUPPORT
1234 .Va WITH_NETGRAPH_SUPPORT
1237 .It Va WITHOUT_NETGRAPH_SUPPORT
1238 Set to build libraries, programs, and kernel modules without netgraph support.
1242 support and related programs.
1243 If set, you might need to adopt your
1249 Set to not build NLS catalogs.
1250 When set, it enforces these options:
1254 .Va WITHOUT_NLS_CATALOGS
1256 .It Va WITHOUT_NLS_CATALOGS
1257 Set to not build NLS catalog support for
1259 .It Va WITHOUT_NS_CACHING
1260 Set to disable name caching in the
1263 The generic caching daemon,
1265 will not be built either if this option is set.
1269 and related programs.
1271 Set to not build nvme related tools and kernel modules.
1273 This is a default setting on
1274 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1276 Set to build nvme related tools and kernel modules.
1279 This is a default setting on
1280 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1283 .Dq "OpenFabrics Enterprise Distribution"
1284 Infiniband software stack.
1285 .It Va WITH_OFED_EXTRA
1286 Set to build the non-essential components of the
1287 .Dq "OpenFabrics Enterprise Distribution"
1288 Infiniband software stack, mostly examples.
1289 .It Va WITH_OPENLDAP
1290 Enable building openldap support for kerberos.
1291 .It Va WITHOUT_OPENMP
1292 Set to not build LLVM's OpenMP runtime.
1294 This is a default setting on
1295 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1297 Set to build LLVM's OpenMP runtime.
1299 This is a default setting on
1300 amd64/amd64, i386/i386 and powerpc/powerpc64.
1301 .It Va WITHOUT_OPENSSH
1302 Set to not build OpenSSH.
1303 .It Va WITHOUT_OPENSSL
1304 Set to not build OpenSSL.
1305 When set, it enforces these options:
1311 .Va WITHOUT_KERBEROS
1313 .Va WITHOUT_KERBEROS_SUPPORT
1317 .Va WITHOUT_LDNS_UTILS
1321 .Va WITHOUT_PKGBOOTSTRAP
1329 .Va WITHOUT_WIRELESS
1332 When set, these options are also in effect:
1335 .It Va WITHOUT_GSSAPI
1341 Set to not build PAM library and modules.
1343 This option is deprecated and does nothing.
1345 When set, these options are also in effect:
1348 .It Va WITHOUT_PAM_SUPPORT
1350 .Va WITH_PAM_SUPPORT
1353 .It Va WITHOUT_PAM_SUPPORT
1354 Set to build some programs without PAM support, particularly
1359 Set to not build PF firewall package.
1360 When set, it enforces these options:
1367 Build dynamically linked binaries as
1368 Position-Independent Executable (PIE).
1369 .It Va WITHOUT_PKGBOOTSTRAP
1376 and related programs.
1377 .It Va WITHOUT_PORTSNAP
1378 Set to not build or install
1381 When set, it enforces these options:
1385 .Va WITHOUT_FREEBSD_UPDATE
1390 and related programs.
1391 .It Va WITHOUT_PROFILE
1392 Set to not build profiled libraries for use with
1395 This is a default setting on
1398 Set to build profiled libraries for use with
1401 This is a default setting on
1402 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1403 .It Va WITHOUT_QUOTAS
1406 and related programs.
1407 .It Va WITHOUT_RADIUS_SUPPORT
1408 Set to not build radius support into various applications, like
1412 .It Va WITH_RATELIMIT
1413 Set to build the system with rate limit support.
1416 .Dv SO_MAX_PACING_RATE
1424 .It Va WITHOUT_RBOOTD
1425 Set to not build or install
1427 .It Va WITH_REPRODUCIBLE_BUILD
1428 Set to exclude build metadata (such as the build time, user, or host)
1429 from the kernel, boot loaders, and uname output, so that builds produce
1430 bit-for-bit identical output.
1431 .It Va WITHOUT_RESCUE
1434 .It Va WITH_RETPOLINE
1435 Set to build the base system with the retpoline speculative execution
1436 vulnerability mitigation for CVE-2017-5715.
1437 .It Va WITHOUT_ROUTED
1441 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1444 with warmstart support.
1445 .It Va WITHOUT_SENDMAIL
1448 and related programs.
1449 .It Va WITHOUT_SERVICESDB
1451 .Pa /var/db/services.db .
1452 .It Va WITHOUT_SETUID_LOGIN
1453 Set this to disable the installation of
1455 as a set-user-ID root program.
1456 .It Va WITHOUT_SHAREDOCS
1457 Set to not build the
1460 .It Va WITHOUT_SHARED_TOOLCHAIN
1461 Set to build the toolchain binaries as statically linked executables.
1465 and necessary utilities like assembler, linker and library archive manager.
1466 .It Va WITH_SORT_THREADS
1467 Set to enable threads in
1469 .It Va WITHOUT_SOURCELESS
1470 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1471 When set, it enforces these options:
1475 .Va WITHOUT_SOURCELESS_HOST
1477 .Va WITHOUT_SOURCELESS_UCODE
1479 .It Va WITHOUT_SOURCELESS_HOST
1480 Set to not build kernel modules that include sourceless native code for host CPU.
1481 .It Va WITHOUT_SOURCELESS_UCODE
1482 Set to not build kernel modules that include sourceless microcode.
1484 Set to not build world with propolice stack smashing protection.
1486 This is a default setting on
1487 mips/mips and mips/mips64.
1489 Set to build world with propolice stack smashing protection.
1491 This is a default setting on
1492 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1494 Enable staging of files to a stage tree.
1495 This can be best thought of as auto-install to
1497 with some extra meta data to ensure dependencies can be tracked.
1499 .Va WITH_DIRDEPS_BUILD .
1500 When set, these options are also in effect:
1503 .It Va WITH_STAGING_MAN
1505 .Va WITHOUT_STAGING_MAN
1507 .It Va WITH_STAGING_PROG
1509 .Va WITHOUT_STAGING_PROG
1513 This must be set in the environment, make command line, or
1514 .Pa /etc/src-env.conf ,
1517 .It Va WITH_STAGING_MAN
1518 Enable staging of man pages to stage tree.
1519 .It Va WITH_STAGING_PROG
1520 Enable staging of PROGs to stage tree.
1521 .It Va WITH_STALE_STAGED
1522 Check staged files are not stale.
1523 .It Va WITHOUT_STATS
1524 Set to neither build nor install
1526 and dependent binaries.
1532 .It Va WITHOUT_SVNLITE
1535 and related programs.
1536 .It Va WITHOUT_SYSCONS
1539 support files such as keyboard maps, fonts, and screen output maps.
1541 Enable use of sysroot during build.
1543 .Va WITH_DIRDEPS_BUILD .
1545 This must be set in the environment, make command line, or
1546 .Pa /etc/src-env.conf ,
1549 .It Va WITHOUT_SYSTEM_COMPILER
1550 Set to not opportunistically skip building a cross-compiler during the
1551 bootstrap phase of the build.
1552 Normally, if the currently installed compiler matches the planned bootstrap
1553 compiler type and revision, then it will not be built.
1554 This does not prevent a compiler from being built for installation though,
1555 only for building one for the build itself.
1558 option controls that.
1559 .It Va WITHOUT_SYSTEM_LINKER
1560 Set to not opportunistically skip building a cross-linker during the
1561 bootstrap phase of the build.
1562 Normally, if the currently installed linker matches the planned bootstrap
1563 linker type and revision, then it will not be built.
1564 This does not prevent a linker from being built for installation though,
1565 only for building one for the build itself.
1569 .Va WITHOUT_BINUTILS
1570 options control those.
1572 This option is only relevant when
1573 .Va WITH_LLD_BOOTSTRAP
1576 Set to not build or install
1580 .It Va WITHOUT_TCP_WRAPPERS
1581 Set to not build or install
1583 and related utilities.
1585 Set to not build and install
1589 .It Va WITHOUT_TELNET
1592 and related programs.
1593 .It Va WITHOUT_TESTS
1594 Set to not build nor install the
1601 This also disables the build of all test-related dependencies, including ATF.
1602 When set, it enforces these options:
1606 .Va WITHOUT_DTRACE_TESTS
1609 When set, these options are also in effect:
1612 .It Va WITHOUT_GOOGLETEST
1616 .It Va WITHOUT_TESTS_SUPPORT
1618 .Va WITH_TESTS_SUPPORT
1621 .It Va WITHOUT_TESTS_SUPPORT
1622 Set to disables the build of all test-related dependencies, including ATF.
1623 When set, it enforces these options:
1627 .Va WITHOUT_GOOGLETEST
1629 .It Va WITHOUT_TEXTPROC
1631 programs used for text processing.
1633 Set to not build or install
1637 .It Va WITHOUT_TOOLCHAIN
1638 Set to not install header or
1639 programs used for program development,
1640 compilers, debuggers etc.
1641 When set, it enforces these options:
1645 .Va WITHOUT_BINUTILS
1649 .Va WITHOUT_CLANG_EXTRAS
1651 .Va WITHOUT_CLANG_FULL
1655 .Va WITHOUT_INCLUDES
1661 .Va WITHOUT_LLVM_COV
1663 .It Va WITHOUT_UNBOUND
1666 and related programs.
1667 .It Va WITHOUT_UNIFIED_OBJDIR
1668 Set to use the historical object directory format for
1671 For native-builds and builds done directly in sub-directories the format of
1672 .Pa ${MAKEOBJDIRPREFIX}/${.CURDIR}
1674 while for cross-builds
1675 .Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR}
1678 This option is transitional and will be removed before the 12.0 release,
1680 .va WITH_UNIFIED_OBJDIR
1681 will be enabled permanently.
1683 This must be set in the environment, make command line, or
1684 .Pa /etc/src-env.conf ,
1688 Set to not build USB-related programs and libraries.
1689 .It Va WITHOUT_USB_GADGET_EXAMPLES
1690 Set to not build USB gadget kernel modules.
1691 .It Va WITHOUT_UTMPX
1692 Set to not build user accounting tools such as
1700 .It Va WITH_VERIEXEC
1703 which loads the contents of verified manifests into the kernel
1710 Set to not build and install vi, view, ex and related programs.
1714 support files (fonts and keymaps).
1715 .It Va WITHOUT_WARNS
1716 Set this to not add warning flags to the compiler invocations.
1717 Useful as a temporary workaround when code enters the tree
1718 which triggers warnings in environments that differ from the
1720 .It Va WITHOUT_WIRELESS
1721 Set to not build programs used for 802.11 wireless networks; especially
1722 .Xr wpa_supplicant 8
1725 When set, these options are also in effect:
1728 .It Va WITHOUT_WIRELESS_SUPPORT
1730 .Va WITH_WIRELESS_SUPPORT
1733 .It Va WITHOUT_WIRELESS_SUPPORT
1734 Set to build libraries, programs, and kernel modules without
1735 802.11 wireless support.
1736 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1738 .Xr wpa_supplicant 8
1739 without support for the IEEE 802.1X protocol and without
1740 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1741 protocols (usable only via 802.1X).
1743 Set to not build ZFS file system kernel module, libraries, and user commands.
1744 .It Va WITHOUT_ZONEINFO
1745 Set to not build the timezone database.
1746 When set, it enforces these options:
1750 .Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
1752 .It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
1753 Set to build leapsecond information in to the timezone database.
1756 .Bl -tag -compact -width Pa
1757 .It Pa /etc/src.conf
1758 .It Pa /etc/src-env.conf
1759 .It Pa /usr/share/mk/bsd.own.mk
1772 This manual page was autogenerated by
1773 .An tools/build/options/makeman .