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
155 Set to build and install binutils (as, ld, objcopy, and objdump) as part
156 of the normal system build.
158 This is a default setting on
159 amd64/amd64, arm/arm, arm/armeb, arm/armv6, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, pc98/i386, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
160 .It Va WITHOUT_BINUTILS_BOOTSTRAP
161 Set to not build binutils (as, ld, objcopy and objdump)
162 as part of the bootstrap process.
164 The option does not work for build targets unless some alternative
165 toolchain is provided.
168 This is a default setting on
170 .It Va WITH_BINUTILS_BOOTSTRAP
171 Set build binutils (as, ld, objcopy and objdump)
172 as part of the bootstrap process.
174 This is a default setting on
175 amd64/amd64, arm/arm, arm/armeb, arm/armv6, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, pc98/i386, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
176 .It Va WITHOUT_BLACKLIST
177 Set this if you do not want to build
181 When set, it enforces these options:
185 .Va WITHOUT_BLACKLIST_SUPPORT
187 .It Va WITHOUT_BLACKLIST_SUPPORT
188 Set to build some programs without
197 .It Va WITHOUT_BLUETOOTH
198 Set to not build Bluetooth related kernel modules, programs and libraries.
200 Set to not build the boot blocks and loader.
201 .It Va WITHOUT_BOOTPARAMD
202 Set to not build or install
204 .It Va WITHOUT_BOOTPD
205 Set to not build or install
207 .It Va WITHOUT_BSDINSTALL
211 and related programs.
212 .It Va WITHOUT_BSD_CPIO
213 Set to not build the BSD licensed version of cpio based on
216 Install BSD-licensed grep as '[ef]grep' instead of GNU grep.
217 .It Va WITHOUT_BSD_GREP_FASTMATCH
218 Set this option to exclude the fastmatch implementation from
223 Set to not build or install
225 and related libraries and data files.
227 Set to not build contributed bzip2 software as a part of the base system.
229 The option has no effect yet.
231 When set, it enforces these options:
235 .Va WITHOUT_BZIP2_SUPPORT
237 .It Va WITHOUT_BZIP2_SUPPORT
238 Set to build some programs without optional bzip2 support.
239 .It Va WITHOUT_CALENDAR
242 .It Va WITHOUT_CAPSICUM
243 Set to not build Capsicum support into system programs.
244 When set, it enforces these options:
250 .It Va WITHOUT_CASPER
251 Set to not build Casper program and related libraries.
252 .It Va WITH_CCACHE_BUILD
256 No configuration is required except to install the
262 .Sy CCACHE_PREFIX=/usr/local/bin/distcc .
263 The default cache directory of
265 will be used, which can be overridden by setting
268 .Sy CCACHE_COMPILERCHECK
271 when using the in-tree bootstrap compiler,
274 when using an external compiler.
277 option is used for Clang but not GCC.
279 Sharing a cache between multiple work directories requires using a layout
283 and an environment such as:
284 .Bd -literal -offset indent
285 CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
290 for more configuration options.
294 and related utilities.
296 Set to not build code licensed under Sun's CDDL.
297 When set, it enforces these options:
306 Set to not build the Clang C/C++ compiler during the regular phase of the build.
308 This is a default setting on
310 When set, it enforces these options:
314 .Va WITHOUT_CLANG_EXTRAS
316 .Va WITHOUT_CLANG_FULL
319 Set to build the Clang C/C++ compiler during the normal phase of the build.
321 This is a default setting on
322 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, pc98/i386, powerpc/powerpc and powerpc/powerpc64.
323 .It Va WITHOUT_CLANG_BOOTSTRAP
324 Set to not build the Clang C/C++ compiler during the bootstrap phase of
326 To be able to build the system, either gcc or clang bootstrap must be
327 enabled unless an alternate compiler is provided via XCC.
329 This is a default setting on
330 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
331 .It Va WITH_CLANG_BOOTSTRAP
332 Set to build the Clang C/C++ compiler during the bootstrap phase of the build.
334 This is a default setting on
335 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386 and pc98/i386.
336 .It Va WITH_CLANG_EXTRAS
337 Set to build additional clang and llvm tools, such as bugpoint.
338 .It Va WITHOUT_CLANG_FULL
339 Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
340 the Clang C/C++ compiler.
342 This is a default setting on
344 .It Va WITH_CLANG_FULL
345 Set to build the ARCMigrate, Rewriter and StaticAnalyzer components of the
346 Clang C/C++ compiler.
348 This is a default setting on
349 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, pc98/i386, powerpc/powerpc and powerpc/powerpc64.
350 .It Va WITHOUT_CLANG_IS_CC
351 Set to install the GCC compiler as
357 This is a default setting on
358 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
359 .It Va WITH_CLANG_IS_CC
360 Set to install the Clang C/C++ compiler as
366 This is a default setting on
367 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386 and pc98/i386.
371 .It Va WITHOUT_CROSS_COMPILER
372 Set to not build any cross compiler in the cross-tools stage of buildworld.
373 When compiling a different version of
375 than what is installed on the system, provide an alternate
376 compiler with XCC to ensure success.
377 When compiling with an identical version of
379 to the host, this option may be safely used.
380 This option may also be safe when the host version of
382 is close to the sources being built, but all bets are off if there have
383 been any changes to the toolchain between the versions.
384 When set, it enforces these options:
388 .Va WITHOUT_BINUTILS_BOOTSTRAP
390 .Va WITHOUT_CLANG_BOOTSTRAP
392 .Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
394 .Va WITHOUT_GCC_BOOTSTRAP
396 .Va WITHOUT_LLD_BOOTSTRAP
399 Set to not build any crypto code.
400 When set, it enforces these options:
406 .Va WITHOUT_KERBEROS_SUPPORT
413 When set, these options are also in effect:
416 .It Va WITHOUT_GSSAPI
422 Set to compile with CTF (Compact C Type Format) data.
423 CTF data encapsulates a reduced form of debugging information
424 similar to DWARF and the venerable stabs and is required for DTrace.
428 and related utilities.
430 Set to not build CUSE-related programs and libraries.
431 .It Va WITHOUT_CXGBETOOL
435 This is a default setting on
436 arm/arm, arm/armeb, arm/armv6, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32 and powerpc/powerpc.
437 .It Va WITH_CXGBETOOL
441 This is a default setting on
442 amd64/amd64, arm64/aarch64, i386/i386, pc98/i386, powerpc/powerpc64 and sparc64/sparc64.
446 and related libraries.
447 It will also prevent building of
451 When set, it enforces these options:
457 .Va WITHOUT_CLANG_EXTRAS
459 .Va WITHOUT_CLANG_FULL
465 .It Va WITHOUT_DEBUG_FILES
466 Set to avoid building or installing standalone debug files for each
467 executable binary and shared library.
468 .It Va WITHOUT_DIALOG
475 When set, it enforces these options:
479 .Va WITHOUT_BSDINSTALL
482 Set to not build the Webster dictionary files.
483 .It Va WITH_DIRDEPS_BUILD
484 This is an experimental build system.
486 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
487 Build commands can be seen from the top-level with:
488 .Dl make show-valid-targets
489 The build is driven by dirdeps.mk using
492 Makefile.depend files found in each directory.
494 The build can be started from anywhere, and behaves the same.
495 The initial instance of
500 .Pa Makefile.depend ,
501 computing a graph of tree dependencies from the current origin.
504 skips checking dirdep dependencies and will only build in the current
505 and child directories.
507 skips building any dirdeps and only build the current directory.
509 This also utilizes the
511 logic for incremental builds.
513 The build hides commands executed unless
517 Note that there is currently no mass install feature for this.
519 When set, it enforces these options:
523 .Va WITH_INSTALL_AS_USER
526 When set, these options are also in effect:
529 .It Va WITHOUT_SYSTEM_COMPILER
531 .Va WITH_SYSTEM_COMPILER
537 .It Va WITH_META_MODE
539 .Va WITHOUT_META_MODE
545 .It Va WITH_STAGING_MAN
547 .Va WITHOUT_STAGING_MAN
549 .It Va WITH_STAGING_PROG
551 .Va WITHOUT_STAGING_PROG
559 This must be set in the environment, make command line, or
560 .Pa /etc/src-env.conf ,
563 .It Va WITH_DIRDEPS_CACHE
564 Cache result of dirdeps.mk which can save significant time
565 for subsequent builds.
567 .Va WITH_DIRDEPS_BUILD .
569 This must be set in the environment, make command line, or
570 .Pa /etc/src-env.conf ,
573 .It Va WITHOUT_DMAGENT
574 Set to not build dma Mail Transport Agent.
575 .It Va WITHOUT_DOCCOMPRESS
576 Set to not install compressed system documentation.
577 Only the uncompressed version will be installed.
578 .It Va WITH_DTRACE_TESTS
579 Set to build and install the DTrace test suite in
580 .Pa /usr/tests/cddl/usr.sbin/dtrace .
581 This test suite is considered experimental on architectures other than
582 amd64/amd64 and running it may cause system instability.
583 .It Va WITHOUT_DYNAMICROOT
584 Set this if you do not want to link
589 .It Va WITHOUT_ED_CRYPTO
592 without support for encryption/decryption.
594 Set to not build and install
597 and related programs.
604 This is a default setting on
605 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, pc98/i386, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
612 This is a default setting on
613 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
615 Set to build EISA kernel modules.
616 .It Va WITHOUT_ELFCOPY_AS_OBJCOPY
617 Set to build and install
619 from GNU Binutils, instead of the one from ELF Tool Chain.
620 This option is provided as a transition aid and will be removed in due time.
621 .It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
622 Set to not build ELF Tool Chain tools
623 (addr2line, nm, size, strings and strip)
624 as part of the bootstrap process.
626 An alternate bootstrap tool chain must be provided.
628 .It Va WITHOUT_EXAMPLES
629 Set to avoid installing examples to
630 .Pa /usr/share/examples/ .
631 .It Va WITH_EXTRA_TCP_STACKS
632 Set to build extra TCP stack modules.
634 Set to not build Flattened Device Tree support as part of the base system.
635 This includes the device tree compiler (dtc) and libfdt support library.
639 and related programs.
640 .It Va WITHOUT_FINGER
641 Set to not build or install
645 .It Va WITHOUT_FLOPPY
646 Set to not build or install programs
647 for operating floppy disk driver.
648 .It Va WITHOUT_FMTREE
649 Set to not build and install
650 .Pa /usr/sbin/fmtree .
651 .It Va WITHOUT_FORMAT_EXTENSIONS
653 .Fl fformat-extensions
654 when compiling the kernel.
655 Also disables all format checking.
657 Set to build bootloaders without Forth support.
658 .It Va WITHOUT_FP_LIBC
661 without floating-point support.
662 .It Va WITHOUT_FREEBSD_UPDATE
664 .Xr freebsd-update 8 .
666 Set to not build or install
671 Set to not build games.
673 Set to not build and install gcc and g++ as part of the normal build process.
675 This is a default setting on
676 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386 and pc98/i386.
678 Set to build and install gcc and g++.
680 This is a default setting on
681 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
682 .It Va WITHOUT_GCC_BOOTSTRAP
683 Set to not build gcc and g++ as part of the bootstrap process.
684 You must enable either gcc or clang bootstrap to be able to build the system,
685 unless an alternative compiler is provided via
688 This is a default setting on
689 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386 and pc98/i386.
690 .It Va WITH_GCC_BOOTSTRAP
691 Set to build gcc and g++ as part of the bootstrap process.
693 This is a default setting on
694 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
703 This is a default setting on
709 This is a default setting on
710 amd64/amd64, arm/arm, arm/armeb, arm/armv6, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, pc98/i386, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
712 Set to not build contributed GNU software as a part of the base system.
713 This option can be useful if the system built must not contain any code
714 covered by the GNU Public License due to legal reasons.
716 The option has no effect yet.
718 When set, it enforces these options:
722 .Va WITHOUT_GNU_SUPPORT
724 .It Va WITHOUT_GNUCXX
725 Do not build the GNU C++ stack (g++, libstdc++).
726 This is the default on platforms where clang is the system compiler.
728 This is a default setting on
729 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386 and pc98/i386.
731 Build the GNU C++ stack (g++, libstdc++).
732 This is the default on platforms where gcc is the system compiler.
734 This is a default setting on
735 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
736 .It Va WITHOUT_GNU_DIFF
741 .It Va WITHOUT_GNU_GREP
744 .It Va WITHOUT_GNU_GREP_COMPAT
745 Set this option to omit the gnu extensions to grep from being included in
747 .It Va WITHOUT_GNU_SUPPORT
748 Set to build some programs without optional GNU support.
752 as part of the base system.
753 .It Va WITHOUT_GPL_DTC
754 Set to build the BSD licensed version of the device tree compiler rather
755 than the GPLed one from elinux.org.
761 You should consider installing the textproc/groff port to not break
763 .It Va WITHOUT_GSSAPI
764 Set to not build libgssapi.
768 and related utilities.
770 Set to build Hesiod support.
772 Set to not build HTML docs.
773 .It Va WITHOUT_HYPERV
774 Set to not build or install HyperV utilities.
776 Set to not build iconv as part of libc.
777 .It Va WITHOUT_INCLUDES
778 Set to not install header files.
779 This option used to be spelled
782 The option does not work for build targets.
785 Set to not build programs and libraries related to IPv4 networking.
786 When set, it enforces these options:
790 .Va WITHOUT_INET_SUPPORT
794 programs and libraries related to IPv6 networking.
795 When set, it enforces these options:
799 .Va WITHOUT_INET6_SUPPORT
801 .It Va WITHOUT_INET6_SUPPORT
802 Set to build libraries, programs, and kernel modules without IPv6 support.
806 .It Va WITHOUT_INET_SUPPORT
807 Set to build libraries, programs, and kernel modules without IPv4 support.
808 .It Va WITHOUT_INSTALLLIB
809 Set this if to not install optional libraries.
810 For example, when creating a
814 The option does not work for build targets.
816 .It Va WITH_INSTALL_AS_USER
817 Set to make install targets succeed for non-root users by installing
818 files with owner and group attributes set to that of the user running
822 The user still must set the
824 variable to point to a directory where the user has write permissions.
825 .It Va WITHOUT_IPFILTER
826 Set to not build IP Filter package.
828 Set to not build IPFW tools.
829 .It Va WITHOUT_IPSEC_SUPPORT
830 Set to not build the kernel with
833 This option is needed for
840 and related utilities.
842 Set to not build tools for the support of jails; e.g.,
849 .It Va WITHOUT_KERBEROS
850 Set this to not build Kerberos 5 (KTH Heimdal).
851 When set, it enforces these options:
855 .Va WITHOUT_KERBEROS_SUPPORT
858 When set, these options are also in effect:
861 .It Va WITHOUT_GSSAPI
866 .It Va WITHOUT_KERBEROS_SUPPORT
867 Set to build some programs without Kerberos support, like
873 .It Va WITH_KERNEL_RETPOLINE
874 Set to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel
876 .It Va WITHOUT_KERNEL_SYMBOLS
877 Set to not install kernel symbol files.
879 This option is recommended for those people who have small root partitions.
884 library as a part of the base system.
886 The option has no effect yet.
888 When set, it enforces these options:
892 .Va WITHOUT_KVM_SUPPORT
894 .It Va WITHOUT_KVM_SUPPORT
895 Set to build some programs without optional
899 Setting this variable will prevent the LDNS library from being built.
900 When set, it enforces these options:
904 .Va WITHOUT_LDNS_UTILS
908 .It Va WITHOUT_LDNS_UTILS
909 Setting this variable will prevent building the LDNS utilities
913 .It Va WITHOUT_LEGACY_CONSOLE
914 Set to not build programs that support a legacy PC console; e.g.,
919 On 64-bit platforms, set to not build 32-bit library set and a
922 .It Va WITHOUT_LIBCPLUSPLUS
923 Set to avoid building libcxxrt and libc++.
924 .It Va WITHOUT_LIBPTHREAD
929 When set, it enforces these options:
936 On armv6 only, set to enable soft float ABI compatibility libraries.
937 This option is for transitioning to the new hard float ABI.
938 .It Va WITHOUT_LIBTHR
944 Set to build the lint binaries and library.
946 Set to not build LLVM's lld linker.
948 This is a default setting on
949 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
951 Set to build LLVM's lld linker.
953 This is a default setting on
954 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386 and pc98/i386.
956 Set to not build the LLDB debugger.
958 This is a default setting on
959 arm/arm, arm/armeb, arm/armv6, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, pc98/i386, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
961 Set to build the LLDB debugger.
963 This is a default setting on
964 amd64/amd64 and arm64/aarch64.
965 .It Va WITHOUT_LLD_BOOTSTRAP
966 Set to not build the LLD linker during the bootstrap phase of
968 To be able to build the system, either Binutils or LLD bootstrap must be
969 enabled unless an alternate linker is provided via XLD.
971 This is a default setting on
972 amd64/amd64, arm/arm, arm/armeb, arm/armv6, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, pc98/i386, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
973 .It Va WITH_LLD_BOOTSTRAP
974 Set to build the LLD linker during the bootstrap phase of the build.
976 This is a default setting on
978 .It Va WITHOUT_LLD_IS_LD
979 Set to use GNU binutils ld as the system linker, instead of LLVM's LLD.
981 This is a default setting on
982 amd64/amd64, arm/arm, arm/armeb, arm/armv6, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, pc98/i386, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
983 .It Va WITH_LLD_IS_LD
984 Set to use LLVM's LLD as the system linker, instead of GNU binutils ld.
986 This is a default setting on
988 .It Va WITHOUT_LLVM_LIBUNWIND
989 Set to use GCC's stack unwinder (instead of LLVM's libunwind).
991 This is a default setting on
992 amd64/amd64, arm/arm, arm/armeb, arm/armv6, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, pc98/i386, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
993 .It Va WITH_LLVM_LIBUNWIND
994 Set to use LLVM's libunwind stack unwinder (instead of GCC's unwinder).
996 This is a default setting on
998 .It Va WITHOUT_LLVM_TARGET_AARCH64
999 Set to not build LLVM target support for AArch64.
1001 This is a default setting on
1003 .It Va WITH_LLVM_TARGET_AARCH64
1004 Set to build LLVM target support for AArch64.
1006 This is a default setting on
1007 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, pc98/i386, powerpc/powerpc and powerpc/powerpc64.
1008 .It Va WITHOUT_LLVM_TARGET_ARM
1009 Set to not build LLVM target support for ARM.
1011 This is a default setting on
1013 .It Va WITH_LLVM_TARGET_ARM
1014 Set to build LLVM target support for ARM.
1016 This is a default setting on
1017 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, pc98/i386, powerpc/powerpc and powerpc/powerpc64.
1018 .It Va WITHOUT_LLVM_TARGET_MIPS
1019 Set to not build LLVM target support for MIPS.
1021 This is a default setting on
1023 .It Va WITH_LLVM_TARGET_MIPS
1024 Set to build LLVM target support for MIPS.
1026 This is a default setting on
1027 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, pc98/i386, powerpc/powerpc and powerpc/powerpc64.
1028 .It Va WITHOUT_LLVM_TARGET_POWERPC
1029 Set to not build LLVM target support for PowerPC.
1031 This is a default setting on
1033 .It Va WITH_LLVM_TARGET_POWERPC
1034 Set to build LLVM target support for PowerPC.
1036 This is a default setting on
1037 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, pc98/i386, powerpc/powerpc and powerpc/powerpc64.
1038 .It Va WITHOUT_LLVM_TARGET_SPARC
1039 Set to not build LLVM target support for SPARC.
1041 This is a default setting on
1043 .It Va WITH_LLVM_TARGET_SPARC
1044 Set to build LLVM target support for SPARC.
1046 This is a default setting on
1047 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, pc98/i386, powerpc/powerpc and powerpc/powerpc64.
1048 .It Va WITHOUT_LLVM_TARGET_X86
1049 Set to not build LLVM target support for X86.
1051 This is a default setting on
1053 .It Va WITH_LLVM_TARGET_X86
1054 Set to build LLVM target support for X86.
1056 This is a default setting on
1057 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, pc98/i386, powerpc/powerpc and powerpc/powerpc64.
1058 .It Va WITH_LOADER_FIREWIRE
1059 Enable firewire support in /boot/loader and /boot/zfsloader on x86.
1060 This option is a nop on all other platforms.
1061 .It Va WITHOUT_LOADER_GELI
1062 Disable inclusion of GELI crypto support in the boot chain binaries.
1064 This is a default setting on
1065 arm/arm, arm/armeb, arm/armv6, arm64/aarch64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
1066 .It Va WITHOUT_LOADER_OFW
1067 Disable building of openfirmware bootloader components.
1069 This is a default setting on
1070 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32 and pc98/i386.
1071 .It Va WITH_LOADER_OFW
1072 Set to build openfirmware bootloader components.
1074 This is a default setting on
1075 powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
1076 .It Va WITHOUT_LOADER_UBOOT
1077 Disable building of ubldr.
1079 This is a default setting on
1080 amd64/amd64, arm64/aarch64, i386/i386, pc98/i386 and sparc64/sparc64.
1081 .It Va WITH_LOADER_UBOOT
1084 This is a default setting on
1085 arm/arm, arm/armeb, arm/armv6, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc and powerpc/powerpc64.
1086 .It Va WITHOUT_LOCALES
1087 Set to not build localization files; see
1089 .It Va WITHOUT_LOCATE
1092 and related programs.
1096 and related programs.
1097 .It Va WITHOUT_LS_COLORS
1100 without support for colors to distinguish file types.
1101 .It Va WITHOUT_LZMA_SUPPORT
1102 Set to build some programs without optional lzma compression support.
1104 Set to not build any mail support (MUA or MTA).
1105 When set, it enforces these options:
1111 .Va WITHOUT_MAILWRAPPER
1113 .Va WITHOUT_SENDMAIL
1115 .It Va WITHOUT_MAILWRAPPER
1116 Set to not build the
1122 and related support files.
1124 Set to not build manual pages.
1125 When set, these options are also in effect:
1128 .It Va WITHOUT_MAN_UTILS
1133 .It Va WITHOUT_MANCOMPRESS
1134 Set to not to install compressed man pages.
1135 Only the uncompressed versions will be installed.
1136 .It Va WITHOUT_MANDOCDB
1143 database and utilities from
1145 .It Va WITHOUT_MAN_UTILS
1146 Set to not build utilities for manual pages,
1153 and related support files.
1154 .It Va WITH_META_MODE
1157 meta files when building, which can provide a reliable incremental build when
1160 The meta file is created in OBJDIR as
1162 These meta files track the command that was executed, its output, and the
1166 module is required unless
1169 When the module is loaded, any files used by the commands executed are
1170 tracked as dependencies for the target in its meta file.
1171 The target is considered out-of-date and rebuilt if any of these
1172 conditions are true compared to the last build:
1173 .Bl -bullet -compact
1175 The command to execute changes.
1177 The current working directory changes.
1179 The target's meta file is missing.
1181 The target's meta file is missing filemon data when filemon is loaded
1182 and a previous run did not have it loaded.
1186 Files read, executed or linked to are newer than the target.
1190 Files read, written, executed or linked are missing.
1192 The meta files can also be useful for debugging.
1194 The build hides commands that are executed unless
1199 to show some of its environment for further debugging.
1201 The build operates as it normally would otherwise.
1202 This option originally invoked a different build system but that was renamed
1204 .Va WITH_DIRDEPS_BUILD .
1206 Currently this also enforces
1207 .Va WITHOUT_SYSTEM_COMPILER .
1208 When set, these options are also in effect:
1211 .It Va WITHOUT_SYSTEM_COMPILER
1213 .Va WITH_SYSTEM_COMPILER
1217 This must be set in the environment, make command line, or
1218 .Pa /etc/src-env.conf ,
1221 .It Va WITHOUT_MLX5TOOL
1225 This is a default setting on
1226 arm/arm, arm/armeb, arm/armv6, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32 and powerpc/powerpc.
1227 .It Va WITH_MLX5TOOL
1231 This is a default setting on
1232 amd64/amd64, arm64/aarch64, i386/i386, pc98/i386, powerpc/powerpc64 and sparc64/sparc64.
1234 Set to build the NAND Flash components.
1236 Set to not build programs and libraries
1237 related to NDIS emulation support.
1238 .It Va WITHOUT_NETCAT
1242 .It Va WITHOUT_NETGRAPH
1243 Set to not build applications to support
1245 When set, it enforces these options:
1251 .Va WITHOUT_BLUETOOTH
1253 .Va WITHOUT_NETGRAPH_SUPPORT
1255 .It Va WITHOUT_NETGRAPH_SUPPORT
1256 Set to build libraries, programs, and kernel modules without netgraph support.
1260 support and related programs.
1261 If set, you might need to adopt your
1267 Set to not build NLS catalogs.
1268 When set, it enforces these options:
1272 .Va WITHOUT_NLS_CATALOGS
1274 .It Va WITHOUT_NLS_CATALOGS
1275 Set to not build NLS catalog support for
1277 .It Va WITHOUT_NS_CACHING
1278 Set to disable name caching in the
1281 The generic caching daemon,
1283 will not be built either if this option is set.
1287 and related programs.
1290 .Dq "OpenFabrics Enterprise Distribution"
1291 Infiniband software stack.
1292 .It Va WITH_OFED_EXTRA
1293 Set to build the non-essential components of the
1294 .Dq "OpenFabrics Enterprise Distribution"
1295 Infiniband software stack, mostly examples.
1296 .It Va WITH_OPENLDAP
1297 Enable building openldap support for kerberos.
1298 .It Va WITHOUT_OPENSSH
1299 Set to not build OpenSSH.
1300 .It Va WITHOUT_OPENSSL
1301 Set to not build OpenSSL.
1302 When set, it enforces these options:
1306 .Va WITHOUT_KERBEROS
1308 .Va WITHOUT_KERBEROS_SUPPORT
1313 When set, these options are also in effect:
1316 .It Va WITHOUT_GSSAPI
1322 Set to not build PAM library and modules.
1324 This option is deprecated and does nothing.
1326 When set, it enforces these options:
1330 .Va WITHOUT_PAM_SUPPORT
1332 .It Va WITHOUT_PAM_SUPPORT
1333 Set to build some programs without PAM support, particularly
1337 .It Va WITHOUT_PC_SYSINSTALL
1340 and related programs.
1342 Set to not build PF firewall package.
1343 When set, it enforces these options:
1349 .It Va WITHOUT_PKGBOOTSTRAP
1356 and related programs.
1357 .It Va WITHOUT_PORTSNAP
1358 Set to not build or install
1364 and related programs.
1365 .It Va WITHOUT_PROFILE
1366 Set to not build profiled libraries for use with
1369 This is a default setting on
1370 mips/mips64el and mips/mips64.
1372 Set to build profiled libraries for use with
1375 This is a default setting on
1376 amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mipsn32, pc98/i386, powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
1377 .It Va WITHOUT_QUOTAS
1380 and related programs.
1381 .It Va WITHOUT_RADIUS_SUPPORT
1382 Set to not build radius support into various applications, like
1386 .It Va WITHOUT_RBOOTD
1387 Set to not build or install
1389 .It Va WITHOUT_RCMDS
1390 Disable building of the
1401 and related utilities.
1402 .It Va WITH_REPRODUCIBLE_BUILD
1403 Set to exclude build metadata (such as the build time, user, or host)
1404 from the kernel, boot loaders, and uname output, so that builds produce
1405 bit-for-bit identical output.
1406 .It Va WITHOUT_RESCUE
1409 .It Va WITHOUT_ROUTED
1413 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1416 with warmstart support.
1417 .It Va WITHOUT_SENDMAIL
1420 and related programs.
1421 .It Va WITHOUT_SETUID_LOGIN
1422 Set this to disable the installation of
1424 as a set-user-ID root program.
1425 .It Va WITHOUT_SHAREDOCS
1426 Set to not build the
1429 .It Va WITH_SHARED_TOOLCHAIN
1430 Set to build the toolchain binaries shared.
1434 and necessary utilities like assembler, linker and library archive manager.
1435 .It Va WITH_SORT_THREADS
1436 Set to enable threads in
1438 .It Va WITHOUT_SOURCELESS
1439 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1440 When set, it enforces these options:
1444 .Va WITHOUT_SOURCELESS_HOST
1446 .Va WITHOUT_SOURCELESS_UCODE
1448 .It Va WITHOUT_SOURCELESS_HOST
1449 Set to not build kernel modules that include sourceless native code for host CPU.
1450 .It Va WITHOUT_SOURCELESS_UCODE
1451 Set to not build kernel modules that include sourceless microcode.
1453 Set to not build world with propolice stack smashing protection.
1455 Enable staging of files to a stage tree.
1456 This can be best thought of as auto-install to
1458 with some extra meta data to ensure dependencies can be tracked.
1460 .Va WITH_DIRDEPS_BUILD .
1461 When set, these options are also in effect:
1464 .It Va WITH_STAGING_MAN
1466 .Va WITHOUT_STAGING_MAN
1468 .It Va WITH_STAGING_PROG
1470 .Va WITHOUT_STAGING_PROG
1474 This must be set in the environment, make command line, or
1475 .Pa /etc/src-env.conf ,
1478 .It Va WITH_STAGING_MAN
1479 Enable staging of man pages to stage tree.
1480 .It Va WITH_STAGING_PROG
1481 Enable staging of PROGs to stage tree.
1482 .It Va WITH_STALE_STAGED
1483 Check staged files are not stale.
1489 .It Va WITHOUT_SVNLITE
1492 and related programs.
1493 .It Va WITHOUT_SYMVER
1494 Set to disable symbol versioning when building shared libraries.
1495 .It Va WITHOUT_SYSCONS
1498 support files such as keyboard maps, fonts, and screen output maps.
1500 Enable use of sysroot during build.
1502 .Va WITH_DIRDEPS_BUILD .
1504 This must be set in the environment, make command line, or
1505 .Pa /etc/src-env.conf ,
1508 .It Va WITHOUT_SYSTEM_COMPILER
1509 Set to not opportunistically skip building a cross-compiler during the
1510 bootstrap phase of the build.
1511 Normally, if the currently installed compiler matches the planned bootstrap
1512 compiler type and revision, then it will not be built.
1513 This does not prevent a compiler from being built for installation though,
1514 only for building one for the build itself.
1519 options control those.
1521 Set to not build or install
1525 .It Va WITHOUT_TCP_WRAPPERS
1526 Set to not build or install
1528 and related utilities.
1530 Set to not build and install
1534 .It Va WITHOUT_TELNET
1537 and related programs.
1538 .It Va WITHOUT_TESTS
1539 Set to not build nor install the
1546 This also disables the build of all test-related dependencies, including ATF.
1547 When set, it enforces these options:
1551 .Va WITHOUT_DTRACE_TESTS
1553 .Va WITHOUT_TESTS_SUPPORT
1555 .It Va WITHOUT_TESTS_SUPPORT
1556 Set to disables the build of all test-related dependencies, including ATF.
1557 .It Va WITHOUT_TEXTPROC
1559 programs used for text processing.
1560 When set, it enforces these options:
1567 Set to not build or install
1571 .It Va WITHOUT_TIMED
1572 Set to not build or install
1574 .It Va WITHOUT_TOOLCHAIN
1575 Set to not install header or
1576 programs used for program development,
1577 compilers, debuggers etc.
1578 When set, it enforces these options:
1582 .Va WITHOUT_BINUTILS
1586 .Va WITHOUT_CLANG_EXTRAS
1588 .Va WITHOUT_CLANG_FULL
1594 .Va WITHOUT_INCLUDES
1600 .It Va WITHOUT_UNBOUND
1603 and related programs.
1605 Set to not build USB-related programs and libraries.
1606 .It Va WITHOUT_USB_GADGET_EXAMPLES
1607 Set to not build USB gadget kernel modules.
1608 .It Va WITHOUT_UTMPX
1609 Set to not build user accounting tools such as
1618 Set to not build and install vi, view, ex and related programs.
1622 support files (fonts and keymaps).
1623 .It Va WITHOUT_WARNS
1624 Set this to not add warning flags to the compiler invocations.
1625 Useful as a temporary workaround when code enters the tree
1626 which triggers warnings in environments that differ from the
1628 .It Va WITHOUT_WIRELESS
1629 Set to not build programs used for 802.11 wireless networks; especially
1630 .Xr wpa_supplicant 8
1633 When set, it enforces these options:
1637 .Va WITHOUT_WIRELESS_SUPPORT
1639 .It Va WITHOUT_WIRELESS_SUPPORT
1640 Set to build libraries, programs, and kernel modules without
1641 802.11 wireless support.
1642 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1644 .Xr wpa_supplicant 8
1645 without support for the IEEE 802.1X protocol and without
1646 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1647 protocols (usable only via 802.1X).
1649 Set to not build ZFS file system.
1650 .It Va WITHOUT_ZONEINFO
1651 Set to not build the timezone database.
1652 When set, it enforces these options:
1656 .Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
1658 .Va WITHOUT_ZONEINFO_OLD_TIMEZONES_SUPPORT
1660 .It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
1661 Set to build leapsecond information in to the timezone database.
1662 .It Va WITH_ZONEINFO_OLD_TIMEZONES_SUPPORT
1663 Set to build backward compatibility timezone aliases in to the timezone
1667 .Bl -tag -compact -width Pa
1668 .It Pa /etc/src.conf
1669 .It Pa /etc/src-env.conf
1670 .It Pa /usr/share/mk/bsd.own.mk
1683 This manual page was autogenerated by
1684 .An tools/build/options/makeman .