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.
174 Build all binaries with the
176 flag set to indicate that the run-time loader should perform all relocation
177 processing at process startup rather than on demand.
178 .It Va WITHOUT_BINUTILS
179 Do not build or install GNU
183 of the normal system build.
185 This is a default setting on
186 arm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
188 Build and install GNU
193 as part of the normal system build.
195 This is a default setting on
196 amd64/amd64, arm/armv6, arm/armv7, i386/i386, mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
197 .It Va WITHOUT_BINUTILS_BOOTSTRAP
198 Do not build GNU binutils
199 as part of the bootstrap process.
201 This is a default setting on
202 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
203 .It Va WITH_BINUTILS_BOOTSTRAP
205 as part of the bootstrap process.
207 This is a default setting on
208 amd64/amd64 and i386/i386.
209 .It Va WITHOUT_BLACKLIST
210 Set this if you do not want to build
214 When set, these options are also in effect:
217 .It Va WITHOUT_BLACKLIST_SUPPORT
219 .Va WITH_BLACKLIST_SUPPORT
222 .It Va WITHOUT_BLACKLIST_SUPPORT
223 Set to build some programs without
230 .It Va WITHOUT_BLUETOOTH
231 Set to not build Bluetooth related kernel modules, programs and libraries.
233 Set to not build the boot blocks and loader.
234 .It Va WITHOUT_BOOTPARAMD
235 Set to not build or install
237 .It Va WITHOUT_BOOTPD
238 Set to not build or install
240 .It Va WITHOUT_BSDINSTALL
244 and related programs.
245 .It Va WITHOUT_BSD_CPIO
246 Set to not build the BSD licensed version of cpio based on
249 Install BSD-licensed grep as '[ef]grep' instead of GNU grep.
251 Set to not build or install
253 and related libraries and data files.
255 Set to not build contributed bzip2 software as a part of the base system.
257 The option has no effect yet.
259 When set, these options are also in effect:
262 .It Va WITHOUT_BZIP2_SUPPORT
264 .Va WITH_BZIP2_SUPPORT
267 .It Va WITHOUT_BZIP2_SUPPORT
268 Set to build some programs without optional bzip2 support.
269 .It Va WITHOUT_CALENDAR
272 .It Va WITHOUT_CAPSICUM
273 Set to not build Capsicum support into system programs.
274 When set, it enforces these options:
280 .It Va WITHOUT_CAROOT
281 Set to not add the trusted certificates from the Mozilla NSS bundle to
283 .It Va WITHOUT_CASPER
284 Set to not build Casper program and related libraries.
285 .It Va WITH_CCACHE_BUILD
289 No configuration is required except to install the
295 .Sy CCACHE_PREFIX=/usr/local/bin/distcc .
296 The default cache directory of
298 will be used, which can be overridden by setting
301 .Sy CCACHE_COMPILERCHECK
304 when using the in-tree bootstrap compiler,
307 when using an external compiler.
310 option is used for Clang but not GCC.
312 Sharing a cache between multiple work directories requires using a layout
316 and an environment such as:
317 .Bd -literal -offset indent
318 CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
323 for more configuration options.
327 and related utilities.
329 Set to not build code licensed under Sun's CDDL.
330 When set, it enforces these options:
336 .Va WITHOUT_LOADER_ZFS
341 Set to not build the Clang C/C++ compiler during the regular phase of the build.
342 When set, it enforces these options:
346 .Va WITHOUT_CLANG_EXTRAS
348 .Va WITHOUT_CLANG_FULL
352 .It Va WITHOUT_CLANG_BOOTSTRAP
353 Set to not build the Clang C/C++ compiler during the bootstrap phase of
355 To be able to build the system, either gcc or clang bootstrap must be
356 enabled unless an alternate compiler is provided via XCC.
357 .It Va WITH_CLANG_EXTRAS
358 Set to build additional clang and llvm tools, such as bugpoint and
360 .It Va WITHOUT_CLANG_FULL
361 Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
362 the Clang C/C++ compiler.
363 .It Va WITHOUT_CLANG_IS_CC
364 Do not install links to the Clang C/C++ compiler as
372 .It Va WITHOUT_CROSS_COMPILER
373 Set to not build any cross compiler in the cross-tools stage of buildworld.
374 When compiling a different version of
376 than what is installed on the system, provide an alternate
377 compiler with XCC to ensure success.
378 When compiling with an identical version of
380 to the host, this option may be safely used.
381 This option may also be safe when the host version of
383 is close to the sources being built, but all bets are off if there have
384 been any changes to the toolchain between the versions.
385 When set, it enforces these options:
389 .Va WITHOUT_BINUTILS_BOOTSTRAP
391 .Va WITHOUT_CLANG_BOOTSTRAP
393 .Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
395 .Va WITHOUT_LLD_BOOTSTRAP
398 Set to not build any crypto code.
399 When set, it enforces these options:
407 .Va WITHOUT_KERBEROS_SUPPORT
411 .Va WITHOUT_LDNS_UTILS
417 .Va WITHOUT_PKGBOOTSTRAP
428 When set, these options are also in effect:
431 .It Va WITHOUT_GSSAPI
437 Set to compile with CTF (Compact C Type Format) data.
438 CTF data encapsulates a reduced form of debugging information
439 similar to DWARF and the venerable stabs and is required for DTrace.
441 Set to not build CUSE-related programs and libraries.
442 .It Va WITHOUT_CXGBETOOL
446 This is a default setting on
447 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
448 .It Va WITH_CXGBETOOL
452 This is a default setting on
453 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
457 and related libraries.
458 It will also prevent building of
462 When set, it enforces these options:
468 .Va WITHOUT_CLANG_EXTRAS
470 .Va WITHOUT_CLANG_FULL
472 .Va WITHOUT_DTRACE_TESTS
474 .Va WITHOUT_GOOGLETEST
480 .It Va WITHOUT_DEBUG_FILES
481 Set to avoid building or installing standalone debug files for each
482 executable binary and shared library.
483 .It Va WITHOUT_DIALOG
490 When set, it enforces these options:
494 .Va WITHOUT_BSDINSTALL
497 Set to not build the Webster dictionary files.
498 .It Va WITH_DIRDEPS_BUILD
499 This is an experimental build system.
501 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
502 Build commands can be seen from the top-level with:
503 .Dl make show-valid-targets
504 The build is driven by dirdeps.mk using
507 Makefile.depend files found in each directory.
509 The build can be started from anywhere, and behaves the same.
510 The initial instance of
515 .Pa Makefile.depend ,
516 computing a graph of tree dependencies from the current origin.
519 skips checking dirdep dependencies and will only build in the current
520 and child directories.
522 skips building any dirdeps and only build the current directory.
524 This also utilizes the
526 logic for incremental builds.
528 The build hides commands executed unless
532 Note that there is currently no mass install feature for this.
534 When set, it enforces these options:
538 .Va WITH_INSTALL_AS_USER
541 When set, these options are also in effect:
544 .It Va WITH_META_MODE
546 .Va WITHOUT_META_MODE
552 .It Va WITH_STAGING_MAN
554 .Va WITHOUT_STAGING_MAN
556 .It Va WITH_STAGING_PROG
558 .Va WITHOUT_STAGING_PROG
566 This must be set in the environment, make command line, or
567 .Pa /etc/src-env.conf ,
570 .It Va WITH_DIRDEPS_CACHE
571 Cache result of dirdeps.mk which can save significant time
572 for subsequent builds.
574 .Va WITH_DIRDEPS_BUILD .
576 This must be set in the environment, make command line, or
577 .Pa /etc/src-env.conf ,
580 .It Va WITHOUT_DMAGENT
581 Set to not build dma Mail Transport Agent.
582 .It Va WITHOUT_DOCCOMPRESS
583 Set to not install compressed system documentation.
584 Only the uncompressed version will be installed.
585 .It Va WITH_DTRACE_TESTS
586 Set to build and install the DTrace test suite in
587 .Pa /usr/tests/cddl/usr.sbin/dtrace .
588 This test suite is considered experimental on architectures other than
589 amd64/amd64 and running it may cause system instability.
590 .It Va WITHOUT_DYNAMICROOT
591 Set this if you do not want to link
597 Set to not build and install
600 and related programs.
607 This is a default setting on
608 mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
615 This is a default setting on
616 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
617 .It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
618 Set to not build ELF Tool Chain tools
619 (addr2line, nm, size, strings and strip)
620 as part of the bootstrap process.
622 An alternate bootstrap tool chain must be provided.
624 .It Va WITHOUT_EXAMPLES
625 Set to avoid installing examples to
626 .Pa /usr/share/examples/ .
627 .It Va WITH_EXPERIMENTAL
628 Set to include experimental features in the build.
629 .It Va WITH_EXTRA_TCP_STACKS
630 Set to build extra TCP stack modules.
632 Set to not build Flattened Device Tree support as part of the base system.
633 This includes the device tree compiler (dtc) and libfdt support library.
637 and related programs.
638 When set, it enforces these options:
644 .It Va WITHOUT_FINGER
645 Set to not build or install
649 .It Va WITHOUT_FLOPPY
650 Set to not build or install programs
651 for operating floppy disk driver.
652 .It Va WITHOUT_FMTREE
653 Set to not build and install
654 .Pa /usr/sbin/fmtree .
655 .It Va WITHOUT_FORMAT_EXTENSIONS
657 .Fl fformat-extensions
658 when compiling the kernel.
659 Also disables all format checking.
661 Set to build bootloaders without Forth support.
662 .It Va WITHOUT_FP_LIBC
665 without floating-point support.
666 .It Va WITHOUT_FREEBSD_UPDATE
668 .Xr freebsd-update 8 .
670 Set to not build or install
675 Set to not build games.
680 This is a default setting on
681 arm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
686 This is a default setting on
687 amd64/amd64, arm/armv6, arm/armv7, i386/i386, mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
688 .It Va WITHOUT_GNU_DIFF
693 .It Va WITHOUT_GNU_GREP
696 .It Va WITH_GNU_GREP_COMPAT
697 Set this option to include GNU extensions in
699 by linking against libgnuregex.
700 .It Va WITHOUT_GOOGLETEST
701 Set to neither build nor install
706 This is a default setting on
707 mips/mips and mips/mips64.
708 .It Va WITH_GOOGLETEST
709 Set to build and install
714 This is a default setting on
715 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
719 as part of the base system.
720 .It Va WITHOUT_GSSAPI
721 Set to not build libgssapi.
725 and related utilities.
727 Set to build Hesiod support.
729 Set to not build HTML docs.
730 .It Va WITHOUT_HYPERV
731 Set to not build or install HyperV utilities.
733 This is a default setting on
734 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
736 Set to build or install HyperV utilities.
738 This is a default setting on
739 amd64/amd64 and i386/i386.
741 Set to not build iconv as part of libc.
742 .It Va WITHOUT_INCLUDES
743 Set to not install header files.
744 This option used to be spelled
747 The option does not work for build targets.
750 Set to not build programs and libraries related to IPv4 networking.
751 When set, it enforces these options:
755 .Va WITHOUT_INET_SUPPORT
759 programs and libraries related to IPv6 networking.
760 When set, it enforces these options:
764 .Va WITHOUT_INET6_SUPPORT
766 .It Va WITHOUT_INET6_SUPPORT
767 Set to build libraries, programs, and kernel modules without IPv6 support.
771 .It Va WITHOUT_INET_SUPPORT
772 Set to build libraries, programs, and kernel modules without IPv4 support.
773 .It Va WITHOUT_INSTALLLIB
774 Set this to not install optional libraries.
775 For example, when creating a
779 The option does not work for build targets.
781 .It Va WITH_INSTALL_AS_USER
782 Set to make install targets succeed for non-root users by installing
783 files with owner and group attributes set to that of the user running
787 The user still must set the
789 variable to point to a directory where the user has write permissions.
790 .It Va WITHOUT_IPFILTER
791 Set to not build IP Filter package.
793 Set to not build IPFW tools.
794 .It Va WITHOUT_IPSEC_SUPPORT
795 Set to not build the kernel with
798 This option is needed for
805 and related utilities.
807 Set to not build tools for the support of jails; e.g.,
814 .It Va WITHOUT_KERBEROS
815 Set this to not build Kerberos 5 (KTH Heimdal).
816 When set, these options are also in effect:
819 .It Va WITHOUT_GSSAPI
823 .It Va WITHOUT_KERBEROS_SUPPORT
825 .Va WITH_KERBEROS_SUPPORT
828 .It Va WITHOUT_KERBEROS_SUPPORT
829 Set to build some programs without Kerberos support, like
835 .It Va WITH_KERNEL_RETPOLINE
836 Set to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel
838 .It Va WITHOUT_KERNEL_SYMBOLS
839 Set to not install kernel symbol files.
841 This option is recommended for those people who have small root partitions.
846 library as a part of the base system.
848 The option has no effect yet.
850 When set, these options are also in effect:
853 .It Va WITHOUT_KVM_SUPPORT
858 .It Va WITHOUT_KVM_SUPPORT
859 Set to build some programs without optional
863 Setting this variable will prevent the LDNS library from being built.
864 When set, it enforces these options:
868 .Va WITHOUT_LDNS_UTILS
872 .It Va WITHOUT_LDNS_UTILS
873 Setting this variable will prevent building the LDNS utilities
877 .It Va WITHOUT_LEGACY_CONSOLE
878 Set to not build programs that support a legacy PC console; e.g.,
883 On 64-bit platforms, set to not build 32-bit library set and a
887 This is a default setting on
888 arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
889 .It Va WITHOUT_LIBCPLUSPLUS
890 Set to avoid building libcxxrt and libc++.
891 .It Va WITHOUT_LIBPTHREAD
896 When set, it enforces these options:
903 On armv6 only, set to enable soft float ABI compatibility libraries.
904 This option is for transitioning to the new hard float ABI.
905 .It Va WITHOUT_LIBTHR
911 Set to not build LLVM's lld linker.
913 Set to not build the LLDB debugger.
915 This is a default setting on
916 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
918 Set to build the LLDB debugger.
920 This is a default setting on
921 amd64/amd64, arm64/aarch64 and i386/i386.
922 .It Va WITHOUT_LLD_BOOTSTRAP
923 Set to not build the LLD linker during the bootstrap phase of
925 To be able to build the system, either Binutils or LLD bootstrap must be
926 enabled unless an alternate linker is provided via XLD.
927 .It Va WITHOUT_LLD_IS_LD
928 Set to use GNU binutils ld as the system linker, instead of LLVM's LLD.
929 .It Va WITHOUT_LLVM_ASSERTIONS
930 Set to disable debugging assertions in LLVM.
931 .It Va WITHOUT_LLVM_COV
935 .It Va WITHOUT_LLVM_TARGET_AARCH64
936 Set to not build LLVM target support for AArch64.
939 option should be used rather than this in most cases.
940 .It Va WITHOUT_LLVM_TARGET_ALL
941 Set to only build the required LLVM target support.
942 This option is preferred to specific target support options.
943 When set, these options are also in effect:
946 .It Va WITHOUT_LLVM_TARGET_AARCH64
948 .Va WITH_LLVM_TARGET_AARCH64
950 .It Va WITHOUT_LLVM_TARGET_ARM
952 .Va WITH_LLVM_TARGET_ARM
954 .It Va WITHOUT_LLVM_TARGET_MIPS
956 .Va WITH_LLVM_TARGET_MIPS
958 .It Va WITHOUT_LLVM_TARGET_POWERPC
960 .Va WITH_LLVM_TARGET_POWERPC
962 .It Va WITHOUT_LLVM_TARGET_RISCV
964 .Va WITH_LLVM_TARGET_RISCV
967 .It Va WITHOUT_LLVM_TARGET_ARM
968 Set to not build LLVM target support for ARM.
971 option should be used rather than this in most cases.
972 .It Va WITH_LLVM_TARGET_BPF
973 Set to build LLVM target support for BPF.
976 option should be used rather than this in most cases.
977 .It Va WITHOUT_LLVM_TARGET_MIPS
978 Set to not build LLVM target support for MIPS.
981 option should be used rather than this in most cases.
982 .It Va WITHOUT_LLVM_TARGET_POWERPC
983 Set to not build LLVM target support for PowerPC.
986 option should be used rather than this in most cases.
987 .It Va WITHOUT_LLVM_TARGET_RISCV
988 Set to not build LLVM target support for RISC-V.
991 option should be used rather than this in most cases.
992 .It Va WITHOUT_LLVM_TARGET_X86
993 Set to not build LLVM target support for X86.
996 option should be used rather than this in most cases.
997 .It Va WITH_LOADER_EFI_SECUREBOOT
1000 with support for verification based on certificates obtained from UEFI.
1002 .It Va WITH_LOADER_FIREWIRE
1003 Enable firewire support in /boot/loader on x86. This option is a nop
1004 on all other platforms.
1005 .It Va WITH_LOADER_FORCE_LE
1006 Set to force the powerpc boot loader to launch the kernel in little
1008 .It Va WITHOUT_LOADER_GELI
1009 Disable inclusion of GELI crypto support in the boot chain binaries.
1011 This is a default setting on
1012 powerpc/powerpc and powerpc/powerpc64.
1013 .It Va WITH_LOADER_GELI
1014 Set to build GELI bootloader support.
1016 This is a default setting on
1017 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1018 .It Va WITHOUT_LOADER_LUA
1019 Set to not build LUA bindings for the boot loader.
1021 This is a default setting on
1022 powerpc/powerpc and powerpc/powerpc64.
1023 .It Va WITH_LOADER_LUA
1024 Set to build LUA bindings for the boot loader.
1026 This is a default setting on
1027 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1028 .It Va WITHOUT_LOADER_OFW
1029 Disable building of openfirmware bootloader components.
1031 This is a default setting on
1032 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1033 .It Va WITH_LOADER_OFW
1034 Set to build openfirmware bootloader components.
1036 This is a default setting on
1037 powerpc/powerpc and powerpc/powerpc64.
1038 .It Va WITHOUT_LOADER_UBOOT
1039 Disable building of ubldr.
1041 This is a default setting on
1042 amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
1043 .It Va WITH_LOADER_UBOOT
1046 This is a default setting on
1047 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
1048 .It Va WITH_LOADER_VERBOSE
1049 Set to build with extra verbose debugging in the loader.
1050 May explode already nearly too large loader over the limit.
1053 .It Va WITH_LOADER_VERIEXEC
1056 with support for verification similar to Verified Exec.
1060 When set, these options are also in effect:
1063 .It Va WITH_LOADER_EFI_SECUREBOOT
1065 .Va WITHOUT_LOADER_EFI_SECUREBOOT
1067 .It Va WITH_LOADER_VERIEXEC_VECTX
1069 .Va WITHOUT_LOADER_VERIEXEC_VECTX
1072 .It Va WITH_LOADER_VERIEXEC_PASS_MANIFEST
1075 with support to pass a verified manifest to the kernel.
1076 The kernel has to be built with a module to parse the manifest.
1079 .Va WITH_LOADER_VERIEXEC .
1080 .It Va WITHOUT_LOADER_ZFS
1081 Set to not build ZFS file system boot loader support.
1082 .It Va WITHOUT_LOCALES
1083 Set to not build localization files; see
1085 .It Va WITHOUT_LOCATE
1088 and related programs.
1092 and related programs.
1093 .It Va WITHOUT_LS_COLORS
1096 without support for colors to distinguish file types.
1097 .It Va WITHOUT_LZMA_SUPPORT
1098 Set to build some programs without optional lzma compression support.
1100 Set to not build any mail support (MUA or MTA).
1101 When set, it enforces these options:
1107 .Va WITHOUT_MAILWRAPPER
1109 .Va WITHOUT_SENDMAIL
1111 .It Va WITHOUT_MAILWRAPPER
1112 Set to not build the
1118 and related support files.
1119 .It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
1122 in limited sandbox mode.
1123 This option should be paired with
1124 .Va WITH_INSTALL_AS_USER
1125 if executed as an unprivileged user.
1130 Set to not build manual pages.
1131 When set, these options are also in effect:
1134 .It Va WITHOUT_MAN_UTILS
1139 .It Va WITHOUT_MANCOMPRESS
1140 Set to not to install compressed man pages.
1141 Only the uncompressed versions will be installed.
1142 .It Va WITHOUT_MAN_UTILS
1143 Set to not build utilities for manual pages,
1149 and related support files.
1150 .It Va WITH_META_MODE
1153 meta files when building, which can provide a reliable incremental build when
1156 The meta file is created in OBJDIR as
1158 These meta files track the command that was executed, its output, and the
1162 module is required unless
1165 When the module is loaded, any files used by the commands executed are
1166 tracked as dependencies for the target in its meta file.
1167 The target is considered out-of-date and rebuilt if any of these
1168 conditions are true compared to the last build:
1169 .Bl -bullet -compact
1171 The command to execute changes.
1173 The current working directory changes.
1175 The target's meta file is missing.
1177 The target's meta file is missing filemon data when filemon is loaded
1178 and a previous run did not have it loaded.
1182 Files read, executed or linked to are newer than the target.
1186 Files read, written, executed or linked are missing.
1188 The meta files can also be useful for debugging.
1190 The build hides commands that are executed unless
1195 to show some of its environment for further debugging.
1197 The build operates as it normally would otherwise.
1198 This option originally invoked a different build system but that was renamed
1200 .Va WITH_DIRDEPS_BUILD .
1202 This must be set in the environment, make command line, or
1203 .Pa /etc/src-env.conf ,
1206 .It Va WITHOUT_MLX5TOOL
1210 This is a default setting on
1211 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1212 .It Va WITH_MLX5TOOL
1216 This is a default setting on
1217 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1219 Set to not build programs and libraries
1220 related to NDIS emulation support.
1221 .It Va WITHOUT_NETCAT
1225 .It Va WITHOUT_NETGRAPH
1226 Set to not build applications to support
1228 When set, it enforces these options:
1234 .Va WITHOUT_BLUETOOTH
1237 When set, these options are also in effect:
1240 .It Va WITHOUT_NETGRAPH_SUPPORT
1242 .Va WITH_NETGRAPH_SUPPORT
1245 .It Va WITHOUT_NETGRAPH_SUPPORT
1246 Set to build libraries, programs, and kernel modules without netgraph support.
1250 support and related programs.
1251 If set, you might need to adopt your
1257 Set to not build NLS catalogs.
1258 When set, it enforces these options:
1262 .Va WITHOUT_NLS_CATALOGS
1264 .It Va WITHOUT_NLS_CATALOGS
1265 Set to not build NLS catalog support for
1267 .It Va WITHOUT_NS_CACHING
1268 Set to disable name caching in the
1271 The generic caching daemon,
1273 will not be built either if this option is set.
1277 and related programs.
1279 Set to not build nvme related tools and kernel modules.
1281 This is a default setting on
1282 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1284 Set to build nvme related tools and kernel modules.
1287 This is a default setting on
1288 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1291 .Dq "OpenFabrics Enterprise Distribution"
1292 Infiniband software stack.
1293 .It Va WITH_OFED_EXTRA
1294 Set to build the non-essential components of the
1295 .Dq "OpenFabrics Enterprise Distribution"
1296 Infiniband software stack, mostly examples.
1297 .It Va WITH_OPENLDAP
1298 Enable building openldap support for kerberos.
1299 .It Va WITHOUT_OPENMP
1300 Set to not build LLVM's OpenMP runtime.
1302 This is a default setting on
1303 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1305 Set to build LLVM's OpenMP runtime.
1307 This is a default setting on
1308 amd64/amd64, i386/i386 and powerpc/powerpc64.
1309 .It Va WITHOUT_OPENSSH
1310 Set to not build OpenSSH.
1311 .It Va WITHOUT_OPENSSL
1312 Set to not build OpenSSL.
1313 When set, it enforces these options:
1319 .Va WITHOUT_KERBEROS
1321 .Va WITHOUT_KERBEROS_SUPPORT
1325 .Va WITHOUT_LDNS_UTILS
1329 .Va WITHOUT_PKGBOOTSTRAP
1337 .Va WITHOUT_WIRELESS
1340 When set, these options are also in effect:
1343 .It Va WITHOUT_GSSAPI
1349 Set to not build PAM library and modules.
1351 This option is deprecated and does nothing.
1353 When set, these options are also in effect:
1356 .It Va WITHOUT_PAM_SUPPORT
1358 .Va WITH_PAM_SUPPORT
1361 .It Va WITHOUT_PAM_SUPPORT
1362 Set to build some programs without PAM support, particularly
1367 Set to not build PF firewall package.
1368 When set, it enforces these options:
1375 Build dynamically linked binaries as
1376 Position-Independent Executable (PIE).
1377 .It Va WITHOUT_PKGBOOTSTRAP
1384 and related programs.
1385 .It Va WITHOUT_PORTSNAP
1386 Set to not build or install
1389 When set, it enforces these options:
1393 .Va WITHOUT_FREEBSD_UPDATE
1398 and related programs.
1399 .It Va WITHOUT_PROFILE
1400 Set to not build profiled libraries for use with
1403 This is a default setting on
1406 Set to build profiled libraries for use with
1409 This is a default setting on
1410 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1411 .It Va WITHOUT_QUOTAS
1414 and related programs.
1415 .It Va WITHOUT_RADIUS_SUPPORT
1416 Set to not build radius support into various applications, like
1420 .It Va WITH_RATELIMIT
1421 Set to build the system with rate limit support.
1424 .Dv SO_MAX_PACING_RATE
1432 .It Va WITHOUT_RBOOTD
1433 Set to not build or install
1435 .It Va WITH_REPRODUCIBLE_BUILD
1436 Set to exclude build metadata (such as the build time, user, or host)
1437 from the kernel, boot loaders, and uname output, so that builds produce
1438 bit-for-bit identical output.
1439 .It Va WITHOUT_RESCUE
1442 .It Va WITH_RETPOLINE
1443 Set to build the base system with the retpoline speculative execution
1444 vulnerability mitigation for CVE-2017-5715.
1445 .It Va WITHOUT_ROUTED
1449 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1452 with warmstart support.
1453 .It Va WITHOUT_SENDMAIL
1456 and related programs.
1457 .It Va WITHOUT_SERVICESDB
1459 .Pa /var/db/services.db .
1460 .It Va WITHOUT_SETUID_LOGIN
1461 Set this to disable the installation of
1463 as a set-user-ID root program.
1464 .It Va WITHOUT_SHAREDOCS
1465 Set to not build the
1468 .It Va WITHOUT_SHARED_TOOLCHAIN
1469 Set to build the toolchain binaries as statically linked executables.
1473 and necessary utilities like assembler, linker and library archive manager.
1474 .It Va WITH_SORT_THREADS
1475 Set to enable threads in
1477 .It Va WITHOUT_SOURCELESS
1478 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1479 When set, it enforces these options:
1483 .Va WITHOUT_SOURCELESS_HOST
1485 .Va WITHOUT_SOURCELESS_UCODE
1487 .It Va WITHOUT_SOURCELESS_HOST
1488 Set to not build kernel modules that include sourceless native code for host CPU.
1489 .It Va WITHOUT_SOURCELESS_UCODE
1490 Set to not build kernel modules that include sourceless microcode.
1492 Set to not build world with propolice stack smashing protection.
1494 This is a default setting on
1495 mips/mips and mips/mips64.
1497 Set to build world with propolice stack smashing protection.
1499 This is a default setting on
1500 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1502 Enable staging of files to a stage tree.
1503 This can be best thought of as auto-install to
1505 with some extra meta data to ensure dependencies can be tracked.
1507 .Va WITH_DIRDEPS_BUILD .
1508 When set, these options are also in effect:
1511 .It Va WITH_STAGING_MAN
1513 .Va WITHOUT_STAGING_MAN
1515 .It Va WITH_STAGING_PROG
1517 .Va WITHOUT_STAGING_PROG
1521 This must be set in the environment, make command line, or
1522 .Pa /etc/src-env.conf ,
1525 .It Va WITH_STAGING_MAN
1526 Enable staging of man pages to stage tree.
1527 .It Va WITH_STAGING_PROG
1528 Enable staging of PROGs to stage tree.
1529 .It Va WITH_STALE_STAGED
1530 Check staged files are not stale.
1531 .It Va WITHOUT_STATS
1532 Set to neither build nor install
1534 and dependent binaries.
1540 .It Va WITHOUT_SVNLITE
1543 and related programs.
1544 .It Va WITHOUT_SYMVER
1545 Set to disable symbol versioning when building shared libraries.
1546 .It Va WITHOUT_SYSCONS
1549 support files such as keyboard maps, fonts, and screen output maps.
1551 Enable use of sysroot during build.
1553 .Va WITH_DIRDEPS_BUILD .
1555 This must be set in the environment, make command line, or
1556 .Pa /etc/src-env.conf ,
1559 .It Va WITHOUT_SYSTEM_COMPILER
1560 Set to not opportunistically skip building a cross-compiler during the
1561 bootstrap phase of the build.
1562 Normally, if the currently installed compiler matches the planned bootstrap
1563 compiler type and revision, then it will not be built.
1564 This does not prevent a compiler from being built for installation though,
1565 only for building one for the build itself.
1568 option controls that.
1569 .It Va WITHOUT_SYSTEM_LINKER
1570 Set to not opportunistically skip building a cross-linker during the
1571 bootstrap phase of the build.
1572 Normally, if the currently installed linker matches the planned bootstrap
1573 linker type and revision, then it will not be built.
1574 This does not prevent a linker from being built for installation though,
1575 only for building one for the build itself.
1579 .Va WITHOUT_BINUTILS
1580 options control those.
1582 This option is only relevant when
1583 .Va WITH_LLD_BOOTSTRAP
1586 Set to not build or install
1590 .It Va WITHOUT_TCP_WRAPPERS
1591 Set to not build or install
1593 and related utilities.
1595 Set to not build and install
1599 .It Va WITHOUT_TELNET
1602 and related programs.
1603 .It Va WITHOUT_TESTS
1604 Set to not build nor install the
1611 This also disables the build of all test-related dependencies, including ATF.
1612 When set, it enforces these options:
1616 .Va WITHOUT_DTRACE_TESTS
1619 When set, these options are also in effect:
1622 .It Va WITHOUT_GOOGLETEST
1626 .It Va WITHOUT_TESTS_SUPPORT
1628 .Va WITH_TESTS_SUPPORT
1631 .It Va WITHOUT_TESTS_SUPPORT
1632 Set to disables the build of all test-related dependencies, including ATF.
1633 When set, it enforces these options:
1637 .Va WITHOUT_GOOGLETEST
1639 .It Va WITHOUT_TEXTPROC
1641 programs used for text processing.
1643 Set to not build or install
1647 .It Va WITHOUT_TOOLCHAIN
1648 Set to not install header or
1649 programs used for program development,
1650 compilers, debuggers etc.
1651 When set, it enforces these options:
1655 .Va WITHOUT_BINUTILS
1659 .Va WITHOUT_CLANG_EXTRAS
1661 .Va WITHOUT_CLANG_FULL
1665 .Va WITHOUT_INCLUDES
1671 .Va WITHOUT_LLVM_COV
1673 .It Va WITHOUT_UNBOUND
1676 and related programs.
1677 .It Va WITHOUT_UNIFIED_OBJDIR
1678 Set to use the historical object directory format for
1681 For native-builds and builds done directly in sub-directories the format of
1682 .Pa ${MAKEOBJDIRPREFIX}/${.CURDIR}
1684 while for cross-builds
1685 .Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR}
1688 This option is transitional and will be removed before the 12.0 release,
1690 .va WITH_UNIFIED_OBJDIR
1691 will be enabled permanently.
1693 This must be set in the environment, make command line, or
1694 .Pa /etc/src-env.conf ,
1698 Set to not build USB-related programs and libraries.
1699 .It Va WITHOUT_USB_GADGET_EXAMPLES
1700 Set to not build USB gadget kernel modules.
1701 .It Va WITHOUT_UTMPX
1702 Set to not build user accounting tools such as
1710 .It Va WITH_VERIEXEC
1713 which loads the contents of verified manifests into the kernel
1720 Set to not build and install vi, view, ex and related programs.
1724 support files (fonts and keymaps).
1725 .It Va WITHOUT_WARNS
1726 Set this to not add warning flags to the compiler invocations.
1727 Useful as a temporary workaround when code enters the tree
1728 which triggers warnings in environments that differ from the
1730 .It Va WITHOUT_WIRELESS
1731 Set to not build programs used for 802.11 wireless networks; especially
1732 .Xr wpa_supplicant 8
1735 When set, these options are also in effect:
1738 .It Va WITHOUT_WIRELESS_SUPPORT
1740 .Va WITH_WIRELESS_SUPPORT
1743 .It Va WITHOUT_WIRELESS_SUPPORT
1744 Set to build libraries, programs, and kernel modules without
1745 802.11 wireless support.
1746 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1748 .Xr wpa_supplicant 8
1749 without support for the IEEE 802.1X protocol and without
1750 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1751 protocols (usable only via 802.1X).
1753 Set to not build ZFS file system kernel module, libraries, and user commands.
1754 .It Va WITHOUT_ZONEINFO
1755 Set to not build the timezone database.
1756 When set, it enforces these options:
1760 .Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
1762 .It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
1763 Set to build leapsecond information in to the timezone database.
1766 .Bl -tag -compact -width Pa
1767 .It Pa /etc/src.conf
1768 .It Pa /etc/src-env.conf
1769 .It Pa /usr/share/mk/bsd.own.mk
1782 This manual page was autogenerated by
1783 .An tools/build/options/makeman .