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
329 .It Va WITHOUT_CLANG_BOOTSTRAP
330 Do not build the Clang C/C++ compiler during the bootstrap phase of
332 To be able to build the system, either gcc or clang bootstrap must be
333 enabled unless an alternate compiler is provided via XCC.
334 .It Va WITH_CLANG_EXTRAS
335 Build additional clang and llvm tools, such as bugpoint and
337 .It Va WITH_CLANG_FORMAT
339 .It Va WITHOUT_CLANG_FULL
340 Avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
341 the Clang C/C++ compiler.
342 .It Va WITHOUT_CLANG_IS_CC
343 Do not install links to the Clang C/C++ compiler as
349 Do not clean before building world and/or kernel.
353 .It Va WITHOUT_CROSS_COMPILER
354 Do not build any cross compiler in the cross-tools stage of buildworld.
355 When compiling a different version of
357 than what is installed on the system, provide an alternate
358 compiler with XCC to ensure success.
359 When compiling with an identical version of
361 to the host, this option may be safely used.
362 This option may also be safe when the host version of
364 is close to the sources being built, but all bets are off if there have
365 been any changes to the toolchain between the versions.
366 When set, it enforces these options:
370 .Va WITHOUT_CLANG_BOOTSTRAP
372 .Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
374 .Va WITHOUT_LLD_BOOTSTRAP
377 Do not build any crypto code.
378 When set, it enforces these options:
386 .Va WITHOUT_KERBEROS_SUPPORT
390 .Va WITHOUT_LDNS_UTILS
396 .Va WITHOUT_OPENSSL_KTLS
398 .Va WITHOUT_PKGBOOTSTRAP
409 When set, these options are also in effect:
412 .It Va WITHOUT_GSSAPI
418 Compile with CTF (Compact C Type Format) data.
419 CTF data encapsulates a reduced form of debugging information
420 similar to DWARF and the venerable stabs and is required for DTrace.
422 Do not build CUSE-related programs and libraries.
423 .It Va WITHOUT_CXGBETOOL
427 This is a default setting on
428 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
429 .It Va WITH_CXGBETOOL
433 This is a default setting on
434 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
436 Do not build C++ headers and runtime libraries.
437 It also prevents building binaries and libraries written in C++, including
439 When set, it enforces these options:
445 .Va WITHOUT_CLANG_EXTRAS
447 .Va WITHOUT_CLANG_FORMAT
449 .Va WITHOUT_CLANG_FULL
451 .Va WITHOUT_DTRACE_TESTS
453 .Va WITHOUT_GOOGLETEST
459 .Va WITHOUT_OFED_EXTRA
467 .It Va WITHOUT_DEBUG_FILES
468 Avoid building or installing standalone debug files for each
469 executable binary and shared library.
470 .It Va WITHOUT_DIALOG
477 When set, it enforces these options:
481 .Va WITHOUT_BSDINSTALL
484 Do not build the Webster dictionary files.
485 .It Va WITH_DIRDEPS_BUILD
486 This is an experimental build system.
488 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
489 Build commands can be seen from the top-level with:
490 .Dl make show-valid-targets
491 The build is driven by dirdeps.mk using
494 Makefile.depend files found in each directory.
496 The build can be started from anywhere, and behaves the same.
497 The initial instance of
502 .Pa Makefile.depend ,
503 computing a graph of tree dependencies from the current origin.
506 skips checking dirdep dependencies and will only build in the current
507 and child directories.
509 skips building any dirdeps and only build the current directory.
511 This also utilizes the
513 logic for incremental builds.
515 The build hides commands executed unless
519 Note that there is currently no mass install feature for this.
521 When set, it enforces these options:
525 .Va WITH_INSTALL_AS_USER
528 When set, these options are also in effect:
531 .It Va WITH_META_MODE
533 .Va WITHOUT_META_MODE
539 .It Va WITH_STAGING_MAN
541 .Va WITHOUT_STAGING_MAN
543 .It Va WITH_STAGING_PROG
545 .Va WITHOUT_STAGING_PROG
553 This must be set in the environment, make command line, or
554 .Pa /etc/src-env.conf ,
557 .It Va WITH_DIRDEPS_CACHE
558 Cache result of dirdeps.mk which can save significant time
559 for subsequent builds.
561 .Va WITH_DIRDEPS_BUILD .
563 This must be set in the environment, make command line, or
564 .Pa /etc/src-env.conf ,
567 .It Va WITHOUT_DMAGENT
568 Do not build dma Mail Transport Agent.
569 .It Va WITHOUT_DOCCOMPRESS
570 Do not install compressed system documentation.
571 Only the uncompressed version will be installed.
572 .It Va WITH_DTRACE_TESTS
573 Build and install the DTrace test suite in
574 .Pa /usr/tests/cddl/usr.sbin/dtrace .
575 This test suite is considered experimental on architectures other than
576 amd64/amd64 and running it may cause system instability.
577 .It Va WITHOUT_DYNAMICROOT
578 Set this if you do not want to link
584 Do not build and install
587 and related programs.
594 This is a default setting on
595 mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
602 This is a default setting on
603 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
604 .It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
605 Do not build ELF Tool Chain tools
606 (addr2line, nm, size, strings and strip)
607 as part of the bootstrap process.
609 An alternate bootstrap tool chain must be provided.
611 .It Va WITHOUT_EXAMPLES
612 Avoid installing examples to
613 .Pa /usr/share/examples/ .
614 .It Va WITH_EXPERIMENTAL
615 Include experimental features in the build.
616 .It Va WITH_EXTRA_TCP_STACKS
617 Build extra TCP stack modules.
619 Do not build Flattened Device Tree support as part of the base system.
620 This includes the device tree compiler (dtc) and libfdt support library.
624 and related programs.
625 When set, it enforces these options:
631 .It Va WITHOUT_FINGER
632 Do not build or install
636 .It Va WITHOUT_FLOPPY
637 Do not build or install programs
638 for operating floppy disk driver.
639 .It Va WITHOUT_FMTREE
640 Set to not build and install
641 .Pa /usr/sbin/fmtree .
642 .It Va WITHOUT_FORMAT_EXTENSIONS
644 .Fl fformat-extensions
645 when compiling the kernel.
646 Also disables all format checking.
648 Build bootloaders without Forth support.
649 .It Va WITHOUT_FP_LIBC
652 without floating-point support.
653 .It Va WITHOUT_FREEBSD_UPDATE
655 .Xr freebsd-update 8 .
657 Do not build or install
664 Install the traditional FreeBSD
668 programs instead of the enhanced versions.
669 .It Va WITHOUT_GNU_DIFF
672 .It Va WITHOUT_GOOGLETEST
673 Neither build nor install
678 This is a default setting on
679 mips/mips and mips/mips64.
680 .It Va WITH_GOOGLETEST
686 This is a default setting on
687 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
691 as part of the base system.
692 .It Va WITHOUT_GSSAPI
693 Do not build libgssapi.
697 and related utilities.
699 Build Hesiod support.
701 Do not build HTML docs.
702 .It Va WITHOUT_HYPERV
703 Do not build or install HyperV utilities.
705 This is a default setting on
706 arm/armv6, arm/armv7, arm64/aarch64, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
708 Build or install HyperV utilities.
710 This is a default setting on
711 amd64/amd64 and i386/i386.
713 Do not build iconv as part of libc.
714 .It Va WITHOUT_INCLUDES
715 Do not install header files.
716 This option used to be spelled
719 The option does not work for build targets.
722 Do not build programs and libraries related to IPv4 networking.
723 When set, it enforces these options:
727 .Va WITHOUT_INET_SUPPORT
731 programs and libraries related to IPv6 networking.
732 When set, it enforces these options:
736 .Va WITHOUT_INET6_SUPPORT
738 .It Va WITHOUT_INET6_SUPPORT
739 Build libraries, programs, and kernel modules without IPv6 support.
743 .It Va WITHOUT_INET_SUPPORT
744 Build libraries, programs, and kernel modules without IPv4 support.
745 .It Va WITH_INIT_ALL_PATTERN
746 Build the base system or kernel with stack variables initialized to
748 debugging patterns on function entry.
749 This option requires the clang compiler.
750 .It Va WITH_INIT_ALL_ZERO
751 Build the base system or kernel with stack variables initialized
752 to zero on function entry.
753 This option requires that the clang compiler be used.
754 .It Va WITHOUT_INSTALLLIB
755 Set this to not install optional libraries.
756 For example, when creating a
760 The option does not work for build targets.
762 .It Va WITH_INSTALL_AS_USER
763 Make install targets succeed for non-root users by installing
764 files with owner and group attributes set to that of the user running
768 The user still must set the
770 variable to point to a directory where the user has write permissions.
771 .It Va WITHOUT_IPFILTER
772 Do not build IP Filter package.
774 Do not build IPFW tools.
775 .It Va WITHOUT_IPSEC_SUPPORT
776 Do not build the kernel with
779 This option is needed for
786 and related utilities.
788 Do not build tools for the support of jails; e.g.,
795 .It Va WITHOUT_KERBEROS
796 Set this to not build Kerberos 5 (KTH Heimdal).
797 When set, these options are also in effect:
800 .It Va WITHOUT_GSSAPI
804 .It Va WITHOUT_KERBEROS_SUPPORT
806 .Va WITH_KERBEROS_SUPPORT
809 .It Va WITHOUT_KERBEROS_SUPPORT
810 Build some programs without Kerberos support, like
816 .It Va WITH_KERNEL_RETPOLINE
817 Enable the "retpoline" mitigation for CVE-2017-5715 in the kernel
819 .It Va WITHOUT_KERNEL_SYMBOLS
820 Do not install kernel debug symbol files.
824 library as a part of the base system.
826 The option has no effect yet.
828 When set, these options are also in effect:
831 .It Va WITHOUT_KVM_SUPPORT
836 .It Va WITHOUT_KVM_SUPPORT
837 Build some programs without optional
841 Setting this variable will prevent the LDNS library from being built.
842 When set, it enforces these options:
846 .Va WITHOUT_LDNS_UTILS
850 .It Va WITHOUT_LDNS_UTILS
851 Setting this variable will prevent building the LDNS utilities
855 .It Va WITHOUT_LEGACY_CONSOLE
856 Do not build programs that support a legacy PC console; e.g.,
861 On 64-bit platforms, do not build 32-bit library set and a
865 This is a default setting on
866 arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
867 .It Va WITHOUT_LIBCPLUSPLUS
868 Set to avoid building libcxxrt and libc++.
870 On armv6 only, enable soft float ABI compatibility libraries.
871 This option is for transitioning to the new hard float ABI.
873 Do not build LLVM's lld linker.
875 Do not build the LLDB debugger.
877 This is a default setting on
878 arm/armv6, arm/armv7, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
880 Build the LLDB debugger.
882 This is a default setting on
883 amd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc and powerpc/powerpc64.
884 .It Va WITHOUT_LLD_BOOTSTRAP
885 Do not build the LLD linker during the bootstrap phase of
887 To be able to build the system an alternate linker must be provided via XLD.
888 .It Va WITHOUT_LLD_IS_LD
890 .Pa /usr/bin/ld symlink
893 The system will not have a usable tool chain unless a linker is provided
895 .It Va WITH_LLVM_ASSERTIONS
896 Enable debugging assertions in LLVM.
897 .It Va WITH_LLVM_BINUTILS
898 Install LLVM's binutils (ar, addr2line, nm, etc.) instead of ELF Tool Chain's.
899 .It Va WITHOUT_LLVM_COV
903 .It Va WITHOUT_LLVM_CXXFILT
904 Install ELF Tool Chain's cxxfilt as c++filt, instead of LLVM's llvm-cxxfilt.
905 .It Va WITHOUT_LLVM_TARGET_AARCH64
906 Do not build LLVM target support for AArch64.
909 option should be used rather than this in most cases.
910 .It Va WITHOUT_LLVM_TARGET_ALL
911 Only build the required LLVM target support.
912 This option is preferred to specific target support options.
913 When set, these options are also in effect:
916 .It Va WITHOUT_LLVM_TARGET_AARCH64
918 .Va WITH_LLVM_TARGET_AARCH64
920 .It Va WITHOUT_LLVM_TARGET_ARM
922 .Va WITH_LLVM_TARGET_ARM
924 .It Va WITHOUT_LLVM_TARGET_MIPS
926 .Va WITH_LLVM_TARGET_MIPS
928 .It Va WITHOUT_LLVM_TARGET_POWERPC
930 .Va WITH_LLVM_TARGET_POWERPC
932 .It Va WITHOUT_LLVM_TARGET_RISCV
934 .Va WITH_LLVM_TARGET_RISCV
937 .It Va WITHOUT_LLVM_TARGET_ARM
938 Do not build LLVM target support for ARM.
941 option should be used rather than this in most cases.
942 .It Va WITH_LLVM_TARGET_BPF
943 Build LLVM target support for BPF.
946 option should be used rather than this in most cases.
947 .It Va WITHOUT_LLVM_TARGET_MIPS
948 Do not build LLVM target support for MIPS.
951 option should be used rather than this in most cases.
952 .It Va WITHOUT_LLVM_TARGET_POWERPC
953 Do not build LLVM target support for PowerPC.
956 option should be used rather than this in most cases.
957 .It Va WITHOUT_LLVM_TARGET_RISCV
958 Do not build LLVM target support for RISC-V.
961 option should be used rather than this in most cases.
962 .It Va WITHOUT_LLVM_TARGET_X86
963 Do not build LLVM target support for X86.
966 option should be used rather than this in most cases.
967 .It Va WITH_LOADER_EFI_SECUREBOOT
970 with support for verification based on certificates obtained from UEFI.
972 .It Va WITH_LOADER_FIREWIRE
973 Enable firewire support in /boot/loader on x86.
974 This option is a nop on all other platforms.
975 .It Va WITHOUT_LOADER_GELI
976 Disable inclusion of GELI crypto support in the boot chain binaries.
978 This is a default setting on
979 powerpc/powerpc and powerpc/powerpc64.
980 .It Va WITH_LOADER_GELI
981 Build GELI bootloader support.
983 This is a default setting on
984 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
985 .It Va WITHOUT_LOADER_LUA
986 Do not build LUA bindings for the boot loader.
988 This is a default setting on
989 powerpc/powerpc and powerpc/powerpc64.
990 .It Va WITH_LOADER_LUA
991 Build LUA bindings for the boot loader.
993 This is a default setting on
994 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
995 .It Va WITHOUT_LOADER_OFW
996 Disable building of openfirmware bootloader components.
998 This is a default setting on
999 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, mips/mips64, riscv/riscv64 and riscv/riscv64sf.
1000 .It Va WITH_LOADER_OFW
1001 Build openfirmware bootloader components.
1003 This is a default setting on
1004 powerpc/powerpc and powerpc/powerpc64.
1005 .It Va WITHOUT_LOADER_UBOOT
1006 Disable building of ubldr.
1008 This is a default setting on
1009 amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
1010 .It Va WITH_LOADER_UBOOT
1013 This is a default setting on
1014 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc and powerpc/powerpc64.
1015 .It Va WITH_LOADER_VERBOSE
1016 Build with extra verbose debugging in the loader.
1017 May explode already nearly too large loader over the limit.
1019 .It Va WITH_LOADER_VERIEXEC
1022 with support for verification similar to Verified Exec.
1026 When set, these options are also in effect:
1029 .It Va WITH_LOADER_EFI_SECUREBOOT
1031 .Va WITHOUT_LOADER_EFI_SECUREBOOT
1033 .It Va WITH_LOADER_VERIEXEC_VECTX
1035 .Va WITHOUT_LOADER_VERIEXEC_VECTX
1038 .It Va WITH_LOADER_VERIEXEC_PASS_MANIFEST
1041 with support to pass a verified manifest to the kernel.
1042 The kernel has to be built with a module to parse the manifest.
1045 .Va WITH_LOADER_VERIEXEC .
1046 .It Va WITHOUT_LOADER_ZFS
1047 Do not build ZFS file system boot loader support.
1048 .It Va WITHOUT_LOCALES
1049 Do not build localization files; see
1051 .It Va WITHOUT_LOCATE
1054 and related programs.
1058 and related programs.
1059 .It Va WITHOUT_LS_COLORS
1062 without support for colors to distinguish file types.
1064 Do not build any mail support (MUA or MTA).
1065 When set, it enforces these options:
1071 .Va WITHOUT_MAILWRAPPER
1073 .Va WITHOUT_SENDMAIL
1075 .It Va WITHOUT_MAILWRAPPER
1082 and related support files.
1083 .It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
1086 in limited sandbox mode.
1087 This option should be paired with
1088 .Va WITH_INSTALL_AS_USER
1089 if executed as an unprivileged user.
1093 .It Va WITHOUT_MALLOC_PRODUCTION
1094 Enable assertions and statistics gathering in
1096 It also defaults the A and J runtime options to on.
1098 Do not build manual pages.
1099 When set, these options are also in effect:
1102 .It Va WITHOUT_MAN_UTILS
1107 .It Va WITHOUT_MANCOMPRESS
1108 Do not install compressed man pages.
1109 Only the uncompressed versions will be installed.
1110 .It Va WITH_MANSPLITPKG
1111 Split man pages into their own packages during make package.
1112 .It Va WITHOUT_MAN_UTILS
1113 Do not build utilities for manual pages,
1119 and related support files.
1120 .It Va WITH_META_MODE
1123 meta files when building, which can provide a reliable incremental build when
1126 The meta file is created in OBJDIR as
1128 These meta files track the command that was executed, its output, and the
1132 module is required unless
1135 When the module is loaded, any files used by the commands executed are
1136 tracked as dependencies for the target in its meta file.
1137 The target is considered out-of-date and rebuilt if any of these
1138 conditions are true compared to the last build:
1139 .Bl -bullet -compact
1141 The command to execute changes.
1143 The current working directory changes.
1145 The target's meta file is missing.
1147 The target's meta file is missing filemon data when filemon is loaded
1148 and a previous run did not have it loaded.
1152 Files read, executed or linked to are newer than the target.
1156 Files read, written, executed or linked are missing.
1158 The meta files can also be useful for debugging.
1160 The build hides commands that are executed unless
1165 to show some of its environment for further debugging.
1167 The build operates as it normally would otherwise.
1168 This option originally invoked a different build system but that was renamed
1170 .Va WITH_DIRDEPS_BUILD .
1172 This must be set in the environment, make command line, or
1173 .Pa /etc/src-env.conf ,
1176 .It Va WITHOUT_MLX5TOOL
1180 This is a default setting on
1181 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1182 .It Va WITH_MLX5TOOL
1186 This is a default setting on
1187 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1189 Set to not build programs and libraries
1190 related to NDIS emulation support.
1191 .It Va WITHOUT_NETCAT
1195 .It Va WITHOUT_NETGRAPH
1196 Do not build applications to support
1198 When set, it enforces these options:
1204 .Va WITHOUT_BLUETOOTH
1207 When set, these options are also in effect:
1210 .It Va WITHOUT_NETGRAPH_SUPPORT
1212 .Va WITH_NETGRAPH_SUPPORT
1215 .It Va WITHOUT_NETGRAPH_SUPPORT
1216 Build libraries, programs, and kernel modules without netgraph support.
1220 support and related programs.
1221 If set, you might need to adopt your
1227 Do not build NLS catalogs.
1228 When set, it enforces these options:
1232 .Va WITHOUT_NLS_CATALOGS
1234 .It Va WITHOUT_NLS_CATALOGS
1235 Do not build NLS catalog support for
1237 .It Va WITHOUT_NS_CACHING
1238 Disable name caching in the
1241 The generic caching daemon,
1243 will not be built either if this option is set.
1247 and related programs.
1249 Do not build nvme related tools and kernel modules.
1251 This is a default setting on
1252 arm/armv6, arm/armv7, mips/mips, mips/mips64, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1254 Build nvme related tools and kernel modules.
1256 This is a default setting on
1257 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1259 Disable the build of the
1260 .Dq "OpenFabrics Enterprise Distribution"
1261 Infiniband software stack, including kernel modules and userspace libraries.
1262 When set, it enforces these options:
1266 .Va WITHOUT_OFED_EXTRA
1268 .It Va WITH_OFED_EXTRA
1269 Build the non-essential components of the
1270 .Dq "OpenFabrics Enterprise Distribution"
1271 Infiniband software stack, mostly examples.
1272 .It Va WITH_OPENLDAP
1273 Enable building LDAP support for kerberos using an openldap client from ports.
1274 .It Va WITHOUT_OPENMP
1275 Do not build LLVM's OpenMP runtime.
1277 This is a default setting on
1278 arm/armv6, arm/armv7, mips/mips, mips/mips64 and powerpc/powerpc.
1280 Build LLVM's OpenMP runtime.
1282 This is a default setting on
1283 amd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1284 .It Va WITHOUT_OPENSSH
1285 Do not build OpenSSH.
1286 .It Va WITHOUT_OPENSSL
1287 Do not build OpenSSL.
1288 When set, it enforces these options:
1294 .Va WITHOUT_KERBEROS
1296 .Va WITHOUT_KERBEROS_SUPPORT
1300 .Va WITHOUT_LDNS_UTILS
1304 .Va WITHOUT_OPENSSL_KTLS
1306 .Va WITHOUT_PKGBOOTSTRAP
1317 When set, these options are also in effect:
1320 .It Va WITHOUT_GSSAPI
1325 .It Va WITHOUT_OPENSSL_KTLS
1326 Do not include kernel TLS support in OpenSSL.
1328 This is a default setting on
1329 arm/armv6, arm/armv7, i386/i386, mips/mips, mips/mips64, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1330 .It Va WITH_OPENSSL_KTLS
1331 Include kernel TLS support in OpenSSL.
1333 This is a default setting on
1334 amd64/amd64 and arm64/aarch64.
1336 Do not build PAM library and modules.
1338 This option is deprecated and does nothing.
1340 When set, these options are also in effect:
1343 .It Va WITHOUT_PAM_SUPPORT
1345 .Va WITH_PAM_SUPPORT
1348 .It Va WITHOUT_PAM_SUPPORT
1349 Build some programs without PAM support, particularly
1354 Do not build PF firewall package.
1355 When set, it enforces these options:
1362 Do not build dynamically linked binaries as
1363 Position-Independent Executable (PIE).
1364 .It Va WITHOUT_PKGBOOTSTRAP
1371 and related programs.
1372 .It Va WITHOUT_PORTSNAP
1373 Do not build or install
1379 and related programs.
1380 .It Va WITHOUT_PROFILE
1381 Do not build profiled libraries for use with
1384 This is a default setting on
1387 Build profiled libraries for use with
1389 This option is deprecated and is not present in
1392 This is a default setting on
1393 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mips, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1394 .It Va WITHOUT_QUOTAS
1397 and related programs.
1398 .It Va WITHOUT_RADIUS_SUPPORT
1399 Do not build radius support into various applications, like
1403 .It Va WITH_RATELIMIT
1404 Build the system with rate limit support.
1407 .Dv SO_MAX_PACING_RATE
1415 .It Va WITHOUT_RBOOTD
1416 Do not build or install
1418 .It Va WITH_REPRODUCIBLE_BUILD
1419 Exclude build metadata (such as the build time, user, or host)
1420 from the kernel, boot loaders, and uname output, so that builds produce
1421 bit-for-bit identical output.
1422 .It Va WITHOUT_RESCUE
1425 .It Va WITH_RETPOLINE
1426 Build the base system with the retpoline speculative execution
1427 vulnerability mitigation for CVE-2017-5715.
1428 .It Va WITHOUT_ROUTED
1432 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1435 with warmstart support.
1436 .It Va WITHOUT_SENDMAIL
1439 and related programs.
1440 .It Va WITHOUT_SERVICESDB
1442 .Pa /var/db/services.db .
1443 .It Va WITHOUT_SETUID_LOGIN
1444 Set this to disable the installation of
1446 as a set-user-ID root program.
1447 .It Va WITHOUT_SHAREDOCS
1451 .It Va WITHOUT_SHARED_TOOLCHAIN
1452 Build the toolchain binaries as statically linked executables.
1456 and necessary utilities like assembler, linker and library archive manager.
1457 .It Va WITH_SORT_THREADS
1460 .It Va WITHOUT_SOURCELESS
1461 Do not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1462 When set, it enforces these options:
1466 .Va WITHOUT_SOURCELESS_HOST
1468 .Va WITHOUT_SOURCELESS_UCODE
1470 .It Va WITHOUT_SOURCELESS_HOST
1471 Do not build kernel modules that include sourceless native code for host CPU.
1472 .It Va WITHOUT_SOURCELESS_UCODE
1473 Do not build kernel modules that include sourceless microcode.
1475 Do not build world with propolice stack smashing protection.
1477 This is a default setting on
1478 mips/mips and mips/mips64.
1480 Build world with propolice stack smashing protection.
1482 This is a default setting on
1483 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1485 Enable staging of files to a stage tree.
1486 This can be best thought of as auto-install to
1488 with some extra meta data to ensure dependencies can be tracked.
1490 .Va WITH_DIRDEPS_BUILD .
1491 When set, these options are also in effect:
1494 .It Va WITH_STAGING_MAN
1496 .Va WITHOUT_STAGING_MAN
1498 .It Va WITH_STAGING_PROG
1500 .Va WITHOUT_STAGING_PROG
1504 This must be set in the environment, make command line, or
1505 .Pa /etc/src-env.conf ,
1508 .It Va WITH_STAGING_MAN
1509 Enable staging of man pages to stage tree.
1510 .It Va WITH_STAGING_PROG
1511 Enable staging of PROGs to stage tree.
1512 .It Va WITH_STALE_STAGED
1513 Check staged files are not stale.
1514 .It Va WITHOUT_STATS
1515 Neither build nor install
1517 and dependent binaries.
1526 and related programs.
1527 .It Va WITHOUT_SYSCONS
1530 support files such as keyboard maps, fonts, and screen output maps.
1532 Enable use of sysroot during build.
1534 .Va WITH_DIRDEPS_BUILD .
1536 This must be set in the environment, make command line, or
1537 .Pa /etc/src-env.conf ,
1540 .It Va WITHOUT_SYSTEM_COMPILER
1541 Do not opportunistically skip building a cross-compiler during the
1542 bootstrap phase of the build.
1543 Normally, if the currently installed compiler matches the planned bootstrap
1544 compiler type and revision, then it will not be built.
1545 This does not prevent a compiler from being built for installation though,
1546 only for building one for the build itself.
1549 option controls that.
1550 .It Va WITHOUT_SYSTEM_LINKER
1551 Do not opportunistically skip building a cross-linker during the
1552 bootstrap phase of the build.
1553 Normally, if the currently installed linker matches the planned bootstrap
1554 linker type and revision, then it will not be built.
1555 This does not prevent a linker from being built for installation though,
1556 only for building one for the build itself.
1559 option controls that.
1561 This option is only relevant when
1562 .Va WITH_LLD_BOOTSTRAP
1565 Do not build or install
1569 .It Va WITHOUT_TCP_WRAPPERS
1570 Do not build or install
1572 and related utilities.
1574 Do not build and install
1578 .It Va WITHOUT_TELNET
1581 and related programs.
1582 .It Va WITHOUT_TESTS
1583 Do not build nor install the
1590 This also disables the build of all test-related dependencies, including ATF.
1591 When set, it enforces these options:
1595 .Va WITHOUT_DTRACE_TESTS
1598 When set, these options are also in effect:
1601 .It Va WITHOUT_GOOGLETEST
1605 .It Va WITHOUT_TESTS_SUPPORT
1607 .Va WITH_TESTS_SUPPORT
1610 .It Va WITHOUT_TESTS_SUPPORT
1611 Disable the build of all test-related dependencies, including ATF.
1612 When set, it enforces these options:
1616 .Va WITHOUT_GOOGLETEST
1618 .It Va WITHOUT_TEXTPROC
1620 programs used for text processing.
1622 Do not build or install
1626 .It Va WITHOUT_TOOLCHAIN
1627 Do not install header or
1628 programs used for program development,
1629 compilers, debuggers etc.
1630 When set, it enforces these options:
1636 .Va WITHOUT_CLANG_EXTRAS
1638 .Va WITHOUT_CLANG_FORMAT
1640 .Va WITHOUT_CLANG_FULL
1642 .Va WITHOUT_INCLUDES
1648 .Va WITHOUT_LLVM_BINUTILS
1650 .Va WITHOUT_LLVM_COV
1652 .It Va WITHOUT_UNBOUND
1655 and related programs.
1656 .It Va WITHOUT_UNIFIED_OBJDIR
1657 Use the historical object directory format for
1660 For native-builds and builds done directly in sub-directories the format of
1661 .Pa ${MAKEOBJDIRPREFIX}/${.CURDIR}
1663 while for cross-builds
1664 .Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR}
1667 This option is transitional and will be removed in a future version of
1670 .va WITH_UNIFIED_OBJDIR
1671 will be enabled permanently.
1673 This must be set in the environment, make command line, or
1674 .Pa /etc/src-env.conf ,
1678 Do not build USB-related programs and libraries.
1679 .It Va WITHOUT_USB_GADGET_EXAMPLES
1680 Do not build USB gadget kernel modules.
1681 .It Va WITHOUT_UTMPX
1682 Do not build user accounting tools such as
1690 .It Va WITH_VERIEXEC
1693 which loads the contents of verified manifests into the kernel
1700 Do not build and install vi, view, ex and related programs.
1704 support files (fonts and keymaps).
1705 .It Va WITHOUT_WARNS
1706 Set this to not add warning flags to the compiler invocations.
1707 Useful as a temporary workaround when code enters the tree
1708 which triggers warnings in environments that differ from the
1710 .It Va WITHOUT_WERROR
1711 Set this to not treat compiler warnings as errors.
1712 Useful as a temporary workaround when working on fixing compiler warnings.
1713 When set, warnings are still printed in the build log but do not fail the build.
1714 .It Va WITHOUT_WIRELESS
1715 Do not build programs used for 802.11 wireless networks; especially
1716 .Xr wpa_supplicant 8
1719 When set, these options are also in effect:
1722 .It Va WITHOUT_WIRELESS_SUPPORT
1724 .Va WITH_WIRELESS_SUPPORT
1727 .It Va WITHOUT_WIRELESS_SUPPORT
1728 Build libraries, programs, and kernel modules without
1729 802.11 wireless support.
1730 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1732 .Xr wpa_supplicant 8
1733 without support for the IEEE 802.1X protocol and without
1734 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1735 protocols (usable only via 802.1X).
1737 Do not build ZFS file system kernel module, libraries, and user commands.
1738 .It Va WITHOUT_ZONEINFO
1739 Do not build the timezone database.
1740 When set, it enforces these options:
1744 .Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
1746 .It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
1747 Build leapsecond information in to the timezone database.
1750 .Bl -tag -compact -width Pa
1751 .It Pa /etc/src.conf
1752 .It Pa /etc/src-env.conf
1753 .It Pa /usr/share/mk/bsd.own.mk
1766 This manual page was autogenerated by
1767 .An tools/build/options/makeman .