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 WITH_LLVM_TARGET_BPF
1019 Set to build LLVM target support for BPF.
1022 option should be used rather than this in most cases.
1023 .It Va WITHOUT_LLVM_TARGET_MIPS
1024 Set to not build LLVM target support for MIPS.
1026 This is a default setting on
1028 .It Va WITH_LLVM_TARGET_MIPS
1029 Set to build LLVM target support for MIPS.
1031 This is a default setting on
1032 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.
1033 .It Va WITHOUT_LLVM_TARGET_POWERPC
1034 Set to not build LLVM target support for PowerPC.
1036 This is a default setting on
1038 .It Va WITH_LLVM_TARGET_POWERPC
1039 Set to build LLVM target support for PowerPC.
1041 This is a default setting on
1042 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.
1043 .It Va WITHOUT_LLVM_TARGET_SPARC
1044 Set to not build LLVM target support for SPARC.
1046 This is a default setting on
1048 .It Va WITH_LLVM_TARGET_SPARC
1049 Set to build LLVM target support for SPARC.
1051 This is a default setting on
1052 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.
1053 .It Va WITHOUT_LLVM_TARGET_X86
1054 Set to not build LLVM target support for X86.
1056 This is a default setting on
1058 .It Va WITH_LLVM_TARGET_X86
1059 Set to build LLVM target support for X86.
1061 This is a default setting on
1062 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.
1063 .It Va WITH_LOADER_FIREWIRE
1064 Enable firewire support in /boot/loader and /boot/zfsloader on x86.
1065 This option is a nop on all other platforms.
1066 .It Va WITHOUT_LOADER_GELI
1067 Disable inclusion of GELI crypto support in the boot chain binaries.
1069 This is a default setting on
1070 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.
1071 .It Va WITHOUT_LOADER_OFW
1072 Disable building of openfirmware bootloader components.
1074 This is a default setting on
1075 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.
1076 .It Va WITH_LOADER_OFW
1077 Set to build openfirmware bootloader components.
1079 This is a default setting on
1080 powerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64.
1081 .It Va WITHOUT_LOADER_UBOOT
1082 Disable building of ubldr.
1084 This is a default setting on
1085 amd64/amd64, arm64/aarch64, i386/i386, pc98/i386 and sparc64/sparc64.
1086 .It Va WITH_LOADER_UBOOT
1089 This is a default setting on
1090 arm/arm, arm/armeb, arm/armv6, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, powerpc/powerpc and powerpc/powerpc64.
1091 .It Va WITHOUT_LOCALES
1092 Set to not build localization files; see
1094 .It Va WITHOUT_LOCATE
1097 and related programs.
1101 and related programs.
1102 .It Va WITHOUT_LS_COLORS
1105 without support for colors to distinguish file types.
1106 .It Va WITHOUT_LZMA_SUPPORT
1107 Set to build some programs without optional lzma compression support.
1109 Set to not build any mail support (MUA or MTA).
1110 When set, it enforces these options:
1116 .Va WITHOUT_MAILWRAPPER
1118 .Va WITHOUT_SENDMAIL
1120 .It Va WITHOUT_MAILWRAPPER
1121 Set to not build the
1127 and related support files.
1129 Set to not build manual pages.
1130 When set, these options are also in effect:
1133 .It Va WITHOUT_MAN_UTILS
1138 .It Va WITHOUT_MANCOMPRESS
1139 Set to not to install compressed man pages.
1140 Only the uncompressed versions will be installed.
1141 .It Va WITHOUT_MANDOCDB
1148 database and utilities from
1150 .It Va WITHOUT_MAN_UTILS
1151 Set to not build utilities for manual pages,
1158 and related support files.
1159 .It Va WITH_META_MODE
1162 meta files when building, which can provide a reliable incremental build when
1165 The meta file is created in OBJDIR as
1167 These meta files track the command that was executed, its output, and the
1171 module is required unless
1174 When the module is loaded, any files used by the commands executed are
1175 tracked as dependencies for the target in its meta file.
1176 The target is considered out-of-date and rebuilt if any of these
1177 conditions are true compared to the last build:
1178 .Bl -bullet -compact
1180 The command to execute changes.
1182 The current working directory changes.
1184 The target's meta file is missing.
1186 The target's meta file is missing filemon data when filemon is loaded
1187 and a previous run did not have it loaded.
1191 Files read, executed or linked to are newer than the target.
1195 Files read, written, executed or linked are missing.
1197 The meta files can also be useful for debugging.
1199 The build hides commands that are executed unless
1204 to show some of its environment for further debugging.
1206 The build operates as it normally would otherwise.
1207 This option originally invoked a different build system but that was renamed
1209 .Va WITH_DIRDEPS_BUILD .
1211 Currently this also enforces
1212 .Va WITHOUT_SYSTEM_COMPILER .
1213 When set, these options are also in effect:
1216 .It Va WITHOUT_SYSTEM_COMPILER
1218 .Va WITH_SYSTEM_COMPILER
1222 This must be set in the environment, make command line, or
1223 .Pa /etc/src-env.conf ,
1226 .It Va WITHOUT_MLX5TOOL
1230 This is a default setting on
1231 arm/arm, arm/armeb, arm/armv6, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32 and powerpc/powerpc.
1232 .It Va WITH_MLX5TOOL
1236 This is a default setting on
1237 amd64/amd64, arm64/aarch64, i386/i386, pc98/i386, powerpc/powerpc64 and sparc64/sparc64.
1239 Set to build the NAND Flash components.
1241 Set to not build programs and libraries
1242 related to NDIS emulation support.
1243 .It Va WITHOUT_NETCAT
1247 .It Va WITHOUT_NETGRAPH
1248 Set to not build applications to support
1250 When set, it enforces these options:
1256 .Va WITHOUT_BLUETOOTH
1258 .Va WITHOUT_NETGRAPH_SUPPORT
1260 .It Va WITHOUT_NETGRAPH_SUPPORT
1261 Set to build libraries, programs, and kernel modules without netgraph support.
1265 support and related programs.
1266 If set, you might need to adopt your
1272 Set to not build NLS catalogs.
1273 When set, it enforces these options:
1277 .Va WITHOUT_NLS_CATALOGS
1279 .It Va WITHOUT_NLS_CATALOGS
1280 Set to not build NLS catalog support for
1282 .It Va WITHOUT_NS_CACHING
1283 Set to disable name caching in the
1286 The generic caching daemon,
1288 will not be built either if this option is set.
1292 and related programs.
1295 .Dq "OpenFabrics Enterprise Distribution"
1296 Infiniband software stack.
1297 .It Va WITH_OFED_EXTRA
1298 Set to build the non-essential components of the
1299 .Dq "OpenFabrics Enterprise Distribution"
1300 Infiniband software stack, mostly examples.
1301 .It Va WITH_OPENLDAP
1302 Enable building openldap support for kerberos.
1303 .It Va WITHOUT_OPENSSH
1304 Set to not build OpenSSH.
1305 .It Va WITHOUT_OPENSSL
1306 Set to not build OpenSSL.
1307 When set, it enforces these options:
1311 .Va WITHOUT_KERBEROS
1313 .Va WITHOUT_KERBEROS_SUPPORT
1318 When set, these options are also in effect:
1321 .It Va WITHOUT_GSSAPI
1327 Set to not build PAM library and modules.
1329 This option is deprecated and does nothing.
1331 When set, it enforces these options:
1335 .Va WITHOUT_PAM_SUPPORT
1337 .It Va WITHOUT_PAM_SUPPORT
1338 Set to build some programs without PAM support, particularly
1342 .It Va WITHOUT_PC_SYSINSTALL
1345 and related programs.
1347 Set to not build PF firewall package.
1348 When set, it enforces these options:
1354 .It Va WITHOUT_PKGBOOTSTRAP
1361 and related programs.
1362 .It Va WITHOUT_PORTSNAP
1363 Set to not build or install
1369 and related programs.
1370 .It Va WITHOUT_PROFILE
1371 Set to not build profiled libraries for use with
1374 This is a default setting on
1375 mips/mips64el and mips/mips64.
1377 Set to build profiled libraries for use with
1380 This is a default setting on
1381 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.
1382 .It Va WITHOUT_QUOTAS
1385 and related programs.
1386 .It Va WITHOUT_RADIUS_SUPPORT
1387 Set to not build radius support into various applications, like
1391 .It Va WITHOUT_RBOOTD
1392 Set to not build or install
1394 .It Va WITHOUT_RCMDS
1395 Disable building of the
1406 and related utilities.
1407 .It Va WITH_REPRODUCIBLE_BUILD
1408 Set to exclude build metadata (such as the build time, user, or host)
1409 from the kernel, boot loaders, and uname output, so that builds produce
1410 bit-for-bit identical output.
1411 .It Va WITHOUT_RESCUE
1414 .It Va WITHOUT_ROUTED
1418 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1421 with warmstart support.
1422 .It Va WITHOUT_SENDMAIL
1425 and related programs.
1426 .It Va WITHOUT_SETUID_LOGIN
1427 Set this to disable the installation of
1429 as a set-user-ID root program.
1430 .It Va WITHOUT_SHAREDOCS
1431 Set to not build the
1434 .It Va WITH_SHARED_TOOLCHAIN
1435 Set to build the toolchain binaries shared.
1439 and necessary utilities like assembler, linker and library archive manager.
1440 .It Va WITH_SORT_THREADS
1441 Set to enable threads in
1443 .It Va WITHOUT_SOURCELESS
1444 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1445 When set, it enforces these options:
1449 .Va WITHOUT_SOURCELESS_HOST
1451 .Va WITHOUT_SOURCELESS_UCODE
1453 .It Va WITHOUT_SOURCELESS_HOST
1454 Set to not build kernel modules that include sourceless native code for host CPU.
1455 .It Va WITHOUT_SOURCELESS_UCODE
1456 Set to not build kernel modules that include sourceless microcode.
1458 Set to not build world with propolice stack smashing protection.
1460 Enable staging of files to a stage tree.
1461 This can be best thought of as auto-install to
1463 with some extra meta data to ensure dependencies can be tracked.
1465 .Va WITH_DIRDEPS_BUILD .
1466 When set, these options are also in effect:
1469 .It Va WITH_STAGING_MAN
1471 .Va WITHOUT_STAGING_MAN
1473 .It Va WITH_STAGING_PROG
1475 .Va WITHOUT_STAGING_PROG
1479 This must be set in the environment, make command line, or
1480 .Pa /etc/src-env.conf ,
1483 .It Va WITH_STAGING_MAN
1484 Enable staging of man pages to stage tree.
1485 .It Va WITH_STAGING_PROG
1486 Enable staging of PROGs to stage tree.
1487 .It Va WITH_STALE_STAGED
1488 Check staged files are not stale.
1494 .It Va WITHOUT_SVNLITE
1497 and related programs.
1498 .It Va WITHOUT_SYMVER
1499 Set to disable symbol versioning when building shared libraries.
1500 .It Va WITHOUT_SYSCONS
1503 support files such as keyboard maps, fonts, and screen output maps.
1505 Enable use of sysroot during build.
1507 .Va WITH_DIRDEPS_BUILD .
1509 This must be set in the environment, make command line, or
1510 .Pa /etc/src-env.conf ,
1513 .It Va WITHOUT_SYSTEM_COMPILER
1514 Set to not opportunistically skip building a cross-compiler during the
1515 bootstrap phase of the build.
1516 Normally, if the currently installed compiler matches the planned bootstrap
1517 compiler type and revision, then it will not be built.
1518 This does not prevent a compiler from being built for installation though,
1519 only for building one for the build itself.
1524 options control those.
1526 Set to not build or install
1530 .It Va WITHOUT_TCP_WRAPPERS
1531 Set to not build or install
1533 and related utilities.
1535 Set to not build and install
1539 .It Va WITHOUT_TELNET
1542 and related programs.
1543 .It Va WITHOUT_TESTS
1544 Set to not build nor install the
1551 This also disables the build of all test-related dependencies, including ATF.
1552 When set, it enforces these options:
1556 .Va WITHOUT_DTRACE_TESTS
1558 .Va WITHOUT_TESTS_SUPPORT
1560 .It Va WITHOUT_TESTS_SUPPORT
1561 Set to disables the build of all test-related dependencies, including ATF.
1562 .It Va WITHOUT_TEXTPROC
1564 programs used for text processing.
1565 When set, it enforces these options:
1572 Set to not build or install
1576 .It Va WITHOUT_TIMED
1577 Set to not build or install
1579 .It Va WITHOUT_TOOLCHAIN
1580 Set to not install header or
1581 programs used for program development,
1582 compilers, debuggers etc.
1583 When set, it enforces these options:
1587 .Va WITHOUT_BINUTILS
1591 .Va WITHOUT_CLANG_EXTRAS
1593 .Va WITHOUT_CLANG_FULL
1599 .Va WITHOUT_INCLUDES
1605 .It Va WITHOUT_UNBOUND
1608 and related programs.
1610 Set to not build USB-related programs and libraries.
1611 .It Va WITHOUT_USB_GADGET_EXAMPLES
1612 Set to not build USB gadget kernel modules.
1613 .It Va WITHOUT_UTMPX
1614 Set to not build user accounting tools such as
1623 Set to not build and install vi, view, ex and related programs.
1627 support files (fonts and keymaps).
1628 .It Va WITHOUT_WARNS
1629 Set this to not add warning flags to the compiler invocations.
1630 Useful as a temporary workaround when code enters the tree
1631 which triggers warnings in environments that differ from the
1633 .It Va WITHOUT_WIRELESS
1634 Set to not build programs used for 802.11 wireless networks; especially
1635 .Xr wpa_supplicant 8
1638 When set, it enforces these options:
1642 .Va WITHOUT_WIRELESS_SUPPORT
1644 .It Va WITHOUT_WIRELESS_SUPPORT
1645 Set to build libraries, programs, and kernel modules without
1646 802.11 wireless support.
1647 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1649 .Xr wpa_supplicant 8
1650 without support for the IEEE 802.1X protocol and without
1651 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1652 protocols (usable only via 802.1X).
1654 Set to not build ZFS file system.
1655 .It Va WITHOUT_ZONEINFO
1656 Set to not build the timezone database.
1657 When set, it enforces these options:
1661 .Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
1663 .Va WITHOUT_ZONEINFO_OLD_TIMEZONES_SUPPORT
1665 .It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
1666 Set to build leapsecond information in to the timezone database.
1667 .It Va WITH_ZONEINFO_OLD_TIMEZONES_SUPPORT
1668 Set to build backward compatibility timezone aliases in to the timezone
1672 .Bl -tag -compact -width Pa
1673 .It Pa /etc/src.conf
1674 .It Pa /etc/src-env.conf
1675 .It Pa /usr/share/mk/bsd.own.mk
1688 This manual page was autogenerated by
1689 .An tools/build/options/makeman .