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.
106 and related programs.
111 and related programs.
112 .It Va WITHOUT_ASSERT_DEBUG
113 Set to compile programs and libraries without the
119 and related utilities.
122 programs and libraries related to ATM networking.
124 Set to not build audit support into system programs.
125 .It Va WITHOUT_AUTHPF
128 .It Va WITHOUT_AUTOFS
131 related programs, libraries, and kernel modules.
132 .It Va WITHOUT_AUTO_OBJ
133 Disable automatic creation of objdirs.
134 This is enabled by default if the wanted OBJDIR is writable by the current user.
136 This must be set in the environment, make command line, or
137 .Pa /etc/src-env.conf ,
141 Set to not build or install
143 associated utilities, and examples.
145 This option only affects amd64/amd64.
147 Build all binaries with the
149 flag set to indicate that the run-time loader should perform all relocation
150 processing at process startup rather than on demand.
151 .It Va WITHOUT_BINUTILS
152 Set to not build or install GNU
155 and for some CPU architectures
158 of the normal system build.
159 The resulting system cannot build programs from source.
161 This is a default setting on
162 arm64/aarch64 and riscv/riscv64.
163 When set, it enforces these options:
170 Set to build and install GNU
173 and for some CPU architectures
176 of the normal system build.
178 This is a default setting on
179 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.
180 .It Va WITHOUT_BINUTILS_BOOTSTRAP
181 Set to not build binutils (as, ld, and objdump)
182 as part of the bootstrap process.
184 The option does not work for build targets unless some alternative
185 toolchain is provided.
188 This is a default setting on
189 arm64/aarch64 and riscv/riscv64.
190 .It Va WITH_BINUTILS_BOOTSTRAP
191 Set build binutils (as, ld, and objdump)
192 as part of the bootstrap process.
194 This is a default setting on
195 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.
196 .It Va WITHOUT_BLACKLIST
197 Set this if you do not want to build
201 When set, these options are also in effect:
204 .It Va WITHOUT_BLACKLIST_SUPPORT
206 .Va WITH_BLACKLIST_SUPPORT
209 .It Va WITHOUT_BLACKLIST_SUPPORT
210 Set to build some programs without
219 .It Va WITHOUT_BLUETOOTH
220 Set to not build Bluetooth related kernel modules, programs and libraries.
222 Set to not build the boot blocks and loader.
223 .It Va WITHOUT_BOOTPARAMD
224 Set to not build or install
226 .It Va WITHOUT_BOOTPD
227 Set to not build or install
229 .It Va WITHOUT_BSDINSTALL
233 and related programs.
234 .It Va WITHOUT_BSD_CPIO
235 Set to not build the BSD licensed version of cpio based on
237 .It Va WITHOUT_BSD_CRTBEGIN
238 Disable the BSD licensed
243 This is a default setting on
244 powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
245 .It Va WITH_BSD_CRTBEGIN
246 Enable the BSD licensed
251 This is a default setting on
252 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 and riscv/riscv64.
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_CASPER
286 Set to not build Casper program and related libraries.
287 .It Va WITH_CCACHE_BUILD
291 No configuration is required except to install the
297 .Sy CCACHE_PREFIX=/usr/local/bin/distcc .
298 The default cache directory of
300 will be used, which can be overridden by setting
303 .Sy CCACHE_COMPILERCHECK
306 when using the in-tree bootstrap compiler,
309 when using an external compiler.
312 option is used for Clang but not GCC.
314 Sharing a cache between multiple work directories requires using a layout
318 and an environment such as:
319 .Bd -literal -offset indent
320 CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
325 for more configuration options.
329 and related utilities.
331 Set to not build code licensed under Sun's CDDL.
332 When set, it enforces these options:
338 .Va WITHOUT_LOADER_ZFS
343 Set to not build the Clang C/C++ compiler during the regular phase of the build.
345 This is a default setting on
346 riscv/riscv64 and sparc64/sparc64.
347 When set, it enforces these options:
351 .Va WITHOUT_CLANG_EXTRAS
353 .Va WITHOUT_CLANG_FULL
358 When set, these options are also in effect:
361 .It Va WITHOUT_LLVM_TARGET_AARCH64
363 .Va WITH_LLVM_TARGET_AARCH64
365 .It Va WITHOUT_LLVM_TARGET_ALL
367 .Va WITH_LLVM_TARGET_ALL
369 .It Va WITHOUT_LLVM_TARGET_ARM
371 .Va WITH_LLVM_TARGET_ARM
373 .It Va WITHOUT_LLVM_TARGET_MIPS
375 .Va WITH_LLVM_TARGET_MIPS
377 .It Va WITHOUT_LLVM_TARGET_POWERPC
379 .Va WITH_LLVM_TARGET_POWERPC
381 .It Va WITHOUT_LLVM_TARGET_SPARC
383 .Va WITH_LLVM_TARGET_SPARC
385 .It Va WITHOUT_LLVM_TARGET_X86
387 .Va WITH_LLVM_TARGET_X86
391 Set to build the Clang C/C++ compiler during the normal phase of the build.
393 This is a default setting on
394 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 and powerpc/powerpcspe.
395 .It Va WITHOUT_CLANG_BOOTSTRAP
396 Set to not build the Clang C/C++ compiler during the bootstrap phase of
398 To be able to build the system, either gcc or clang bootstrap must be
399 enabled unless an alternate compiler is provided via XCC.
401 This is a default setting on
402 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 sparc64/sparc64.
403 .It Va WITH_CLANG_BOOTSTRAP
404 Set to build the Clang C/C++ compiler during the bootstrap phase of the build.
406 This is a default setting on
407 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
408 .It Va WITH_CLANG_EXTRAS
409 Set to build additional clang and llvm tools, such as bugpoint and
411 .It Va WITHOUT_CLANG_FULL
412 Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
413 the Clang C/C++ compiler.
415 This is a default setting on
416 riscv/riscv64 and sparc64/sparc64.
417 .It Va WITH_CLANG_FULL
418 Set to build the ARCMigrate, Rewriter and StaticAnalyzer components of the
419 Clang C/C++ compiler.
421 This is a default setting on
422 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 and powerpc/powerpcspe.
423 .It Va WITHOUT_CLANG_IS_CC
424 Set to install the GCC compiler as
430 This is a default setting on
431 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 sparc64/sparc64.
432 .It Va WITH_CLANG_IS_CC
433 Set to install the Clang C/C++ compiler as
439 This is a default setting on
440 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
444 .It Va WITHOUT_CROSS_COMPILER
445 Set to not build any cross compiler in the cross-tools stage of buildworld.
446 When compiling a different version of
448 than what is installed on the system, provide an alternate
449 compiler with XCC to ensure success.
450 When compiling with an identical version of
452 to the host, this option may be safely used.
453 This option may also be safe when the host version of
455 is close to the sources being built, but all bets are off if there have
456 been any changes to the toolchain between the versions.
457 When set, it enforces these options:
461 .Va WITHOUT_BINUTILS_BOOTSTRAP
463 .Va WITHOUT_CLANG_BOOTSTRAP
465 .Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
467 .Va WITHOUT_GCC_BOOTSTRAP
469 .Va WITHOUT_LLD_BOOTSTRAP
472 Set to not build any crypto code.
473 When set, it enforces these options:
484 When set, these options are also in effect:
487 .It Va WITHOUT_GSSAPI
493 Set to compile with CTF (Compact C Type Format) data.
494 CTF data encapsulates a reduced form of debugging information
495 similar to DWARF and the venerable stabs and is required for DTrace.
497 Set to not build CUSE-related programs and libraries.
498 .It Va WITHOUT_CXGBETOOL
502 This is a default setting on
503 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 and riscv/riscv64.
504 .It Va WITH_CXGBETOOL
508 This is a default setting on
509 amd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64.
513 and related libraries.
514 It will also prevent building of
518 When set, it enforces these options:
524 .Va WITHOUT_CLANG_EXTRAS
526 .Va WITHOUT_CLANG_FULL
528 .Va WITHOUT_DTRACE_TESTS
536 .It Va WITHOUT_DEBUG_FILES
537 Set to avoid building or installing standalone debug files for each
538 executable binary and shared library.
539 .It Va WITHOUT_DIALOG
546 When set, it enforces these options:
550 .Va WITHOUT_BSDINSTALL
553 Set to not build the Webster dictionary files.
554 .It Va WITH_DIRDEPS_BUILD
555 This is an experimental build system.
557 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
558 Build commands can be seen from the top-level with:
559 .Dl make show-valid-targets
560 The build is driven by dirdeps.mk using
563 Makefile.depend files found in each directory.
565 The build can be started from anywhere, and behaves the same.
566 The initial instance of
571 .Pa Makefile.depend ,
572 computing a graph of tree dependencies from the current origin.
575 skips checking dirdep dependencies and will only build in the current
576 and child directories.
578 skips building any dirdeps and only build the current directory.
580 This also utilizes the
582 logic for incremental builds.
584 The build hides commands executed unless
588 Note that there is currently no mass install feature for this.
590 When set, it enforces these options:
594 .Va WITH_INSTALL_AS_USER
597 When set, these options are also in effect:
600 .It Va WITH_META_MODE
602 .Va WITHOUT_META_MODE
608 .It Va WITH_STAGING_MAN
610 .Va WITHOUT_STAGING_MAN
612 .It Va WITH_STAGING_PROG
614 .Va WITHOUT_STAGING_PROG
622 This must be set in the environment, make command line, or
623 .Pa /etc/src-env.conf ,
626 .It Va WITH_DIRDEPS_CACHE
627 Cache result of dirdeps.mk which can save significant time
628 for subsequent builds.
630 .Va WITH_DIRDEPS_BUILD .
632 This must be set in the environment, make command line, or
633 .Pa /etc/src-env.conf ,
636 .It Va WITHOUT_DMAGENT
637 Set to not build dma Mail Transport Agent.
638 .It Va WITHOUT_DOCCOMPRESS
639 Set to not install compressed system documentation.
640 Only the uncompressed version will be installed.
641 .It Va WITH_DTRACE_TESTS
642 Set to build and install the DTrace test suite in
643 .Pa /usr/tests/cddl/usr.sbin/dtrace .
644 This test suite is considered experimental on architectures other than
645 amd64/amd64 and running it may cause system instability.
646 .It Va WITHOUT_DYNAMICROOT
647 Set this if you do not want to link
653 Set to not build and install
656 and related programs.
663 This is a default setting on
664 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 sparc64/sparc64.
671 This is a default setting on
672 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
673 .It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
674 Set to not build ELF Tool Chain tools
675 (addr2line, nm, size, strings and strip)
676 as part of the bootstrap process.
678 An alternate bootstrap tool chain must be provided.
680 .It Va WITHOUT_EXAMPLES
681 Set to avoid installing examples to
682 .Pa /usr/share/examples/ .
683 .It Va WITH_EXPERIMENTAL
684 Set to include experimental features in the build.
685 .It Va WITH_EXTRA_TCP_STACKS
686 Set to build extra TCP stack modules.
688 Set to not build Flattened Device Tree support as part of the base system.
689 This includes the device tree compiler (dtc) and libfdt support library.
693 and related programs.
694 .It Va WITHOUT_FINGER
695 Set to not build or install
699 .It Va WITHOUT_FLOPPY
700 Set to not build or install programs
701 for operating floppy disk driver.
702 .It Va WITHOUT_FMTREE
703 Set to not build and install
704 .Pa /usr/sbin/fmtree .
705 .It Va WITHOUT_FORMAT_EXTENSIONS
707 .Fl fformat-extensions
708 when compiling the kernel.
709 Also disables all format checking.
711 Set to build bootloaders without Forth support.
712 .It Va WITHOUT_FP_LIBC
715 without floating-point support.
716 .It Va WITHOUT_FREEBSD_UPDATE
718 .Xr freebsd-update 8 .
720 Set to not build or install
725 Set to not build games.
727 Set to not build and install gcc and g++ as part of the normal build process.
729 This is a default setting on
730 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386 and riscv/riscv64.
732 Set to build and install gcc and g++.
734 This is a default setting on
735 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.
736 .It Va WITHOUT_GCC_BOOTSTRAP
737 Set to not build gcc and g++ as part of the bootstrap process.
738 You must enable either gcc or clang bootstrap to be able to build the system,
739 unless an alternative compiler is provided via
742 This is a default setting on
743 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386 and riscv/riscv64.
744 .It Va WITH_GCC_BOOTSTRAP
745 Set to build gcc and g++ as part of the bootstrap process.
747 This is a default setting on
748 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.
757 This is a default setting on
758 arm64/aarch64 and riscv/riscv64.
763 This is a default setting on
764 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.
765 .It Va WITHOUT_GDB_LIBEXEC
771 This is a default setting on
773 .It Va WITH_GDB_LIBEXEC
780 to be used as a fallback for
782 if a newer version is not installed.
784 This is a default setting on
785 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 and riscv/riscv64.
786 .It Va WITHOUT_GNUCXX
787 Do not build the GNU C++ stack (g++, libstdc++).
788 This is the default on platforms where clang is the system compiler.
790 This is a default setting on
791 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
793 Build the GNU C++ stack (g++, libstdc++).
794 This is the default on platforms where gcc is the system compiler.
796 This is a default setting on
797 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 sparc64/sparc64.
798 .It Va WITHOUT_GNU_DIFF
803 .It Va WITHOUT_GNU_GREP
806 .It Va WITH_GNU_GREP_COMPAT
807 Set this option to include GNU extensions in
809 by linking against libgnuregex.
813 as part of the base system.
814 .It Va WITHOUT_GPL_DTC
815 Set to build the BSD licensed version of the device tree compiler rather
816 than the GPLed one from elinux.org.
818 This is a default setting on
819 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
821 Set to build the GPL'd version of the device tree compiler from elinux.org,
822 instead of the BSD licensed one.
824 This is a default setting on
825 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 sparc64/sparc64.
826 .It Va WITHOUT_GSSAPI
827 Set to not build libgssapi.
831 and related utilities.
833 Set to build Hesiod support.
835 Set to not build HTML docs.
836 .It Va WITHOUT_HYPERV
837 Set to not build or install HyperV utilities.
839 This is a default setting on
840 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 and sparc64/sparc64.
842 Set to build or install HyperV utilities.
844 This is a default setting on
845 amd64/amd64 and i386/i386.
847 Set to not build iconv as part of libc.
848 .It Va WITHOUT_INCLUDES
849 Set to not install header files.
850 This option used to be spelled
853 The option does not work for build targets.
856 Set to not build programs and libraries related to IPv4 networking.
857 When set, it enforces these options:
861 .Va WITHOUT_INET_SUPPORT
865 programs and libraries related to IPv6 networking.
866 When set, it enforces these options:
870 .Va WITHOUT_INET6_SUPPORT
872 .It Va WITHOUT_INET6_SUPPORT
873 Set to build libraries, programs, and kernel modules without IPv6 support.
877 .It Va WITHOUT_INET_SUPPORT
878 Set to build libraries, programs, and kernel modules without IPv4 support.
879 .It Va WITHOUT_INSTALLLIB
880 Set this to not install optional libraries.
881 For example, when creating a
885 The option does not work for build targets.
887 .It Va WITH_INSTALL_AS_USER
888 Set to make install targets succeed for non-root users by installing
889 files with owner and group attributes set to that of the user running
893 The user still must set the
895 variable to point to a directory where the user has write permissions.
896 .It Va WITHOUT_IPFILTER
897 Set to not build IP Filter package.
899 Set to not build IPFW tools.
900 .It Va WITHOUT_IPSEC_SUPPORT
901 Set to not build the kernel with
904 This option is needed for
911 and related utilities.
913 Set to not build tools for the support of jails; e.g.,
920 .It Va WITHOUT_KERBEROS
921 Set this to not build Kerberos 5 (KTH Heimdal).
922 When set, these options are also in effect:
925 .It Va WITHOUT_GSSAPI
929 .It Va WITHOUT_KERBEROS_SUPPORT
931 .Va WITH_KERBEROS_SUPPORT
934 .It Va WITHOUT_KERBEROS_SUPPORT
935 Set to build some programs without Kerberos support, like
941 .It Va WITH_KERNEL_RETPOLINE
942 Set to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel
944 .It Va WITHOUT_KERNEL_SYMBOLS
945 Set to not install kernel symbol files.
947 This option is recommended for those people who have small root partitions.
952 library as a part of the base system.
954 The option has no effect yet.
956 When set, these options are also in effect:
959 .It Va WITHOUT_KVM_SUPPORT
964 .It Va WITHOUT_KVM_SUPPORT
965 Set to build some programs without optional
969 Setting this variable will prevent the LDNS library from being built.
970 When set, it enforces these options:
974 .Va WITHOUT_LDNS_UTILS
978 .It Va WITHOUT_LDNS_UTILS
979 Setting this variable will prevent building the LDNS utilities
983 .It Va WITHOUT_LEGACY_CONSOLE
984 Set to not build programs that support a legacy PC console; e.g.,
989 On 64-bit platforms, set to not build 32-bit library set and a
992 .It Va WITHOUT_LIBCPLUSPLUS
993 Set to avoid building libcxxrt and libc++.
994 .It Va WITHOUT_LIBPTHREAD
999 When set, it enforces these options:
1006 On armv6 only, set to enable soft float ABI compatibility libraries.
1007 This option is for transitioning to the new hard float ABI.
1008 .It Va WITHOUT_LIBTHR
1009 Set to not build the
1014 Set to not build LLVM's lld linker.
1016 This is a default setting on
1017 riscv/riscv64 and sparc64/sparc64.
1019 Set to build LLVM's lld linker.
1021 This is a default setting on
1022 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 and powerpc/powerpcspe.
1024 Set to not build the LLDB debugger.
1026 This is a default setting on
1027 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 and sparc64/sparc64.
1029 Set to build the LLDB debugger.
1031 This is a default setting on
1032 amd64/amd64, arm64/aarch64 and i386/i386.
1033 .It Va WITHOUT_LLD_BOOTSTRAP
1034 Set to not build the LLD linker during the bootstrap phase of
1036 To be able to build the system, either Binutils or LLD bootstrap must be
1037 enabled unless an alternate linker is provided via XLD.
1039 This is a default setting on
1040 arm/arm, arm/armv6, 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 sparc64/sparc64.
1041 .It Va WITH_LLD_BOOTSTRAP
1042 Set to build the LLD linker during the bootstrap phase of the build,
1043 and use it during buildworld and buildkernel.
1045 This is a default setting on
1046 amd64/amd64, arm/armv7, arm64/aarch64 and i386/i386.
1047 .It Va WITHOUT_LLD_IS_LD
1048 Set to use GNU binutils ld as the system linker, instead of LLVM's LLD.
1050 This is a default setting on
1051 arm/arm, arm/armv6, 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 sparc64/sparc64.
1052 .It Va WITH_LLD_IS_LD
1053 Set to use LLVM's LLD as the system linker, instead of GNU binutils ld.
1055 This is a default setting on
1056 amd64/amd64, arm/armv7, arm64/aarch64 and i386/i386.
1057 .It Va WITHOUT_LLVM_COV
1058 Set to not build the
1062 This is a default setting on
1063 riscv/riscv64 and sparc64/sparc64.
1064 .It Va WITH_LLVM_COV
1069 This is a default setting on
1070 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 and powerpc/powerpcspe.
1071 .It Va WITHOUT_LLVM_LIBUNWIND
1072 Set to use GCC's stack unwinder (instead of LLVM's libunwind).
1074 This is a default setting on
1075 arm/arm, arm/armv6, arm/armv7, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1076 .It Va WITH_LLVM_LIBUNWIND
1077 Set to use LLVM's libunwind stack unwinder (instead of GCC's unwinder).
1079 This is a default setting on
1080 amd64/amd64, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and riscv/riscv64.
1081 .It Va WITHOUT_LLVM_TARGET_AARCH64
1082 Set to not build LLVM target support for AArch64.
1085 option should be used rather than this in most cases.
1087 This is a default setting on
1088 arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64.
1089 .It Va WITH_LLVM_TARGET_AARCH64
1090 Set to build LLVM target support for AArch64.
1093 option should be used rather than this in most cases.
1095 This is a default setting on
1096 amd64/amd64, 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 and powerpc/powerpcspe.
1097 .It Va WITHOUT_LLVM_TARGET_ALL
1098 Set to only build the required LLVM target support.
1099 This option is preferred to specific target support options.
1101 This is a default setting on
1102 riscv/riscv64 and sparc64/sparc64.
1103 When set, these options are also in effect:
1106 .It Va WITHOUT_LLVM_TARGET_AARCH64
1108 .Va WITH_LLVM_TARGET_AARCH64
1110 .It Va WITHOUT_LLVM_TARGET_ARM
1112 .Va WITH_LLVM_TARGET_ARM
1114 .It Va WITHOUT_LLVM_TARGET_MIPS
1116 .Va WITH_LLVM_TARGET_MIPS
1118 .It Va WITHOUT_LLVM_TARGET_POWERPC
1120 .Va WITH_LLVM_TARGET_POWERPC
1122 .It Va WITHOUT_LLVM_TARGET_SPARC
1124 .Va WITH_LLVM_TARGET_SPARC
1127 .It Va WITH_LLVM_TARGET_ALL
1128 Set to build support for all LLVM targets.
1129 This option is always applied to the bootstrap compiler for buildworld when
1132 This is a default setting on
1133 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 and powerpc/powerpcspe.
1134 .It Va WITHOUT_LLVM_TARGET_ARM
1135 Set to not build LLVM target support for ARM.
1138 option should be used rather than this in most cases.
1140 This is a default setting on
1141 riscv/riscv64 and sparc64/sparc64.
1142 .It Va WITH_LLVM_TARGET_ARM
1143 Set to build LLVM target support for ARM.
1146 option should be used rather than this in most cases.
1148 This is a default setting on
1149 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 and powerpc/powerpcspe.
1150 .It Va WITH_LLVM_TARGET_BPF
1151 Set to build LLVM target support for BPF.
1154 option should be used rather than this in most cases.
1155 .It Va WITHOUT_LLVM_TARGET_MIPS
1156 Set to not build LLVM target support for MIPS.
1159 option should be used rather than this in most cases.
1161 This is a default setting on
1162 arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64.
1163 .It Va WITH_LLVM_TARGET_MIPS
1164 Set to build LLVM target support for MIPS.
1167 option should be used rather than this in most cases.
1169 This is a default setting on
1170 amd64/amd64, 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 and powerpc/powerpcspe.
1171 .It Va WITHOUT_LLVM_TARGET_POWERPC
1172 Set to not build LLVM target support for PowerPC.
1175 option should be used rather than this in most cases.
1177 This is a default setting on
1178 arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64.
1179 .It Va WITH_LLVM_TARGET_POWERPC
1180 Set to build LLVM target support for PowerPC.
1183 option should be used rather than this in most cases.
1185 This is a default setting on
1186 amd64/amd64, 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 and powerpc/powerpcspe.
1187 .It Va WITHOUT_LLVM_TARGET_SPARC
1188 Set to not build LLVM target support for SPARC.
1191 option should be used rather than this in most cases.
1193 This is a default setting on
1194 arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64.
1195 .It Va WITH_LLVM_TARGET_SPARC
1196 Set to build LLVM target support for SPARC.
1199 option should be used rather than this in most cases.
1201 This is a default setting on
1202 amd64/amd64, 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 and powerpc/powerpcspe.
1203 .It Va WITHOUT_LLVM_TARGET_X86
1204 Set to not build LLVM target support for X86.
1207 option should be used rather than this in most cases.
1209 This is a default setting on
1210 arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64.
1211 .It Va WITH_LLVM_TARGET_X86
1212 Set to build LLVM target support for X86.
1215 option should be used rather than this in most cases.
1217 This is a default setting on
1218 amd64/amd64, 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 and powerpc/powerpcspe.
1219 .It Va WITH_LOADER_FIREWIRE
1220 Enable firewire support in /boot/loader on x86. This option is a nop
1221 on all other platforms.
1222 .It Va WITH_LOADER_FORCE_LE
1223 Set to force the powerpc boot loader to launch the kernel in little
1225 .It Va WITHOUT_LOADER_GELI
1226 Disable inclusion of GELI crypto support in the boot chain binaries.
1228 This is a default setting on
1229 powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1230 .It Va WITH_LOADER_GELI
1231 Set to build GELI bootloader support.
1233 This is a default setting on
1234 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 and riscv/riscv64.
1235 .It Va WITHOUT_LOADER_LUA
1236 Set to not build LUA bindings for the boot loader.
1238 This is a default setting on
1239 powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1240 .It Va WITH_LOADER_LUA
1241 Set to build LUA bindings for the boot loader.
1243 This is a default setting on
1244 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 and riscv/riscv64.
1245 .It Va WITHOUT_LOADER_OFW
1246 Disable building of openfirmware bootloader components.
1248 This is a default setting on
1249 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 and riscv/riscv64.
1250 .It Va WITH_LOADER_OFW
1251 Set to build openfirmware bootloader components.
1253 This is a default setting on
1254 powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1255 .It Va WITHOUT_LOADER_UBOOT
1256 Disable building of ubldr.
1258 This is a default setting on
1259 amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and sparc64/sparc64.
1260 .It Va WITH_LOADER_UBOOT
1263 This is a default setting on
1264 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.
1265 .It Va WITH_LOADER_VERBOSE
1266 Set to build with extra verbose debugging in the loader.
1267 May explode already nearly too large loader over the limit.
1270 .It Va WITHOUT_LOADER_ZFS
1271 Set to not build ZFS file system boot loader support.
1272 .It Va WITHOUT_LOCALES
1273 Set to not build localization files; see
1275 .It Va WITHOUT_LOCATE
1278 and related programs.
1282 and related programs.
1283 .It Va WITHOUT_LS_COLORS
1286 without support for colors to distinguish file types.
1287 .It Va WITHOUT_LZMA_SUPPORT
1288 Set to build some programs without optional lzma compression support.
1290 Set to not build any mail support (MUA or MTA).
1291 When set, it enforces these options:
1297 .Va WITHOUT_MAILWRAPPER
1299 .Va WITHOUT_SENDMAIL
1301 .It Va WITHOUT_MAILWRAPPER
1302 Set to not build the
1308 and related support files.
1309 .It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
1312 in limited sandbox mode.
1313 This option should be paired with
1314 .Va WITH_INSTALL_AS_USER
1315 if executed as an unprivileged user.
1320 Set to not build manual pages.
1321 When set, these options are also in effect:
1324 .It Va WITHOUT_MAN_UTILS
1329 .It Va WITHOUT_MANCOMPRESS
1330 Set to not to install compressed man pages.
1331 Only the uncompressed versions will be installed.
1332 .It Va WITHOUT_MAN_UTILS
1333 Set to not build utilities for manual pages,
1339 and related support files.
1340 .It Va WITH_META_MODE
1343 meta files when building, which can provide a reliable incremental build when
1346 The meta file is created in OBJDIR as
1348 These meta files track the command that was executed, its output, and the
1352 module is required unless
1355 When the module is loaded, any files used by the commands executed are
1356 tracked as dependencies for the target in its meta file.
1357 The target is considered out-of-date and rebuilt if any of these
1358 conditions are true compared to the last build:
1359 .Bl -bullet -compact
1361 The command to execute changes.
1363 The current working directory changes.
1365 The target's meta file is missing.
1367 The target's meta file is missing filemon data when filemon is loaded
1368 and a previous run did not have it loaded.
1372 Files read, executed or linked to are newer than the target.
1376 Files read, written, executed or linked are missing.
1378 The meta files can also be useful for debugging.
1380 The build hides commands that are executed unless
1385 to show some of its environment for further debugging.
1387 The build operates as it normally would otherwise.
1388 This option originally invoked a different build system but that was renamed
1390 .Va WITH_DIRDEPS_BUILD .
1392 This must be set in the environment, make command line, or
1393 .Pa /etc/src-env.conf ,
1396 .It Va WITHOUT_MLX5TOOL
1400 This is a default setting on
1401 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 and riscv/riscv64.
1402 .It Va WITH_MLX5TOOL
1406 This is a default setting on
1407 amd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64.
1408 .It Va WITH_MODULE_DRM
1409 Enable creation of old drm video modules.
1410 .It Va WITH_MODULE_DRM2
1411 Enable creation of old drm2 video modules.
1413 Set to build the NAND Flash components.
1415 Set to not build programs and libraries
1416 related to NDIS emulation support.
1417 .It Va WITHOUT_NETCAT
1421 .It Va WITHOUT_NETGRAPH
1422 Set to not build applications to support
1424 When set, it enforces these options:
1430 .Va WITHOUT_BLUETOOTH
1433 When set, these options are also in effect:
1436 .It Va WITHOUT_NETGRAPH_SUPPORT
1438 .Va WITH_NETGRAPH_SUPPORT
1441 .It Va WITHOUT_NETGRAPH_SUPPORT
1442 Set to build libraries, programs, and kernel modules without netgraph support.
1446 support and related programs.
1447 If set, you might need to adopt your
1453 Set to not build NLS catalogs.
1454 When set, it enforces these options:
1458 .Va WITHOUT_NLS_CATALOGS
1460 .It Va WITHOUT_NLS_CATALOGS
1461 Set to not build NLS catalog support for
1463 .It Va WITHOUT_NS_CACHING
1464 Set to disable name caching in the
1467 The generic caching daemon,
1469 will not be built either if this option is set.
1473 and related programs.
1475 Set to not build nvme related tools and kernel modules.
1477 This is a default setting on
1478 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 and sparc64/sparc64.
1480 Set to build nvme related tools and kernel modules.
1483 This is a default setting on
1484 amd64/amd64, i386/i386 and powerpc/powerpc64.
1487 .Dq "OpenFabrics Enterprise Distribution"
1488 Infiniband software stack.
1489 .It Va WITH_OFED_EXTRA
1490 Set to build the non-essential components of the
1491 .Dq "OpenFabrics Enterprise Distribution"
1492 Infiniband software stack, mostly examples.
1493 .It Va WITH_OPENLDAP
1494 Enable building openldap support for kerberos.
1495 .It Va WITHOUT_OPENSSH
1496 Set to not build OpenSSH.
1497 .It Va WITHOUT_OPENSSL
1498 Set to not build OpenSSL.
1499 When set, it enforces these options:
1503 .Va WITHOUT_KERBEROS
1508 When set, these options are also in effect:
1511 .It Va WITHOUT_GSSAPI
1517 Set to not build PAM library and modules.
1519 This option is deprecated and does nothing.
1521 When set, these options are also in effect:
1524 .It Va WITHOUT_PAM_SUPPORT
1526 .Va WITH_PAM_SUPPORT
1529 .It Va WITHOUT_PAM_SUPPORT
1530 Set to build some programs without PAM support, particularly
1534 .It Va WITHOUT_PC_SYSINSTALL
1537 and related programs.
1539 Set to not build PF firewall package.
1540 When set, it enforces these options:
1547 Build dynamically linked binaries as
1548 Position-Independent Executable (PIE).
1549 .It Va WITHOUT_PKGBOOTSTRAP
1556 and related programs.
1557 .It Va WITHOUT_PORTSNAP
1558 Set to not build or install
1561 When set, it enforces these options:
1565 .Va WITHOUT_FREEBSD_UPDATE
1570 and related programs.
1571 .It Va WITHOUT_PROFILE
1572 Set to not build profiled libraries for use with
1575 This is a default setting on
1576 mips/mips64el, mips/mips64, mips/mips64elhf and mips/mips64hf.
1578 Set to build profiled libraries for use with
1581 This is a default setting on
1582 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 and sparc64/sparc64.
1583 .It Va WITHOUT_QUOTAS
1586 and related programs.
1587 .It Va WITHOUT_RADIUS_SUPPORT
1588 Set to not build radius support into various applications, like
1592 .It Va WITH_RATELIMIT
1593 Set to build the system with rate limit support.
1596 .Dv SO_MAX_PACING_RATE
1604 .It Va WITHOUT_RBOOTD
1605 Set to not build or install
1607 .It Va WITHOUT_REPRODUCIBLE_BUILD
1608 Set to include build metadata (such as the build time, user, and host)
1609 in the kernel, boot loaders, and uname output.
1610 Successive builds will not be bit-for-bit identical.
1611 .It Va WITHOUT_RESCUE
1614 .It Va WITH_RETPOLINE
1615 Set to build the base system with the retpoline speculative execution
1616 vulnerability mitigation for CVE-2017-5715.
1617 .It Va WITHOUT_ROUTED
1621 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1624 with warmstart support.
1625 .It Va WITHOUT_SENDMAIL
1628 and related programs.
1629 .It Va WITHOUT_SERVICESDB
1631 .Pa /var/db/services.db .
1632 .It Va WITHOUT_SETUID_LOGIN
1633 Set this to disable the installation of
1635 as a set-user-ID root program.
1636 .It Va WITHOUT_SHAREDOCS
1637 Set to not build the
1640 .It Va WITH_SHARED_TOOLCHAIN
1641 Set to build the toolchain binaries shared.
1645 and necessary utilities like assembler, linker and library archive manager.
1646 .It Va WITH_SORT_THREADS
1647 Set to enable threads in
1649 .It Va WITHOUT_SOURCELESS
1650 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1651 When set, it enforces these options:
1655 .Va WITHOUT_SOURCELESS_HOST
1657 .Va WITHOUT_SOURCELESS_UCODE
1659 .It Va WITHOUT_SOURCELESS_HOST
1660 Set to not build kernel modules that include sourceless native code for host CPU.
1661 .It Va WITHOUT_SOURCELESS_UCODE
1662 Set to not build kernel modules that include sourceless microcode.
1664 Set to not build world with propolice stack smashing protection.
1666 This is a default setting on
1667 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1669 Set to build world with propolice stack smashing protection.
1671 This is a default setting on
1672 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64.
1674 Enable staging of files to a stage tree.
1675 This can be best thought of as auto-install to
1677 with some extra meta data to ensure dependencies can be tracked.
1679 .Va WITH_DIRDEPS_BUILD .
1680 When set, these options are also in effect:
1683 .It Va WITH_STAGING_MAN
1685 .Va WITHOUT_STAGING_MAN
1687 .It Va WITH_STAGING_PROG
1689 .Va WITHOUT_STAGING_PROG
1693 This must be set in the environment, make command line, or
1694 .Pa /etc/src-env.conf ,
1697 .It Va WITH_STAGING_MAN
1698 Enable staging of man pages to stage tree.
1699 .It Va WITH_STAGING_PROG
1700 Enable staging of PROGs to stage tree.
1701 .It Va WITH_STALE_STAGED
1702 Check staged files are not stale.
1708 .It Va WITHOUT_SVNLITE
1711 and related programs.
1712 .It Va WITHOUT_SYMVER
1713 Set to disable symbol versioning when building shared libraries.
1714 .It Va WITHOUT_SYSCONS
1717 support files such as keyboard maps, fonts, and screen output maps.
1719 Enable use of sysroot during build.
1721 .Va WITH_DIRDEPS_BUILD .
1723 This must be set in the environment, make command line, or
1724 .Pa /etc/src-env.conf ,
1727 .It Va WITHOUT_SYSTEM_COMPILER
1728 Set to not opportunistically skip building a cross-compiler during the
1729 bootstrap phase of the build.
1730 Normally, if the currently installed compiler matches the planned bootstrap
1731 compiler type and revision, then it will not be built.
1732 This does not prevent a compiler from being built for installation though,
1733 only for building one for the build itself.
1738 options control those.
1739 .It Va WITHOUT_SYSTEM_LINKER
1740 Set to not opportunistically skip building a cross-linker during the
1741 bootstrap phase of the build.
1742 Normally, if the currently installed linker matches the planned bootstrap
1743 linker type and revision, then it will not be built.
1744 This does not prevent a linker from being built for installation though,
1745 only for building one for the build itself.
1749 .Va WITHOUT_BINUTILS
1750 options control those.
1752 This option is only relevant when
1753 .Va WITH_LLD_BOOTSTRAP
1756 Set to not build or install
1760 .It Va WITHOUT_TCP_WRAPPERS
1761 Set to not build or install
1763 and related utilities.
1765 Set to not build and install
1769 .It Va WITHOUT_TELNET
1772 and related programs.
1773 .It Va WITHOUT_TESTS
1774 Set to not build nor install the
1781 This also disables the build of all test-related dependencies, including ATF.
1782 When set, it enforces these options:
1786 .Va WITHOUT_DTRACE_TESTS
1789 When set, these options are also in effect:
1792 .It Va WITHOUT_TESTS_SUPPORT
1794 .Va WITH_TESTS_SUPPORT
1797 .It Va WITHOUT_TESTS_SUPPORT
1798 Set to disables the build of all test-related dependencies, including ATF.
1799 .It Va WITHOUT_TEXTPROC
1801 programs used for text processing.
1803 Set to not build or install
1807 .It Va WITHOUT_TOOLCHAIN
1808 Set to not install header or
1809 programs used for program development,
1810 compilers, debuggers etc.
1811 When set, it enforces these options:
1815 .Va WITHOUT_BINUTILS
1819 .Va WITHOUT_CLANG_EXTRAS
1821 .Va WITHOUT_CLANG_FULL
1827 .Va WITHOUT_INCLUDES
1833 .Va WITHOUT_LLVM_COV
1835 .It Va WITHOUT_UNBOUND
1838 and related programs.
1839 .It Va WITHOUT_UNIFIED_OBJDIR
1840 Set to use the historical object directory format for
1843 For native-builds and builds done directly in sub-directories the format of
1844 .Pa ${MAKEOBJDIRPREFIX}/${.CURDIR}
1846 while for cross-builds
1847 .Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR}
1850 This option is transitional and will be removed before the 12.0 release,
1852 .va WITH_UNIFIED_OBJDIR
1853 will be enabled permanently.
1855 This must be set in the environment, make command line, or
1856 .Pa /etc/src-env.conf ,
1860 Set to not build USB-related programs and libraries.
1861 .It Va WITHOUT_USB_GADGET_EXAMPLES
1862 Set to not build USB gadget kernel modules.
1863 .It Va WITHOUT_UTMPX
1864 Set to not build user accounting tools such as
1873 Set to not build and install vi, view, ex and related programs.
1877 support files (fonts and keymaps).
1878 .It Va WITHOUT_WARNS
1879 Set this to not add warning flags to the compiler invocations.
1880 Useful as a temporary workaround when code enters the tree
1881 which triggers warnings in environments that differ from the
1883 .It Va WITHOUT_WIRELESS
1884 Set to not build programs used for 802.11 wireless networks; especially
1885 .Xr wpa_supplicant 8
1888 When set, these options are also in effect:
1891 .It Va WITHOUT_WIRELESS_SUPPORT
1893 .Va WITH_WIRELESS_SUPPORT
1896 .It Va WITHOUT_WIRELESS_SUPPORT
1897 Set to build libraries, programs, and kernel modules without
1898 802.11 wireless support.
1899 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1901 .Xr wpa_supplicant 8
1902 without support for the IEEE 802.1X protocol and without
1903 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1904 protocols (usable only via 802.1X).
1906 Set to not build ZFS file system kernel module, libraries, and user commands.
1907 .It Va WITHOUT_ZONEINFO
1908 Set to not build the timezone database.
1909 When set, it enforces these options:
1913 .Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
1915 .Va WITHOUT_ZONEINFO_OLD_TIMEZONES_SUPPORT
1917 .It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
1918 Set to build leapsecond information in to the timezone database.
1919 .It Va WITH_ZONEINFO_OLD_TIMEZONES_SUPPORT
1920 Set to build backward compatibility timezone aliases in to the timezone
1924 .Bl -tag -compact -width Pa
1925 .It Pa /etc/src.conf
1926 .It Pa /etc/src-env.conf
1927 .It Pa /usr/share/mk/bsd.own.mk
1940 This manual page was autogenerated by
1941 .An tools/build/options/makeman .