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.
104 Set to build the legacy
106 automount daemon and related programs.
109 is the preferred automount technique.
114 and related programs.
115 .It Va WITHOUT_ASSERT_DEBUG
116 Set to compile programs and libraries without the
122 and related utilities.
125 programs and libraries related to ATM networking.
127 Set to not build audit support into system programs.
128 .It Va WITHOUT_AUTHPF
131 .It Va WITHOUT_AUTOFS
134 related programs, libraries, and kernel modules.
135 .It Va WITHOUT_AUTO_OBJ
136 Disable automatic creation of objdirs.
137 This is enabled by default if the wanted OBJDIR is writable by the current user.
139 This must be set in the environment, make command line, or
140 .Pa /etc/src-env.conf ,
144 Build the BearSSL library.
146 BearSSL is a tiny SSL library suitable for embedded environments.
148 .Lk http://www.BearSSL.org/
150 This library is currently only used to perform
151 signature verification and related operations
152 for Verified Exec and
154 When set, these options are also in effect:
157 .It Va WITH_LOADER_EFI_SECUREBOOT
159 .Va WITHOUT_LOADER_EFI_SECUREBOOT
161 .It Va WITH_LOADER_VERIEXEC
163 .Va WITHOUT_LOADER_VERIEXEC
171 Set to not build or install
173 associated utilities, and examples.
175 This option only affects amd64/amd64.
177 Build all binaries with the
179 flag set to indicate that the run-time loader should perform all relocation
180 processing at process startup rather than on demand.
181 .It Va WITHOUT_BINUTILS
182 Do not build or install GNU
187 of the normal system build.
189 This is a default setting on
190 arm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
192 Build and install GNU
198 on powerpc as part of the normal system build.
200 This is a default setting on
201 amd64/amd64, arm/armv6, arm/armv7, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc and powerpc/powerpc64.
202 .It Va WITHOUT_BINUTILS_BOOTSTRAP
203 Do not build GNU binutils
204 as part of the bootstrap process.
206 This is a default setting on
207 arm/armv6, arm/armv7, arm64/aarch64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, riscv/riscv64 and riscv/riscv64sf.
208 .It Va WITH_BINUTILS_BOOTSTRAP
210 as part of the bootstrap process.
212 This is a default setting on
213 amd64/amd64, i386/i386, powerpc/powerpc and powerpc/powerpc64.
214 .It Va WITHOUT_BLACKLIST
215 Set this if you do not want to build
219 When set, these options are also in effect:
222 .It Va WITHOUT_BLACKLIST_SUPPORT
224 .Va WITH_BLACKLIST_SUPPORT
227 .It Va WITHOUT_BLACKLIST_SUPPORT
228 Set to build some programs without
235 .It Va WITHOUT_BLUETOOTH
236 Set to not build Bluetooth related kernel modules, programs and libraries.
238 Set to not build the boot blocks and loader.
239 .It Va WITHOUT_BOOTPARAMD
240 Set to not build or install
242 .It Va WITHOUT_BOOTPD
243 Set to not build or install
245 .It Va WITHOUT_BSDINSTALL
249 and related programs.
250 .It Va WITHOUT_BSD_CPIO
251 Set to not build the BSD licensed version of cpio based on
254 Install BSD-licensed grep as '[ef]grep' instead of GNU grep.
256 Set to not build or install
258 and related libraries and data files.
260 Set to not build contributed bzip2 software as a part of the base system.
262 The option has no effect yet.
264 When set, these options are also in effect:
267 .It Va WITHOUT_BZIP2_SUPPORT
269 .Va WITH_BZIP2_SUPPORT
272 .It Va WITHOUT_BZIP2_SUPPORT
273 Set to build some programs without optional bzip2 support.
274 .It Va WITHOUT_CALENDAR
277 .It Va WITHOUT_CAPSICUM
278 Set to not build Capsicum support into system programs.
279 When set, it enforces these options:
285 .It Va WITHOUT_CAROOT
286 Set to not add the trusted certificates from the Mozilla NSS bundle to
288 .It Va WITHOUT_CASPER
289 Set to not build Casper program and related libraries.
290 .It Va WITH_CCACHE_BUILD
294 No configuration is required except to install the
300 .Sy CCACHE_PREFIX=/usr/local/bin/distcc .
301 The default cache directory of
303 will be used, which can be overridden by setting
306 .Sy CCACHE_COMPILERCHECK
309 when using the in-tree bootstrap compiler,
312 when using an external compiler.
315 option is used for Clang but not GCC.
317 Sharing a cache between multiple work directories requires using a layout
321 and an environment such as:
322 .Bd -literal -offset indent
323 CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
328 for more configuration options.
332 and related utilities.
334 Set to not build code licensed under Sun's CDDL.
335 When set, it enforces these options:
341 .Va WITHOUT_LOADER_ZFS
346 Set to not build the Clang C/C++ compiler during the regular phase of the build.
347 When set, it enforces these options:
351 .Va WITHOUT_CLANG_EXTRAS
353 .Va WITHOUT_CLANG_FULL
357 .It Va WITHOUT_CLANG_BOOTSTRAP
358 Set to not build the Clang C/C++ compiler during the bootstrap phase of
360 To be able to build the system, either gcc or clang bootstrap must be
361 enabled unless an alternate compiler is provided via XCC.
363 This is a default setting on
364 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
365 .It Va WITH_CLANG_BOOTSTRAP
366 Set to build the Clang C/C++ compiler during the bootstrap phase of the build.
368 This is a default setting on
369 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
370 .It Va WITH_CLANG_EXTRAS
371 Set to build additional clang and llvm tools, such as bugpoint and
373 .It Va WITHOUT_CLANG_FULL
374 Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
375 the Clang C/C++ compiler.
376 .It Va WITHOUT_CLANG_IS_CC
377 Do not install links to the Clang C/C++ compiler as
383 This is a default setting on
384 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
385 .It Va WITH_CLANG_IS_CC
386 Install links to the Clang C/C++ compiler as
392 This is a default setting on
393 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
397 .It Va WITHOUT_CROSS_COMPILER
398 Set to not build any cross compiler in the cross-tools stage of buildworld.
399 When compiling a different version of
401 than what is installed on the system, provide an alternate
402 compiler with XCC to ensure success.
403 When compiling with an identical version of
405 to the host, this option may be safely used.
406 This option may also be safe when the host version of
408 is close to the sources being built, but all bets are off if there have
409 been any changes to the toolchain between the versions.
410 When set, it enforces these options:
414 .Va WITHOUT_BINUTILS_BOOTSTRAP
416 .Va WITHOUT_CLANG_BOOTSTRAP
418 .Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
420 .Va WITHOUT_LLD_BOOTSTRAP
423 Set to not build any crypto code.
424 When set, it enforces these options:
432 .Va WITHOUT_KERBEROS_SUPPORT
436 .Va WITHOUT_LDNS_UTILS
445 When set, these options are also in effect:
448 .It Va WITHOUT_GSSAPI
454 Set to compile with CTF (Compact C Type Format) data.
455 CTF data encapsulates a reduced form of debugging information
456 similar to DWARF and the venerable stabs and is required for DTrace.
458 Set to not build CUSE-related programs and libraries.
459 .It Va WITHOUT_CXGBETOOL
463 This is a default setting on
464 arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
465 .It Va WITH_CXGBETOOL
469 This is a default setting on
470 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
474 and related libraries.
475 It will also prevent building of
479 When set, it enforces these options:
485 .Va WITHOUT_CLANG_EXTRAS
487 .Va WITHOUT_CLANG_FULL
489 .Va WITHOUT_DTRACE_TESTS
491 .Va WITHOUT_GOOGLETEST
497 .It Va WITHOUT_DEBUG_FILES
498 Set to avoid building or installing standalone debug files for each
499 executable binary and shared library.
500 .It Va WITHOUT_DIALOG
507 When set, it enforces these options:
511 .Va WITHOUT_BSDINSTALL
514 Set to not build the Webster dictionary files.
515 .It Va WITH_DIRDEPS_BUILD
516 This is an experimental build system.
518 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
519 Build commands can be seen from the top-level with:
520 .Dl make show-valid-targets
521 The build is driven by dirdeps.mk using
524 Makefile.depend files found in each directory.
526 The build can be started from anywhere, and behaves the same.
527 The initial instance of
532 .Pa Makefile.depend ,
533 computing a graph of tree dependencies from the current origin.
536 skips checking dirdep dependencies and will only build in the current
537 and child directories.
539 skips building any dirdeps and only build the current directory.
541 This also utilizes the
543 logic for incremental builds.
545 The build hides commands executed unless
549 Note that there is currently no mass install feature for this.
551 When set, it enforces these options:
555 .Va WITH_INSTALL_AS_USER
558 When set, these options are also in effect:
561 .It Va WITH_META_MODE
563 .Va WITHOUT_META_MODE
569 .It Va WITH_STAGING_MAN
571 .Va WITHOUT_STAGING_MAN
573 .It Va WITH_STAGING_PROG
575 .Va WITHOUT_STAGING_PROG
583 This must be set in the environment, make command line, or
584 .Pa /etc/src-env.conf ,
587 .It Va WITH_DIRDEPS_CACHE
588 Cache result of dirdeps.mk which can save significant time
589 for subsequent builds.
591 .Va WITH_DIRDEPS_BUILD .
593 This must be set in the environment, make command line, or
594 .Pa /etc/src-env.conf ,
597 .It Va WITHOUT_DMAGENT
598 Set to not build dma Mail Transport Agent.
599 .It Va WITHOUT_DOCCOMPRESS
600 Set to not install compressed system documentation.
601 Only the uncompressed version will be installed.
602 .It Va WITH_DTRACE_TESTS
603 Set to build and install the DTrace test suite in
604 .Pa /usr/tests/cddl/usr.sbin/dtrace .
605 This test suite is considered experimental on architectures other than
606 amd64/amd64 and running it may cause system instability.
607 .It Va WITHOUT_DYNAMICROOT
608 Set this if you do not want to link
614 Set to not build and install
617 and related programs.
624 This is a default setting on
625 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
632 This is a default setting on
633 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
634 .It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
635 Set to not build ELF Tool Chain tools
636 (addr2line, nm, size, strings and strip)
637 as part of the bootstrap process.
639 An alternate bootstrap tool chain must be provided.
641 .It Va WITHOUT_EXAMPLES
642 Set to avoid installing examples to
643 .Pa /usr/share/examples/ .
644 .It Va WITH_EXPERIMENTAL
645 Set to include experimental features in the build.
646 .It Va WITH_EXTRA_TCP_STACKS
647 Set to build extra TCP stack modules.
649 Set to not build Flattened Device Tree support as part of the base system.
650 This includes the device tree compiler (dtc) and libfdt support library.
654 and related programs.
655 When set, it enforces these options:
661 .It Va WITHOUT_FINGER
662 Set to not build or install
666 .It Va WITHOUT_FLOPPY
667 Set to not build or install programs
668 for operating floppy disk driver.
669 .It Va WITHOUT_FMTREE
670 Set to not build and install
671 .Pa /usr/sbin/fmtree .
672 .It Va WITHOUT_FORMAT_EXTENSIONS
674 .Fl fformat-extensions
675 when compiling the kernel.
676 Also disables all format checking.
678 Set to build bootloaders without Forth support.
679 .It Va WITHOUT_FP_LIBC
682 without floating-point support.
683 .It Va WITHOUT_FREEBSD_UPDATE
685 .Xr freebsd-update 8 .
687 Set to not build or install
692 Set to not build games.
697 This is a default setting on
698 arm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
703 This is a default setting on
704 amd64/amd64, arm/armv6, arm/armv7, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc and powerpc/powerpc64.
705 .It Va WITHOUT_GDB_LIBEXEC
710 .It Va WITHOUT_GNU_DIFF
715 .It Va WITHOUT_GNU_GREP
718 .It Va WITH_GNU_GREP_COMPAT
719 Set this option to include GNU extensions in
721 by linking against libgnuregex.
722 .It Va WITHOUT_GOOGLETEST
723 Set to neither build nor install
728 This is a default setting on
729 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
730 .It Va WITH_GOOGLETEST
731 Set to build and install
736 This is a default setting on
737 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
741 as part of the base system.
742 .It Va WITHOUT_GSSAPI
743 Set to not build libgssapi.
747 and related utilities.
749 Set to build Hesiod support.
751 Set to not build HTML docs.
752 .It Va WITHOUT_HYPERV
753 Set to not build or install HyperV utilities.
755 This is a default setting on
756 arm/armv6, arm/armv7, arm64/aarch64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
758 Set to build or install HyperV utilities.
760 This is a default setting on
761 amd64/amd64 and i386/i386.
763 Set to not build iconv as part of libc.
764 .It Va WITHOUT_INCLUDES
765 Set to not install header files.
766 This option used to be spelled
769 The option does not work for build targets.
772 Set to not build programs and libraries related to IPv4 networking.
773 When set, it enforces these options:
777 .Va WITHOUT_INET_SUPPORT
781 programs and libraries related to IPv6 networking.
782 When set, it enforces these options:
786 .Va WITHOUT_INET6_SUPPORT
788 .It Va WITHOUT_INET6_SUPPORT
789 Set to build libraries, programs, and kernel modules without IPv6 support.
793 .It Va WITHOUT_INET_SUPPORT
794 Set to build libraries, programs, and kernel modules without IPv4 support.
795 .It Va WITHOUT_INSTALLLIB
796 Set this to not install optional libraries.
797 For example, when creating a
801 The option does not work for build targets.
803 .It Va WITH_INSTALL_AS_USER
804 Set to make install targets succeed for non-root users by installing
805 files with owner and group attributes set to that of the user running
809 The user still must set the
811 variable to point to a directory where the user has write permissions.
812 .It Va WITHOUT_IPFILTER
813 Set to not build IP Filter package.
815 Set to not build IPFW tools.
816 .It Va WITHOUT_IPSEC_SUPPORT
817 Set to not build the kernel with
820 This option is needed for
827 and related utilities.
829 Set to not build tools for the support of jails; e.g.,
836 .It Va WITHOUT_KERBEROS
837 Set this to not build Kerberos 5 (KTH Heimdal).
838 When set, these options are also in effect:
841 .It Va WITHOUT_GSSAPI
845 .It Va WITHOUT_KERBEROS_SUPPORT
847 .Va WITH_KERBEROS_SUPPORT
850 .It Va WITHOUT_KERBEROS_SUPPORT
851 Set to build some programs without Kerberos support, like
857 .It Va WITH_KERNEL_RETPOLINE
858 Set to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel
860 .It Va WITHOUT_KERNEL_SYMBOLS
861 Set to not install kernel symbol files.
863 This option is recommended for those people who have small root partitions.
868 library as a part of the base system.
870 The option has no effect yet.
872 When set, these options are also in effect:
875 .It Va WITHOUT_KVM_SUPPORT
880 .It Va WITHOUT_KVM_SUPPORT
881 Set to build some programs without optional
885 Setting this variable will prevent the LDNS library from being built.
886 When set, it enforces these options:
890 .Va WITHOUT_LDNS_UTILS
894 .It Va WITHOUT_LDNS_UTILS
895 Setting this variable will prevent building the LDNS utilities
899 .It Va WITHOUT_LEGACY_CONSOLE
900 Set to not build programs that support a legacy PC console; e.g.,
905 On 64-bit platforms, set to not build 32-bit library set and a
909 This is a default setting on
910 arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mipsn32, mips/mipselhf, mips/mipshf, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
911 .It Va WITHOUT_LIBCPLUSPLUS
912 Set to avoid building libcxxrt and libc++.
913 .It Va WITHOUT_LIBPTHREAD
918 When set, it enforces these options:
925 On armv6 only, set to enable soft float ABI compatibility libraries.
926 This option is for transitioning to the new hard float ABI.
927 .It Va WITHOUT_LIBTHR
933 Set to not build LLVM's lld linker.
935 Set to not build the LLDB debugger.
937 This is a default setting on
938 arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
940 Set to build the LLDB debugger.
942 This is a default setting on
943 amd64/amd64, arm64/aarch64 and i386/i386.
944 .It Va WITHOUT_LLD_BOOTSTRAP
945 Set to not build the LLD linker during the bootstrap phase of
947 To be able to build the system, either Binutils or LLD bootstrap must be
948 enabled unless an alternate linker is provided via XLD.
950 This is a default setting on
951 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and powerpc/powerpc.
952 .It Va WITH_LLD_BOOTSTRAP
953 Set to build the LLD linker during the bootstrap phase of the build,
954 and use it during buildworld and buildkernel.
956 This is a default setting on
957 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
958 .It Va WITHOUT_LLD_IS_LD
959 Set to use GNU binutils ld as the system linker, instead of LLVM's LLD.
961 This is a default setting on
962 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and powerpc/powerpc.
963 .It Va WITH_LLD_IS_LD
964 Set to use LLVM's LLD as the system linker, instead of GNU binutils ld.
966 This is a default setting on
967 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
968 .It Va WITHOUT_LLVM_COV
972 .It Va WITHOUT_LLVM_TARGET_AARCH64
973 Set to not build LLVM target support for AArch64.
976 option should be used rather than this in most cases.
977 .It Va WITHOUT_LLVM_TARGET_ALL
978 Set to only build the required LLVM target support.
979 This option is preferred to specific target support options.
980 When set, these options are also in effect:
983 .It Va WITHOUT_LLVM_TARGET_AARCH64
985 .Va WITH_LLVM_TARGET_AARCH64
987 .It Va WITHOUT_LLVM_TARGET_ARM
989 .Va WITH_LLVM_TARGET_ARM
991 .It Va WITHOUT_LLVM_TARGET_MIPS
993 .Va WITH_LLVM_TARGET_MIPS
995 .It Va WITHOUT_LLVM_TARGET_POWERPC
997 .Va WITH_LLVM_TARGET_POWERPC
999 .It Va WITHOUT_LLVM_TARGET_RISCV
1001 .Va WITH_LLVM_TARGET_RISCV
1004 .It Va WITHOUT_LLVM_TARGET_ARM
1005 Set to not build LLVM target support for ARM.
1008 option should be used rather than this in most cases.
1009 .It Va WITH_LLVM_TARGET_BPF
1010 Set to build LLVM target support for BPF.
1013 option should be used rather than this in most cases.
1014 .It Va WITHOUT_LLVM_TARGET_MIPS
1015 Set to not build LLVM target support for MIPS.
1018 option should be used rather than this in most cases.
1019 .It Va WITHOUT_LLVM_TARGET_POWERPC
1020 Set to not build LLVM target support for PowerPC.
1023 option should be used rather than this in most cases.
1024 .It Va WITHOUT_LLVM_TARGET_RISCV
1025 Set to not build LLVM target support for RISC-V.
1028 option should be used rather than this in most cases.
1029 .It Va WITH_LLVM_TARGET_SPARC
1030 Set to build LLVM target support for SPARC.
1033 option should be used rather than this in most cases.
1034 .It Va WITHOUT_LLVM_TARGET_X86
1035 Set to not build LLVM target support for X86.
1038 option should be used rather than this in most cases.
1039 .It Va WITH_LOADER_EFI_SECUREBOOT
1042 with support for verification based on certificates obtained from UEFI.
1044 .It Va WITH_LOADER_FIREWIRE
1045 Enable firewire support in /boot/loader on x86. This option is a nop
1046 on all other platforms.
1047 .It Va WITH_LOADER_FORCE_LE
1048 Set to force the powerpc boot loader to launch the kernel in little
1050 .It Va WITHOUT_LOADER_GELI
1051 Disable inclusion of GELI crypto support in the boot chain binaries.
1053 This is a default setting on
1054 powerpc/powerpc and powerpc/powerpc64.
1055 .It Va WITH_LOADER_GELI
1056 Set to build GELI bootloader support.
1058 This is a default setting on
1059 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, riscv/riscv64 and riscv/riscv64sf.
1060 .It Va WITHOUT_LOADER_LUA
1061 Set to not build LUA bindings for the boot loader.
1063 This is a default setting on
1064 powerpc/powerpc and powerpc/powerpc64.
1065 .It Va WITH_LOADER_LUA
1066 Set to build LUA bindings for the boot loader.
1068 This is a default setting on
1069 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, riscv/riscv64 and riscv/riscv64sf.
1070 .It Va WITHOUT_LOADER_OFW
1071 Disable building of openfirmware bootloader components.
1073 This is a default setting on
1074 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, riscv/riscv64 and riscv/riscv64sf.
1075 .It Va WITH_LOADER_OFW
1076 Set to build openfirmware bootloader components.
1078 This is a default setting on
1079 powerpc/powerpc and powerpc/powerpc64.
1080 .It Va WITHOUT_LOADER_UBOOT
1081 Disable building of ubldr.
1083 This is a default setting on
1084 amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
1085 .It Va WITH_LOADER_UBOOT
1088 This is a default setting on
1089 arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc and powerpc/powerpc64.
1090 .It Va WITH_LOADER_VERBOSE
1091 Set to build with extra verbose debugging in the loader.
1092 May explode already nearly too large loader over the limit.
1095 .It Va WITH_LOADER_VERIEXEC
1098 with support for verification similar to Verified Exec.
1102 When set, these options are also in effect:
1105 .It Va WITH_LOADER_EFI_SECUREBOOT
1107 .Va WITHOUT_LOADER_EFI_SECUREBOOT
1110 .It Va WITH_LOADER_VERIEXEC_PASS_MANIFEST
1113 with support to pass a verified manifest to the kernel.
1114 The kernel has to be built with a module to parse the manifest.
1117 .Va WITH_LOADER_VERIEXEC .
1118 .It Va WITHOUT_LOADER_ZFS
1119 Set to not build ZFS file system boot loader support.
1120 .It Va WITHOUT_LOCALES
1121 Set to not build localization files; see
1123 .It Va WITHOUT_LOCATE
1126 and related programs.
1130 and related programs.
1131 .It Va WITHOUT_LS_COLORS
1134 without support for colors to distinguish file types.
1135 .It Va WITHOUT_LZMA_SUPPORT
1136 Set to build some programs without optional lzma compression support.
1138 Set to not build any mail support (MUA or MTA).
1139 When set, it enforces these options:
1145 .Va WITHOUT_MAILWRAPPER
1147 .Va WITHOUT_SENDMAIL
1149 .It Va WITHOUT_MAILWRAPPER
1150 Set to not build the
1156 and related support files.
1157 .It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
1160 in limited sandbox mode.
1161 This option should be paired with
1162 .Va WITH_INSTALL_AS_USER
1163 if executed as an unprivileged user.
1168 Set to not build manual pages.
1169 When set, these options are also in effect:
1172 .It Va WITHOUT_MAN_UTILS
1177 .It Va WITHOUT_MANCOMPRESS
1178 Set to not to install compressed man pages.
1179 Only the uncompressed versions will be installed.
1180 .It Va WITHOUT_MAN_UTILS
1181 Set to not build utilities for manual pages,
1187 and related support files.
1188 .It Va WITH_META_MODE
1191 meta files when building, which can provide a reliable incremental build when
1194 The meta file is created in OBJDIR as
1196 These meta files track the command that was executed, its output, and the
1200 module is required unless
1203 When the module is loaded, any files used by the commands executed are
1204 tracked as dependencies for the target in its meta file.
1205 The target is considered out-of-date and rebuilt if any of these
1206 conditions are true compared to the last build:
1207 .Bl -bullet -compact
1209 The command to execute changes.
1211 The current working directory changes.
1213 The target's meta file is missing.
1215 The target's meta file is missing filemon data when filemon is loaded
1216 and a previous run did not have it loaded.
1220 Files read, executed or linked to are newer than the target.
1224 Files read, written, executed or linked are missing.
1226 The meta files can also be useful for debugging.
1228 The build hides commands that are executed unless
1233 to show some of its environment for further debugging.
1235 The build operates as it normally would otherwise.
1236 This option originally invoked a different build system but that was renamed
1238 .Va WITH_DIRDEPS_BUILD .
1240 This must be set in the environment, make command line, or
1241 .Pa /etc/src-env.conf ,
1244 .It Va WITHOUT_MLX5TOOL
1248 This is a default setting on
1249 arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1250 .It Va WITH_MLX5TOOL
1254 This is a default setting on
1255 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1257 Set to not build programs and libraries
1258 related to NDIS emulation support.
1259 .It Va WITHOUT_NETCAT
1263 .It Va WITHOUT_NETGRAPH
1264 Set to not build applications to support
1266 When set, it enforces these options:
1272 .Va WITHOUT_BLUETOOTH
1275 When set, these options are also in effect:
1278 .It Va WITHOUT_NETGRAPH_SUPPORT
1280 .Va WITH_NETGRAPH_SUPPORT
1283 .It Va WITHOUT_NETGRAPH_SUPPORT
1284 Set to build libraries, programs, and kernel modules without netgraph support.
1288 support and related programs.
1289 If set, you might need to adopt your
1295 Set to not build NLS catalogs.
1296 When set, it enforces these options:
1300 .Va WITHOUT_NLS_CATALOGS
1302 .It Va WITHOUT_NLS_CATALOGS
1303 Set to not build NLS catalog support for
1305 .It Va WITHOUT_NS_CACHING
1306 Set to disable name caching in the
1309 The generic caching daemon,
1311 will not be built either if this option is set.
1315 and related programs.
1317 Set to not build nvme related tools and kernel modules.
1319 This is a default setting on
1320 arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1322 Set to build nvme related tools and kernel modules.
1325 This is a default setting on
1326 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1329 .Dq "OpenFabrics Enterprise Distribution"
1330 Infiniband software stack.
1331 .It Va WITH_OFED_EXTRA
1332 Set to build the non-essential components of the
1333 .Dq "OpenFabrics Enterprise Distribution"
1334 Infiniband software stack, mostly examples.
1335 .It Va WITH_OPENLDAP
1336 Enable building openldap support for kerberos.
1337 .It Va WITHOUT_OPENMP
1338 Set to not build LLVM's OpenMP runtime.
1340 This is a default setting on
1341 arm/armv6, arm/armv7, arm64/aarch64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf.
1343 Set to build LLVM's OpenMP runtime.
1345 This is a default setting on
1346 amd64/amd64, i386/i386 and powerpc/powerpc64.
1347 .It Va WITHOUT_OPENSSH
1348 Set to not build OpenSSH.
1349 .It Va WITHOUT_OPENSSL
1350 Set to not build OpenSSL.
1351 When set, it enforces these options:
1357 .Va WITHOUT_KERBEROS
1359 .Va WITHOUT_KERBEROS_SUPPORT
1363 .Va WITHOUT_LDNS_UTILS
1370 When set, these options are also in effect:
1373 .It Va WITHOUT_GSSAPI
1379 Set to not build PAM library and modules.
1381 This option is deprecated and does nothing.
1383 When set, these options are also in effect:
1386 .It Va WITHOUT_PAM_SUPPORT
1388 .Va WITH_PAM_SUPPORT
1391 .It Va WITHOUT_PAM_SUPPORT
1392 Set to build some programs without PAM support, particularly
1397 Set to not build PF firewall package.
1398 When set, it enforces these options:
1405 Build dynamically linked binaries as
1406 Position-Independent Executable (PIE).
1407 .It Va WITHOUT_PKGBOOTSTRAP
1414 and related programs.
1415 .It Va WITHOUT_PORTSNAP
1416 Set to not build or install
1419 When set, it enforces these options:
1423 .Va WITHOUT_FREEBSD_UPDATE
1428 and related programs.
1429 .It Va WITHOUT_PROFILE
1430 Set to not build profiled libraries for use with
1433 This is a default setting on
1434 mips/mips64el, mips/mips64, mips/mips64elhf and mips/mips64hf.
1436 Set to build profiled libraries for use with
1439 This is a default setting on
1440 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mipsn32, mips/mipselhf, mips/mipshf, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1441 .It Va WITHOUT_QUOTAS
1444 and related programs.
1445 .It Va WITHOUT_RADIUS_SUPPORT
1446 Set to not build radius support into various applications, like
1450 .It Va WITH_RATELIMIT
1451 Set to build the system with rate limit support.
1454 .Dv SO_MAX_PACING_RATE
1462 .It Va WITHOUT_RBOOTD
1463 Set to not build or install
1465 .It Va WITH_REPRODUCIBLE_BUILD
1466 Set to exclude build metadata (such as the build time, user, or host)
1467 from the kernel, boot loaders, and uname output, so that builds produce
1468 bit-for-bit identical output.
1469 .It Va WITHOUT_RESCUE
1472 .It Va WITH_RETPOLINE
1473 Set to build the base system with the retpoline speculative execution
1474 vulnerability mitigation for CVE-2017-5715.
1475 .It Va WITHOUT_ROUTED
1479 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1482 with warmstart support.
1483 .It Va WITHOUT_SENDMAIL
1486 and related programs.
1487 .It Va WITHOUT_SERVICESDB
1489 .Pa /var/db/services.db .
1490 .It Va WITHOUT_SETUID_LOGIN
1491 Set this to disable the installation of
1493 as a set-user-ID root program.
1494 .It Va WITHOUT_SHAREDOCS
1495 Set to not build the
1498 .It Va WITHOUT_SHARED_TOOLCHAIN
1499 Set to build the toolchain binaries as statically linked executables.
1503 and necessary utilities like assembler, linker and library archive manager.
1504 .It Va WITH_SORT_THREADS
1505 Set to enable threads in
1507 .It Va WITHOUT_SOURCELESS
1508 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1509 When set, it enforces these options:
1513 .Va WITHOUT_SOURCELESS_HOST
1515 .Va WITHOUT_SOURCELESS_UCODE
1517 .It Va WITHOUT_SOURCELESS_HOST
1518 Set to not build kernel modules that include sourceless native code for host CPU.
1519 .It Va WITHOUT_SOURCELESS_UCODE
1520 Set to not build kernel modules that include sourceless microcode.
1522 Set to not build world with propolice stack smashing protection.
1524 This is a default setting on
1525 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1527 Set to build world with propolice stack smashing protection.
1529 This is a default setting on
1530 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf.
1532 Enable staging of files to a stage tree.
1533 This can be best thought of as auto-install to
1535 with some extra meta data to ensure dependencies can be tracked.
1537 .Va WITH_DIRDEPS_BUILD .
1538 When set, these options are also in effect:
1541 .It Va WITH_STAGING_MAN
1543 .Va WITHOUT_STAGING_MAN
1545 .It Va WITH_STAGING_PROG
1547 .Va WITHOUT_STAGING_PROG
1551 This must be set in the environment, make command line, or
1552 .Pa /etc/src-env.conf ,
1555 .It Va WITH_STAGING_MAN
1556 Enable staging of man pages to stage tree.
1557 .It Va WITH_STAGING_PROG
1558 Enable staging of PROGs to stage tree.
1559 .It Va WITH_STALE_STAGED
1560 Check staged files are not stale.
1561 .It Va WITHOUT_STATS
1562 Set to neither build nor install
1564 and dependent binaries.
1570 .It Va WITHOUT_SVNLITE
1573 and related programs.
1574 .It Va WITHOUT_SYMVER
1575 Set to disable symbol versioning when building shared libraries.
1576 .It Va WITHOUT_SYSCONS
1579 support files such as keyboard maps, fonts, and screen output maps.
1581 Enable use of sysroot during build.
1583 .Va WITH_DIRDEPS_BUILD .
1585 This must be set in the environment, make command line, or
1586 .Pa /etc/src-env.conf ,
1589 .It Va WITHOUT_SYSTEM_COMPILER
1590 Set to not opportunistically skip building a cross-compiler during the
1591 bootstrap phase of the build.
1592 Normally, if the currently installed compiler matches the planned bootstrap
1593 compiler type and revision, then it will not be built.
1594 This does not prevent a compiler from being built for installation though,
1595 only for building one for the build itself.
1598 option controls that.
1599 .It Va WITHOUT_SYSTEM_LINKER
1600 Set to not opportunistically skip building a cross-linker during the
1601 bootstrap phase of the build.
1602 Normally, if the currently installed linker matches the planned bootstrap
1603 linker type and revision, then it will not be built.
1604 This does not prevent a linker from being built for installation though,
1605 only for building one for the build itself.
1609 .Va WITHOUT_BINUTILS
1610 options control those.
1612 This option is only relevant when
1613 .Va WITH_LLD_BOOTSTRAP
1616 Set to not build or install
1620 .It Va WITHOUT_TCP_WRAPPERS
1621 Set to not build or install
1623 and related utilities.
1625 Set to not build and install
1629 .It Va WITHOUT_TELNET
1632 and related programs.
1633 .It Va WITHOUT_TESTS
1634 Set to not build nor install the
1641 This also disables the build of all test-related dependencies, including ATF.
1642 When set, it enforces these options:
1646 .Va WITHOUT_DTRACE_TESTS
1649 When set, these options are also in effect:
1652 .It Va WITHOUT_GOOGLETEST
1656 .It Va WITHOUT_TESTS_SUPPORT
1658 .Va WITH_TESTS_SUPPORT
1661 .It Va WITHOUT_TESTS_SUPPORT
1662 Set to disables the build of all test-related dependencies, including ATF.
1663 When set, it enforces these options:
1667 .Va WITHOUT_GOOGLETEST
1669 .It Va WITHOUT_TEXTPROC
1671 programs used for text processing.
1673 Set to not build or install
1677 .It Va WITHOUT_TOOLCHAIN
1678 Set to not install header or
1679 programs used for program development,
1680 compilers, debuggers etc.
1681 When set, it enforces these options:
1685 .Va WITHOUT_BINUTILS
1689 .Va WITHOUT_CLANG_EXTRAS
1691 .Va WITHOUT_CLANG_FULL
1695 .Va WITHOUT_INCLUDES
1701 .Va WITHOUT_LLVM_COV
1703 .It Va WITHOUT_UNBOUND
1706 and related programs.
1707 .It Va WITHOUT_UNIFIED_OBJDIR
1708 Set to use the historical object directory format for
1711 For native-builds and builds done directly in sub-directories the format of
1712 .Pa ${MAKEOBJDIRPREFIX}/${.CURDIR}
1714 while for cross-builds
1715 .Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR}
1718 This option is transitional and will be removed before the 12.0 release,
1720 .va WITH_UNIFIED_OBJDIR
1721 will be enabled permanently.
1723 This must be set in the environment, make command line, or
1724 .Pa /etc/src-env.conf ,
1728 Set to not build USB-related programs and libraries.
1729 .It Va WITHOUT_USB_GADGET_EXAMPLES
1730 Set to not build USB gadget kernel modules.
1731 .It Va WITHOUT_UTMPX
1732 Set to not build user accounting tools such as
1740 .It Va WITH_VERIEXEC
1743 which loads the contents of verified manifests into the kernel
1750 Set to not build and install vi, view, ex and related programs.
1754 support files (fonts and keymaps).
1755 .It Va WITHOUT_WARNS
1756 Set this to not add warning flags to the compiler invocations.
1757 Useful as a temporary workaround when code enters the tree
1758 which triggers warnings in environments that differ from the
1760 .It Va WITHOUT_WIRELESS
1761 Set to not build programs used for 802.11 wireless networks; especially
1762 .Xr wpa_supplicant 8
1765 When set, these options are also in effect:
1768 .It Va WITHOUT_WIRELESS_SUPPORT
1770 .Va WITH_WIRELESS_SUPPORT
1773 .It Va WITHOUT_WIRELESS_SUPPORT
1774 Set to build libraries, programs, and kernel modules without
1775 802.11 wireless support.
1776 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1778 .Xr wpa_supplicant 8
1779 without support for the IEEE 802.1X protocol and without
1780 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1781 protocols (usable only via 802.1X).
1783 Set to not build ZFS file system kernel module, libraries, and user commands.
1784 .It Va WITHOUT_ZONEINFO
1785 Set to not build the timezone database.
1786 When set, it enforces these options:
1790 .Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
1792 .Va WITHOUT_ZONEINFO_OLD_TIMEZONES_SUPPORT
1794 .It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
1795 Set to build leapsecond information in to the timezone database.
1796 .It Va WITH_ZONEINFO_OLD_TIMEZONES_SUPPORT
1797 Set to build backward compatibility timezone aliases in to the timezone
1801 .Bl -tag -compact -width Pa
1802 .It Pa /etc/src.conf
1803 .It Pa /etc/src-env.conf
1804 .It Pa /usr/share/mk/bsd.own.mk
1817 This manual page was autogenerated by
1818 .An tools/build/options/makeman .