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 ,
77 as they are environment-only variables.
80 may be set here only when using
81 .Va WITH_DIRDEPS_BUILD .
83 The values of variables are ignored regardless of their setting;
84 even if they would be set to
88 The presence of an option causes
92 This list provides a name and short description for variables
93 that can be used for source builds.
94 .Bl -tag -width indent
96 Set to not build process accounting tools such as
104 and related programs.
108 and related programs.
113 and related programs.
114 .It Va WITHOUT_ASSERT_DEBUG
115 Set to compile programs and libraries without the
121 and related utilities.
124 programs and libraries related to ATM networking.
126 Set to not build audit support into system programs.
127 .It Va WITHOUT_AUTHPF
130 .It Va WITHOUT_AUTOFS
133 related programs, libraries, and kernel modules.
135 Enable automatic creation of objdirs.
137 This must be set in the environment, make command line, or
138 .Pa /etc/src-env.conf ,
142 Set to not build or install
144 associated utilities, and examples.
146 This option only affects amd64/amd64.
147 .It Va WITHOUT_BINUTILS
148 Set to not build or install binutils (as, ld, objcopy, and objdump ) as part
149 of the normal system build.
150 The resulting system cannot build programs from source.
152 This is a default setting on
153 arm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
154 When set, it enforces these options:
161 Set to build and install binutils (as, ld, objcopy, and objdump) as part
162 of the normal system build.
164 This is a default setting on
165 amd64/amd64, arm/arm, arm/armeb, arm/armv6, 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.
166 .It Va WITHOUT_BINUTILS_BOOTSTRAP
167 Set to not build binutils (as, ld, objcopy and objdump)
168 as part of the bootstrap process.
170 The option does not work for build targets unless some alternative
171 toolchain is provided.
174 This is a default setting on
175 arm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
176 .It Va WITH_BINUTILS_BOOTSTRAP
177 Set build binutils (as, ld, objcopy and objdump)
178 as part of the bootstrap process.
180 This is a default setting on
181 amd64/amd64, arm/arm, arm/armeb, arm/armv6, 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.
182 .It Va WITHOUT_BLACKLIST
183 Set this if you do not want to build
187 When set, it enforces these options:
191 .Va WITHOUT_BLACKLIST_SUPPORT
193 .It Va WITHOUT_BLACKLIST_SUPPORT
194 Set to build some programs without
203 .It Va WITHOUT_BLUETOOTH
204 Set to not build Bluetooth related kernel modules, programs and libraries.
206 Set to not build the boot blocks and loader.
207 .It Va WITHOUT_BOOTPARAMD
208 Set to not build or install
210 .It Va WITHOUT_BOOTPD
211 Set to not build or install
213 .It Va WITHOUT_BSDINSTALL
217 and related programs.
218 .It Va WITHOUT_BSD_CPIO
219 Set to not build the BSD licensed version of cpio based on
222 Install BSD-licensed grep as '[ef]grep' instead of GNU grep.
223 .It Va WITHOUT_BSD_GREP_FASTMATCH
224 Set this option to exclude the fastmatch implementation from
229 Set to not build or install
231 and related libraries and data files.
233 Set to not build contributed bzip2 software as a part of the base system.
235 The option has no effect yet.
237 When set, it enforces these options:
241 .Va WITHOUT_BZIP2_SUPPORT
243 .It Va WITHOUT_BZIP2_SUPPORT
244 Set to build some programs without optional bzip2 support.
245 .It Va WITHOUT_CALENDAR
248 .It Va WITHOUT_CAPSICUM
249 Set to not build Capsicum support into system programs.
250 When set, it enforces these options:
256 .It Va WITHOUT_CASPER
257 Set to not build Casper program and related libraries.
258 .It Va WITH_CCACHE_BUILD
262 No configuration is required except to install the
268 .Sy CCACHE_PREFIX=/usr/local/bin/distcc .
269 The default cache directory of
271 will be used, which can be overridden by setting
274 .Sy CCACHE_COMPILERCHECK
277 when using the in-tree bootstrap compiler,
280 when using an external compiler.
283 option is used for Clang but not GCC.
285 Sharing a cache between multiple work directories requires using a layout
289 and an environment such as:
290 .Bd -literal -offset indent
291 CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
296 for more configuration options.
300 and related utilities.
302 Set to not build code licensed under Sun's CDDL.
303 When set, it enforces these options:
312 Set to not build the Clang C/C++ compiler during the regular phase of the build.
314 This is a default setting on
315 riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
316 When set, it enforces these options:
320 .Va WITHOUT_CLANG_EXTRAS
322 .Va WITHOUT_CLANG_FULL
325 Set to build the Clang C/C++ compiler during the normal phase of the build.
327 This is a default setting on
328 amd64/amd64, arm/arm, arm/armeb, arm/armv6, 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.
329 .It Va WITHOUT_CLANG_BOOTSTRAP
330 Set to not build the Clang C/C++ compiler during the bootstrap phase of
332 To be able to build the system, either gcc or clang bootstrap must be
333 enabled unless an alternate compiler is provided via XCC.
335 This is a default setting on
336 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
337 .It Va WITH_CLANG_BOOTSTRAP
338 Set to build the Clang C/C++ compiler during the bootstrap phase of the build.
340 This is a default setting on
341 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
342 .It Va WITH_CLANG_EXTRAS
343 Set to build additional clang and llvm tools, such as bugpoint.
344 .It Va WITHOUT_CLANG_FULL
345 Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
346 the Clang C/C++ compiler.
348 This is a default setting on
349 riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
350 .It Va WITH_CLANG_FULL
351 Set to build the ARCMigrate, Rewriter and StaticAnalyzer components of the
352 Clang C/C++ compiler.
354 This is a default setting on
355 amd64/amd64, arm/arm, arm/armeb, arm/armv6, 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.
356 .It Va WITHOUT_CLANG_IS_CC
357 Set to install the GCC compiler as
363 This is a default setting on
364 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
365 .It Va WITH_CLANG_IS_CC
366 Set to install the Clang C/C++ compiler as
372 This is a default setting on
373 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
377 .It Va WITHOUT_CROSS_COMPILER
378 Set to not build any cross compiler in the cross-tools stage of buildworld.
379 When compiling a different version of
381 than what is installed on the system, provide an alternate
382 compiler with XCC to ensure success.
383 When compiling with an identical version of
385 to the host, this option may be safely used.
386 This option may also be safe when the host version of
388 is close to the sources being built, but all bets are off if there have
389 been any changes to the toolchain between the versions.
390 When set, it enforces these options:
394 .Va WITHOUT_BINUTILS_BOOTSTRAP
396 .Va WITHOUT_CLANG_BOOTSTRAP
398 .Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
400 .Va WITHOUT_GCC_BOOTSTRAP
403 Set to not build any crypto code.
404 When set, it enforces these options:
410 .Va WITHOUT_KERBEROS_SUPPORT
417 When set, these options are also in effect:
420 .It Va WITHOUT_GSSAPI
426 Set to compile with CTF (Compact C Type Format) data.
427 CTF data encapsulates a reduced form of debugging information
428 similar to DWARF and the venerable stabs and is required for DTrace.
432 and related utilities.
434 Set to not build CUSE-related programs and libraries.
435 .It Va WITHOUT_CXGBETOOL
439 This is a default setting on
440 arm/arm, arm/armeb, arm/armv6, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpcspe, riscv/riscv64 and riscv/riscv64sf.
441 .It Va WITH_CXGBETOOL
445 This is a default setting on
446 amd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64.
450 and related libraries.
451 It will also prevent building of
456 This is a default setting on
457 riscv/riscv64 and riscv/riscv64sf.
458 When set, it enforces these options:
464 .Va WITHOUT_CLANG_EXTRAS
466 .Va WITHOUT_CLANG_FULL
468 .Va WITHOUT_DTRACE_TESTS
474 .Va WITHOUT_TESTS_SUPPORT
479 and related libraries.
481 This is a default setting on
482 amd64/amd64, arm/arm, arm/armeb, arm/armv6, 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 sparc64/sparc64.
483 .It Va WITHOUT_DEBUG_FILES
484 Set to avoid building or installing standalone debug files for each
485 executable binary and shared library.
486 .It Va WITHOUT_DIALOG
493 When set, it enforces these options:
497 .Va WITHOUT_BSDINSTALL
500 Set to not build the Webster dictionary files.
501 .It Va WITH_DIRDEPS_BUILD
502 This is an experimental build system.
504 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
505 Build commands can be seen from the top-level with:
506 .Dl make show-valid-targets
507 The build is driven by dirdeps.mk using
510 Makefile.depend files found in each directory.
512 The build can be started from anywhere, and behaves the same.
513 The initial instance of
518 .Pa Makefile.depend ,
519 computing a graph of tree dependencies from the current origin.
522 skips checking dirdep dependencies and will only build in the current
523 and child directories.
525 skips building any dirdeps and only build the current directory.
527 This also utilizes the
529 logic for incremental builds.
531 The build hides commands executed unless
535 Note that there is currently no mass install feature for this.
537 When set, it enforces these options:
541 .Va WITH_INSTALL_AS_USER
544 When set, these options are also in effect:
551 .It Va WITH_META_MODE
553 .Va WITHOUT_META_MODE
559 .It Va WITH_STAGING_MAN
561 .Va WITHOUT_STAGING_MAN
563 .It Va WITH_STAGING_PROG
565 .Va WITHOUT_STAGING_PROG
573 This must be set in the environment, make command line, or
574 .Pa /etc/src-env.conf ,
577 .It Va WITH_DIRDEPS_CACHE
578 Cache result of dirdeps.mk which can save significant time
579 for subsequent builds.
581 .Va WITH_DIRDEPS_BUILD .
583 This must be set in the environment, make command line, or
584 .Pa /etc/src-env.conf ,
587 .It Va WITHOUT_DMAGENT
588 Set to not build dma Mail Transport Agent.
589 .It Va WITHOUT_DOCCOMPRESS
590 Set to not install compressed system documentation.
591 Only the uncompressed version will be installed.
592 .It Va WITH_DTRACE_TESTS
593 Set to build and install the DTrace test suite in
594 .Pa /usr/tests/cddl/usr.sbin/dtrace .
595 This test suite is considered experimental on architectures other than
596 amd64/amd64 and running it may cause system instability.
597 .It Va WITHOUT_DYNAMICROOT
598 Set this if you do not want to link
603 .It Va WITHOUT_ED_CRYPTO
606 without support for encryption/decryption.
608 Set to not build and install
611 and related programs.
618 This is a default setting on
619 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
626 This is a default setting on
627 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
628 .It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
629 Set to not build ELF Tool Chain tools
630 (addr2line, nm, size, strings and strip)
631 as part of the bootstrap process.
633 An alternate bootstrap tool chain must be provided.
635 .It Va WITHOUT_EXAMPLES
636 Set to avoid installing examples to
637 .Pa /usr/share/examples/ .
638 .It Va WITH_EXTRA_TCP_STACKS
639 Set to build extra TCP stack modules.
641 Set to not build Flattened Device Tree support as part of the base system.
642 This includes the device tree compiler (dtc) and libfdt support library.
646 and related programs.
647 .It Va WITHOUT_FINGER
648 Set to not build or install
652 .It Va WITHOUT_FLOPPY
653 Set to not build or install programs
654 for operating floppy disk driver.
655 .It Va WITHOUT_FMTREE
656 Set to not build and install
657 .Pa /usr/sbin/fmtree .
658 .It Va WITHOUT_FORMAT_EXTENSIONS
660 .Fl fformat-extensions
661 when compiling the kernel.
662 Also disables all format checking.
664 Set to build bootloaders without Forth support.
665 .It Va WITHOUT_FP_LIBC
668 without floating-point support.
669 .It Va WITHOUT_FREEBSD_UPDATE
671 .Xr freebsd-update 8 .
673 Set to not build or install
678 Set to not build games.
680 Set to not build and install gcc and g++ as part of the normal build process.
682 This is a default setting on
683 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
685 Set to build and install gcc and g++.
687 This is a default setting on
688 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.
689 .It Va WITHOUT_GCC_BOOTSTRAP
690 Set to not build gcc and g++ as part of the bootstrap process.
691 You must enable either gcc or clang bootstrap to be able to build the system,
692 unless an alternative compiler is provided via
695 This is a default setting on
696 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
697 .It Va WITH_GCC_BOOTSTRAP
698 Set to build gcc and g++ as part of the bootstrap process.
700 This is a default setting on
701 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.
710 This is a default setting on
711 arm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
716 This is a default setting on
717 amd64/amd64, arm/arm, arm/armeb, arm/armv6, 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.
718 .It Va WITHOUT_GDB_LIBEXEC
724 This is a default setting on
725 arm/arm, arm/armeb, arm/armv6 and sparc64/sparc64.
726 .It Va WITH_GDB_LIBEXEC
733 to be used as a fallback for
735 if a newer version is not installed.
737 This is a default setting on
738 amd64/amd64, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and riscv/riscv64sf.
739 .It Va WITHOUT_GNUCXX
740 Do not build the GNU C++ stack (g++, libstdc++).
741 This is the default on platforms where clang is the system compiler.
743 This is a default setting on
744 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
746 Build the GNU C++ stack (g++, libstdc++).
747 This is the default on platforms where gcc is the system compiler.
749 This is a default setting on
750 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.
751 .It Va WITHOUT_GNU_DIFF
756 .It Va WITHOUT_GNU_GREP
759 .It Va WITH_GNU_GREP_COMPAT
760 Set this option to include GNU extensions in
762 by linking against libgnuregex.
766 as part of the base system.
768 Set to build the GPL'd version of the device tree compiler from elinux.org,
769 instead of the BSD licensed one.
770 .It Va WITHOUT_GSSAPI
771 Set to not build libgssapi.
775 and related utilities.
777 Set to build Hesiod support.
779 Set to not build HTML docs.
780 .It Va WITHOUT_HYPERV
781 Set to not build or install HyperV utilities.
783 Set to not build iconv as part of libc.
784 .It Va WITHOUT_INCLUDES
785 Set to not install header files.
786 This option used to be spelled
789 The option does not work for build targets.
792 Set to not build programs and libraries related to IPv4 networking.
793 When set, it enforces these options:
797 .Va WITHOUT_INET_SUPPORT
801 programs and libraries related to IPv6 networking.
802 When set, it enforces these options:
806 .Va WITHOUT_INET6_SUPPORT
808 .It Va WITHOUT_INET6_SUPPORT
809 Set to build libraries, programs, and kernel modules without IPv6 support.
813 .It Va WITHOUT_INET_SUPPORT
814 Set to build libraries, programs, and kernel modules without IPv4 support.
815 .It Va WITHOUT_INSTALLLIB
816 Set this to not install optional libraries.
817 For example, when creating a
821 The option does not work for build targets.
823 .It Va WITH_INSTALL_AS_USER
824 Set to make install targets succeed for non-root users by installing
825 files with owner and group attributes set to that of the user running
829 The user still must set the
831 variable to point to a directory where the user has write permissions.
832 .It Va WITHOUT_IPFILTER
833 Set to not build IP Filter package.
835 Set to not build IPFW tools.
836 .It Va WITHOUT_IPSEC_SUPPORT
837 Set to not build the kernel with
840 This option is needed for
847 and related utilities.
849 Set to not build tools for the support of jails; e.g.,
856 .It Va WITHOUT_KERBEROS
857 Set this to not build Kerberos 5 (KTH Heimdal).
858 When set, it enforces these options:
862 .Va WITHOUT_KERBEROS_SUPPORT
865 When set, these options are also in effect:
868 .It Va WITHOUT_GSSAPI
873 .It Va WITHOUT_KERBEROS_SUPPORT
874 Set to build some programs without Kerberos support, like
880 .It Va WITHOUT_KERNEL_SYMBOLS
881 Set to not install kernel symbol files.
883 This option is recommended for those people who have small root partitions.
888 library as a part of the base system.
890 The option has no effect yet.
892 When set, it enforces these options:
896 .Va WITHOUT_KVM_SUPPORT
898 .It Va WITHOUT_KVM_SUPPORT
899 Set to build some programs without optional
903 Setting this variable will prevent the LDNS library from being built.
904 When set, it enforces these options:
908 .Va WITHOUT_LDNS_UTILS
912 .It Va WITHOUT_LDNS_UTILS
913 Setting this variable will prevent building the LDNS utilities
917 .It Va WITHOUT_LEGACY_CONSOLE
918 Set to not build programs that support a legacy PC console; e.g.,
923 On 64-bit platforms, set to not build 32-bit library set and a
926 .It Va WITHOUT_LIBCPLUSPLUS
927 Set to avoid building libcxxrt and libc++.
928 .It Va WITHOUT_LIBPTHREAD
933 When set, it enforces these options:
940 On armv6 only, set to enable soft float ABI compatibility libraries.
941 This option is for transitioning to the new hard float ABI.
942 .It Va WITHOUT_LIBTHR
948 Set to not build LLVM's lld linker.
950 This is a default setting on
951 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
953 Set to build LLVM's lld linker.
955 This is a default setting on
956 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
958 Set to not build the LLDB debugger.
960 This is a default setting on
961 arm/arm, arm/armeb, arm/armv6, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
963 Set to build the LLDB debugger.
965 This is a default setting on
966 amd64/amd64 and arm64/aarch64.
967 .It Va WITHOUT_LLD_BOOTSTRAP
968 Set to not build the LLD linker during the bootstrap phase of
970 To be able to build the system, either Binutils or LLD bootstrap must be
971 enabled unless an alternate linker is provided via XLD.
973 This is a default setting on
974 amd64/amd64, arm/arm, arm/armeb, arm/armv6, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
975 .It Va WITH_LLD_BOOTSTRAP
976 Set to build the LLD linker during the bootstrap phase of the build.
978 This is a default setting on
980 .It Va WITHOUT_LLD_IS_LD
981 Set to use GNU binutils ld as the system linker, instead of LLVM's LLD.
983 This is a default setting on
984 amd64/amd64, arm/arm, arm/armeb, arm/armv6, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
985 .It Va WITH_LLD_IS_LD
986 Set to use LLVM's LLD as the system linker, instead of GNU binutils ld.
988 This is a default setting on
990 .It Va WITHOUT_LLVM_LIBUNWIND
991 Set to use GCC's stack unwinder (instead of LLVM's libunwind).
993 This is a default setting on
994 arm/arm, arm/armeb, 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 and sparc64/sparc64.
995 .It Va WITH_LLVM_LIBUNWIND
996 Set to use LLVM's libunwind stack unwinder (instead of GCC's unwinder).
998 This is a default setting on
999 amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
1000 .It Va WITHOUT_LOCALES
1001 Set to not build localization files; see
1003 .It Va WITHOUT_LOCATE
1006 and related programs.
1010 and related programs.
1011 .It Va WITHOUT_LS_COLORS
1014 without support for colors to distinguish file types.
1015 .It Va WITHOUT_LZMA_SUPPORT
1016 Set to build some programs without optional lzma compression support.
1018 Set to not build any mail support (MUA or MTA).
1019 When set, it enforces these options:
1025 .Va WITHOUT_MAILWRAPPER
1027 .Va WITHOUT_SENDMAIL
1029 .It Va WITHOUT_MAILWRAPPER
1030 Set to not build the
1036 and related support files.
1038 Set to not build manual pages.
1039 When set, these options are also in effect:
1042 .It Va WITHOUT_MAN_UTILS
1047 .It Va WITHOUT_MANCOMPRESS
1048 Set to not to install compressed man pages.
1049 Only the uncompressed versions will be installed.
1050 .It Va WITHOUT_MAN_UTILS
1051 Set to not build utilities for manual pages,
1058 and related support files.
1059 .It Va WITH_META_MODE
1062 meta files when building, which can provide a reliable incremental build when
1065 The meta file is created in OBJDIR as
1067 These meta files track the command that was executed, its output, and the
1071 module is required unless
1074 When the module is loaded, any files used by the commands executed are
1075 tracked as dependencies for the target in its meta file.
1076 The target is considered out-of-date and rebuilt if any of these
1077 conditions are true compared to the last build:
1078 .Bl -bullet -compact
1080 The command to execute changes.
1082 The current working directory changes.
1084 The target's meta file is missing.
1086 The target's meta file is missing filemon data when filemon is loaded
1087 and a previous run did not have it loaded.
1091 Files read, executed or linked to are newer than the target.
1095 Files read, written, executed or linked are missing.
1097 The meta files can also be useful for debugging.
1099 The build hides commands that are executed unless
1104 to show some of its environment for further debugging.
1106 The build operates as it normally would otherwise.
1107 This option originally invoked a different build system but that was renamed
1109 .Va WITH_DIRDEPS_BUILD .
1111 This must be set in the environment, make command line, or
1112 .Pa /etc/src-env.conf ,
1116 Set to build the NAND Flash components.
1118 Set to not build programs and libraries
1119 related to NDIS emulation support.
1120 .It Va WITHOUT_NETCAT
1124 .It Va WITHOUT_NETGRAPH
1125 Set to not build applications to support
1127 When set, it enforces these options:
1133 .Va WITHOUT_BLUETOOTH
1135 .Va WITHOUT_NETGRAPH_SUPPORT
1137 .It Va WITHOUT_NETGRAPH_SUPPORT
1138 Set to build libraries, programs, and kernel modules without netgraph support.
1142 support and related programs.
1143 If set, you might need to adopt your
1149 Set to not build NLS catalogs.
1150 .It Va WITHOUT_NLS_CATALOGS
1151 Set to not build NLS catalog support for
1153 .It Va WITHOUT_NS_CACHING
1154 Set to disable name caching in the
1157 The generic caching daemon,
1159 will not be built either if this option is set.
1163 and related programs.
1166 .Dq "OpenFabrics Enterprise Distribution"
1167 Infiniband software stack.
1168 .It Va WITH_OPENLDAP
1169 Enable building openldap support for kerberos.
1170 .It Va WITHOUT_OPENSSH
1171 Set to not build OpenSSH.
1172 .It Va WITHOUT_OPENSSL
1173 Set to not build OpenSSL.
1174 When set, it enforces these options:
1178 .Va WITHOUT_KERBEROS
1180 .Va WITHOUT_KERBEROS_SUPPORT
1185 When set, these options are also in effect:
1188 .It Va WITHOUT_GSSAPI
1194 Set to not build PAM library and modules.
1196 This option is deprecated and does nothing.
1198 When set, it enforces these options:
1202 .Va WITHOUT_PAM_SUPPORT
1204 .It Va WITHOUT_PAM_SUPPORT
1205 Set to build some programs without PAM support, particularly
1209 .It Va WITHOUT_PC_SYSINSTALL
1212 and related programs.
1214 Set to not build PF firewall package.
1215 When set, it enforces these options:
1221 .It Va WITHOUT_PKGBOOTSTRAP
1228 and related programs.
1229 .It Va WITHOUT_PORTSNAP
1230 Set to not build or install
1236 and related programs.
1237 .It Va WITHOUT_PROFILE
1238 Set to not build profiled libraries for use with
1241 This is a default setting on
1242 riscv/riscv64 and riscv/riscv64sf.
1244 Set to build profiled libraries for use with
1247 This is a default setting on
1248 amd64/amd64, arm/arm, arm/armeb, arm/armv6, 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 sparc64/sparc64.
1249 .It Va WITHOUT_QUOTAS
1252 and related programs.
1253 .It Va WITHOUT_RADIUS_SUPPORT
1254 Set to not build radius support into various applications, like
1258 .It Va WITH_RATELIMIT
1259 Set to build the system with rate limit support.
1262 .Dv SO_MAX_PACING_RATE
1270 .It Va WITHOUT_RBOOTD
1271 Set to not build or install
1273 .It Va WITHOUT_RCMDS
1274 Disable building of the
1281 .It Va WITH_REPRODUCIBLE_BUILD
1282 Set to exclude build metadata (such as the build time, user, or host)
1283 from the kernel, boot loaders, and uname output, so that builds produce
1284 bit-for-bit identical output.
1285 .It Va WITHOUT_RESCUE
1288 .It Va WITHOUT_ROUTED
1292 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1295 with warmstart support.
1296 .It Va WITHOUT_SENDMAIL
1299 and related programs.
1300 .It Va WITHOUT_SETUID_LOGIN
1301 Set this to disable the installation of
1303 as a set-user-ID root program.
1304 .It Va WITHOUT_SHAREDOCS
1305 Set to not build the
1308 .It Va WITH_SHARED_TOOLCHAIN
1309 Set to build the toolchain binaries shared.
1313 and necessary utilities like assembler, linker and library archive manager.
1314 .It Va WITH_SORT_THREADS
1315 Set to enable threads in
1317 .It Va WITHOUT_SOURCELESS
1318 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1319 When set, it enforces these options:
1323 .Va WITHOUT_SOURCELESS_HOST
1325 .Va WITHOUT_SOURCELESS_UCODE
1327 .It Va WITHOUT_SOURCELESS_HOST
1328 Set to not build kernel modules that include sourceless native code for host CPU.
1329 .It Va WITHOUT_SOURCELESS_UCODE
1330 Set to not build kernel modules that include sourceless microcode.
1332 Set to not build world with propolice stack smashing protection.
1334 This is a default setting on
1335 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1337 Set to build world with propolice stack smashing protection.
1339 This is a default setting on
1340 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1342 Enable staging of files to a stage tree.
1343 This can be best thought of as auto-install to
1345 with some extra meta data to ensure dependencies can be tracked.
1347 .Va WITH_DIRDEPS_BUILD .
1348 When set, these options are also in effect:
1351 .It Va WITH_STAGING_MAN
1353 .Va WITHOUT_STAGING_MAN
1355 .It Va WITH_STAGING_PROG
1357 .Va WITHOUT_STAGING_PROG
1361 This must be set in the environment, make command line, or
1362 .Pa /etc/src-env.conf ,
1365 .It Va WITH_STAGING_MAN
1366 Enable staging of man pages to stage tree.
1367 .It Va WITH_STAGING_PROG
1368 Enable staging of PROGs to stage tree.
1369 .It Va WITH_STALE_STAGED
1370 Check staged files are not stale.
1376 .It Va WITHOUT_SVNLITE
1379 and related programs.
1380 .It Va WITHOUT_SYMVER
1381 Set to disable symbol versioning when building shared libraries.
1382 .It Va WITHOUT_SYSCONS
1385 support files such as keyboard maps, fonts, and screen output maps.
1387 Enable use of sysroot during build.
1389 .Va WITH_DIRDEPS_BUILD .
1391 This must be set in the environment, make command line, or
1392 .Pa /etc/src-env.conf ,
1395 .It Va WITHOUT_SYSTEM_COMPILER
1396 Set to not opportunistically skip building a cross-compiler during the
1397 bootstrap phase of the build.
1398 Normally, if the currently installed compiler matches the planned bootstrap
1399 compiler type and revision, then it will not be built.
1400 This does not prevent a compiler from being built for installation though,
1401 only for building one for the build itself.
1406 options control those.
1408 Set to not build or install
1412 .It Va WITHOUT_TCP_WRAPPERS
1413 Set to not build or install
1415 and related utilities.
1417 Set to not build and install
1421 .It Va WITHOUT_TELNET
1424 and related programs.
1425 .It Va WITHOUT_TESTS
1426 Set to not build nor install the
1433 This also disables the build of all test-related dependencies, including ATF.
1435 This is a default setting on
1436 riscv/riscv64 and riscv/riscv64sf.
1437 When set, it enforces these options:
1441 .Va WITHOUT_DTRACE_TESTS
1443 .Va WITHOUT_TESTS_SUPPORT
1445 .It Va WITHOUT_TESTS_SUPPORT
1446 Set to disables the build of all test-related dependencies, including ATF.
1448 This is a default setting on
1449 riscv/riscv64 and riscv/riscv64sf.
1450 .It Va WITHOUT_TEXTPROC
1452 programs used for text processing.
1454 Set to not build or install
1458 .It Va WITHOUT_TIMED
1459 Set to not build or install
1461 .It Va WITHOUT_TOOLCHAIN
1462 Set to not install header or
1463 programs used for program development,
1464 compilers, debuggers etc.
1465 When set, it enforces these options:
1469 .Va WITHOUT_BINUTILS
1473 .Va WITHOUT_CLANG_EXTRAS
1475 .Va WITHOUT_CLANG_FULL
1481 .Va WITHOUT_INCLUDES
1487 .It Va WITHOUT_UNBOUND
1490 and related programs.
1492 Set to not build USB-related programs and libraries.
1493 .It Va WITHOUT_USB_GADGET_EXAMPLES
1494 Set to not build USB gadget kernel modules.
1495 .It Va WITHOUT_UTMPX
1496 Set to not build user accounting tools such as
1505 Set to not build and install vi, view, ex and related programs.
1509 support files (fonts and keymaps).
1510 .It Va WITHOUT_WARNS
1511 Set this to not add warning flags to the compiler invocations.
1512 Useful as a temporary workaround when code enters the tree
1513 which triggers warnings in environments that differ from the
1515 .It Va WITHOUT_WIRELESS
1516 Set to not build programs used for 802.11 wireless networks; especially
1517 .Xr wpa_supplicant 8
1520 When set, it enforces these options:
1524 .Va WITHOUT_WIRELESS_SUPPORT
1526 .It Va WITHOUT_WIRELESS_SUPPORT
1527 Set to build libraries, programs, and kernel modules without
1528 802.11 wireless support.
1529 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1531 .Xr wpa_supplicant 8
1532 without support for the IEEE 802.1X protocol and without
1533 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1534 protocols (usable only via 802.1X).
1536 Set to not build ZFS file system.
1537 .It Va WITHOUT_ZONEINFO
1538 Set to not build the timezone database.
1541 .Bl -tag -compact -width Pa
1542 .It Pa /etc/src.conf
1543 .It Pa /etc/src-env.conf
1544 .It Pa /usr/share/mk/bsd.own.mk
1557 This manual page was autogenerated by
1558 .An tools/build/options/makeman .