1 .\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman.
8 .Nd "source build options"
12 file contains variables that control what components will be generated during
13 the build process of the
20 file uses the standard makefile syntax.
23 should not specify any dependencies to
29 variables that control the aspects of how the system builds.
31 The default location of
35 though an alternative location can be specified in the
39 Overriding the location of
41 may be necessary if the system-wide settings are not suitable
42 for a particular build.
47 effectively resets all build controls to their defaults.
51 is to control the compilation of the
53 source code, which is usually located in
55 As a rule, the system administrator creates
57 when the values of certain control variables need to be changed
60 In addition, control variables can be specified
61 for a particular build via the
65 or in its environment; see
70 for the build can be controlled via the
72 variable, which defaults to
73 .Pa /etc/src-env.conf .
74 Some examples that may only be set in this file are
75 .Va WITH_DIRDEPS_BUILD ,
80 as they are environment-only variables.
82 The values of variables are ignored regardless of their setting;
83 even if they would be set to
87 The presence of an option causes
91 This list provides a name and short description for variables
92 that can be used for source builds.
93 .Bl -tag -width indent
95 Do not build process accounting tools such as
103 and related programs.
108 and related programs.
109 .It Va WITHOUT_ASSERT_DEBUG
110 Compile programs and libraries without the
116 and related utilities.
119 programs and libraries related to ATM networking.
121 Do not build audit support into system programs.
122 .It Va WITHOUT_AUTHPF
125 .It Va WITHOUT_AUTOFS
128 related programs, libraries, and kernel modules.
129 .It Va WITHOUT_AUTO_OBJ
130 Disable automatic creation of objdirs.
131 This is enabled by default if the wanted OBJDIR is writable by the current user.
133 This must be set in the environment, make command line, or
134 .Pa /etc/src-env.conf ,
138 Build the BearSSL library.
140 BearSSL is a tiny SSL library suitable for embedded environments.
142 .Lk http://www.BearSSL.org/
144 This library is currently only used to perform
145 signature verification and related operations
146 for Verified Exec and
148 When set, these options are also in effect:
151 .It Va WITH_LOADER_EFI_SECUREBOOT
153 .Va WITHOUT_LOADER_EFI_SECUREBOOT
155 .It Va WITH_LOADER_VERIEXEC
157 .Va WITHOUT_LOADER_VERIEXEC
159 .It Va WITH_LOADER_VERIEXEC_VECTX
161 .Va WITHOUT_LOADER_VERIEXEC_VECTX
169 Do not build or install
171 associated utilities, and examples.
173 This option only affects amd64/amd64.
174 .It Va WITH_BHYVE_SNAPSHOT
175 Include support for save and restore (snapshots) in
180 This option only affects amd64/amd64.
182 Build all binaries with the
184 flag set to indicate that the run-time loader should perform all relocation
185 processing at process startup rather than on demand.
186 .It Va WITHOUT_BLACKLIST
187 Set this if you do not want to build
191 When set, these options are also in effect:
194 .It Va WITHOUT_BLACKLIST_SUPPORT
196 .Va WITH_BLACKLIST_SUPPORT
199 .It Va WITHOUT_BLACKLIST_SUPPORT
200 Build some programs without
207 .It Va WITHOUT_BLUETOOTH
208 Do not build Bluetooth related kernel modules, programs and libraries.
210 Do not build the boot blocks and loader.
211 .It Va WITHOUT_BOOTPARAMD
212 Do not build or install
214 .It Va WITHOUT_BOOTPD
215 Do not build or install
217 .It Va WITHOUT_BSDINSTALL
221 and related programs.
222 .It Va WITHOUT_BSD_CPIO
223 Do not build the BSD licensed version of cpio based on
226 Do not build or install
228 and related libraries and data files.
230 Do not build contributed bzip2 software as a part of the base system.
232 The option has no effect yet.
234 When set, these options are also in effect:
237 .It Va WITHOUT_BZIP2_SUPPORT
239 .Va WITH_BZIP2_SUPPORT
242 .It Va WITHOUT_BZIP2_SUPPORT
243 Build some programs without optional bzip2 support.
244 .It Va WITHOUT_CALENDAR
247 .It Va WITHOUT_CAPSICUM
248 Do not build Capsicum support into system programs.
249 When set, it enforces these options:
255 .It Va WITHOUT_CAROOT
256 Do not add the trusted certificates from the Mozilla NSS bundle to
258 .It Va WITHOUT_CASPER
259 Do not build Casper program and related libraries.
260 .It Va WITH_CCACHE_BUILD
264 No configuration is required except to install the
270 .Sy CCACHE_PREFIX=/usr/local/bin/distcc .
271 The default cache directory of
273 will be used, which can be overridden by setting
276 .Sy CCACHE_COMPILERCHECK
279 when using the in-tree bootstrap compiler,
282 when using an external compiler.
285 option is used for Clang but not GCC.
287 Sharing a cache between multiple work directories requires using a layout
291 and an environment such as:
292 .Bd -literal -offset indent
293 CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
298 for more configuration options.
302 and related utilities.
304 Do not build code licensed under Sun's CDDL.
305 When set, it enforces these options:
311 .Va WITHOUT_LOADER_ZFS
316 Do not build the Clang C/C++ compiler during the regular phase of the build.
317 When set, it enforces these options:
321 .Va WITHOUT_CLANG_EXTRAS
323 .Va WITHOUT_CLANG_FORMAT
325 .Va WITHOUT_CLANG_FULL
330 When set, these options are also in effect:
333 .It Va WITHOUT_LLVM_TARGET_AARCH64
335 .Va WITH_LLVM_TARGET_AARCH64
337 .It Va WITHOUT_LLVM_TARGET_ALL
339 .Va WITH_LLVM_TARGET_ALL
341 .It Va WITHOUT_LLVM_TARGET_ARM
343 .Va WITH_LLVM_TARGET_ARM
345 .It Va WITHOUT_LLVM_TARGET_MIPS
347 .Va WITH_LLVM_TARGET_MIPS
349 .It Va WITHOUT_LLVM_TARGET_POWERPC
351 .Va WITH_LLVM_TARGET_POWERPC
353 .It Va WITHOUT_LLVM_TARGET_RISCV
355 .Va WITH_LLVM_TARGET_RISCV
358 .It Va WITHOUT_CLANG_BOOTSTRAP
359 Do not build the Clang C/C++ compiler during the bootstrap phase of
361 To be able to build the system, either gcc or clang bootstrap must be
362 enabled unless an alternate compiler is provided via XCC.
363 .It Va WITH_CLANG_EXTRAS
364 Build additional clang and llvm tools, such as bugpoint and
366 .It Va WITH_CLANG_FORMAT
368 .It Va WITHOUT_CLANG_FULL
369 Avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
370 the Clang C/C++ compiler.
371 .It Va WITHOUT_CLANG_IS_CC
372 Do not install links to the Clang C/C++ compiler as
378 Do not clean before building world and/or kernel.
382 .It Va WITHOUT_CROSS_COMPILER
383 Do not build any cross compiler in the cross-tools stage of buildworld.
384 When compiling a different version of
386 than what is installed on the system, provide an alternate
387 compiler with XCC to ensure success.
388 When compiling with an identical version of
390 to the host, this option may be safely used.
391 This option may also be safe when the host version of
393 is close to the sources being built, but all bets are off if there have
394 been any changes to the toolchain between the versions.
395 When set, it enforces these options:
399 .Va WITHOUT_CLANG_BOOTSTRAP
401 .Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
403 .Va WITHOUT_LLD_BOOTSTRAP
406 Do not build any crypto code.
407 When set, it enforces these options:
415 .Va WITHOUT_KERBEROS_SUPPORT
419 .Va WITHOUT_LDNS_UTILS
425 .Va WITHOUT_OPENSSL_KTLS
427 .Va WITHOUT_PKGBOOTSTRAP
434 When set, these options are also in effect:
437 .It Va WITHOUT_GSSAPI
443 Compile with CTF (Compact C Type Format) data.
444 CTF data encapsulates a reduced form of debugging information
445 similar to DWARF and the venerable stabs and is required for DTrace.
447 Do not build CUSE-related programs and libraries.
448 .It Va WITHOUT_CXGBETOOL
452 This is a default setting on
453 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
454 .It Va WITH_CXGBETOOL
458 This is a default setting on
459 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
463 and related libraries.
464 It will also prevent building of
468 When set, it enforces these options:
474 .Va WITHOUT_CLANG_EXTRAS
476 .Va WITHOUT_CLANG_FORMAT
478 .Va WITHOUT_CLANG_FULL
480 .Va WITHOUT_DTRACE_TESTS
482 .Va WITHOUT_GOOGLETEST
488 .Va WITHOUT_OFED_EXTRA
496 .It Va WITHOUT_DEBUG_FILES
497 Avoid building or installing standalone debug files for each
498 executable binary and shared library.
499 .It Va WITH_DETECT_TZ_CHANGES
500 Make the time handling code detect changes to the timezone files.
501 .It Va WITHOUT_DIALOG
508 When set, it enforces these options:
512 .Va WITHOUT_BSDINSTALL
515 Do not build the Webster dictionary files.
516 .It Va WITH_DIRDEPS_BUILD
517 This is an experimental build system.
519 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
520 Build commands can be seen from the top-level with:
521 .Dl make show-valid-targets
522 The build is driven by dirdeps.mk using
525 Makefile.depend files found in each directory.
527 The build can be started from anywhere, and behaves the same.
528 The initial instance of
533 .Pa Makefile.depend ,
534 computing a graph of tree dependencies from the current origin.
537 skips checking dirdep dependencies and will only build in the current
538 and child directories.
540 skips building any dirdeps and only build the current directory.
542 This also utilizes the
544 logic for incremental builds.
546 The build hides commands executed unless
550 Note that there is currently no mass install feature for this.
552 When set, it enforces these options:
556 .Va WITH_INSTALL_AS_USER
559 When set, these options are also in effect:
562 .It Va WITH_META_MODE
564 .Va WITHOUT_META_MODE
570 .It Va WITH_STAGING_MAN
572 .Va WITHOUT_STAGING_MAN
574 .It Va WITH_STAGING_PROG
576 .Va WITHOUT_STAGING_PROG
584 This must be set in the environment, make command line, or
585 .Pa /etc/src-env.conf ,
588 .It Va WITH_DIRDEPS_CACHE
589 Cache result of dirdeps.mk which can save significant time
590 for subsequent builds.
592 .Va WITH_DIRDEPS_BUILD .
594 This must be set in the environment, make command line, or
595 .Pa /etc/src-env.conf ,
598 .It Va WITHOUT_DMAGENT
599 Do not build dma Mail Transport Agent.
600 .It Va WITHOUT_DOCCOMPRESS
601 Do not install compressed system documentation.
602 Only the uncompressed version will be installed.
603 .It Va WITH_DTRACE_TESTS
604 Build and install the DTrace test suite in
605 .Pa /usr/tests/cddl/usr.sbin/dtrace .
606 This test suite is considered experimental on architectures other than
607 amd64/amd64 and running it may cause system instability.
608 .It Va WITHOUT_DYNAMICROOT
609 Set this if you do not want to link
615 Do not build and install
618 and related programs.
625 This is a default setting on
626 mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
633 This is a default setting on
634 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
635 .It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
636 Do not build ELF Tool Chain tools
637 (addr2line, nm, size, strings and strip)
638 as part of the bootstrap process.
640 An alternate bootstrap tool chain must be provided.
642 .It Va WITHOUT_EXAMPLES
643 Avoid installing examples to
644 .Pa /usr/share/examples/ .
645 .It Va WITH_EXPERIMENTAL
646 Include experimental features in the build.
647 .It Va WITH_EXTRA_TCP_STACKS
648 Build extra TCP stack modules.
650 Do not build Flattened Device Tree support as part of the base system.
651 This includes the device tree compiler (dtc) and libfdt support library.
655 and related programs.
656 .It Va WITHOUT_FINGER
657 Do not build or install
661 .It Va WITHOUT_FLOPPY
662 Do not build or install programs
663 for operating floppy disk driver.
664 .It Va WITHOUT_FORMAT_EXTENSIONS
666 .Fl fformat-extensions
667 when compiling the kernel.
668 Also disables all format checking.
670 Build bootloaders without Forth support.
671 .It Va WITHOUT_FP_LIBC
674 without floating-point support.
675 .It Va WITHOUT_FREEBSD_UPDATE
677 .Xr freebsd-update 8 .
679 Do not build or install
686 Install the traditional FreeBSD
690 programs instead of the enhanced versions.
691 .It Va WITHOUT_GNU_DIFF
694 .It Va WITHOUT_GOOGLETEST
695 Neither build nor install
700 This is a default setting on
701 mips/mips and mips/mips64.
702 .It Va WITH_GOOGLETEST
708 This is a default setting on
709 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
713 as part of the base system.
714 .It Va WITHOUT_GSSAPI
715 Do not build libgssapi.
719 and related utilities.
721 Build Hesiod support.
723 Do not build HTML docs.
724 .It Va WITHOUT_HYPERV
725 Do not build or install HyperV utilities.
727 This is a default setting on
728 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
730 Build or install HyperV utilities.
732 This is a default setting on
733 amd64/amd64 and i386/i386.
735 Do not build iconv as part of libc.
736 .It Va WITHOUT_INCLUDES
737 Do not install header files.
738 This option used to be spelled
741 The option does not work for build targets.
744 Do not build programs and libraries related to IPv4 networking.
745 When set, it enforces these options:
749 .Va WITHOUT_INET_SUPPORT
753 programs and libraries related to IPv6 networking.
754 When set, it enforces these options:
758 .Va WITHOUT_INET6_SUPPORT
760 .It Va WITHOUT_INET6_SUPPORT
761 Build libraries, programs, and kernel modules without IPv6 support.
765 .It Va WITHOUT_INET_SUPPORT
766 Build libraries, programs, and kernel modules without IPv4 support.
767 .It Va WITH_INIT_ALL_PATTERN
768 Build the base system or kernel with stack variables initialized to
770 debugging patterns on function entry.
771 This option requires the clang compiler.
772 .It Va WITH_INIT_ALL_ZERO
773 Build the base system or kernel with stack variables initialized
774 to zero on function entry.
775 This option requires that the clang compiler be used.
776 .It Va WITHOUT_INSTALLLIB
777 Set this to not install optional libraries.
778 For example, when creating a
782 The option does not work for build targets.
784 .It Va WITH_INSTALL_AS_USER
785 Make install targets succeed for non-root users by installing
786 files with owner and group attributes set to that of the user running
790 The user still must set the
792 variable to point to a directory where the user has write permissions.
793 .It Va WITHOUT_IPFILTER
794 Do not build IP Filter package.
796 Do not build IPFW tools.
797 .It Va WITHOUT_IPSEC_SUPPORT
798 Do not build the kernel with
801 This option is needed for
808 and related utilities.
810 Do not build tools for the support of jails; e.g.,
817 .It Va WITHOUT_KERBEROS
818 Set this to not build Kerberos 5 (KTH Heimdal).
819 When set, these options are also in effect:
822 .It Va WITHOUT_GSSAPI
826 .It Va WITHOUT_KERBEROS_SUPPORT
828 .Va WITH_KERBEROS_SUPPORT
831 .It Va WITHOUT_KERBEROS_SUPPORT
832 Build some programs without Kerberos support, like
838 .It Va WITH_KERNEL_RETPOLINE
839 Enable the "retpoline" mitigation for CVE-2017-5715 in the kernel
841 .It Va WITHOUT_KERNEL_SYMBOLS
842 Do not install kernel debug symbol files.
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 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 Do not build programs that support a legacy PC console; e.g.,
883 On 64-bit platforms, do 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.
890 On armv6 only, enable soft float ABI compatibility libraries.
891 This option is for transitioning to the new hard float ABI.
893 Do not build LLVM's lld linker.
895 Do not build the LLDB debugger.
897 This is a default setting on
898 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
900 Build the LLDB debugger.
902 This is a default setting on
903 amd64/amd64, arm64/aarch64 and i386/i386.
904 .It Va WITHOUT_LLD_BOOTSTRAP
905 Do not build the LLD linker during the bootstrap phase of
907 To be able to build the system an alternate linker must be provided via XLD.
908 .It Va WITHOUT_LLD_IS_LD
910 .Pa /usr/bin/ld symlink
913 The system will not have a usable tool chain unless a linker is provided
915 .It Va WITHOUT_LLVM_ASSERTIONS
916 Disable debugging assertions in LLVM.
917 .It Va WITH_LLVM_BINUTILS
918 Install LLVM's binutils (ar, addr2line, nm, etc.) instead of ELF Tool Chain's.
919 .It Va WITHOUT_LLVM_COV
923 .It Va WITHOUT_LLVM_CXXFILT
924 Install ELF Tool Chain's cxxfilt as c++filt, instead of LLVM's llvm-cxxfilt.
925 .It Va WITHOUT_LLVM_TARGET_AARCH64
926 Do not build LLVM target support for AArch64.
929 option should be used rather than this in most cases.
930 .It Va WITHOUT_LLVM_TARGET_ALL
931 Only build the required LLVM target support.
932 This option is preferred to specific target support options.
933 When set, these options are also in effect:
936 .It Va WITHOUT_LLVM_TARGET_AARCH64
938 .Va WITH_LLVM_TARGET_AARCH64
940 .It Va WITHOUT_LLVM_TARGET_ARM
942 .Va WITH_LLVM_TARGET_ARM
944 .It Va WITHOUT_LLVM_TARGET_MIPS
946 .Va WITH_LLVM_TARGET_MIPS
948 .It Va WITHOUT_LLVM_TARGET_POWERPC
950 .Va WITH_LLVM_TARGET_POWERPC
952 .It Va WITHOUT_LLVM_TARGET_RISCV
954 .Va WITH_LLVM_TARGET_RISCV
957 .It Va WITHOUT_LLVM_TARGET_ARM
958 Do not build LLVM target support for ARM.
961 option should be used rather than this in most cases.
962 .It Va WITH_LLVM_TARGET_BPF
963 Build LLVM target support for BPF.
966 option should be used rather than this in most cases.
967 .It Va WITHOUT_LLVM_TARGET_MIPS
968 Do not build LLVM target support for MIPS.
971 option should be used rather than this in most cases.
972 .It Va WITHOUT_LLVM_TARGET_POWERPC
973 Do not build LLVM target support for PowerPC.
976 option should be used rather than this in most cases.
977 .It Va WITHOUT_LLVM_TARGET_RISCV
978 Do not build LLVM target support for RISC-V.
981 option should be used rather than this in most cases.
982 .It Va WITHOUT_LLVM_TARGET_X86
983 Do not build LLVM target support for X86.
986 option should be used rather than this in most cases.
987 .It Va WITH_LOADER_EFI_SECUREBOOT
990 with support for verification based on certificates obtained from UEFI.
992 .It Va WITH_LOADER_FIREWIRE
993 Enable firewire support in /boot/loader on x86.
994 This option is a nop on all other platforms.
995 .It Va WITHOUT_LOADER_GELI
996 Disable inclusion of GELI crypto support in the boot chain binaries.
998 This is a default setting on
999 powerpc/powerpc and powerpc/powerpc64.
1000 .It Va WITH_LOADER_GELI
1001 Build GELI bootloader support.
1003 This is a default setting on
1004 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1005 .It Va WITHOUT_LOADER_LUA
1006 Do not build LUA bindings for the boot loader.
1008 This is a default setting on
1009 powerpc/powerpc and powerpc/powerpc64.
1010 .It Va WITH_LOADER_LUA
1011 Build LUA bindings for the boot loader.
1013 This is a default setting on
1014 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1015 .It Va WITHOUT_LOADER_OFW
1016 Disable building of openfirmware bootloader components.
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 WITH_LOADER_OFW
1021 Build openfirmware bootloader components.
1023 This is a default setting on
1024 powerpc/powerpc and powerpc/powerpc64.
1025 .It Va WITHOUT_LOADER_UBOOT
1026 Disable building of ubldr.
1028 This is a default setting on
1029 amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
1030 .It Va WITH_LOADER_UBOOT
1033 This is a default setting on
1034 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
1035 .It Va WITH_LOADER_VERBOSE
1036 Build with extra verbose debugging in the loader.
1037 May explode already nearly too large loader over the limit.
1039 .It Va WITH_LOADER_VERIEXEC
1042 with support for verification similar to Verified Exec.
1046 When set, these options are also in effect:
1049 .It Va WITH_LOADER_EFI_SECUREBOOT
1051 .Va WITHOUT_LOADER_EFI_SECUREBOOT
1053 .It Va WITH_LOADER_VERIEXEC_VECTX
1055 .Va WITHOUT_LOADER_VERIEXEC_VECTX
1058 .It Va WITH_LOADER_VERIEXEC_PASS_MANIFEST
1061 with support to pass a verified manifest to the kernel.
1062 The kernel has to be built with a module to parse the manifest.
1065 .Va WITH_LOADER_VERIEXEC .
1066 .It Va WITHOUT_LOADER_ZFS
1067 Do not build ZFS file system boot loader support.
1068 .It Va WITHOUT_LOCALES
1069 Do not build localization files; see
1071 .It Va WITHOUT_LOCATE
1074 and related programs.
1078 and related programs.
1079 .It Va WITHOUT_LS_COLORS
1082 without support for colors to distinguish file types.
1084 Do not build any mail support (MUA or MTA).
1085 When set, it enforces these options:
1091 .Va WITHOUT_MAILWRAPPER
1093 .Va WITHOUT_SENDMAIL
1095 .It Va WITHOUT_MAILWRAPPER
1102 and related support files.
1103 .It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
1106 in limited sandbox mode.
1107 This option should be paired with
1108 .Va WITH_INSTALL_AS_USER
1109 if executed as an unprivileged user.
1113 .It Va WITH_MALLOC_PRODUCTION
1114 Disable assertions and statistics gathering in
1116 It also defaults the A and J runtime options to off.
1118 Do not build manual pages.
1119 When set, these options are also in effect:
1122 .It Va WITHOUT_MAN_UTILS
1127 .It Va WITHOUT_MANCOMPRESS
1128 Do not install compressed man pages.
1129 Only the uncompressed versions will be installed.
1130 .It Va WITH_MANSPLITPKG
1131 Split man pages into their own packages during make package.
1132 .It Va WITHOUT_MAN_UTILS
1133 Do not build utilities for manual pages,
1139 and related support files.
1140 .It Va WITH_META_MODE
1143 meta files when building, which can provide a reliable incremental build when
1146 The meta file is created in OBJDIR as
1148 These meta files track the command that was executed, its output, and the
1152 module is required unless
1155 When the module is loaded, any files used by the commands executed are
1156 tracked as dependencies for the target in its meta file.
1157 The target is considered out-of-date and rebuilt if any of these
1158 conditions are true compared to the last build:
1159 .Bl -bullet -compact
1161 The command to execute changes.
1163 The current working directory changes.
1165 The target's meta file is missing.
1167 The target's meta file is missing filemon data when filemon is loaded
1168 and a previous run did not have it loaded.
1172 Files read, executed or linked to are newer than the target.
1176 Files read, written, executed or linked are missing.
1178 The meta files can also be useful for debugging.
1180 The build hides commands that are executed unless
1185 to show some of its environment for further debugging.
1187 The build operates as it normally would otherwise.
1188 This option originally invoked a different build system but that was renamed
1190 .Va WITH_DIRDEPS_BUILD .
1192 This must be set in the environment, make command line, or
1193 .Pa /etc/src-env.conf ,
1196 .It Va WITHOUT_MLX5TOOL
1200 This is a default setting on
1201 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1202 .It Va WITH_MLX5TOOL
1206 This is a default setting on
1207 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1208 .It Va WITHOUT_NETCAT
1212 .It Va WITHOUT_NETGRAPH
1213 Do not build applications to support
1215 When set, it enforces these options:
1221 .Va WITHOUT_BLUETOOTH
1224 When set, these options are also in effect:
1227 .It Va WITHOUT_NETGRAPH_SUPPORT
1229 .Va WITH_NETGRAPH_SUPPORT
1232 .It Va WITHOUT_NETGRAPH_SUPPORT
1233 Build libraries, programs, and kernel modules without netgraph support.
1237 support and related programs.
1238 If set, you might need to adopt your
1244 Do not build NLS catalogs.
1245 When set, it enforces these options:
1249 .Va WITHOUT_NLS_CATALOGS
1251 .It Va WITHOUT_NLS_CATALOGS
1252 Do not build NLS catalog support for
1254 .It Va WITHOUT_NS_CACHING
1255 Disable name caching in the
1258 The generic caching daemon,
1260 will not be built either if this option is set.
1264 and related programs.
1266 Do not build nvme related tools and kernel modules.
1268 This is a default setting on
1269 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1271 Build nvme related tools and kernel modules.
1273 This is a default setting on
1274 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1276 Disable the build of the
1277 .Dq "OpenFabrics Enterprise Distribution"
1278 Infiniband software stack, including kernel modules and userspace libraries.
1280 This is a default setting on
1281 riscv/riscv64 and riscv/riscv64sf.
1282 When set, it enforces these options:
1286 .Va WITHOUT_OFED_EXTRA
1288 .It Va WITH_OFED_EXTRA
1289 Build the non-essential components of the
1290 .Dq "OpenFabrics Enterprise Distribution"
1291 Infiniband software stack, mostly examples.
1292 .It Va WITH_OPENLDAP
1293 Enable building LDAP support for kerberos using an openldap client from ports.
1294 .It Va WITHOUT_OPENMP
1295 Do not build LLVM's OpenMP runtime.
1297 This is a default setting on
1298 arm/armv6, arm/armv7, mips/mips, mips/mips64 and powerpc/powerpc.
1300 Build LLVM's OpenMP runtime.
1302 This is a default setting on
1303 amd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1304 .It Va WITHOUT_OPENSSH
1305 Do not build OpenSSH.
1306 .It Va WITHOUT_OPENSSL
1307 Do not build OpenSSL.
1308 When set, it enforces these options:
1314 .Va WITHOUT_KERBEROS
1316 .Va WITHOUT_KERBEROS_SUPPORT
1320 .Va WITHOUT_LDNS_UTILS
1324 .Va WITHOUT_OPENSSL_KTLS
1326 .Va WITHOUT_PKGBOOTSTRAP
1333 When set, these options are also in effect:
1336 .It Va WITHOUT_GSSAPI
1341 .It Va WITHOUT_OPENSSL_KTLS
1342 Do not include kernel TLS support in OpenSSL.
1344 This is a default setting on
1345 arm/armv6, arm/armv7, i386/i386, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1346 .It Va WITH_OPENSSL_KTLS
1347 Include kernel TLS support in OpenSSL.
1349 This is a default setting on
1350 amd64/amd64 and arm64/aarch64.
1352 Do not build PAM library and modules.
1354 This option is deprecated and does nothing.
1356 When set, these options are also in effect:
1359 .It Va WITHOUT_PAM_SUPPORT
1361 .Va WITH_PAM_SUPPORT
1364 .It Va WITHOUT_PAM_SUPPORT
1365 Build some programs without PAM support, particularly
1370 Do not build PF firewall package.
1371 When set, it enforces these options:
1378 Do not build dynamically linked binaries as
1379 Position-Independent Executable (PIE).
1380 .It Va WITHOUT_PKGBOOTSTRAP
1387 and related programs.
1388 .It Va WITHOUT_PORTSNAP
1389 Do not build or install
1395 and related programs.
1397 Build profiled libraries for use with
1399 This option is deprecated and is not present in
1401 .It Va WITHOUT_QUOTAS
1404 and related programs.
1405 .It Va WITHOUT_RADIUS_SUPPORT
1406 Do not build radius support into various applications, like
1410 .It Va WITH_RATELIMIT
1411 Build the system with rate limit support.
1414 .Dv SO_MAX_PACING_RATE
1422 .It Va WITHOUT_RBOOTD
1423 Do not build or install
1425 .It Va WITH_REPRODUCIBLE_BUILD
1426 Exclude build metadata (such as the build time, user, or host)
1427 from the kernel, boot loaders, and uname output, so that builds produce
1428 bit-for-bit identical output.
1429 .It Va WITHOUT_RESCUE
1432 .It Va WITH_RETPOLINE
1433 Build the base system with the retpoline speculative execution
1434 vulnerability mitigation for CVE-2017-5715.
1435 .It Va WITHOUT_ROUTED
1439 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1442 with warmstart support.
1443 .It Va WITHOUT_SENDMAIL
1446 and related programs.
1447 .It Va WITHOUT_SERVICESDB
1449 .Pa /var/db/services.db .
1450 .It Va WITHOUT_SETUID_LOGIN
1451 Set this to disable the installation of
1453 as a set-user-ID root program.
1454 .It Va WITHOUT_SHAREDOCS
1458 .It Va WITHOUT_SHARED_TOOLCHAIN
1459 Build the toolchain binaries as statically linked executables.
1463 and necessary utilities like assembler, linker and library archive manager.
1464 .It Va WITH_SORT_THREADS
1467 .It Va WITHOUT_SOURCELESS
1468 Do not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1469 When set, it enforces these options:
1473 .Va WITHOUT_SOURCELESS_HOST
1475 .Va WITHOUT_SOURCELESS_UCODE
1477 .It Va WITHOUT_SOURCELESS_HOST
1478 Do not build kernel modules that include sourceless native code for host CPU.
1479 .It Va WITHOUT_SOURCELESS_UCODE
1480 Do not build kernel modules that include sourceless microcode.
1482 Do not build world with propolice stack smashing protection.
1484 This is a default setting on
1485 mips/mips and mips/mips64.
1487 Build world with propolice stack smashing protection.
1489 This is a default setting on
1490 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1492 Enable staging of files to a stage tree.
1493 This can be best thought of as auto-install to
1495 with some extra meta data to ensure dependencies can be tracked.
1497 .Va WITH_DIRDEPS_BUILD .
1498 When set, these options are also in effect:
1501 .It Va WITH_STAGING_MAN
1503 .Va WITHOUT_STAGING_MAN
1505 .It Va WITH_STAGING_PROG
1507 .Va WITHOUT_STAGING_PROG
1511 This must be set in the environment, make command line, or
1512 .Pa /etc/src-env.conf ,
1515 .It Va WITH_STAGING_MAN
1516 Enable staging of man pages to stage tree.
1517 .It Va WITH_STAGING_PROG
1518 Enable staging of PROGs to stage tree.
1519 .It Va WITH_STALE_STAGED
1520 Check staged files are not stale.
1521 .It Va WITHOUT_STATS
1522 Neither build nor install
1524 and dependent binaries.
1525 .It Va WITHOUT_SYSCONS
1528 support files such as keyboard maps, fonts, and screen output maps.
1530 Enable use of sysroot during build.
1532 .Va WITH_DIRDEPS_BUILD .
1534 This must be set in the environment, make command line, or
1535 .Pa /etc/src-env.conf ,
1538 .It Va WITHOUT_SYSTEM_COMPILER
1539 Do not opportunistically skip building a cross-compiler during the
1540 bootstrap phase of the build.
1541 Normally, if the currently installed compiler matches the planned bootstrap
1542 compiler type and revision, then it will not be built.
1543 This does not prevent a compiler from being built for installation though,
1544 only for building one for the build itself.
1547 option controls that.
1548 .It Va WITHOUT_SYSTEM_LINKER
1549 Do not opportunistically skip building a cross-linker during the
1550 bootstrap phase of the build.
1551 Normally, if the currently installed linker matches the planned bootstrap
1552 linker type and revision, then it will not be built.
1553 This does not prevent a linker from being built for installation though,
1554 only for building one for the build itself.
1557 option controls that.
1559 This option is only relevant when
1560 .Va WITH_LLD_BOOTSTRAP
1563 Do not build or install
1567 .It Va WITHOUT_TCP_WRAPPERS
1568 Do not build or install
1570 and related utilities.
1572 Do not build and install
1576 .It Va WITHOUT_TELNET
1579 and related programs.
1580 .It Va WITHOUT_TESTS
1581 Do not build nor install the
1588 This also disables the build of all test-related dependencies, including ATF.
1589 When set, it enforces these options:
1593 .Va WITHOUT_DTRACE_TESTS
1596 When set, these options are also in effect:
1599 .It Va WITHOUT_GOOGLETEST
1603 .It Va WITHOUT_TESTS_SUPPORT
1605 .Va WITH_TESTS_SUPPORT
1608 .It Va WITHOUT_TESTS_SUPPORT
1609 Disable the build of all test-related dependencies, including ATF.
1610 When set, it enforces these options:
1614 .Va WITHOUT_GOOGLETEST
1616 .It Va WITHOUT_TEXTPROC
1618 programs used for text processing.
1620 Do not build or install
1624 .It Va WITHOUT_TOOLCHAIN
1625 Do not install header or
1626 programs used for program development,
1627 compilers, debuggers etc.
1628 When set, it enforces these options:
1634 .Va WITHOUT_CLANG_EXTRAS
1636 .Va WITHOUT_CLANG_FORMAT
1638 .Va WITHOUT_CLANG_FULL
1640 .Va WITHOUT_INCLUDES
1646 .Va WITHOUT_LLVM_COV
1648 .It Va WITHOUT_UNBOUND
1651 and related programs.
1652 .It Va WITHOUT_UNIFIED_OBJDIR
1653 Use the historical object directory format for
1656 For native-builds and builds done directly in sub-directories the format of
1657 .Pa ${MAKEOBJDIRPREFIX}/${.CURDIR}
1659 while for cross-builds
1660 .Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR}
1663 This option is transitional and will be removed before the 12.0 release,
1665 .va WITH_UNIFIED_OBJDIR
1666 will be enabled permanently.
1668 This must be set in the environment, make command line, or
1669 .Pa /etc/src-env.conf ,
1673 Do not build USB-related programs and libraries.
1674 .It Va WITHOUT_USB_GADGET_EXAMPLES
1675 Do not build USB gadget kernel modules.
1676 .It Va WITHOUT_UTMPX
1677 Do not build user accounting tools such as
1685 .It Va WITH_VERIEXEC
1688 which loads the contents of verified manifests into the kernel
1695 Do not build and install vi, view, ex and related programs.
1699 support files (fonts and keymaps).
1700 .It Va WITHOUT_WARNS
1701 Set this to not add warning flags to the compiler invocations.
1702 Useful as a temporary workaround when code enters the tree
1703 which triggers warnings in environments that differ from the
1705 .It Va WITHOUT_WERROR
1706 Set this to not treat compiler warnings as errors.
1707 Useful as a temporary workaround when working on fixing compiler warnings.
1708 When set, warnings are still printed in the build log but do not fail the build.
1709 .It Va WITHOUT_WIRELESS
1710 Do 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 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 Do not build ZFS file system kernel module, libraries, and user commands.
1733 .It Va WITHOUT_ZONEINFO
1734 Do 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 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 .