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 Build the BearSSL library.
143 BearSSL is a tiny SSL library suitable for embedded environments.
145 .Lk http://www.BearSSL.org/
147 This library is currently only used to perform
148 signature verification and related operations
149 for Verified Exec and
151 When set, these options are also in effect:
154 .It Va WITH_LOADER_EFI_SECUREBOOT
156 .Va WITHOUT_LOADER_EFI_SECUREBOOT
158 .It Va WITH_LOADER_VERIEXEC
160 .Va WITHOUT_LOADER_VERIEXEC
168 Set to not build or install
170 associated utilities, and examples.
172 This option only affects amd64/amd64.
174 Build all binaries with the
176 flag set to indicate that the run-time loader should perform all relocation
177 processing at process startup rather than on demand.
178 .It Va WITHOUT_BINUTILS
179 Set to not build or install GNU
182 and for some CPU architectures
185 of the normal system build.
186 The resulting system cannot build programs from source.
188 This is a default setting on
189 arm64/aarch64 and riscv/riscv64.
191 Set to build and install GNU
194 and for some CPU architectures
197 of the normal system build.
199 This is a default setting on
200 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.
201 .It Va WITHOUT_BINUTILS_BOOTSTRAP
202 Set to not build binutils (as, ld, and objdump)
203 as part of the bootstrap process.
205 The option does not work for build targets unless some alternative
206 toolchain is provided.
209 This is a default setting on
210 arm64/aarch64 and riscv/riscv64.
211 .It Va WITH_BINUTILS_BOOTSTRAP
212 Set build binutils (as, ld, and objdump)
213 as part of the bootstrap process.
215 This is a default setting on
216 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.
217 .It Va WITHOUT_BLACKLIST
218 Set this if you do not want to build
222 When set, these options are also in effect:
225 .It Va WITHOUT_BLACKLIST_SUPPORT
227 .Va WITH_BLACKLIST_SUPPORT
230 .It Va WITHOUT_BLACKLIST_SUPPORT
231 Set to build some programs without
238 .It Va WITHOUT_BLUETOOTH
239 Set to not build Bluetooth related kernel modules, programs and libraries.
241 Set to not build the boot blocks and loader.
242 .It Va WITHOUT_BOOTPARAMD
243 Set to not build or install
245 .It Va WITHOUT_BOOTPD
246 Set to not build or install
248 .It Va WITHOUT_BSDINSTALL
252 and related programs.
253 .It Va WITHOUT_BSD_CPIO
254 Set to not build the BSD licensed version of cpio based on
256 .It Va WITHOUT_BSD_CRTBEGIN
257 Disable the BSD licensed
262 This is a default setting on
264 .It Va WITH_BSD_CRTBEGIN
265 Enable the BSD licensed
270 This is a default setting on
271 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.
273 Install BSD-licensed grep as '[ef]grep' instead of GNU grep.
275 Set to not build or install
277 and related libraries and data files.
279 Set to not build contributed bzip2 software as a part of the base system.
281 The option has no effect yet.
283 When set, these options are also in effect:
286 .It Va WITHOUT_BZIP2_SUPPORT
288 .Va WITH_BZIP2_SUPPORT
291 .It Va WITHOUT_BZIP2_SUPPORT
292 Set to build some programs without optional bzip2 support.
293 .It Va WITHOUT_CALENDAR
296 .It Va WITHOUT_CAPSICUM
297 Set to not build Capsicum support into system programs.
298 When set, it enforces these options:
304 .It Va WITHOUT_CASPER
305 Set to not build Casper program and related libraries.
306 .It Va WITH_CCACHE_BUILD
310 No configuration is required except to install the
316 .Sy CCACHE_PREFIX=/usr/local/bin/distcc .
317 The default cache directory of
319 will be used, which can be overridden by setting
322 .Sy CCACHE_COMPILERCHECK
325 when using the in-tree bootstrap compiler,
328 when using an external compiler.
331 option is used for Clang but not GCC.
333 Sharing a cache between multiple work directories requires using a layout
337 and an environment such as:
338 .Bd -literal -offset indent
339 CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
344 for more configuration options.
348 and related utilities.
350 Set to not build code licensed under Sun's CDDL.
351 When set, it enforces these options:
357 .Va WITHOUT_LOADER_ZFS
362 Set to not build the Clang C/C++ compiler during the regular phase of the build.
364 This is a default setting on
365 riscv/riscv64 and sparc64/sparc64.
366 When set, it enforces these options:
370 .Va WITHOUT_CLANG_EXTRAS
372 .Va WITHOUT_CLANG_FULL
377 When set, these options are also in effect:
380 .It Va WITHOUT_LLVM_TARGET_AARCH64
382 .Va WITH_LLVM_TARGET_AARCH64
384 .It Va WITHOUT_LLVM_TARGET_ALL
386 .Va WITH_LLVM_TARGET_ALL
388 .It Va WITHOUT_LLVM_TARGET_ARM
390 .Va WITH_LLVM_TARGET_ARM
392 .It Va WITHOUT_LLVM_TARGET_MIPS
394 .Va WITH_LLVM_TARGET_MIPS
396 .It Va WITHOUT_LLVM_TARGET_POWERPC
398 .Va WITH_LLVM_TARGET_POWERPC
400 .It Va WITHOUT_LLVM_TARGET_SPARC
402 .Va WITH_LLVM_TARGET_SPARC
404 .It Va WITHOUT_LLVM_TARGET_X86
406 .Va WITH_LLVM_TARGET_X86
410 Set to build the Clang C/C++ compiler during the normal phase of the build.
412 This is a default setting on
413 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.
414 .It Va WITHOUT_CLANG_BOOTSTRAP
415 Set to not build the Clang C/C++ compiler during the bootstrap phase of
417 To be able to build the system, either gcc or clang bootstrap must be
418 enabled unless an alternate compiler is provided via XCC.
420 This is a default setting on
421 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.
422 .It Va WITH_CLANG_BOOTSTRAP
423 Set to build the Clang C/C++ compiler during the bootstrap phase of the build.
425 This is a default setting on
426 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
427 .It Va WITH_CLANG_EXTRAS
428 Set to build additional clang and llvm tools, such as bugpoint and
430 .It Va WITHOUT_CLANG_FULL
431 Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
432 the Clang C/C++ compiler.
434 This is a default setting on
435 riscv/riscv64 and sparc64/sparc64.
436 .It Va WITH_CLANG_FULL
437 Set to build the ARCMigrate, Rewriter and StaticAnalyzer components of the
438 Clang C/C++ compiler.
440 This is a default setting on
441 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.
442 .It Va WITHOUT_CLANG_IS_CC
443 Set to install the GCC compiler as
449 This is a default setting on
450 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.
451 .It Va WITH_CLANG_IS_CC
452 Set to install the Clang C/C++ compiler as
458 This is a default setting on
459 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
463 .It Va WITHOUT_CROSS_COMPILER
464 Set to not build any cross compiler in the cross-tools stage of buildworld.
465 When compiling a different version of
467 than what is installed on the system, provide an alternate
468 compiler with XCC to ensure success.
469 When compiling with an identical version of
471 to the host, this option may be safely used.
472 This option may also be safe when the host version of
474 is close to the sources being built, but all bets are off if there have
475 been any changes to the toolchain between the versions.
476 When set, it enforces these options:
480 .Va WITHOUT_BINUTILS_BOOTSTRAP
482 .Va WITHOUT_CLANG_BOOTSTRAP
484 .Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
486 .Va WITHOUT_GCC_BOOTSTRAP
488 .Va WITHOUT_LLD_BOOTSTRAP
491 Set to not build any crypto code.
492 When set, it enforces these options:
503 When set, these options are also in effect:
506 .It Va WITHOUT_GSSAPI
512 Set to compile with CTF (Compact C Type Format) data.
513 CTF data encapsulates a reduced form of debugging information
514 similar to DWARF and the venerable stabs and is required for DTrace.
516 Set to not build CUSE-related programs and libraries.
517 .It Va WITHOUT_CXGBETOOL
521 This is a default setting on
522 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.
523 .It Va WITH_CXGBETOOL
527 This is a default setting on
528 amd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64.
532 and related libraries.
533 It will also prevent building of
537 When set, it enforces these options:
543 .Va WITHOUT_CLANG_EXTRAS
545 .Va WITHOUT_CLANG_FULL
547 .Va WITHOUT_DTRACE_TESTS
555 .It Va WITHOUT_DEBUG_FILES
556 Set to avoid building or installing standalone debug files for each
557 executable binary and shared library.
558 .It Va WITHOUT_DIALOG
565 When set, it enforces these options:
569 .Va WITHOUT_BSDINSTALL
572 Set to not build the Webster dictionary files.
573 .It Va WITH_DIRDEPS_BUILD
574 This is an experimental build system.
576 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
577 Build commands can be seen from the top-level with:
578 .Dl make show-valid-targets
579 The build is driven by dirdeps.mk using
582 Makefile.depend files found in each directory.
584 The build can be started from anywhere, and behaves the same.
585 The initial instance of
590 .Pa Makefile.depend ,
591 computing a graph of tree dependencies from the current origin.
594 skips checking dirdep dependencies and will only build in the current
595 and child directories.
597 skips building any dirdeps and only build the current directory.
599 This also utilizes the
601 logic for incremental builds.
603 The build hides commands executed unless
607 Note that there is currently no mass install feature for this.
609 When set, it enforces these options:
613 .Va WITH_INSTALL_AS_USER
616 When set, these options are also in effect:
619 .It Va WITH_META_MODE
621 .Va WITHOUT_META_MODE
627 .It Va WITH_STAGING_MAN
629 .Va WITHOUT_STAGING_MAN
631 .It Va WITH_STAGING_PROG
633 .Va WITHOUT_STAGING_PROG
641 This must be set in the environment, make command line, or
642 .Pa /etc/src-env.conf ,
645 .It Va WITH_DIRDEPS_CACHE
646 Cache result of dirdeps.mk which can save significant time
647 for subsequent builds.
649 .Va WITH_DIRDEPS_BUILD .
651 This must be set in the environment, make command line, or
652 .Pa /etc/src-env.conf ,
655 .It Va WITHOUT_DMAGENT
656 Set to not build dma Mail Transport Agent.
657 .It Va WITHOUT_DOCCOMPRESS
658 Set to not install compressed system documentation.
659 Only the uncompressed version will be installed.
660 .It Va WITH_DTRACE_TESTS
661 Set to build and install the DTrace test suite in
662 .Pa /usr/tests/cddl/usr.sbin/dtrace .
663 This test suite is considered experimental on architectures other than
664 amd64/amd64 and running it may cause system instability.
665 .It Va WITHOUT_DYNAMICROOT
666 Set this if you do not want to link
672 Set to not build and install
675 and related programs.
682 This is a default setting on
683 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.
690 This is a default setting on
691 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
692 .It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
693 Set to not build ELF Tool Chain tools
694 (addr2line, nm, size, strings and strip)
695 as part of the bootstrap process.
697 An alternate bootstrap tool chain must be provided.
699 .It Va WITHOUT_EXAMPLES
700 Set to avoid installing examples to
701 .Pa /usr/share/examples/ .
702 .It Va WITH_EXPERIMENTAL
703 Set to include experimental features in the build.
704 .It Va WITH_EXTRA_TCP_STACKS
705 Set to build extra TCP stack modules.
707 Set to not build Flattened Device Tree support as part of the base system.
708 This includes the device tree compiler (dtc) and libfdt support library.
712 and related programs.
713 .It Va WITHOUT_FINGER
714 Set to not build or install
718 .It Va WITHOUT_FLOPPY
719 Set to not build or install programs
720 for operating floppy disk driver.
721 .It Va WITHOUT_FMTREE
722 Set to not build and install
723 .Pa /usr/sbin/fmtree .
724 .It Va WITHOUT_FORMAT_EXTENSIONS
726 .Fl fformat-extensions
727 when compiling the kernel.
728 Also disables all format checking.
730 Set to build bootloaders without Forth support.
731 .It Va WITHOUT_FP_LIBC
734 without floating-point support.
735 .It Va WITHOUT_FREEBSD_UPDATE
737 .Xr freebsd-update 8 .
739 Set to not build or install
744 Set to not build games.
746 Set to not build and install gcc and g++ as part of the normal build process.
748 This is a default setting on
749 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386 and riscv/riscv64.
751 Set to build and install gcc and g++.
753 This is a default setting on
754 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.
755 .It Va WITHOUT_GCC_BOOTSTRAP
756 Set to not build gcc and g++ as part of the bootstrap process.
757 You must enable either gcc or clang bootstrap to be able to build the system,
758 unless an alternative compiler is provided via
761 This is a default setting on
762 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386 and riscv/riscv64.
763 .It Va WITH_GCC_BOOTSTRAP
764 Set to build gcc and g++ as part of the bootstrap process.
766 This is a default setting on
767 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.
776 This is a default setting on
777 arm64/aarch64 and riscv/riscv64.
782 This is a default setting on
783 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.
784 .It Va WITHOUT_GDB_LIBEXEC
790 This is a default setting on
792 .It Va WITH_GDB_LIBEXEC
799 to be used as a fallback for
801 if a newer version is not installed.
803 This is a default setting on
804 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.
805 .It Va WITHOUT_GNUCXX
806 Do not build the GNU C++ stack (g++, libstdc++).
807 This is the default on platforms where clang is the system compiler.
809 This is a default setting on
810 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
812 Build the GNU C++ stack (g++, libstdc++).
813 This is the default on platforms where gcc is the system compiler.
815 This is a default setting on
816 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.
817 .It Va WITHOUT_GNU_DIFF
822 .It Va WITHOUT_GNU_GREP
825 .It Va WITH_GNU_GREP_COMPAT
826 Set this option to include GNU extensions in
828 by linking against libgnuregex.
829 .It Va WITHOUT_GOOGLETEST
830 Set to neither build nor install
837 as part of the base system.
838 .It Va WITHOUT_GPL_DTC
839 Set to build the BSD licensed version of the device tree compiler rather
840 than the GPLed one from elinux.org.
842 This is a default setting on
843 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
845 Set to build the GPL'd version of the device tree compiler from elinux.org,
846 instead of the BSD licensed one.
848 This is a default setting on
849 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.
850 .It Va WITHOUT_GSSAPI
851 Set to not build libgssapi.
855 and related utilities.
857 Set to build Hesiod support.
859 Set to not build HTML docs.
860 .It Va WITHOUT_HYPERV
861 Set to not build or install HyperV utilities.
863 This is a default setting on
864 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.
866 Set to build or install HyperV utilities.
868 This is a default setting on
869 amd64/amd64 and i386/i386.
871 Set to not build iconv as part of libc.
872 .It Va WITHOUT_INCLUDES
873 Set to not install header files.
874 This option used to be spelled
877 The option does not work for build targets.
880 Set to not build programs and libraries related to IPv4 networking.
881 When set, it enforces these options:
885 .Va WITHOUT_INET_SUPPORT
889 programs and libraries related to IPv6 networking.
890 When set, it enforces these options:
894 .Va WITHOUT_INET6_SUPPORT
896 .It Va WITHOUT_INET6_SUPPORT
897 Set to build libraries, programs, and kernel modules without IPv6 support.
901 .It Va WITHOUT_INET_SUPPORT
902 Set to build libraries, programs, and kernel modules without IPv4 support.
903 .It Va WITHOUT_INSTALLLIB
904 Set this to not install optional libraries.
905 For example, when creating a
909 The option does not work for build targets.
911 .It Va WITH_INSTALL_AS_USER
912 Set to make install targets succeed for non-root users by installing
913 files with owner and group attributes set to that of the user running
917 The user still must set the
919 variable to point to a directory where the user has write permissions.
920 .It Va WITHOUT_IPFILTER
921 Set to not build IP Filter package.
923 Set to not build IPFW tools.
924 .It Va WITHOUT_IPSEC_SUPPORT
925 Set to not build the kernel with
928 This option is needed for
935 and related utilities.
937 Set to not build tools for the support of jails; e.g.,
944 .It Va WITHOUT_KERBEROS
945 Set this to not build Kerberos 5 (KTH Heimdal).
946 When set, these options are also in effect:
949 .It Va WITHOUT_GSSAPI
953 .It Va WITHOUT_KERBEROS_SUPPORT
955 .Va WITH_KERBEROS_SUPPORT
958 .It Va WITHOUT_KERBEROS_SUPPORT
959 Set to build some programs without Kerberos support, like
965 .It Va WITH_KERNEL_RETPOLINE
966 Set to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel
968 .It Va WITHOUT_KERNEL_SYMBOLS
969 Set to not install kernel symbol files.
971 This option is recommended for those people who have small root partitions.
976 library as a part of the base system.
978 The option has no effect yet.
980 When set, these options are also in effect:
983 .It Va WITHOUT_KVM_SUPPORT
988 .It Va WITHOUT_KVM_SUPPORT
989 Set to build some programs without optional
993 Setting this variable will prevent the LDNS library from being built.
994 When set, it enforces these options:
998 .Va WITHOUT_LDNS_UTILS
1002 .It Va WITHOUT_LDNS_UTILS
1003 Setting this variable will prevent building the LDNS utilities
1007 .It Va WITHOUT_LEGACY_CONSOLE
1008 Set to not build programs that support a legacy PC console; e.g.,
1012 .It Va WITHOUT_LIB32
1013 On 64-bit platforms, set to not build 32-bit library set and a
1016 .It Va WITHOUT_LIBCPLUSPLUS
1017 Set to avoid building libcxxrt and libc++.
1018 .It Va WITHOUT_LIBPTHREAD
1019 Set to not build the
1023 When set, it enforces these options:
1030 On armv6 only, set to enable soft float ABI compatibility libraries.
1031 This option is for transitioning to the new hard float ABI.
1032 .It Va WITHOUT_LIBTHR
1033 Set to not build the
1038 Set to not build LLVM's lld linker.
1040 This is a default setting on
1041 riscv/riscv64 and sparc64/sparc64.
1043 Set to build LLVM's lld linker.
1045 This is a default setting on
1046 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.
1048 Set to not build the LLDB debugger.
1050 This is a default setting on
1051 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.
1053 Set to build the LLDB debugger.
1055 This is a default setting on
1056 amd64/amd64, arm64/aarch64 and i386/i386.
1057 .It Va WITHOUT_LLD_BOOTSTRAP
1058 Set to not build the LLD linker during the bootstrap phase of
1060 To be able to build the system, either Binutils or LLD bootstrap must be
1061 enabled unless an alternate linker is provided via XLD.
1063 This is a default setting on
1064 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.
1065 .It Va WITH_LLD_BOOTSTRAP
1066 Set to build the LLD linker during the bootstrap phase of the build,
1067 and use it during buildworld and buildkernel.
1069 This is a default setting on
1070 amd64/amd64, arm/armv7, arm64/aarch64 and i386/i386.
1071 .It Va WITHOUT_LLD_IS_LD
1072 Set to use GNU binutils ld as the system linker, instead of LLVM's LLD.
1074 This is a default setting on
1075 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.
1076 .It Va WITH_LLD_IS_LD
1077 Set to use LLVM's LLD as the system linker, instead of GNU binutils ld.
1079 This is a default setting on
1080 amd64/amd64, arm/armv7, arm64/aarch64 and i386/i386.
1081 .It Va WITHOUT_LLVM_COV
1082 Set to not build the
1086 This is a default setting on
1087 riscv/riscv64 and sparc64/sparc64.
1088 .It Va WITH_LLVM_COV
1093 This is a default setting on
1094 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.
1095 .It Va WITHOUT_LLVM_LIBUNWIND
1096 Set to use GCC's stack unwinder (instead of LLVM's libunwind).
1098 This is a default setting on
1099 arm/arm, arm/armv6, arm/armv7, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1100 .It Va WITH_LLVM_LIBUNWIND
1101 Set to use LLVM's libunwind stack unwinder (instead of GCC's unwinder).
1103 This is a default setting on
1104 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.
1105 .It Va WITHOUT_LLVM_TARGET_AARCH64
1106 Set to not build LLVM target support for AArch64.
1109 option should be used rather than this in most cases.
1111 This is a default setting on
1112 arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64.
1113 .It Va WITH_LLVM_TARGET_AARCH64
1114 Set to build LLVM target support for AArch64.
1117 option should be used rather than this in most cases.
1119 This is a default setting on
1120 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.
1121 .It Va WITHOUT_LLVM_TARGET_ALL
1122 Set to only build the required LLVM target support.
1123 This option is preferred to specific target support options.
1125 This is a default setting on
1126 riscv/riscv64 and sparc64/sparc64.
1127 When set, these options are also in effect:
1130 .It Va WITHOUT_LLVM_TARGET_AARCH64
1132 .Va WITH_LLVM_TARGET_AARCH64
1134 .It Va WITHOUT_LLVM_TARGET_ARM
1136 .Va WITH_LLVM_TARGET_ARM
1138 .It Va WITHOUT_LLVM_TARGET_MIPS
1140 .Va WITH_LLVM_TARGET_MIPS
1142 .It Va WITHOUT_LLVM_TARGET_POWERPC
1144 .Va WITH_LLVM_TARGET_POWERPC
1146 .It Va WITHOUT_LLVM_TARGET_SPARC
1148 .Va WITH_LLVM_TARGET_SPARC
1151 .It Va WITH_LLVM_TARGET_ALL
1152 Set to build support for all LLVM targets.
1153 This option is always applied to the bootstrap compiler for buildworld when
1156 This is a default setting on
1157 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.
1158 .It Va WITHOUT_LLVM_TARGET_ARM
1159 Set to not build LLVM target support for ARM.
1162 option should be used rather than this in most cases.
1164 This is a default setting on
1165 riscv/riscv64 and sparc64/sparc64.
1166 .It Va WITH_LLVM_TARGET_ARM
1167 Set to build LLVM target support for ARM.
1170 option should be used rather than this in most cases.
1172 This is a default setting on
1173 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.
1174 .It Va WITH_LLVM_TARGET_BPF
1175 Set to build LLVM target support for BPF.
1178 option should be used rather than this in most cases.
1179 .It Va WITHOUT_LLVM_TARGET_MIPS
1180 Set to not build LLVM target support for MIPS.
1183 option should be used rather than this in most cases.
1185 This is a default setting on
1186 arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64.
1187 .It Va WITH_LLVM_TARGET_MIPS
1188 Set to build LLVM target support for MIPS.
1191 option should be used rather than this in most cases.
1193 This is a default setting on
1194 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.
1195 .It Va WITHOUT_LLVM_TARGET_POWERPC
1196 Set to not build LLVM target support for PowerPC.
1199 option should be used rather than this in most cases.
1201 This is a default setting on
1202 arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64.
1203 .It Va WITH_LLVM_TARGET_POWERPC
1204 Set to build LLVM target support for PowerPC.
1207 option should be used rather than this in most cases.
1209 This is a default setting on
1210 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.
1211 .It Va WITH_LLVM_TARGET_RISCV
1212 Set to build LLVM target support for RISC-V.
1215 option should be used rather than this in most cases.
1216 .It Va WITHOUT_LLVM_TARGET_SPARC
1217 Set to not 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 arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64.
1224 .It Va WITH_LLVM_TARGET_SPARC
1225 Set to build LLVM target support for SPARC.
1228 option should be used rather than this in most cases.
1230 This is a default setting on
1231 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.
1232 .It Va WITHOUT_LLVM_TARGET_X86
1233 Set to not 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 arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64.
1240 .It Va WITH_LLVM_TARGET_X86
1241 Set to build LLVM target support for X86.
1244 option should be used rather than this in most cases.
1246 This is a default setting on
1247 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.
1248 .It Va WITH_LOADER_EFI_SECUREBOOT
1251 with support for verification based on certificates obtained from UEFI.
1253 .It Va WITH_LOADER_FIREWIRE
1254 Enable firewire support in /boot/loader on x86. This option is a nop
1255 on all other platforms.
1256 .It Va WITH_LOADER_FORCE_LE
1257 Set to force the powerpc boot loader to launch the kernel in little
1259 .It Va WITHOUT_LOADER_GELI
1260 Disable inclusion of GELI crypto support in the boot chain binaries.
1262 This is a default setting on
1263 powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1264 .It Va WITH_LOADER_GELI
1265 Set to build GELI bootloader support.
1267 This is a default setting on
1268 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.
1269 .It Va WITHOUT_LOADER_LUA
1270 Set to not build LUA bindings for the boot loader.
1272 This is a default setting on
1273 powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1274 .It Va WITH_LOADER_LUA
1275 Set to build LUA bindings for the boot loader.
1277 This is a default setting on
1278 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.
1279 .It Va WITHOUT_LOADER_OFW
1280 Disable building of openfirmware bootloader components.
1282 This is a default setting on
1283 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.
1284 .It Va WITH_LOADER_OFW
1285 Set to build openfirmware bootloader components.
1287 This is a default setting on
1288 powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1289 .It Va WITHOUT_LOADER_UBOOT
1290 Disable building of ubldr.
1292 This is a default setting on
1293 amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and sparc64/sparc64.
1294 .It Va WITH_LOADER_UBOOT
1297 This is a default setting on
1298 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.
1299 .It Va WITH_LOADER_VERBOSE
1300 Set to build with extra verbose debugging in the loader.
1301 May explode already nearly too large loader over the limit.
1304 .It Va WITH_LOADER_VERIEXEC
1307 with support for verifcation similar to Verified Exec.
1311 When set, these options are also in effect:
1314 .It Va WITH_LOADER_EFI_SECUREBOOT
1316 .Va WITHOUT_LOADER_EFI_SECUREBOOT
1319 .It Va WITHOUT_LOADER_ZFS
1320 Set to not build ZFS file system boot loader support.
1321 .It Va WITHOUT_LOCALES
1322 Set to not build localization files; see
1324 .It Va WITHOUT_LOCATE
1327 and related programs.
1331 and related programs.
1332 .It Va WITHOUT_LS_COLORS
1335 without support for colors to distinguish file types.
1336 .It Va WITHOUT_LZMA_SUPPORT
1337 Set to build some programs without optional lzma compression support.
1339 Set to not build any mail support (MUA or MTA).
1340 When set, it enforces these options:
1346 .Va WITHOUT_MAILWRAPPER
1348 .Va WITHOUT_SENDMAIL
1350 .It Va WITHOUT_MAILWRAPPER
1351 Set to not build the
1357 and related support files.
1358 .It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
1361 in limited sandbox mode.
1362 This option should be paired with
1363 .Va WITH_INSTALL_AS_USER
1364 if executed as an unprivileged user.
1369 Set to not build manual pages.
1370 When set, these options are also in effect:
1373 .It Va WITHOUT_MAN_UTILS
1378 .It Va WITHOUT_MANCOMPRESS
1379 Set to not to install compressed man pages.
1380 Only the uncompressed versions will be installed.
1381 .It Va WITHOUT_MAN_UTILS
1382 Set to not build utilities for manual pages,
1388 and related support files.
1389 .It Va WITH_META_MODE
1392 meta files when building, which can provide a reliable incremental build when
1395 The meta file is created in OBJDIR as
1397 These meta files track the command that was executed, its output, and the
1401 module is required unless
1404 When the module is loaded, any files used by the commands executed are
1405 tracked as dependencies for the target in its meta file.
1406 The target is considered out-of-date and rebuilt if any of these
1407 conditions are true compared to the last build:
1408 .Bl -bullet -compact
1410 The command to execute changes.
1412 The current working directory changes.
1414 The target's meta file is missing.
1416 The target's meta file is missing filemon data when filemon is loaded
1417 and a previous run did not have it loaded.
1421 Files read, executed or linked to are newer than the target.
1425 Files read, written, executed or linked are missing.
1427 The meta files can also be useful for debugging.
1429 The build hides commands that are executed unless
1434 to show some of its environment for further debugging.
1436 The build operates as it normally would otherwise.
1437 This option originally invoked a different build system but that was renamed
1439 .Va WITH_DIRDEPS_BUILD .
1441 This must be set in the environment, make command line, or
1442 .Pa /etc/src-env.conf ,
1445 .It Va WITHOUT_MLX5TOOL
1449 This is a default setting on
1450 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.
1451 .It Va WITH_MLX5TOOL
1455 This is a default setting on
1456 amd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64.
1458 Set to not build programs and libraries
1459 related to NDIS emulation support.
1460 .It Va WITHOUT_NETCAT
1464 .It Va WITHOUT_NETGRAPH
1465 Set to not build applications to support
1467 When set, it enforces these options:
1473 .Va WITHOUT_BLUETOOTH
1476 When set, these options are also in effect:
1479 .It Va WITHOUT_NETGRAPH_SUPPORT
1481 .Va WITH_NETGRAPH_SUPPORT
1484 .It Va WITHOUT_NETGRAPH_SUPPORT
1485 Set to build libraries, programs, and kernel modules without netgraph support.
1489 support and related programs.
1490 If set, you might need to adopt your
1496 Set to not build NLS catalogs.
1497 When set, it enforces these options:
1501 .Va WITHOUT_NLS_CATALOGS
1503 .It Va WITHOUT_NLS_CATALOGS
1504 Set to not build NLS catalog support for
1506 .It Va WITHOUT_NS_CACHING
1507 Set to disable name caching in the
1510 The generic caching daemon,
1512 will not be built either if this option is set.
1516 and related programs.
1518 Set to not build nvme related tools and kernel modules.
1520 This is a default setting on
1521 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 sparc64/sparc64.
1523 Set to build nvme related tools and kernel modules.
1526 This is a default setting on
1527 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1530 .Dq "OpenFabrics Enterprise Distribution"
1531 Infiniband software stack.
1532 .It Va WITH_OFED_EXTRA
1533 Set to build the non-essential components of the
1534 .Dq "OpenFabrics Enterprise Distribution"
1535 Infiniband software stack, mostly examples.
1536 .It Va WITH_OPENLDAP
1537 Enable building openldap support for kerberos.
1538 .It Va WITHOUT_OPENMP
1539 Set to not build LLVM's OpenMP runtime.
1541 This is a default setting on
1542 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.
1544 Set to build LLVM's OpenMP runtime.
1546 This is a default setting on
1547 amd64/amd64 and i386/i386.
1548 .It Va WITHOUT_OPENSSH
1549 Set to not build OpenSSH.
1550 .It Va WITHOUT_OPENSSL
1551 Set to not build OpenSSL.
1552 When set, it enforces these options:
1556 .Va WITHOUT_KERBEROS
1561 When set, these options are also in effect:
1564 .It Va WITHOUT_GSSAPI
1570 Set to not build PAM library and modules.
1572 This option is deprecated and does nothing.
1574 When set, these options are also in effect:
1577 .It Va WITHOUT_PAM_SUPPORT
1579 .Va WITH_PAM_SUPPORT
1582 .It Va WITHOUT_PAM_SUPPORT
1583 Set to build some programs without PAM support, particularly
1588 Set to not build PF firewall package.
1589 When set, it enforces these options:
1596 Build dynamically linked binaries as
1597 Position-Independent Executable (PIE).
1598 .It Va WITHOUT_PKGBOOTSTRAP
1605 and related programs.
1606 .It Va WITHOUT_PORTSNAP
1607 Set to not build or install
1610 When set, it enforces these options:
1614 .Va WITHOUT_FREEBSD_UPDATE
1619 and related programs.
1620 .It Va WITHOUT_PROFILE
1621 Set to not build profiled libraries for use with
1624 This is a default setting on
1625 mips/mips64el, mips/mips64, mips/mips64elhf and mips/mips64hf.
1627 Set to build profiled libraries for use with
1630 This is a default setting on
1631 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.
1632 .It Va WITHOUT_QUOTAS
1635 and related programs.
1636 .It Va WITHOUT_RADIUS_SUPPORT
1637 Set to not build radius support into various applications, like
1641 .It Va WITH_RATELIMIT
1642 Set to build the system with rate limit support.
1645 .Dv SO_MAX_PACING_RATE
1653 .It Va WITHOUT_RBOOTD
1654 Set to not build or install
1656 .It Va WITH_REPRODUCIBLE_BUILD
1657 Set to exclude build metadata (such as the build time, user, or host)
1658 from the kernel, boot loaders, and uname output, so that builds produce
1659 bit-for-bit identical output.
1660 .It Va WITHOUT_RESCUE
1663 .It Va WITH_RETPOLINE
1664 Set to build the base system with the retpoline speculative execution
1665 vulnerability mitigation for CVE-2017-5715.
1666 .It Va WITHOUT_ROUTED
1670 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1673 with warmstart support.
1674 .It Va WITHOUT_SENDMAIL
1677 and related programs.
1678 .It Va WITHOUT_SERVICESDB
1680 .Pa /var/db/services.db .
1681 .It Va WITHOUT_SETUID_LOGIN
1682 Set this to disable the installation of
1684 as a set-user-ID root program.
1685 .It Va WITHOUT_SHAREDOCS
1686 Set to not build the
1689 .It Va WITH_SHARED_TOOLCHAIN
1690 Set to build the toolchain binaries shared.
1694 and necessary utilities like assembler, linker and library archive manager.
1695 .It Va WITH_SORT_THREADS
1696 Set to enable threads in
1698 .It Va WITHOUT_SOURCELESS
1699 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1700 When set, it enforces these options:
1704 .Va WITHOUT_SOURCELESS_HOST
1706 .Va WITHOUT_SOURCELESS_UCODE
1708 .It Va WITHOUT_SOURCELESS_HOST
1709 Set to not build kernel modules that include sourceless native code for host CPU.
1710 .It Va WITHOUT_SOURCELESS_UCODE
1711 Set to not build kernel modules that include sourceless microcode.
1713 Set to not build world with propolice stack smashing protection.
1715 This is a default setting on
1716 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1718 Set to build world with propolice stack smashing protection.
1720 This is a default setting on
1721 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64.
1723 Enable staging of files to a stage tree.
1724 This can be best thought of as auto-install to
1726 with some extra meta data to ensure dependencies can be tracked.
1728 .Va WITH_DIRDEPS_BUILD .
1729 When set, these options are also in effect:
1732 .It Va WITH_STAGING_MAN
1734 .Va WITHOUT_STAGING_MAN
1736 .It Va WITH_STAGING_PROG
1738 .Va WITHOUT_STAGING_PROG
1742 This must be set in the environment, make command line, or
1743 .Pa /etc/src-env.conf ,
1746 .It Va WITH_STAGING_MAN
1747 Enable staging of man pages to stage tree.
1748 .It Va WITH_STAGING_PROG
1749 Enable staging of PROGs to stage tree.
1750 .It Va WITH_STALE_STAGED
1751 Check staged files are not stale.
1757 .It Va WITHOUT_SVNLITE
1760 and related programs.
1761 .It Va WITHOUT_SYMVER
1762 Set to disable symbol versioning when building shared libraries.
1763 .It Va WITHOUT_SYSCONS
1766 support files such as keyboard maps, fonts, and screen output maps.
1768 Enable use of sysroot during build.
1770 .Va WITH_DIRDEPS_BUILD .
1772 This must be set in the environment, make command line, or
1773 .Pa /etc/src-env.conf ,
1776 .It Va WITHOUT_SYSTEM_COMPILER
1777 Set to not opportunistically skip building a cross-compiler during the
1778 bootstrap phase of the build.
1779 Normally, if the currently installed compiler matches the planned bootstrap
1780 compiler type and revision, then it will not be built.
1781 This does not prevent a compiler from being built for installation though,
1782 only for building one for the build itself.
1787 options control those.
1788 .It Va WITHOUT_SYSTEM_LINKER
1789 Set to not opportunistically skip building a cross-linker during the
1790 bootstrap phase of the build.
1791 Normally, if the currently installed linker matches the planned bootstrap
1792 linker type and revision, then it will not be built.
1793 This does not prevent a linker from being built for installation though,
1794 only for building one for the build itself.
1798 .Va WITHOUT_BINUTILS
1799 options control those.
1801 This option is only relevant when
1802 .Va WITH_LLD_BOOTSTRAP
1805 Set to not build or install
1809 .It Va WITHOUT_TCP_WRAPPERS
1810 Set to not build or install
1812 and related utilities.
1814 Set to not build and install
1818 .It Va WITHOUT_TELNET
1821 and related programs.
1822 .It Va WITHOUT_TESTS
1823 Set to not build nor install the
1830 This also disables the build of all test-related dependencies, including ATF.
1831 When set, it enforces these options:
1835 .Va WITHOUT_DTRACE_TESTS
1838 When set, these options are also in effect:
1841 .It Va WITHOUT_GOOGLETEST
1845 .It Va WITHOUT_TESTS_SUPPORT
1847 .Va WITH_TESTS_SUPPORT
1850 .It Va WITHOUT_TESTS_SUPPORT
1851 Set to disables the build of all test-related dependencies, including ATF.
1852 When set, it enforces these options:
1856 .Va WITHOUT_GOOGLETEST
1858 .It Va WITHOUT_TEXTPROC
1860 programs used for text processing.
1862 Set to not build or install
1866 .It Va WITHOUT_TOOLCHAIN
1867 Set to not install header or
1868 programs used for program development,
1869 compilers, debuggers etc.
1870 When set, it enforces these options:
1874 .Va WITHOUT_BINUTILS
1878 .Va WITHOUT_CLANG_EXTRAS
1880 .Va WITHOUT_CLANG_FULL
1886 .Va WITHOUT_INCLUDES
1892 .Va WITHOUT_LLVM_COV
1894 .It Va WITHOUT_UNBOUND
1897 and related programs.
1898 .It Va WITHOUT_UNIFIED_OBJDIR
1899 Set to use the historical object directory format for
1902 For native-builds and builds done directly in sub-directories the format of
1903 .Pa ${MAKEOBJDIRPREFIX}/${.CURDIR}
1905 while for cross-builds
1906 .Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR}
1909 This option is transitional and will be removed before the 12.0 release,
1911 .va WITH_UNIFIED_OBJDIR
1912 will be enabled permanently.
1914 This must be set in the environment, make command line, or
1915 .Pa /etc/src-env.conf ,
1919 Set to not build USB-related programs and libraries.
1920 .It Va WITHOUT_USB_GADGET_EXAMPLES
1921 Set to not build USB gadget kernel modules.
1922 .It Va WITHOUT_UTMPX
1923 Set to not build user accounting tools such as
1931 .It Va WITH_VERIEXEC
1934 which loads the contents of verified manifests into the kernel
1941 Set to not build and install vi, view, ex and related programs.
1945 support files (fonts and keymaps).
1946 .It Va WITHOUT_WARNS
1947 Set this to not add warning flags to the compiler invocations.
1948 Useful as a temporary workaround when code enters the tree
1949 which triggers warnings in environments that differ from the
1951 .It Va WITHOUT_WIRELESS
1952 Set to not build programs used for 802.11 wireless networks; especially
1953 .Xr wpa_supplicant 8
1956 When set, these options are also in effect:
1959 .It Va WITHOUT_WIRELESS_SUPPORT
1961 .Va WITH_WIRELESS_SUPPORT
1964 .It Va WITHOUT_WIRELESS_SUPPORT
1965 Set to build libraries, programs, and kernel modules without
1966 802.11 wireless support.
1967 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1969 .Xr wpa_supplicant 8
1970 without support for the IEEE 802.1X protocol and without
1971 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1972 protocols (usable only via 802.1X).
1974 Set to not build ZFS file system kernel module, libraries, and user commands.
1975 .It Va WITHOUT_ZONEINFO
1976 Set to not build the timezone database.
1977 When set, it enforces these options:
1981 .Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
1983 .Va WITHOUT_ZONEINFO_OLD_TIMEZONES_SUPPORT
1985 .It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
1986 Set to build leapsecond information in to the timezone database.
1987 .It Va WITH_ZONEINFO_OLD_TIMEZONES_SUPPORT
1988 Set to build backward compatibility timezone aliases in to the timezone
1992 .Bl -tag -compact -width Pa
1993 .It Pa /etc/src.conf
1994 .It Pa /etc/src-env.conf
1995 .It Pa /usr/share/mk/bsd.own.mk
2008 This manual page was autogenerated by
2009 .An tools/build/options/makeman .