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 Set to not build process accounting tools such as
103 and related programs.
107 and related programs.
112 and related programs.
113 .It Va WITHOUT_ASSERT_DEBUG
114 Set to compile programs and libraries without the
120 and related utilities.
123 programs and libraries related to ATM networking.
125 Set to not build audit support into system programs.
126 .It Va WITHOUT_AUTHPF
129 .It Va WITHOUT_AUTOFS
132 related programs, libraries, and kernel modules.
133 .It Va WITHOUT_AUTO_OBJ
134 Disable automatic creation of objdirs.
135 This is enabled by default if the wanted OBJDIR is writable by the current user.
137 This must be set in the environment, make command line, or
138 .Pa /etc/src-env.conf ,
142 Build the BearSSL library.
144 BearSSL is a tiny SSL library suitable for embedded environments.
146 .Lk http://www.BearSSL.org/
148 This library is currently only used to perform
149 signature verification and related operations
150 for Verified Exec and
152 When set, these options are also in effect:
155 .It Va WITH_LOADER_EFI_SECUREBOOT
157 .Va WITHOUT_LOADER_EFI_SECUREBOOT
159 .It Va WITH_LOADER_VERIEXEC
161 .Va WITHOUT_LOADER_VERIEXEC
163 .It Va WITH_LOADER_VERIEXEC_VECTX
165 .Va WITHOUT_LOADER_VERIEXEC_VECTX
173 Set to not build or install
175 associated utilities, and examples.
177 This option only affects amd64/amd64.
179 Build all binaries with the
181 flag set to indicate that the run-time loader should perform all relocation
182 processing at process startup rather than on demand.
183 .It Va WITHOUT_BINUTILS
184 Do not build or install GNU
189 of the normal system build.
191 This is a default setting on
192 arm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
193 When set, it enforces these options:
200 Set to build and install GNU
203 and for some CPU architectures
206 of the normal system build.
208 This is a default setting on
209 amd64/amd64, arm/arm, 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, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
210 .It Va WITHOUT_BINUTILS_BOOTSTRAP
211 Do not build GNU binutils
212 as part of the bootstrap process.
214 This is a default setting on
215 arm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
216 .It Va WITH_BINUTILS_BOOTSTRAP
218 as part of the bootstrap process.
220 This is a default setting on
221 amd64/amd64, arm/arm, 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, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
222 .It Va WITHOUT_BLACKLIST
223 Set this if you do not want to build
227 When set, these options are also in effect:
230 .It Va WITHOUT_BLACKLIST_SUPPORT
232 .Va WITH_BLACKLIST_SUPPORT
235 .It Va WITHOUT_BLACKLIST_SUPPORT
236 Set to build some programs without
243 .It Va WITHOUT_BLUETOOTH
244 Set to not build Bluetooth related kernel modules, programs and libraries.
246 Set to not build the boot blocks and loader.
247 .It Va WITHOUT_BOOTPARAMD
248 Set to not build or install
250 .It Va WITHOUT_BOOTPD
251 Set to not build or install
253 .It Va WITHOUT_BSDINSTALL
257 and related programs.
258 .It Va WITHOUT_BSD_CPIO
259 Set to not build the BSD licensed version of cpio based on
261 .It Va WITH_BSD_CRTBEGIN
262 Enable the BSD licensed
267 Install BSD-licensed grep as '[ef]grep' instead of GNU grep.
269 Set to not build or install
271 and related libraries and data files.
273 Set to not build contributed bzip2 software as a part of the base system.
275 The option has no effect yet.
277 When set, these options are also in effect:
280 .It Va WITHOUT_BZIP2_SUPPORT
282 .Va WITH_BZIP2_SUPPORT
285 .It Va WITHOUT_BZIP2_SUPPORT
286 Set to build some programs without optional bzip2 support.
287 .It Va WITHOUT_CALENDAR
290 .It Va WITHOUT_CAPSICUM
291 Set to not build Capsicum support into system programs.
292 When set, it enforces these options:
298 .It Va WITHOUT_CAROOT
299 Set to not add the trusted certificates from the Mozilla NSS bundle to
301 .It Va WITHOUT_CASPER
302 Set to not build Casper program and related libraries.
303 .It Va WITH_CCACHE_BUILD
307 No configuration is required except to install the
313 .Sy CCACHE_PREFIX=/usr/local/bin/distcc .
314 The default cache directory of
316 will be used, which can be overridden by setting
319 .Sy CCACHE_COMPILERCHECK
322 when using the in-tree bootstrap compiler,
325 when using an external compiler.
328 option is used for Clang but not GCC.
330 Sharing a cache between multiple work directories requires using a layout
334 and an environment such as:
335 .Bd -literal -offset indent
336 CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
341 for more configuration options.
345 and related utilities.
347 Set to not build code licensed under Sun's CDDL.
348 When set, it enforces these options:
354 .Va WITHOUT_LOADER_ZFS
359 Set to not build the Clang C/C++ compiler during the regular phase of the build.
361 This is a default setting on
363 When set, it enforces these options:
367 .Va WITHOUT_CLANG_EXTRAS
369 .Va WITHOUT_CLANG_FORMAT
371 .Va WITHOUT_CLANG_FULL
376 Set to build the Clang C/C++ compiler during the normal phase of the build.
378 This is a default setting on
379 amd64/amd64, arm/arm, 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, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and riscv/riscv64sf.
380 .It Va WITHOUT_CLANG_BOOTSTRAP
381 Set to not build the Clang C/C++ compiler during the bootstrap phase of
383 To be able to build the system, either gcc or clang bootstrap must be
384 enabled unless an alternate compiler is provided via XCC.
386 This is a default setting on
387 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
388 .It Va WITH_CLANG_BOOTSTRAP
389 Set to build the Clang C/C++ compiler during the bootstrap phase of the build.
391 This is a default setting on
392 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
393 .It Va WITH_CLANG_EXTRAS
394 Set to build additional clang and llvm tools, such as bugpoint.
395 .It Va WITH_CLANG_FORMAT
396 Set to build clang-format.
397 .It Va WITHOUT_CLANG_FULL
398 Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
399 the Clang C/C++ compiler.
401 This is a default setting on
403 .It Va WITH_CLANG_FULL
404 Set to build the ARCMigrate, Rewriter and StaticAnalyzer components of the
405 Clang C/C++ compiler.
407 This is a default setting on
408 amd64/amd64, arm/arm, 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, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and riscv/riscv64sf.
409 .It Va WITHOUT_CLANG_IS_CC
410 Set to install the GCC compiler as
416 This is a default setting on
417 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
418 .It Va WITH_CLANG_IS_CC
419 Set to install the Clang C/C++ compiler as
425 This is a default setting on
426 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
430 .It Va WITHOUT_CROSS_COMPILER
431 Set to not build any cross compiler in the cross-tools stage of buildworld.
432 When compiling a different version of
434 than what is installed on the system, provide an alternate
435 compiler with XCC to ensure success.
436 When compiling with an identical version of
438 to the host, this option may be safely used.
439 This option may also be safe when the host version of
441 is close to the sources being built, but all bets are off if there have
442 been any changes to the toolchain between the versions.
443 When set, it enforces these options:
447 .Va WITHOUT_BINUTILS_BOOTSTRAP
449 .Va WITHOUT_CLANG_BOOTSTRAP
451 .Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
453 .Va WITHOUT_GCC_BOOTSTRAP
455 .Va WITHOUT_LLD_BOOTSTRAP
458 Set to not build any crypto code.
459 When set, it enforces these options:
469 .Va WITHOUT_LDNS_UTILS
475 .Va WITHOUT_PKGBOOTSTRAP
486 When set, these options are also in effect:
489 .It Va WITHOUT_GSSAPI
495 Set to compile with CTF (Compact C Type Format) data.
496 CTF data encapsulates a reduced form of debugging information
497 similar to DWARF and the venerable stabs and is required for DTrace.
501 and related utilities.
503 Set to not build CUSE-related programs and libraries.
504 .It Va WITHOUT_CXGBETOOL
508 This is a default setting on
509 arm/arm, 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/powerpcspe, riscv/riscv64 and riscv/riscv64sf.
510 .It Va WITH_CXGBETOOL
514 This is a default setting on
515 amd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64.
519 and related libraries.
520 It will also prevent building of
524 When set, it enforces these options:
530 .Va WITHOUT_CLANG_EXTRAS
532 .Va WITHOUT_CLANG_FORMAT
534 .Va WITHOUT_CLANG_FULL
536 .Va WITHOUT_DTRACE_TESTS
544 .It Va WITHOUT_DEBUG_FILES
545 Set to avoid building or installing standalone debug files for each
546 executable binary and shared library.
547 .It Va WITHOUT_DIALOG
554 When set, it enforces these options:
558 .Va WITHOUT_BSDINSTALL
561 Set to not build the Webster dictionary files.
562 .It Va WITH_DIRDEPS_BUILD
563 This is an experimental build system.
565 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
566 Build commands can be seen from the top-level with:
567 .Dl make show-valid-targets
568 The build is driven by dirdeps.mk using
571 Makefile.depend files found in each directory.
573 The build can be started from anywhere, and behaves the same.
574 The initial instance of
579 .Pa Makefile.depend ,
580 computing a graph of tree dependencies from the current origin.
583 skips checking dirdep dependencies and will only build in the current
584 and child directories.
586 skips building any dirdeps and only build the current directory.
588 This also utilizes the
590 logic for incremental builds.
592 The build hides commands executed unless
596 Note that there is currently no mass install feature for this.
598 When set, it enforces these options:
602 .Va WITH_INSTALL_AS_USER
605 When set, these options are also in effect:
608 .It Va WITH_META_MODE
610 .Va WITHOUT_META_MODE
616 .It Va WITH_STAGING_MAN
618 .Va WITHOUT_STAGING_MAN
620 .It Va WITH_STAGING_PROG
622 .Va WITHOUT_STAGING_PROG
630 This must be set in the environment, make command line, or
631 .Pa /etc/src-env.conf ,
634 .It Va WITH_DIRDEPS_CACHE
635 Cache result of dirdeps.mk which can save significant time
636 for subsequent builds.
638 .Va WITH_DIRDEPS_BUILD .
640 This must be set in the environment, make command line, or
641 .Pa /etc/src-env.conf ,
644 .It Va WITHOUT_DMAGENT
645 Set to not build dma Mail Transport Agent.
646 .It Va WITHOUT_DOCCOMPRESS
647 Set to not install compressed system documentation.
648 Only the uncompressed version will be installed.
649 .It Va WITH_DTRACE_TESTS
650 Set to build and install the DTrace test suite in
651 .Pa /usr/tests/cddl/usr.sbin/dtrace .
652 This test suite is considered experimental on architectures other than
653 amd64/amd64 and running it may cause system instability.
654 .It Va WITHOUT_DYNAMICROOT
655 Set this if you do not want to link
660 .It Va WITHOUT_ED_CRYPTO
663 without support for encryption/decryption.
665 Set to not build and install
668 and related programs.
675 This is a default setting on
676 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
683 This is a default setting on
684 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
685 .It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
686 Set to not build ELF Tool Chain tools
687 (addr2line, nm, size, strings and strip)
688 as part of the bootstrap process.
690 An alternate bootstrap tool chain must be provided.
692 .It Va WITHOUT_EXAMPLES
693 Set to avoid installing examples to
694 .Pa /usr/share/examples/ .
695 .It Va WITH_EXTRA_TCP_STACKS
696 Set to build extra TCP stack modules.
698 Set to not build Flattened Device Tree support as part of the base system.
699 This includes the device tree compiler (dtc) and libfdt support library.
703 and related programs.
704 .It Va WITHOUT_FINGER
705 Set to not build or install
709 .It Va WITHOUT_FLOPPY
710 Set to not build or install programs
711 for operating floppy disk driver.
712 .It Va WITHOUT_FMTREE
713 Set to not build and install
714 .Pa /usr/sbin/fmtree .
715 .It Va WITHOUT_FORMAT_EXTENSIONS
717 .Fl fformat-extensions
718 when compiling the kernel.
719 Also disables all format checking.
721 Set to build bootloaders without Forth support.
722 .It Va WITHOUT_FP_LIBC
725 without floating-point support.
726 .It Va WITHOUT_FREEBSD_UPDATE
728 .Xr freebsd-update 8 .
730 Set to not build or install
735 Set to not build games.
737 Set to not build and install gcc and g++ as part of the normal build process.
739 This is a default setting on
740 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
742 Set to build and install gcc and g++.
744 This is a default setting on
745 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
746 .It Va WITHOUT_GCC_BOOTSTRAP
747 Set to not build gcc and g++ as part of the bootstrap process.
748 You must enable either gcc or clang bootstrap to be able to build the system,
749 unless an alternative compiler is provided via
752 This is a default setting on
753 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
754 .It Va WITH_GCC_BOOTSTRAP
755 Set to build gcc and g++ as part of the bootstrap process.
757 This is a default setting on
758 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
767 This is a default setting on
768 arm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
773 This is a default setting on
774 amd64/amd64, arm/arm, 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, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
775 .It Va WITHOUT_GDB_LIBEXEC
781 This is a default setting on
783 .It Va WITH_GDB_LIBEXEC
790 to be used as a fallback for
792 if a newer version is not installed.
794 This is a default setting on
795 amd64/amd64, arm/arm, 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, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and riscv/riscv64sf.
797 Set this option to install the enhanced
801 programs instead of the traditional FreeBSD versions.
802 .It Va WITHOUT_GNUCXX
803 Do not build the GNU C++ stack (g++, libstdc++).
804 This is the default on platforms where clang is the system compiler.
806 This is a default setting on
807 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
809 Build the GNU C++ stack (g++, libstdc++).
810 This is the default on platforms where gcc is the system compiler.
812 This is a default setting on
813 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
814 .It Va WITHOUT_GNU_DIFF
819 .It Va WITHOUT_GNU_GREP
822 .It Va WITH_GNU_GREP_COMPAT
823 Set this option to include GNU extensions in
825 by linking against libgnuregex.
826 .It Va WITHOUT_GOOGLETEST
827 Set to neither build nor install
834 as part of the base system.
835 .It Va WITHOUT_GPL_DTC
836 Set to build the BSD licensed version of the device tree compiler rather
837 than the GPLed one from elinux.org.
839 This is a default setting on
840 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
842 Set to build the GPL'd version of the device tree compiler from elinux.org,
843 instead of the BSD licensed one.
845 This is a default setting on
846 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
847 .It Va WITHOUT_GSSAPI
848 Set to not build libgssapi.
852 and related utilities.
854 Set to build Hesiod support.
856 Set to not build HTML docs.
857 .It Va WITHOUT_HYPERV
858 Set to not build or install HyperV utilities.
860 This is a default setting on
861 arm/arm, 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, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
863 Set to build or install HyperV utilities.
865 This is a default setting on
866 amd64/amd64 and i386/i386.
868 Set to not build iconv as part of libc.
869 .It Va WITHOUT_INCLUDES
870 Set to not install header files.
871 This option used to be spelled
874 The option does not work for build targets.
877 Set to not build programs and libraries related to IPv4 networking.
878 When set, it enforces these options:
882 .Va WITHOUT_INET_SUPPORT
886 programs and libraries related to IPv6 networking.
887 When set, it enforces these options:
891 .Va WITHOUT_INET6_SUPPORT
893 .It Va WITHOUT_INET6_SUPPORT
894 Set to build libraries, programs, and kernel modules without IPv6 support.
898 .It Va WITHOUT_INET_SUPPORT
899 Set to build libraries, programs, and kernel modules without IPv4 support.
900 .It Va WITHOUT_INSTALLLIB
901 Set this to not install optional libraries.
902 For example, when creating a
906 The option does not work for build targets.
908 .It Va WITH_INSTALL_AS_USER
909 Set to make install targets succeed for non-root users by installing
910 files with owner and group attributes set to that of the user running
914 The user still must set the
916 variable to point to a directory where the user has write permissions.
917 .It Va WITHOUT_IPFILTER
918 Set to not build IP Filter package.
920 Set to not build IPFW tools.
921 .It Va WITHOUT_IPSEC_SUPPORT
922 Set to not build the kernel with
925 This option is needed for
932 and related utilities.
934 Set to not build tools for the support of jails; e.g.,
941 .It Va WITHOUT_KERBEROS
942 Set this to not build Kerberos 5 (KTH Heimdal).
943 When set, these options are also in effect:
946 .It Va WITHOUT_GSSAPI
950 .It Va WITHOUT_KERBEROS_SUPPORT
952 .Va WITH_KERBEROS_SUPPORT
955 .It Va WITHOUT_KERBEROS_SUPPORT
956 Set to build some programs without Kerberos support, like
962 .It Va WITH_KERNEL_RETPOLINE
963 Set to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel
965 .It Va WITHOUT_KERNEL_SYMBOLS
966 Set to not install kernel symbol files.
968 This option is recommended for those people who have small root partitions.
973 library as a part of the base system.
975 The option has no effect yet.
977 When set, these options are also in effect:
980 .It Va WITHOUT_KVM_SUPPORT
985 .It Va WITHOUT_KVM_SUPPORT
986 Set to build some programs without optional
990 Setting this variable will prevent the LDNS library from being built.
991 When set, it enforces these options:
995 .Va WITHOUT_LDNS_UTILS
999 .It Va WITHOUT_LDNS_UTILS
1000 Setting this variable will prevent building the LDNS utilities
1004 .It Va WITHOUT_LEGACY_CONSOLE
1005 Set to not build programs that support a legacy PC console; e.g.,
1009 .It Va WITHOUT_LIB32
1010 On 64-bit platforms, set to not build 32-bit library set and a
1013 .It Va WITHOUT_LIBCPLUSPLUS
1014 Set to avoid building libcxxrt and libc++.
1015 .It Va WITHOUT_LIBPTHREAD
1016 Set to not build the
1020 When set, it enforces these options:
1027 On armv6 only, set to enable soft float ABI compatibility libraries.
1028 This option is for transitioning to the new hard float ABI.
1029 .It Va WITHOUT_LIBTHR
1030 Set to not build the
1035 Set to not build LLVM's lld linker.
1037 This is a default setting on
1040 Set to build LLVM's lld linker.
1042 This is a default setting on
1043 amd64/amd64, arm/arm, 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, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and riscv/riscv64sf.
1045 Set to not build the LLDB debugger.
1047 This is a default setting on
1048 arm/arm, 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, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1050 Set to build the LLDB debugger.
1052 This is a default setting on
1053 amd64/amd64, arm64/aarch64 and i386/i386.
1054 .It Va WITHOUT_LLD_BOOTSTRAP
1055 Set to not build the LLD linker during the bootstrap phase of
1057 To be able to build the system, either Binutils or LLD bootstrap must be
1058 enabled unless an alternate linker is provided via XLD.
1060 This is a default setting on
1061 arm/arm, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1062 .It Va WITH_LLD_BOOTSTRAP
1063 Set to build the LLD linker during the bootstrap phase of the build.
1065 This is a default setting on
1066 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
1067 .It Va WITHOUT_LLD_IS_LD
1068 Set to use GNU binutils ld as the system linker, instead of LLVM's LLD.
1070 This is a default setting on
1071 arm/arm, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1072 .It Va WITH_LLD_IS_LD
1073 Set to use LLVM's LLD as the system linker, instead of GNU binutils ld.
1075 This is a default setting on
1076 amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
1077 .It Va WITH_LLVM_ASSERTIONS
1078 Set to enable debugging assertions in LLVM.
1079 .It Va WITHOUT_LLVM_COV
1080 Set to not build the
1084 This is a default setting on
1086 .It Va WITH_LLVM_COV
1091 This is a default setting on
1092 amd64/amd64, arm/arm, 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, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and riscv/riscv64sf.
1093 .It Va WITHOUT_LLVM_LIBUNWIND
1094 Set to use GCC's stack unwinder (instead of LLVM's libunwind).
1096 This is a default setting on
1097 arm/arm, arm/armv6, arm/armv7, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1098 .It Va WITH_LLVM_LIBUNWIND
1099 Set to use LLVM's libunwind stack unwinder (instead of GCC's unwinder).
1101 This is a default setting on
1102 amd64/amd64, 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.
1103 .It Va WITHOUT_LLVM_TARGET_AARCH64
1104 Set to not build LLVM target support for AArch64.
1107 option should be used rather than this in most cases.
1109 This is a default setting on
1111 .It Va WITH_LLVM_TARGET_AARCH64
1112 Set to build LLVM target support for AArch64.
1115 option should be used rather than this in most cases.
1117 This is a default setting on
1118 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, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1119 .It Va WITHOUT_LLVM_TARGET_ALL
1120 Set to only build the required LLVM target support.
1121 This option is preferred to specific target support options.
1122 When set, these options are also in effect:
1125 .It Va WITHOUT_LLVM_TARGET_AARCH64
1127 .Va WITH_LLVM_TARGET_AARCH64
1129 .It Va WITHOUT_LLVM_TARGET_ARM
1131 .Va WITH_LLVM_TARGET_ARM
1133 .It Va WITHOUT_LLVM_TARGET_MIPS
1135 .Va WITH_LLVM_TARGET_MIPS
1137 .It Va WITHOUT_LLVM_TARGET_POWERPC
1139 .Va WITH_LLVM_TARGET_POWERPC
1141 .It Va WITHOUT_LLVM_TARGET_RISCV
1143 .Va WITH_LLVM_TARGET_RISCV
1145 .It Va WITHOUT_LLVM_TARGET_SPARC
1147 .Va WITH_LLVM_TARGET_SPARC
1150 .It Va WITHOUT_LLVM_TARGET_ARM
1151 Set to not build LLVM target support for ARM.
1154 option should be used rather than this in most cases.
1155 .It Va WITH_LLVM_TARGET_BPF
1156 Set to build LLVM target support for BPF.
1159 option should be used rather than this in most cases.
1160 .It Va WITHOUT_LLVM_TARGET_MIPS
1161 Set to not build LLVM target support for MIPS.
1164 option should be used rather than this in most cases.
1166 This is a default setting on
1168 .It Va WITH_LLVM_TARGET_MIPS
1169 Set to build LLVM target support for MIPS.
1172 option should be used rather than this in most cases.
1174 This is a default setting on
1175 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, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1176 .It Va WITHOUT_LLVM_TARGET_POWERPC
1177 Set to not build LLVM target support for PowerPC.
1180 option should be used rather than this in most cases.
1182 This is a default setting on
1184 .It Va WITH_LLVM_TARGET_POWERPC
1185 Set to build LLVM target support for PowerPC.
1188 option should be used rather than this in most cases.
1190 This is a default setting on
1191 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, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1192 .It Va WITHOUT_LLVM_TARGET_RISCV
1193 Set to not build LLVM target support for RISC-V.
1196 option should be used rather than this in most cases.
1198 This is a default setting on
1200 .It Va WITH_LLVM_TARGET_RISCV
1201 Set to build LLVM target support for RISC-V.
1204 option should be used rather than this in most cases.
1206 This is a default setting on
1207 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, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1208 .It Va WITHOUT_LLVM_TARGET_SPARC
1209 Set to not build LLVM target support for SPARC.
1212 option should be used rather than this in most cases.
1214 This is a default setting on
1216 .It Va WITH_LLVM_TARGET_SPARC
1217 Set to build LLVM target support for SPARC.
1220 option should be used rather than this in most cases.
1222 This is a default setting on
1223 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, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1224 .It Va WITHOUT_LLVM_TARGET_X86
1225 Set to not build LLVM target support for X86.
1228 option should be used rather than this in most cases.
1230 This is a default setting on
1232 .It Va WITH_LLVM_TARGET_X86
1233 Set to build LLVM target support for X86.
1236 option should be used rather than this in most cases.
1238 This is a default setting on
1239 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, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1240 .It Va WITH_LOADER_EFI_SECUREBOOT
1243 with support for verification based on certificates obtained from UEFI.
1245 .It Va WITH_LOADER_FIREWIRE
1246 Enable firewire support in /boot/loader on x86. This option is a nop
1247 on all other platforms.
1248 .It Va WITH_LOADER_FORCE_LE
1249 Set to force the powerpc boot loader to launch the kernel in little
1251 .It Va WITHOUT_LOADER_GELI
1252 Disable inclusion of GELI crypto support in the boot chain binaries.
1254 This is a default setting on
1255 powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1256 .It Va WITH_LOADER_GELI
1257 Set to build GELI bootloader support.
1259 This is a default setting on
1260 amd64/amd64, arm/arm, 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.
1261 .It Va WITHOUT_LOADER_LUA
1262 Set to not build LUA bindings for the boot loader.
1264 This is a default setting on
1265 powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1266 .It Va WITH_LOADER_LUA
1267 Set to build LUA bindings for the boot loader.
1269 This is a default setting on
1270 amd64/amd64, arm/arm, 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.
1271 .It Va WITHOUT_LOADER_OFW
1272 Disable building of openfirmware bootloader components.
1274 This is a default setting on
1275 amd64/amd64, arm/arm, 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.
1276 .It Va WITH_LOADER_OFW
1277 Set to build openfirmware bootloader components.
1279 This is a default setting on
1280 powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1281 .It Va WITHOUT_LOADER_UBOOT
1282 Disable building of ubldr.
1284 This is a default setting on
1285 amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1286 .It Va WITH_LOADER_UBOOT
1289 This is a default setting on
1290 arm/arm, 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 and powerpc/powerpcspe.
1291 .It Va WITH_LOADER_VERIEXEC
1294 with support for verification similar to Verified Exec.
1298 When set, these options are also in effect:
1301 .It Va WITH_LOADER_EFI_SECUREBOOT
1303 .Va WITHOUT_LOADER_EFI_SECUREBOOT
1305 .It Va WITH_LOADER_VERIEXEC_VECTX
1307 .Va WITHOUT_LOADER_VERIEXEC_VECTX
1310 .It Va WITH_LOADER_VERIEXEC_PASS_MANIFEST
1313 with support to pass a verified manifest to the kernel.
1314 The kernel has to be built with a module to parse the manifest.
1317 .Va WITH_LOADER_VERIEXEC .
1318 .It Va WITHOUT_LOADER_ZFS
1319 Set to not build ZFS file system boot loader support.
1320 .It Va WITHOUT_LOCALES
1321 Set to not build localization files; see
1323 .It Va WITHOUT_LOCATE
1326 and related programs.
1330 and related programs.
1331 .It Va WITHOUT_LS_COLORS
1334 without support for colors to distinguish file types.
1335 .It Va WITHOUT_LZMA_SUPPORT
1336 Set to build some programs without optional lzma compression support.
1338 Set to not build any mail support (MUA or MTA).
1339 When set, it enforces these options:
1345 .Va WITHOUT_MAILWRAPPER
1347 .Va WITHOUT_SENDMAIL
1349 .It Va WITHOUT_MAILWRAPPER
1350 Set to not build the
1356 and related support files.
1357 .It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
1360 in limited sandbox mode.
1361 This option should be paired with
1362 .Va WITH_INSTALL_AS_USER
1363 if executed as an unprivileged user.
1367 .It Va WITHOUT_MALLOC_PRODUCTION
1368 Set to enable assertions and statistics gathering in
1370 It also defaults the A and J runtime options to on.
1372 Set to not build manual pages.
1373 When set, these options are also in effect:
1376 .It Va WITHOUT_MAN_UTILS
1381 .It Va WITHOUT_MANCOMPRESS
1382 Set to not to install compressed man pages.
1383 Only the uncompressed versions will be installed.
1384 .It Va WITHOUT_MAN_UTILS
1385 Set to not build utilities for manual pages,
1391 and related support files.
1392 .It Va WITH_META_MODE
1395 meta files when building, which can provide a reliable incremental build when
1398 The meta file is created in OBJDIR as
1400 These meta files track the command that was executed, its output, and the
1404 module is required unless
1407 When the module is loaded, any files used by the commands executed are
1408 tracked as dependencies for the target in its meta file.
1409 The target is considered out-of-date and rebuilt if any of these
1410 conditions are true compared to the last build:
1411 .Bl -bullet -compact
1413 The command to execute changes.
1415 The current working directory changes.
1417 The target's meta file is missing.
1419 The target's meta file is missing filemon data when filemon is loaded
1420 and a previous run did not have it loaded.
1424 Files read, executed or linked to are newer than the target.
1428 Files read, written, executed or linked are missing.
1430 The meta files can also be useful for debugging.
1432 The build hides commands that are executed unless
1437 to show some of its environment for further debugging.
1439 The build operates as it normally would otherwise.
1440 This option originally invoked a different build system but that was renamed
1442 .Va WITH_DIRDEPS_BUILD .
1444 This must be set in the environment, make command line, or
1445 .Pa /etc/src-env.conf ,
1448 .It Va WITHOUT_MLX5TOOL
1452 This is a default setting on
1453 arm/arm, 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/powerpcspe, riscv/riscv64 and riscv/riscv64sf.
1454 .It Va WITH_MLX5TOOL
1458 This is a default setting on
1459 amd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64.
1460 .It Va WITHOUT_MODULE_DRM
1461 Disable creation of old drm video modules.
1463 .It Va WITHOUT_MODULE_DRM2
1464 Disable creation of old drm2 video modules.
1466 Set to build the NAND Flash components.
1468 Set to not build programs and libraries
1469 related to NDIS emulation support.
1470 .It Va WITHOUT_NETCAT
1474 .It Va WITHOUT_NETGRAPH
1475 Set to not build applications to support
1477 When set, it enforces these options:
1483 .Va WITHOUT_BLUETOOTH
1486 When set, these options are also in effect:
1489 .It Va WITHOUT_NETGRAPH_SUPPORT
1491 .Va WITH_NETGRAPH_SUPPORT
1494 .It Va WITHOUT_NETGRAPH_SUPPORT
1495 Set to build libraries, programs, and kernel modules without netgraph support.
1499 support and related programs.
1500 If set, you might need to adopt your
1506 Set to not build NLS catalogs.
1507 When set, it enforces these options:
1511 .Va WITHOUT_NLS_CATALOGS
1513 .It Va WITHOUT_NLS_CATALOGS
1514 Set to not build NLS catalog support for
1516 .It Va WITHOUT_NS_CACHING
1517 Set to disable name caching in the
1520 The generic caching daemon,
1522 will not be built either if this option is set.
1526 and related programs.
1528 Set to not build nvme related tools and kernel modules.
1530 This is a default setting on
1531 arm/arm, 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/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1533 Set to build nvme related tools and kernel modules.
1536 This is a default setting on
1537 amd64/amd64, i386/i386 and powerpc/powerpc64.
1540 .Dq "OpenFabrics Enterprise Distribution"
1541 Infiniband software stack.
1542 .It Va WITH_OFED_EXTRA
1543 Set to build the non-essential components of the
1544 .Dq "OpenFabrics Enterprise Distribution"
1545 Infiniband software stack, mostly examples.
1546 .It Va WITH_OPENLDAP
1547 Enable building openldap support for kerberos.
1548 .It Va WITHOUT_OPENMP
1549 Set to not build LLVM's OpenMP runtime.
1551 This is a default setting on
1552 arm/arm, 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/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1554 Set to build LLVM's OpenMP runtime.
1556 This is a default setting on
1557 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1558 .It Va WITHOUT_OPENSSH
1559 Set to not build OpenSSH.
1560 .It Va WITHOUT_OPENSSL
1561 Set to not build OpenSSL.
1562 When set, it enforces these options:
1568 .Va WITHOUT_KERBEROS
1572 .Va WITHOUT_LDNS_UTILS
1576 .Va WITHOUT_PKGBOOTSTRAP
1584 .Va WITHOUT_WIRELESS
1587 When set, these options are also in effect:
1590 .It Va WITHOUT_GSSAPI
1596 Set to not build PAM library and modules.
1598 This option is deprecated and does nothing.
1600 When set, these options are also in effect:
1603 .It Va WITHOUT_PAM_SUPPORT
1605 .Va WITH_PAM_SUPPORT
1608 .It Va WITHOUT_PAM_SUPPORT
1609 Set to build some programs without PAM support, particularly
1613 .It Va WITHOUT_PC_SYSINSTALL
1616 and related programs.
1618 Set to not build PF firewall package.
1619 When set, it enforces these options:
1626 Build dynamically linked binaries as
1627 Position-Independent Executable (PIE).
1628 .It Va WITHOUT_PKGBOOTSTRAP
1635 and related programs.
1636 .It Va WITHOUT_PORTSNAP
1637 Set to not build or install
1643 and related programs.
1644 .It Va WITHOUT_PROFILE
1645 Set to not build profiled libraries for use with
1648 This is a default setting on
1649 mips/mips64el, mips/mips64, mips/mips64elhf and mips/mips64hf.
1651 Set to build profiled libraries for use with
1654 This is a default setting on
1655 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mipsn32, mips/mipselhf, mips/mipshf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1656 .It Va WITHOUT_QUOTAS
1659 and related programs.
1660 .It Va WITHOUT_RADIUS_SUPPORT
1661 Set to not build radius support into various applications, like
1665 .It Va WITH_RATELIMIT
1666 Set to build the system with rate limit support.
1669 .Dv SO_MAX_PACING_RATE
1677 .It Va WITHOUT_RBOOTD
1678 Set to not build or install
1680 .It Va WITHOUT_REPRODUCIBLE_BUILD
1681 Set to include build metadata (such as the build time, user, and host)
1682 in the kernel, boot loaders, and uname output.
1683 Successive builds will not be bit-for-bit identical.
1684 .It Va WITHOUT_RESCUE
1687 .It Va WITH_RETPOLINE
1688 Set to build the base system with the retpoline speculative execution
1689 vulnerability mitigation for CVE-2017-5715.
1690 .It Va WITHOUT_ROUTED
1694 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1697 with warmstart support.
1698 .It Va WITHOUT_SENDMAIL
1701 and related programs.
1702 .It Va WITHOUT_SERVICESDB
1704 .Pa /var/db/services.db .
1705 .It Va WITHOUT_SETUID_LOGIN
1706 Set this to disable the installation of
1708 as a set-user-ID root program.
1709 .It Va WITHOUT_SHAREDOCS
1710 Set to not build the
1713 .It Va WITH_SHARED_TOOLCHAIN
1714 Set to build the toolchain binaries as dynamically linked executables.
1718 and necessary utilities like assembler, linker and library archive manager.
1719 .It Va WITH_SORT_THREADS
1720 Set to enable threads in
1722 .It Va WITHOUT_SOURCELESS
1723 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1724 When set, it enforces these options:
1728 .Va WITHOUT_SOURCELESS_HOST
1730 .Va WITHOUT_SOURCELESS_UCODE
1732 .It Va WITHOUT_SOURCELESS_HOST
1733 Set to not build kernel modules that include sourceless native code for host CPU.
1734 .It Va WITHOUT_SOURCELESS_UCODE
1735 Set to not build kernel modules that include sourceless microcode.
1737 Set to not build world with propolice stack smashing protection.
1739 This is a default setting on
1740 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1742 Set to build world with propolice stack smashing protection.
1744 This is a default setting on
1745 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1747 Enable staging of files to a stage tree.
1748 This can be best thought of as auto-install to
1750 with some extra meta data to ensure dependencies can be tracked.
1752 .Va WITH_DIRDEPS_BUILD .
1753 When set, these options are also in effect:
1756 .It Va WITH_STAGING_MAN
1758 .Va WITHOUT_STAGING_MAN
1760 .It Va WITH_STAGING_PROG
1762 .Va WITHOUT_STAGING_PROG
1766 This must be set in the environment, make command line, or
1767 .Pa /etc/src-env.conf ,
1770 .It Va WITH_STAGING_MAN
1771 Enable staging of man pages to stage tree.
1772 .It Va WITH_STAGING_PROG
1773 Enable staging of PROGs to stage tree.
1774 .It Va WITH_STALE_STAGED
1775 Check staged files are not stale.
1781 .It Va WITHOUT_SVNLITE
1784 and related programs.
1785 .It Va WITHOUT_SYMVER
1786 Set to disable symbol versioning when building shared libraries.
1787 .It Va WITHOUT_SYSCONS
1790 support files such as keyboard maps, fonts, and screen output maps.
1792 Enable use of sysroot during build.
1794 .Va WITH_DIRDEPS_BUILD .
1796 This must be set in the environment, make command line, or
1797 .Pa /etc/src-env.conf ,
1800 .It Va WITHOUT_SYSTEM_COMPILER
1801 Set to not opportunistically skip building a cross-compiler during the
1802 bootstrap phase of the build.
1803 Normally, if the currently installed compiler matches the planned bootstrap
1804 compiler type and revision, then it will not be built.
1805 This does not prevent a compiler from being built for installation though,
1806 only for building one for the build itself.
1811 options control those.
1812 .It Va WITHOUT_SYSTEM_LINKER
1813 Set to not opportunistically skip building a cross-linker during the
1814 bootstrap phase of the build.
1815 Normally, if the currently installed linker matches the planned bootstrap
1816 linker type and revision, then it will not be built.
1817 This does not prevent a linker from being built for installation though,
1818 only for building one for the build itself.
1822 .Va WITHOUT_BINUTILS
1823 options control those.
1825 This option is only relevant when
1826 .Va WITH_LLD_BOOTSTRAP
1829 Set to not build or install
1833 .It Va WITHOUT_TCP_WRAPPERS
1834 Set to not build or install
1836 and related utilities.
1838 Set to not build and install
1842 .It Va WITHOUT_TELNET
1845 and related programs.
1846 .It Va WITHOUT_TESTS
1847 Set to not build nor install the
1854 This also disables the build of all test-related dependencies, including ATF.
1855 When set, it enforces these options:
1859 .Va WITHOUT_DTRACE_TESTS
1862 When set, these options are also in effect:
1865 .It Va WITHOUT_GOOGLETEST
1869 .It Va WITHOUT_TESTS_SUPPORT
1871 .Va WITH_TESTS_SUPPORT
1874 .It Va WITHOUT_TESTS_SUPPORT
1875 Set to disables the build of all test-related dependencies, including ATF.
1876 When set, it enforces these options:
1880 .Va WITHOUT_GOOGLETEST
1882 .It Va WITHOUT_TEXTPROC
1884 programs used for text processing.
1886 Set to not build or install
1890 .It Va WITHOUT_TIMED
1891 Set to not build or install
1893 .It Va WITHOUT_TOOLCHAIN
1894 Set to not install header or
1895 programs used for program development,
1896 compilers, debuggers etc.
1897 When set, it enforces these options:
1901 .Va WITHOUT_BINUTILS
1905 .Va WITHOUT_CLANG_EXTRAS
1907 .Va WITHOUT_CLANG_FORMAT
1909 .Va WITHOUT_CLANG_FULL
1915 .Va WITHOUT_INCLUDES
1921 .Va WITHOUT_LLVM_COV
1923 .It Va WITHOUT_UNBOUND
1926 and related programs.
1927 .It Va WITHOUT_UNIFIED_OBJDIR
1928 Set to use the historical object directory format for
1931 For native-builds and builds done directly in sub-directories the format of
1932 .Pa ${MAKEOBJDIRPREFIX}/${.CURDIR}
1934 while for cross-builds
1935 .Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR}
1938 This option is transitional and will be removed before the 12.0 release,
1940 .va WITH_UNIFIED_OBJDIR
1941 will be enabled permanently.
1943 This must be set in the environment, make command line, or
1944 .Pa /etc/src-env.conf ,
1948 Set to not build USB-related programs and libraries.
1949 .It Va WITHOUT_USB_GADGET_EXAMPLES
1950 Set to not build USB gadget kernel modules.
1951 .It Va WITHOUT_UTMPX
1952 Set to not build user accounting tools such as
1960 .It Va WITH_VERIEXEC
1963 which loads the contents of verified manifests into the kernel
1970 Set to not build and install vi, view, ex and related programs.
1974 support files (fonts and keymaps).
1975 .It Va WITHOUT_WARNS
1976 Set this to not add warning flags to the compiler invocations.
1977 Useful as a temporary workaround when code enters the tree
1978 which triggers warnings in environments that differ from the
1980 .It Va WITHOUT_WIRELESS
1981 Set to not build programs used for 802.11 wireless networks; especially
1982 .Xr wpa_supplicant 8
1985 When set, these options are also in effect:
1988 .It Va WITHOUT_WIRELESS_SUPPORT
1990 .Va WITH_WIRELESS_SUPPORT
1993 .It Va WITHOUT_WIRELESS_SUPPORT
1994 Set to build libraries, programs, and kernel modules without
1995 802.11 wireless support.
1996 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1998 .Xr wpa_supplicant 8
1999 without support for the IEEE 802.1X protocol and without
2000 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
2001 protocols (usable only via 802.1X).
2003 Set to not build ZFS file system kernel module, libraries, and user commands.
2004 .It Va WITHOUT_ZONEINFO
2005 Set to not build the timezone database.
2006 When set, it enforces these options:
2010 .Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
2012 .It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
2013 Set to build leapsecond information in to the timezone database.
2016 .Bl -tag -compact -width Pa
2017 .It Pa /etc/src.conf
2018 .It Pa /etc/src-env.conf
2019 .It Pa /usr/share/mk/bsd.own.mk
2032 This manual page was autogenerated by
2033 .An tools/build/options/makeman .