xref: /freebsd/share/man/man5/src.conf.5 (revision 9af6c78cd43b18e169f10802142c61638bd62bed)
1.\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman.
2.\" $FreeBSD$
3.Dd November 20, 2019
4.Dt SRC.CONF 5
5.Os
6.Sh NAME
7.Nm src.conf
8.Nd "source build options"
9.Sh DESCRIPTION
10The
11.Nm
12file contains settings that will apply to every build involving the
13.Fx
14source tree; see
15.Xr build 7 .
16.Pp
17The
18.Nm
19file uses the standard makefile syntax.
20However,
21.Nm
22should not specify any dependencies to
23.Xr make 1 .
24Instead,
25.Nm
26is to set
27.Xr make 1
28variables that control the aspects of how the system builds.
29.Pp
30The default location of
31.Nm
32is
33.Pa /etc/src.conf ,
34though an alternative location can be specified in the
35.Xr make 1
36variable
37.Va SRCCONF .
38Overriding the location of
39.Nm
40may be necessary if the system-wide settings are not suitable
41for a particular build.
42For instance, setting
43.Va SRCCONF
44to
45.Pa /dev/null
46effectively resets all build controls to their defaults.
47.Pp
48The only purpose of
49.Nm
50is to control the compilation of the
51.Fx
52source code, which is usually located in
53.Pa /usr/src .
54As a rule, the system administrator creates
55.Nm
56when the values of certain control variables need to be changed
57from their defaults.
58.Pp
59In addition, control variables can be specified
60for a particular build via the
61.Fl D
62option of
63.Xr make 1
64or in its environment; see
65.Xr environ 7 .
66.Pp
67The environment of
68.Xr make 1
69for the build can be controlled via the
70.Va SRC_ENV_CONF
71variable, which defaults to
72.Pa /etc/src-env.conf .
73Some examples that may only be set in this file are
74.Va WITH_DIRDEPS_BUILD ,
75and
76.Va WITH_META_MODE ,
77and
78.Va MAKEOBJDIRPREFIX
79as they are environment-only variables.
80.Pp
81The values of variables are ignored regardless of their setting;
82even if they would be set to
83.Dq Li FALSE
84or
85.Dq Li NO .
86The presence of an option causes
87it to be honored by
88.Xr make 1 .
89.Pp
90This list provides a name and short description for variables
91that can be used for source builds.
92.Bl -tag -width indent
93.It Va WITHOUT_ACCT
94Set to not build process accounting tools such as
95.Xr accton 8
96and
97.Xr sa 8 .
98.It Va WITHOUT_ACPI
99Set to not build
100.Xr acpiconf 8 ,
101.Xr acpidump 8
102and related programs.
103.It Va WITH_AMD
104Set to build
105.Xr amd 8 ,
106and related programs.
107.It Va WITHOUT_APM
108Set to not build
109.Xr apm 8 ,
110.Xr apmd 8
111and related programs.
112.It Va WITHOUT_ASSERT_DEBUG
113Set to compile programs and libraries without the
114.Xr assert 3
115checks.
116.It Va WITHOUT_AT
117Set to not build
118.Xr at 1
119and related utilities.
120.It Va WITHOUT_ATM
121Set to not build
122programs and libraries related to ATM networking.
123.It Va WITHOUT_AUDIT
124Set to not build audit support into system programs.
125.It Va WITHOUT_AUTHPF
126Set to not build
127.Xr authpf 8 .
128.It Va WITHOUT_AUTOFS
129Set to not build
130.Xr autofs 5
131related programs, libraries, and kernel modules.
132.It Va WITHOUT_AUTO_OBJ
133Disable automatic creation of objdirs.
134This is enabled by default if the wanted OBJDIR is writable by the current user.
135.Pp
136This must be set in the environment, make command line, or
137.Pa /etc/src-env.conf ,
138not
139.Pa /etc/src.conf .
140.It Va WITH_BEARSSL
141Build the BearSSL library.
142.Pp
143BearSSL is a tiny SSL library suitable for embedded environments.
144For details see
145.Lk http://www.BearSSL.org/
146.Pp
147This library is currently only used to perform
148signature verification and related operations
149for Verified Exec and
150.Xr loader 8 .
151When set, these options are also in effect:
152.Pp
153.Bl -inset -compact
154.It Va WITH_LOADER_EFI_SECUREBOOT
155(unless
156.Va WITHOUT_LOADER_EFI_SECUREBOOT
157is set explicitly)
158.It Va WITH_LOADER_VERIEXEC
159(unless
160.Va WITHOUT_LOADER_VERIEXEC
161is set explicitly)
162.It Va WITH_VERIEXEC
163(unless
164.Va WITHOUT_VERIEXEC
165is set explicitly)
166.El
167.It Va WITHOUT_BHYVE
168Set to not build or install
169.Xr bhyve 8 ,
170associated utilities, and examples.
171.Pp
172This option only affects amd64/amd64.
173.It Va WITH_BIND_NOW
174Build all binaries with the
175.Dv DF_BIND_NOW
176flag set to indicate that the run-time loader should perform all relocation
177processing at process startup rather than on demand.
178.It Va WITHOUT_BINUTILS
179Set to not build or install GNU
180.Xr as 1 ,
181.Xr objdump 1 ,
182and for some CPU architectures
183.Xr ld.bfd 1
184as part
185of the normal system build.
186The resulting system cannot build programs from source.
187.Pp
188This is a default setting on
189arm64/aarch64 and riscv/riscv64.
190.It Va WITH_BINUTILS
191Set to build and install GNU
192.Xr as 1 ,
193.Xr objdump 1 ,
194and for some CPU architectures
195.Xr ld.bfd 1
196as part
197of the normal system build.
198.Pp
199This is a default setting on
200amd64/amd64, arm/armv6, arm/armv7, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64.
201.It Va WITHOUT_BINUTILS_BOOTSTRAP
202Set to not build binutils (as, ld, and objdump)
203as part of the bootstrap process.
204.Bf -symbolic
205The option does not work for build targets unless some alternative
206toolchain is provided.
207.Ef
208.Pp
209This is a default setting on
210arm64/aarch64 and riscv/riscv64.
211.It Va WITH_BINUTILS_BOOTSTRAP
212Set build binutils (as, ld, and objdump)
213as part of the bootstrap process.
214.Pp
215This is a default setting on
216amd64/amd64, arm/armv6, arm/armv7, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64.
217.It Va WITHOUT_BLACKLIST
218Set this if you do not want to build
219.Xr blacklistd 8
220and
221.Xr blacklistctl 8 .
222When set, these options are also in effect:
223.Pp
224.Bl -inset -compact
225.It Va WITHOUT_BLACKLIST_SUPPORT
226(unless
227.Va WITH_BLACKLIST_SUPPORT
228is set explicitly)
229.El
230.It Va WITHOUT_BLACKLIST_SUPPORT
231Set to build some programs without
232.Xr libblacklist 3
233support, like
234.Xr fingerd 8 ,
235.Xr ftpd 8 ,
236and
237.Xr sshd 8 .
238.It Va WITHOUT_BLUETOOTH
239Set to not build Bluetooth related kernel modules, programs and libraries.
240.It Va WITHOUT_BOOT
241Set to not build the boot blocks and loader.
242.It Va WITHOUT_BOOTPARAMD
243Set to not build or install
244.Xr bootparamd 8 .
245.It Va WITHOUT_BOOTPD
246Set to not build or install
247.Xr bootpd 8 .
248.It Va WITHOUT_BSDINSTALL
249Set to not build
250.Xr bsdinstall 8 ,
251.Xr sade 8 ,
252and related programs.
253.It Va WITHOUT_BSD_CPIO
254Set to not build the BSD licensed version of cpio based on
255.Xr libarchive 3 .
256.It Va WITHOUT_BSD_CRTBEGIN
257Disable the BSD licensed
258.Pa crtbegin.o
259and
260.Pa crtend.o .
261.Pp
262This is a default setting on
263sparc64/sparc64.
264.It Va WITH_BSD_CRTBEGIN
265Enable the BSD licensed
266.Pa crtbegin.o
267and
268.Pa crtend.o .
269.Pp
270This is a default setting on
271amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
272.It Va WITH_BSD_GREP
273Install BSD-licensed grep as '[ef]grep' instead of GNU grep.
274.It Va WITHOUT_BSNMP
275Set to not build or install
276.Xr bsnmpd 1
277and related libraries and data files.
278.It Va WITHOUT_BZIP2
279Set to not build contributed bzip2 software as a part of the base system.
280.Bf -symbolic
281The option has no effect yet.
282.Ef
283When set, these options are also in effect:
284.Pp
285.Bl -inset -compact
286.It Va WITHOUT_BZIP2_SUPPORT
287(unless
288.Va WITH_BZIP2_SUPPORT
289is set explicitly)
290.El
291.It Va WITHOUT_BZIP2_SUPPORT
292Set to build some programs without optional bzip2 support.
293.It Va WITHOUT_CALENDAR
294Set to not build
295.Xr calendar 1 .
296.It Va WITHOUT_CAPSICUM
297Set to not build Capsicum support into system programs.
298When set, it enforces these options:
299.Pp
300.Bl -item -compact
301.It
302.Va WITHOUT_CASPER
303.El
304.It Va WITHOUT_CAROOT
305Set to not add the trusted certificates from the Mozilla NSS bundle to
306base.
307.It Va WITHOUT_CASPER
308Set to not build Casper program and related libraries.
309.It Va WITH_CCACHE_BUILD
310Set to use
311.Xr ccache 1
312for the build.
313No configuration is required except to install the
314.Sy devel/ccache
315package.
316When using with
317.Xr distcc 1 ,
318set
319.Sy CCACHE_PREFIX=/usr/local/bin/distcc .
320The default cache directory of
321.Pa $HOME/.ccache
322will be used, which can be overridden by setting
323.Sy CCACHE_DIR .
324The
325.Sy CCACHE_COMPILERCHECK
326option defaults to
327.Sy content
328when using the in-tree bootstrap compiler,
329and
330.Sy mtime
331when using an external compiler.
332The
333.Sy CCACHE_CPP2
334option is used for Clang but not GCC.
335.Pp
336Sharing a cache between multiple work directories requires using a layout
337similar to
338.Pa /some/prefix/src
339.Pa /some/prefix/obj
340and an environment such as:
341.Bd -literal -offset indent
342CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
343.Ed
344.Pp
345See
346.Xr ccache 1
347for more configuration options.
348.It Va WITHOUT_CCD
349Set to not build
350.Xr geom_ccd 4
351and related utilities.
352.It Va WITHOUT_CDDL
353Set to not build code licensed under Sun's CDDL.
354When set, it enforces these options:
355.Pp
356.Bl -item -compact
357.It
358.Va WITHOUT_CTF
359.It
360.Va WITHOUT_LOADER_ZFS
361.It
362.Va WITHOUT_ZFS
363.El
364.It Va WITHOUT_CLANG
365Set to not build the Clang C/C++ compiler during the regular phase of the build.
366.Pp
367This is a default setting on
368sparc64/sparc64.
369When set, it enforces these options:
370.Pp
371.Bl -item -compact
372.It
373.Va WITHOUT_CLANG_EXTRAS
374.It
375.Va WITHOUT_CLANG_FULL
376.It
377.Va WITHOUT_LLVM_COV
378.El
379.Pp
380When set, these options are also in effect:
381.Pp
382.Bl -inset -compact
383.It Va WITHOUT_LLVM_TARGET_AARCH64
384(unless
385.Va WITH_LLVM_TARGET_AARCH64
386is set explicitly)
387.It Va WITHOUT_LLVM_TARGET_ALL
388(unless
389.Va WITH_LLVM_TARGET_ALL
390is set explicitly)
391.It Va WITHOUT_LLVM_TARGET_ARM
392(unless
393.Va WITH_LLVM_TARGET_ARM
394is set explicitly)
395.It Va WITHOUT_LLVM_TARGET_MIPS
396(unless
397.Va WITH_LLVM_TARGET_MIPS
398is set explicitly)
399.It Va WITHOUT_LLVM_TARGET_POWERPC
400(unless
401.Va WITH_LLVM_TARGET_POWERPC
402is set explicitly)
403.It Va WITHOUT_LLVM_TARGET_RISCV
404(unless
405.Va WITH_LLVM_TARGET_RISCV
406is set explicitly)
407.It Va WITHOUT_LLVM_TARGET_SPARC
408(unless
409.Va WITH_LLVM_TARGET_SPARC
410is set explicitly)
411.It Va WITHOUT_LLVM_TARGET_X86
412(unless
413.Va WITH_LLVM_TARGET_X86
414is set explicitly)
415.El
416.It Va WITH_CLANG
417Set to build the Clang C/C++ compiler during the normal phase of the build.
418.Pp
419This is a default setting on
420amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
421.It Va WITHOUT_CLANG_BOOTSTRAP
422Set to not build the Clang C/C++ compiler during the bootstrap phase of
423the build.
424To be able to build the system, either gcc or clang bootstrap must be
425enabled unless an alternate compiler is provided via XCC.
426.Pp
427This is a default setting on
428riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64.
429.It Va WITH_CLANG_BOOTSTRAP
430Set to build the Clang C/C++ compiler during the bootstrap phase of the build.
431.Pp
432This is a default setting on
433amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
434.It Va WITH_CLANG_EXTRAS
435Set to build additional clang and llvm tools, such as bugpoint and
436clang-format.
437.It Va WITHOUT_CLANG_FULL
438Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
439the Clang C/C++ compiler.
440.Pp
441This is a default setting on
442sparc64/sparc64.
443.It Va WITH_CLANG_FULL
444Set to build the ARCMigrate, Rewriter and StaticAnalyzer components of the
445Clang C/C++ compiler.
446.Pp
447This is a default setting on
448amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
449.It Va WITHOUT_CLANG_IS_CC
450Set to install the GCC compiler as
451.Pa /usr/bin/cc ,
452.Pa /usr/bin/c++
453and
454.Pa /usr/bin/cpp .
455.Pp
456This is a default setting on
457riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64.
458.It Va WITH_CLANG_IS_CC
459Set to install the Clang C/C++ compiler as
460.Pa /usr/bin/cc ,
461.Pa /usr/bin/c++
462and
463.Pa /usr/bin/cpp .
464.Pp
465This is a default setting on
466amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
467.It Va WITHOUT_CPP
468Set to not build
469.Xr cpp 1 .
470.It Va WITHOUT_CROSS_COMPILER
471Set to not build any cross compiler in the cross-tools stage of buildworld.
472When compiling a different version of
473.Fx
474than what is installed on the system, provide an alternate
475compiler with XCC to ensure success.
476When compiling with an identical version of
477.Fx
478to the host, this option may be safely used.
479This option may also be safe when the host version of
480.Fx
481is close to the sources being built, but all bets are off if there have
482been any changes to the toolchain between the versions.
483When set, it enforces these options:
484.Pp
485.Bl -item -compact
486.It
487.Va WITHOUT_BINUTILS_BOOTSTRAP
488.It
489.Va WITHOUT_CLANG_BOOTSTRAP
490.It
491.Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
492.It
493.Va WITHOUT_GCC_BOOTSTRAP
494.It
495.Va WITHOUT_LLD_BOOTSTRAP
496.El
497.It Va WITHOUT_CRYPT
498Set to not build any crypto code.
499When set, it enforces these options:
500.Pp
501.Bl -item -compact
502.It
503.Va WITHOUT_KERBEROS
504.It
505.Va WITHOUT_OPENSSH
506.It
507.Va WITHOUT_OPENSSL
508.El
509.Pp
510When set, these options are also in effect:
511.Pp
512.Bl -inset -compact
513.It Va WITHOUT_GSSAPI
514(unless
515.Va WITH_GSSAPI
516is set explicitly)
517.El
518.It Va WITH_CTF
519Set to compile with CTF (Compact C Type Format) data.
520CTF data encapsulates a reduced form of debugging information
521similar to DWARF and the venerable stabs and is required for DTrace.
522.It Va WITHOUT_CUSE
523Set to not build CUSE-related programs and libraries.
524.It Va WITHOUT_CXGBETOOL
525Set to not build
526.Xr cxgbetool 8
527.Pp
528This is a default setting on
529arm/armv6, arm/armv7, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
530.It Va WITH_CXGBETOOL
531Set to build
532.Xr cxgbetool 8
533.Pp
534This is a default setting on
535amd64/amd64, arm64/aarch64, i386/i386 and sparc64/sparc64.
536.It Va WITHOUT_CXX
537Set to not build
538.Xr c++ 1
539and related libraries.
540It will also prevent building of
541.Xr gperf 1
542and
543.Xr devd 8 .
544When set, it enforces these options:
545.Pp
546.Bl -item -compact
547.It
548.Va WITHOUT_CLANG
549.It
550.Va WITHOUT_CLANG_EXTRAS
551.It
552.Va WITHOUT_CLANG_FULL
553.It
554.Va WITHOUT_DTRACE_TESTS
555.It
556.Va WITHOUT_GNUCXX
557.It
558.Va WITHOUT_LLVM_COV
559.It
560.Va WITHOUT_TESTS
561.El
562.It Va WITHOUT_DEBUG_FILES
563Set to avoid building or installing standalone debug files for each
564executable binary and shared library.
565.It Va WITHOUT_DIALOG
566Set to not build
567.Xr dialog 1 ,
568.Xr dialog 3 ,
569.Xr dpv 1 ,
570and
571.Xr dpv 3 .
572When set, it enforces these options:
573.Pp
574.Bl -item -compact
575.It
576.Va WITHOUT_BSDINSTALL
577.El
578.It Va WITHOUT_DICT
579Set to not build the Webster dictionary files.
580.It Va WITH_DIRDEPS_BUILD
581This is an experimental build system.
582For details see
583http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
584Build commands can be seen from the top-level with:
585.Dl make show-valid-targets
586The build is driven by dirdeps.mk using
587.Va DIRDEPS
588stored in
589Makefile.depend files found in each directory.
590.Pp
591The build can be started from anywhere, and behaves the same.
592The initial instance of
593.Xr make 1
594recursively reads
595.Va DIRDEPS
596from
597.Pa Makefile.depend ,
598computing a graph of tree dependencies from the current origin.
599Setting
600.Va NO_DIRDEPS
601skips checking dirdep dependencies and will only build in the current
602and child directories.
603.Va NO_DIRDEPS_BELOW
604skips building any dirdeps and only build the current directory.
605.Pp
606This also utilizes the
607.Va WITH_META_MODE
608logic for incremental builds.
609.Pp
610The build hides commands executed unless
611.Va NO_SILENT
612is defined.
613.Pp
614Note that there is currently no mass install feature for this.
615.Pp
616When set, it enforces these options:
617.Pp
618.Bl -item -compact
619.It
620.Va WITH_INSTALL_AS_USER
621.El
622.Pp
623When set, these options are also in effect:
624.Pp
625.Bl -inset -compact
626.It Va WITH_META_MODE
627(unless
628.Va WITHOUT_META_MODE
629is set explicitly)
630.It Va WITH_STAGING
631(unless
632.Va WITHOUT_STAGING
633is set explicitly)
634.It Va WITH_STAGING_MAN
635(unless
636.Va WITHOUT_STAGING_MAN
637is set explicitly)
638.It Va WITH_STAGING_PROG
639(unless
640.Va WITHOUT_STAGING_PROG
641is set explicitly)
642.It Va WITH_SYSROOT
643(unless
644.Va WITHOUT_SYSROOT
645is set explicitly)
646.El
647.Pp
648This must be set in the environment, make command line, or
649.Pa /etc/src-env.conf ,
650not
651.Pa /etc/src.conf .
652.It Va WITH_DIRDEPS_CACHE
653Cache result of dirdeps.mk which can save significant time
654for subsequent builds.
655Depends on
656.Va WITH_DIRDEPS_BUILD .
657.Pp
658This must be set in the environment, make command line, or
659.Pa /etc/src-env.conf ,
660not
661.Pa /etc/src.conf .
662.It Va WITHOUT_DMAGENT
663Set to not build dma Mail Transport Agent.
664.It Va WITHOUT_DOCCOMPRESS
665Set to not install compressed system documentation.
666Only the uncompressed version will be installed.
667.It Va WITH_DTRACE_TESTS
668Set to build and install the DTrace test suite in
669.Pa /usr/tests/cddl/usr.sbin/dtrace .
670This test suite is considered experimental on architectures other than
671amd64/amd64 and running it may cause system instability.
672.It Va WITHOUT_DYNAMICROOT
673Set this if you do not want to link
674.Pa /bin
675and
676.Pa /sbin
677dynamically.
678.It Va WITHOUT_EE
679Set to not build and install
680.Xr edit 1 ,
681.Xr ee 1 ,
682and related programs.
683.It Va WITHOUT_EFI
684Set not to build
685.Xr efivar 3
686and
687.Xr efivar 8 .
688.Pp
689This is a default setting on
690riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64.
691.It Va WITH_EFI
692Set to build
693.Xr efivar 3
694and
695.Xr efivar 8 .
696.Pp
697This is a default setting on
698amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
699.It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
700Set to not build ELF Tool Chain tools
701(addr2line, nm, size, strings and strip)
702as part of the bootstrap process.
703.Bf -symbolic
704An alternate bootstrap tool chain must be provided.
705.Ef
706.It Va WITHOUT_EXAMPLES
707Set to avoid installing examples to
708.Pa /usr/share/examples/ .
709.It Va WITH_EXPERIMENTAL
710Set to include experimental features in the build.
711.It Va WITH_EXTRA_TCP_STACKS
712Set to build extra TCP stack modules.
713.It Va WITHOUT_FDT
714Set to not build Flattened Device Tree support as part of the base system.
715This includes the device tree compiler (dtc) and libfdt support library.
716.It Va WITHOUT_FILE
717Set to not build
718.Xr file 1
719and related programs.
720.It Va WITHOUT_FINGER
721Set to not build or install
722.Xr finger 1
723and
724.Xr fingerd 8 .
725.It Va WITHOUT_FLOPPY
726Set to not build or install programs
727for operating floppy disk driver.
728.It Va WITHOUT_FMTREE
729Set to not build and install
730.Pa /usr/sbin/fmtree .
731.It Va WITHOUT_FORMAT_EXTENSIONS
732Set to not enable
733.Fl fformat-extensions
734when compiling the kernel.
735Also disables all format checking.
736.It Va WITHOUT_FORTH
737Set to build bootloaders without Forth support.
738.It Va WITHOUT_FP_LIBC
739Set to build
740.Nm libc
741without floating-point support.
742.It Va WITHOUT_FREEBSD_UPDATE
743Set to not build
744.Xr freebsd-update 8 .
745.It Va WITHOUT_FTP
746Set to not build or install
747.Xr ftp 1
748and
749.Xr ftpd 8 .
750.It Va WITHOUT_GAMES
751Set to not build games.
752.It Va WITHOUT_GCC
753Set to not build and install gcc and g++ as part of the normal build process.
754.Pp
755This is a default setting on
756amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386 and riscv/riscv64.
757.It Va WITH_GCC
758Set to build and install gcc and g++.
759.Pp
760This is a default setting on
761mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64.
762.It Va WITHOUT_GCC_BOOTSTRAP
763Set to not build gcc and g++ as part of the bootstrap process.
764You must enable either gcc or clang bootstrap to be able to build the system,
765unless an alternative compiler is provided via
766XCC.
767.Pp
768This is a default setting on
769amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386 and riscv/riscv64.
770.It Va WITH_GCC_BOOTSTRAP
771Set to build gcc and g++ as part of the bootstrap process.
772.Pp
773This is a default setting on
774mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64.
775.It Va WITHOUT_GCOV
776Set to not build the
777.Xr gcov 1
778tool.
779.It Va WITHOUT_GDB
780Set to not build
781.Xr gdb 1 .
782.Pp
783This is a default setting on
784arm64/aarch64 and riscv/riscv64.
785.It Va WITH_GDB
786Set to build
787.Xr gdb 1 .
788.Pp
789This is a default setting on
790amd64/amd64, arm/armv6, arm/armv7, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64.
791.It Va WITHOUT_GDB_LIBEXEC
792Set to install
793.Xr gdb 1
794into
795.Pa /usr/bin .
796.Pp
797This is a default setting on
798sparc64/sparc64.
799.It Va WITH_GDB_LIBEXEC
800Set to install
801.Xr gdb 1
802into
803.Pa /usr/libexec .
804This permits
805.Xr gdb 1
806to be used as a fallback for
807.Xr crashinfo 8
808if a newer version is not installed.
809.Pp
810This is a default setting on
811amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
812.It Va WITHOUT_GNUCXX
813Do not build the GNU C++ stack (g++, libstdc++).
814This is the default on platforms where clang is the system compiler.
815.Pp
816This is a default setting on
817amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
818.It Va WITH_GNUCXX
819Build the GNU C++ stack (g++, libstdc++).
820This is the default on platforms where gcc is the system compiler.
821.Pp
822This is a default setting on
823riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64.
824.It Va WITHOUT_GNU_DIFF
825Set to not build GNU
826.Xr diff 1
827and
828.Xr diff3 1 .
829.It Va WITHOUT_GNU_GREP
830Set to not build GNU
831.Xr grep 1 .
832.It Va WITH_GNU_GREP_COMPAT
833Set this option to include GNU extensions in
834.Xr bsdgrep 1
835by linking against libgnuregex.
836.It Va WITHOUT_GOOGLETEST
837Set to neither build nor install
838.Lb libgmock ,
839.Lb libgtest ,
840and dependent tests.
841.Pp
842This is a default setting on
843mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
844.It Va WITH_GOOGLETEST
845Set to build and install
846.Lb libgmock ,
847.Lb libgtest ,
848and dependent tests.
849.Pp
850This is a default setting on
851amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and sparc64/sparc64.
852.It Va WITHOUT_GPIO
853Set to not build
854.Xr gpioctl 8
855as part of the base system.
856.It Va WITHOUT_GPL_DTC
857Set to build the BSD licensed version of the device tree compiler rather
858than the GPLed one from elinux.org.
859.Pp
860This is a default setting on
861amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
862.It Va WITH_GPL_DTC
863Set to build the GPL'd version of the device tree compiler from elinux.org,
864instead of the BSD licensed one.
865.Pp
866This is a default setting on
867riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64.
868.It Va WITHOUT_GSSAPI
869Set to not build libgssapi.
870.It Va WITHOUT_HAST
871Set to not build
872.Xr hastd 8
873and related utilities.
874.It Va WITH_HESIOD
875Set to build Hesiod support.
876.It Va WITHOUT_HTML
877Set to not build HTML docs.
878.It Va WITH_HTTPD
879Set to build and install httpd
880.It Va WITHOUT_HYPERV
881Set to not build or install HyperV utilities.
882.Pp
883This is a default setting on
884arm/armv6, arm/armv7, arm64/aarch64, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64.
885.It Va WITH_HYPERV
886Set to build or install HyperV utilities.
887.Pp
888This is a default setting on
889amd64/amd64 and i386/i386.
890.It Va WITHOUT_ICONV
891Set to not build iconv as part of libc.
892.It Va WITHOUT_INCLUDES
893Set to not install header files.
894This option used to be spelled
895.Va NO_INCS .
896.Bf -symbolic
897The option does not work for build targets.
898.Ef
899.It Va WITHOUT_INET
900Set to not build programs and libraries related to IPv4 networking.
901When set, it enforces these options:
902.Pp
903.Bl -item -compact
904.It
905.Va WITHOUT_INET_SUPPORT
906.El
907.It Va WITHOUT_INET6
908Set to not build
909programs and libraries related to IPv6 networking.
910When set, it enforces these options:
911.Pp
912.Bl -item -compact
913.It
914.Va WITHOUT_INET6_SUPPORT
915.El
916.It Va WITHOUT_INET6_SUPPORT
917Set to build libraries, programs, and kernel modules without IPv6 support.
918.It Va WITHOUT_INETD
919Set to not build
920.Xr inetd 8 .
921.It Va WITHOUT_INET_SUPPORT
922Set to build libraries, programs, and kernel modules without IPv4 support.
923.It Va WITHOUT_INSTALLLIB
924Set this to not install optional libraries.
925For example, when creating a
926.Xr nanobsd 8
927image.
928.Bf -symbolic
929The option does not work for build targets.
930.Ef
931.It Va WITH_INSTALL_AS_USER
932Set to make install targets succeed for non-root users by installing
933files with owner and group attributes set to that of the user running
934the
935.Xr make 1
936command.
937The user still must set the
938.Va DESTDIR
939variable to point to a directory where the user has write permissions.
940.It Va WITHOUT_IPFILTER
941Set to not build IP Filter package.
942.It Va WITHOUT_IPFW
943Set to not build IPFW tools.
944.It Va WITHOUT_IPSEC_SUPPORT
945Set to not build the kernel with
946.Xr ipsec 4
947support.
948This option is needed for
949.Xr ipsec 4
950and
951.Xr tcpmd5 4 .
952.It Va WITHOUT_ISCSI
953Set to not build
954.Xr iscsid 8
955and related utilities.
956.It Va WITHOUT_JAIL
957Set to not build tools for the support of jails; e.g.,
958.Xr jail 8 .
959.It Va WITHOUT_KDUMP
960Set to not build
961.Xr kdump 1
962and
963.Xr truss 1 .
964.It Va WITHOUT_KERBEROS
965Set this to not build Kerberos 5 (KTH Heimdal).
966When set, these options are also in effect:
967.Pp
968.Bl -inset -compact
969.It Va WITHOUT_GSSAPI
970(unless
971.Va WITH_GSSAPI
972is set explicitly)
973.It Va WITHOUT_KERBEROS_SUPPORT
974(unless
975.Va WITH_KERBEROS_SUPPORT
976is set explicitly)
977.El
978.It Va WITHOUT_KERBEROS_SUPPORT
979Set to build some programs without Kerberos support, like
980.Xr ssh 1 ,
981.Xr telnet 1 ,
982.Xr sshd 8 ,
983and
984.Xr telnetd 8 .
985.It Va WITH_KERNEL_RETPOLINE
986Set to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel
987build.
988.It Va WITHOUT_KERNEL_SYMBOLS
989Set to not install kernel symbol files.
990.Bf -symbolic
991This option is recommended for those people who have small root partitions.
992.Ef
993.It Va WITHOUT_KVM
994Set to not build the
995.Nm libkvm
996library as a part of the base system.
997.Bf -symbolic
998The option has no effect yet.
999.Ef
1000When set, these options are also in effect:
1001.Pp
1002.Bl -inset -compact
1003.It Va WITHOUT_KVM_SUPPORT
1004(unless
1005.Va WITH_KVM_SUPPORT
1006is set explicitly)
1007.El
1008.It Va WITHOUT_KVM_SUPPORT
1009Set to build some programs without optional
1010.Nm libkvm
1011support.
1012.It Va WITHOUT_LDNS
1013Setting this variable will prevent the LDNS library from being built.
1014When set, it enforces these options:
1015.Pp
1016.Bl -item -compact
1017.It
1018.Va WITHOUT_LDNS_UTILS
1019.It
1020.Va WITHOUT_UNBOUND
1021.El
1022.It Va WITHOUT_LDNS_UTILS
1023Setting this variable will prevent building the LDNS utilities
1024.Xr drill 1
1025and
1026.Xr host 1 .
1027.It Va WITHOUT_LEGACY_CONSOLE
1028Set to not build programs that support a legacy PC console; e.g.,
1029.Xr kbdcontrol 1
1030and
1031.Xr vidcontrol 1 .
1032.It Va WITHOUT_LIB32
1033On 64-bit platforms, set to not build 32-bit library set and a
1034.Nm ld-elf32.so.1
1035runtime linker.
1036.Pp
1037This is a default setting on
1038arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64, mips/mipsel, mips/mips, mips/mipsn32, mips/mipselhf, mips/mipshf and sparc64/sparc64.
1039.It Va WITHOUT_LIBCPLUSPLUS
1040Set to avoid building libcxxrt and libc++.
1041.It Va WITHOUT_LIBPTHREAD
1042Set to not build the
1043.Nm libpthread
1044providing library,
1045.Nm libthr .
1046When set, it enforces these options:
1047.Pp
1048.Bl -item -compact
1049.It
1050.Va WITHOUT_LIBTHR
1051.El
1052.It Va WITH_LIBSOFT
1053On armv6 only, set to enable soft float ABI compatibility libraries.
1054This option is for transitioning to the new hard float ABI.
1055.It Va WITHOUT_LIBTHR
1056Set to not build the
1057.Nm libthr
1058(1:1 threading)
1059library.
1060.It Va WITHOUT_LLD
1061Set to not build LLVM's lld linker.
1062.Pp
1063This is a default setting on
1064sparc64/sparc64.
1065.It Va WITH_LLD
1066Set to build LLVM's lld linker.
1067.Pp
1068This is a default setting on
1069amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1070.It Va WITHOUT_LLDB
1071Set to not build the LLDB debugger.
1072.Pp
1073This is a default setting on
1074arm/armv6, arm/armv7, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64.
1075.It Va WITH_LLDB
1076Set to build the LLDB debugger.
1077.Pp
1078This is a default setting on
1079amd64/amd64, arm64/aarch64 and i386/i386.
1080.It Va WITHOUT_LLD_BOOTSTRAP
1081Set to not build the LLD linker during the bootstrap phase of
1082the build.
1083To be able to build the system, either Binutils or LLD bootstrap must be
1084enabled unless an alternate linker is provided via XLD.
1085.Pp
1086This is a default setting on
1087riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64.
1088.It Va WITH_LLD_BOOTSTRAP
1089Set to build the LLD linker during the bootstrap phase of the build,
1090and use it during buildworld and buildkernel.
1091.Pp
1092This is a default setting on
1093amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
1094.It Va WITHOUT_LLD_IS_LD
1095Set to use GNU binutils ld as the system linker, instead of LLVM's LLD.
1096.Pp
1097This is a default setting on
1098riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64.
1099.It Va WITH_LLD_IS_LD
1100Set to use LLVM's LLD as the system linker, instead of GNU binutils ld.
1101.Pp
1102This is a default setting on
1103amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
1104.It Va WITHOUT_LLVM_COV
1105Set to not build the
1106.Xr llvm-cov 1
1107tool.
1108.Pp
1109This is a default setting on
1110sparc64/sparc64.
1111.It Va WITH_LLVM_COV
1112Set to build the
1113.Xr llvm-cov 1
1114tool.
1115.Pp
1116This is a default setting on
1117amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1118.It Va WITHOUT_LLVM_LIBUNWIND
1119Set to use GCC's stack unwinder (instead of LLVM's libunwind).
1120.Pp
1121This is a default setting on
1122sparc64/sparc64.
1123.It Va WITH_LLVM_LIBUNWIND
1124Set to use LLVM's libunwind stack unwinder (instead of GCC's unwinder).
1125.Pp
1126This is a default setting on
1127amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1128.It Va WITHOUT_LLVM_TARGET_AARCH64
1129Set to not build LLVM target support for AArch64.
1130The
1131.Va LLVM_TARGET_ALL
1132option should be used rather than this in most cases.
1133.Pp
1134This is a default setting on
1135arm/armv6 and sparc64/sparc64.
1136.It Va WITH_LLVM_TARGET_AARCH64
1137Set to build LLVM target support for AArch64.
1138The
1139.Va LLVM_TARGET_ALL
1140option should be used rather than this in most cases.
1141.Pp
1142This is a default setting on
1143amd64/amd64, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1144.It Va WITHOUT_LLVM_TARGET_ALL
1145Set to only build the required LLVM target support.
1146This option is preferred to specific target support options.
1147.Pp
1148This is a default setting on
1149sparc64/sparc64.
1150When set, these options are also in effect:
1151.Pp
1152.Bl -inset -compact
1153.It Va WITHOUT_LLVM_TARGET_AARCH64
1154(unless
1155.Va WITH_LLVM_TARGET_AARCH64
1156is set explicitly)
1157.It Va WITHOUT_LLVM_TARGET_ARM
1158(unless
1159.Va WITH_LLVM_TARGET_ARM
1160is set explicitly)
1161.It Va WITHOUT_LLVM_TARGET_MIPS
1162(unless
1163.Va WITH_LLVM_TARGET_MIPS
1164is set explicitly)
1165.It Va WITHOUT_LLVM_TARGET_POWERPC
1166(unless
1167.Va WITH_LLVM_TARGET_POWERPC
1168is set explicitly)
1169.It Va WITHOUT_LLVM_TARGET_RISCV
1170(unless
1171.Va WITH_LLVM_TARGET_RISCV
1172is set explicitly)
1173.It Va WITHOUT_LLVM_TARGET_SPARC
1174(unless
1175.Va WITH_LLVM_TARGET_SPARC
1176is set explicitly)
1177.El
1178.It Va WITH_LLVM_TARGET_ALL
1179Set to build support for all LLVM targets.
1180This option is always applied to the bootstrap compiler for buildworld when
1181LLVM is used.
1182.Pp
1183This is a default setting on
1184amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1185.It Va WITHOUT_LLVM_TARGET_ARM
1186Set to not build LLVM target support for ARM.
1187The
1188.Va LLVM_TARGET_ALL
1189option should be used rather than this in most cases.
1190.Pp
1191This is a default setting on
1192sparc64/sparc64.
1193.It Va WITH_LLVM_TARGET_ARM
1194Set to build LLVM target support for ARM.
1195The
1196.Va LLVM_TARGET_ALL
1197option should be used rather than this in most cases.
1198.Pp
1199This is a default setting on
1200amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1201.It Va WITH_LLVM_TARGET_BPF
1202Set to build LLVM target support for BPF.
1203The
1204.Va LLVM_TARGET_ALL
1205option should be used rather than this in most cases.
1206.It Va WITHOUT_LLVM_TARGET_MIPS
1207Set to not build LLVM target support for MIPS.
1208The
1209.Va LLVM_TARGET_ALL
1210option should be used rather than this in most cases.
1211.Pp
1212This is a default setting on
1213arm/armv6 and sparc64/sparc64.
1214.It Va WITH_LLVM_TARGET_MIPS
1215Set to build LLVM target support for MIPS.
1216The
1217.Va LLVM_TARGET_ALL
1218option should be used rather than this in most cases.
1219.Pp
1220This is a default setting on
1221amd64/amd64, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1222.It Va WITHOUT_LLVM_TARGET_POWERPC
1223Set to not build LLVM target support for PowerPC.
1224The
1225.Va LLVM_TARGET_ALL
1226option should be used rather than this in most cases.
1227.Pp
1228This is a default setting on
1229arm/armv6 and sparc64/sparc64.
1230.It Va WITH_LLVM_TARGET_POWERPC
1231Set to build LLVM target support for PowerPC.
1232The
1233.Va LLVM_TARGET_ALL
1234option should be used rather than this in most cases.
1235.Pp
1236This is a default setting on
1237amd64/amd64, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1238.It Va WITHOUT_LLVM_TARGET_RISCV
1239Set to not build LLVM target support for RISC-V.
1240The
1241.Va LLVM_TARGET_ALL
1242option should be used rather than this in most cases.
1243.Pp
1244This is a default setting on
1245arm/armv6 and sparc64/sparc64.
1246.It Va WITH_LLVM_TARGET_RISCV
1247Set to build LLVM target support for RISC-V.
1248The
1249.Va LLVM_TARGET_ALL
1250option should be used rather than this in most cases.
1251.Pp
1252This is a default setting on
1253amd64/amd64, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1254.It Va WITHOUT_LLVM_TARGET_SPARC
1255Set to not build LLVM target support for SPARC.
1256The
1257.Va LLVM_TARGET_ALL
1258option should be used rather than this in most cases.
1259.Pp
1260This is a default setting on
1261arm/armv6 and sparc64/sparc64.
1262.It Va WITH_LLVM_TARGET_SPARC
1263Set to build LLVM target support for SPARC.
1264The
1265.Va LLVM_TARGET_ALL
1266option should be used rather than this in most cases.
1267.Pp
1268This is a default setting on
1269amd64/amd64, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1270.It Va WITHOUT_LLVM_TARGET_X86
1271Set to not build LLVM target support for X86.
1272The
1273.Va LLVM_TARGET_ALL
1274option should be used rather than this in most cases.
1275.Pp
1276This is a default setting on
1277arm/armv6 and sparc64/sparc64.
1278.It Va WITH_LLVM_TARGET_X86
1279Set to build LLVM target support for X86.
1280The
1281.Va LLVM_TARGET_ALL
1282option should be used rather than this in most cases.
1283.Pp
1284This is a default setting on
1285amd64/amd64, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1286.It Va WITH_LOADER_EFI_SECUREBOOT
1287Enable building
1288.Xr loader 8
1289with support for verification based on certificates obtained from UEFI.
1290.Pp
1291.It Va WITH_LOADER_FIREWIRE
1292Enable firewire support in /boot/loader on x86. This option is a nop
1293on all other platforms.
1294.It Va WITH_LOADER_FORCE_LE
1295Set to force the powerpc boot loader to launch the kernel in little
1296endian mode.
1297.It Va WITHOUT_LOADER_GELI
1298Disable inclusion of GELI crypto support in the boot chain binaries.
1299.Pp
1300This is a default setting on
1301sparc64/sparc64.
1302.It Va WITH_LOADER_GELI
1303Set to build GELI bootloader support.
1304.Pp
1305This is a default setting on
1306amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1307.It Va WITHOUT_LOADER_LUA
1308Set to not build LUA bindings for the boot loader.
1309.Pp
1310This is a default setting on
1311sparc64/sparc64.
1312.It Va WITH_LOADER_LUA
1313Set to build LUA bindings for the boot loader.
1314.Pp
1315This is a default setting on
1316amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1317.It Va WITHOUT_LOADER_OFW
1318Disable building of openfirmware bootloader components.
1319.Pp
1320This is a default setting on
1321amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1322.It Va WITH_LOADER_OFW
1323Set to build openfirmware bootloader components.
1324.Pp
1325This is a default setting on
1326sparc64/sparc64.
1327.It Va WITHOUT_LOADER_UBOOT
1328Disable building of ubldr.
1329.Pp
1330This is a default setting on
1331amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and sparc64/sparc64.
1332.It Va WITH_LOADER_UBOOT
1333Set to build ubldr.
1334.Pp
1335This is a default setting on
1336arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1337.It Va WITH_LOADER_VERBOSE
1338Set to build with extra verbose debugging in the loader.
1339May explode already nearly too large loader over the limit.
1340Use with care.
1341
1342.It Va WITH_LOADER_VERIEXEC
1343Enable building
1344.Xr loader 8
1345with support for verification similar to Verified Exec.
1346.Pp
1347Depends on
1348.Va WITH_BEARSSL .
1349When set, these options are also in effect:
1350.Pp
1351.Bl -inset -compact
1352.It Va WITH_LOADER_EFI_SECUREBOOT
1353(unless
1354.Va WITHOUT_LOADER_EFI_SECUREBOOT
1355is set explicitly)
1356.El
1357.It Va WITH_LOADER_VERIEXEC_PASS_MANIFEST
1358Enable building
1359.Xr loader 8
1360with support to pass a verified manifest to the kernel.
1361The kernel has to be built with a module to parse the manifest.
1362.Pp
1363Depends on
1364.Va WITH_LOADER_VERIEXEC .
1365.It Va WITHOUT_LOADER_ZFS
1366Set to not build ZFS file system boot loader support.
1367.It Va WITHOUT_LOCALES
1368Set to not build localization files; see
1369.Xr locale 1 .
1370.It Va WITHOUT_LOCATE
1371Set to not build
1372.Xr locate 1
1373and related programs.
1374.It Va WITHOUT_LPR
1375Set to not build
1376.Xr lpr 1
1377and related programs.
1378.It Va WITHOUT_LS_COLORS
1379Set to build
1380.Xr ls 1
1381without support for colors to distinguish file types.
1382.It Va WITHOUT_LZMA_SUPPORT
1383Set to build some programs without optional lzma compression support.
1384.It Va WITHOUT_MAIL
1385Set to not build any mail support (MUA or MTA).
1386When set, it enforces these options:
1387.Pp
1388.Bl -item -compact
1389.It
1390.Va WITHOUT_DMAGENT
1391.It
1392.Va WITHOUT_MAILWRAPPER
1393.It
1394.Va WITHOUT_SENDMAIL
1395.El
1396.It Va WITHOUT_MAILWRAPPER
1397Set to not build the
1398.Xr mailwrapper 8
1399MTA selector.
1400.It Va WITHOUT_MAKE
1401Set to not install
1402.Xr make 1
1403and related support files.
1404.It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
1405Set to not execute
1406.Dq Li "make check"
1407in limited sandbox mode.
1408This option should be paired with
1409.Va WITH_INSTALL_AS_USER
1410if executed as an unprivileged user.
1411See
1412.Xr tests 7
1413for more details.
1414.It Va WITHOUT_MAN
1415Set to not build manual pages.
1416When set, these options are also in effect:
1417.Pp
1418.Bl -inset -compact
1419.It Va WITHOUT_MAN_UTILS
1420(unless
1421.Va WITH_MAN_UTILS
1422is set explicitly)
1423.El
1424.It Va WITHOUT_MANCOMPRESS
1425Set to not to install compressed man pages.
1426Only the uncompressed versions will be installed.
1427.It Va WITHOUT_MAN_UTILS
1428Set to not build utilities for manual pages,
1429.Xr apropos 1 ,
1430.Xr makewhatis 1 ,
1431.Xr man 1 ,
1432.Xr whatis 1 ,
1433.Xr manctl 8 ,
1434and related support files.
1435.It Va WITH_META_MODE
1436Create
1437.Xr make 1
1438meta files when building, which can provide a reliable incremental build when
1439using
1440.Xr filemon 4 .
1441The meta file is created in OBJDIR as
1442.Pa target.meta .
1443These meta files track the command that was executed, its output, and the
1444current directory.
1445The
1446.Xr filemon 4
1447module is required unless
1448.Va NO_FILEMON
1449is defined.
1450When the module is loaded, any files used by the commands executed are
1451tracked as dependencies for the target in its meta file.
1452The target is considered out-of-date and rebuilt if any of these
1453conditions are true compared to the last build:
1454.Bl -bullet -compact
1455.It
1456The command to execute changes.
1457.It
1458The current working directory changes.
1459.It
1460The target's meta file is missing.
1461.It
1462The target's meta file is missing filemon data when filemon is loaded
1463and a previous run did not have it loaded.
1464.It
1465[requires
1466.Xr filemon 4 ]
1467Files read, executed or linked to are newer than the target.
1468.It
1469[requires
1470.Xr filemon 4 ]
1471Files read, written, executed or linked are missing.
1472.El
1473The meta files can also be useful for debugging.
1474.Pp
1475The build hides commands that are executed unless
1476.Va NO_SILENT
1477is defined.
1478Errors cause
1479.Xr make 1
1480to show some of its environment for further debugging.
1481.Pp
1482The build operates as it normally would otherwise.
1483This option originally invoked a different build system but that was renamed
1484to
1485.Va WITH_DIRDEPS_BUILD .
1486.Pp
1487This must be set in the environment, make command line, or
1488.Pa /etc/src-env.conf ,
1489not
1490.Pa /etc/src.conf .
1491.It Va WITHOUT_MLX5TOOL
1492Set to not build
1493.Xr mlx5tool 8
1494.Pp
1495This is a default setting on
1496arm/armv6, arm/armv7, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1497.It Va WITH_MLX5TOOL
1498Set to build
1499.Xr mlx5tool 8
1500.Pp
1501This is a default setting on
1502amd64/amd64, arm64/aarch64, i386/i386 and sparc64/sparc64.
1503.It Va WITHOUT_NDIS
1504Set to not build programs and libraries
1505related to NDIS emulation support.
1506.It Va WITHOUT_NETCAT
1507Set to not build
1508.Xr nc 1
1509utility.
1510.It Va WITHOUT_NETGRAPH
1511Set to not build applications to support
1512.Xr netgraph 4 .
1513When set, it enforces these options:
1514.Pp
1515.Bl -item -compact
1516.It
1517.Va WITHOUT_ATM
1518.It
1519.Va WITHOUT_BLUETOOTH
1520.El
1521.Pp
1522When set, these options are also in effect:
1523.Pp
1524.Bl -inset -compact
1525.It Va WITHOUT_NETGRAPH_SUPPORT
1526(unless
1527.Va WITH_NETGRAPH_SUPPORT
1528is set explicitly)
1529.El
1530.It Va WITHOUT_NETGRAPH_SUPPORT
1531Set to build libraries, programs, and kernel modules without netgraph support.
1532.It Va WITHOUT_NIS
1533Set to not build
1534.Xr NIS 8
1535support and related programs.
1536If set, you might need to adopt your
1537.Xr nsswitch.conf 5
1538and remove
1539.Sq nis
1540entries.
1541.It Va WITHOUT_NLS
1542Set to not build NLS catalogs.
1543When set, it enforces these options:
1544.Pp
1545.Bl -item -compact
1546.It
1547.Va WITHOUT_NLS_CATALOGS
1548.El
1549.It Va WITHOUT_NLS_CATALOGS
1550Set to not build NLS catalog support for
1551.Xr csh 1 .
1552.It Va WITHOUT_NS_CACHING
1553Set to disable name caching in the
1554.Pa nsswitch
1555subsystem.
1556The generic caching daemon,
1557.Xr nscd 8 ,
1558will not be built either if this option is set.
1559.It Va WITHOUT_NTP
1560Set to not build
1561.Xr ntpd 8
1562and related programs.
1563.It Va WITHOUT_NVME
1564Set to not build nvme related tools and kernel modules.
1565.Pp
1566This is a default setting on
1567arm/armv6, arm/armv7, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64.
1568.It Va WITH_NVME
1569Set to build nvme related tools and kernel modules.
1570
1571.Pp
1572This is a default setting on
1573amd64/amd64, arm64/aarch64 and i386/i386.
1574.It Va WITH_OFED
1575Set to build the
1576.Dq "OpenFabrics Enterprise Distribution"
1577Infiniband software stack.
1578.It Va WITH_OFED_EXTRA
1579Set to build the non-essential components of the
1580.Dq "OpenFabrics Enterprise Distribution"
1581Infiniband software stack, mostly examples.
1582.It Va WITH_OPENLDAP
1583Enable building openldap support for kerberos.
1584.It Va WITHOUT_OPENMP
1585Set to not build LLVM's OpenMP runtime.
1586.Pp
1587This is a default setting on
1588arm/armv6, arm/armv7, arm64/aarch64, riscv/riscv64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64.
1589.It Va WITH_OPENMP
1590Set to build LLVM's OpenMP runtime.
1591.Pp
1592This is a default setting on
1593amd64/amd64 and i386/i386.
1594.It Va WITHOUT_OPENSSH
1595Set to not build OpenSSH.
1596.It Va WITHOUT_OPENSSL
1597Set to not build OpenSSL.
1598When set, it enforces these options:
1599.Pp
1600.Bl -item -compact
1601.It
1602.Va WITHOUT_KERBEROS
1603.It
1604.Va WITHOUT_OPENSSH
1605.El
1606.Pp
1607When set, these options are also in effect:
1608.Pp
1609.Bl -inset -compact
1610.It Va WITHOUT_GSSAPI
1611(unless
1612.Va WITH_GSSAPI
1613is set explicitly)
1614.El
1615.It Va WITHOUT_PAM
1616Set to not build PAM library and modules.
1617.Bf -symbolic
1618This option is deprecated and does nothing.
1619.Ef
1620When set, these options are also in effect:
1621.Pp
1622.Bl -inset -compact
1623.It Va WITHOUT_PAM_SUPPORT
1624(unless
1625.Va WITH_PAM_SUPPORT
1626is set explicitly)
1627.El
1628.It Va WITHOUT_PAM_SUPPORT
1629Set to build some programs without PAM support, particularly
1630.Xr ftpd 8
1631and
1632.Xr ppp 8 .
1633.It Va WITHOUT_PF
1634Set to not build PF firewall package.
1635When set, it enforces these options:
1636.Pp
1637.Bl -item -compact
1638.It
1639.Va WITHOUT_AUTHPF
1640.El
1641.It Va WITH_PIE
1642Build dynamically linked binaries as
1643Position-Independent Executable (PIE).
1644.It Va WITHOUT_PKGBOOTSTRAP
1645Set to not build
1646.Xr pkg 7
1647bootstrap tool.
1648.It Va WITHOUT_PMC
1649Set to not build
1650.Xr pmccontrol 8
1651and related programs.
1652.It Va WITHOUT_PORTSNAP
1653Set to not build or install
1654.Xr portsnap 8
1655and related files.
1656When set, it enforces these options:
1657.Pp
1658.Bl -item -compact
1659.It
1660.Va WITHOUT_FREEBSD_UPDATE
1661.El
1662.It Va WITHOUT_PPP
1663Set to not build
1664.Xr ppp 8
1665and related programs.
1666.It Va WITHOUT_PROFILE
1667Set to not build profiled libraries for use with
1668.Xr gprof 8 .
1669.Pp
1670This is a default setting on
1671mips/mips64el, mips/mips64, mips/mips64elhf and mips/mips64hf.
1672.It Va WITH_PROFILE
1673Set to build profiled libraries for use with
1674.Xr gprof 8 .
1675.Pp
1676This is a default setting on
1677amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64, mips/mipsel, mips/mips, mips/mipsn32, mips/mipselhf, mips/mipshf and sparc64/sparc64.
1678.It Va WITHOUT_QUOTAS
1679Set to not build
1680.Xr quota 1
1681and related programs.
1682.It Va WITHOUT_RADIUS_SUPPORT
1683Set to not build radius support into various applications, like
1684.Xr pam_radius 8
1685and
1686.Xr ppp 8 .
1687.It Va WITH_RATELIMIT
1688Set to build the system with rate limit support.
1689.Pp
1690This makes
1691.Dv SO_MAX_PACING_RATE
1692effective in
1693.Xr getsockopt 2 ,
1694and
1695.Ar txrlimit
1696support in
1697.Xr ifconfig 8 ,
1698by proxy.
1699.It Va WITHOUT_RBOOTD
1700Set to not build or install
1701.Xr rbootd 8 .
1702.It Va WITH_REPRODUCIBLE_BUILD
1703Set to exclude build metadata (such as the build time, user, or host)
1704from the kernel, boot loaders, and uname output, so that builds produce
1705bit-for-bit identical output.
1706.It Va WITHOUT_RESCUE
1707Set to not build
1708.Xr rescue 8 .
1709.It Va WITH_RETPOLINE
1710Set to build the base system with the retpoline speculative execution
1711vulnerability mitigation for CVE-2017-5715.
1712.It Va WITHOUT_ROUTED
1713Set to not build
1714.Xr routed 8
1715utility.
1716.It Va WITH_RPCBIND_WARMSTART_SUPPORT
1717Set to build
1718.Xr rpcbind 8
1719with warmstart support.
1720.It Va WITHOUT_SENDMAIL
1721Set to not build
1722.Xr sendmail 8
1723and related programs.
1724.It Va WITHOUT_SERVICESDB
1725Set to not install
1726.Pa /var/db/services.db .
1727.It Va WITHOUT_SETUID_LOGIN
1728Set this to disable the installation of
1729.Xr login 1
1730as a set-user-ID root program.
1731.It Va WITHOUT_SHAREDOCS
1732Set to not build the
1733.Bx 4.4
1734legacy docs.
1735.It Va WITHOUT_SHARED_TOOLCHAIN
1736Set to build the toolchain binaries as statically linked executables.
1737The set includes
1738.Xr cc 1 ,
1739.Xr make 1
1740and necessary utilities like assembler, linker and library archive manager.
1741.It Va WITH_SORT_THREADS
1742Set to enable threads in
1743.Xr sort 1 .
1744.It Va WITHOUT_SOURCELESS
1745Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1746When set, it enforces these options:
1747.Pp
1748.Bl -item -compact
1749.It
1750.Va WITHOUT_SOURCELESS_HOST
1751.It
1752.Va WITHOUT_SOURCELESS_UCODE
1753.El
1754.It Va WITHOUT_SOURCELESS_HOST
1755Set to not build kernel modules that include sourceless native code for host CPU.
1756.It Va WITHOUT_SOURCELESS_UCODE
1757Set to not build kernel modules that include sourceless microcode.
1758.It Va WITHOUT_SSP
1759Set to not build world with propolice stack smashing protection.
1760.Pp
1761This is a default setting on
1762mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1763.It Va WITH_SSP
1764Set to build world with propolice stack smashing protection.
1765.Pp
1766This is a default setting on
1767amd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and sparc64/sparc64.
1768.It Va WITH_STAGING
1769Enable staging of files to a stage tree.
1770This can be best thought of as auto-install to
1771.Va DESTDIR
1772with some extra meta data to ensure dependencies can be tracked.
1773Depends on
1774.Va WITH_DIRDEPS_BUILD .
1775When set, these options are also in effect:
1776.Pp
1777.Bl -inset -compact
1778.It Va WITH_STAGING_MAN
1779(unless
1780.Va WITHOUT_STAGING_MAN
1781is set explicitly)
1782.It Va WITH_STAGING_PROG
1783(unless
1784.Va WITHOUT_STAGING_PROG
1785is set explicitly)
1786.El
1787.Pp
1788This must be set in the environment, make command line, or
1789.Pa /etc/src-env.conf ,
1790not
1791.Pa /etc/src.conf .
1792.It Va WITH_STAGING_MAN
1793Enable staging of man pages to stage tree.
1794.It Va WITH_STAGING_PROG
1795Enable staging of PROGs to stage tree.
1796.It Va WITH_STALE_STAGED
1797Check staged files are not stale.
1798.It Va WITHOUT_STATS
1799Set to neither build nor install
1800.Lb libstats
1801and dependent binaries.
1802.It Va WITH_SVN
1803Set to install
1804.Xr svnlite 1
1805as
1806.Xr svn 1 .
1807.It Va WITHOUT_SVNLITE
1808Set to not build
1809.Xr svnlite 1
1810and related programs.
1811.It Va WITHOUT_SYMVER
1812Set to disable symbol versioning when building shared libraries.
1813.It Va WITHOUT_SYSCONS
1814Set to not build
1815.Xr syscons 4
1816support files such as keyboard maps, fonts, and screen output maps.
1817.It Va WITH_SYSROOT
1818Enable use of sysroot during build.
1819Depends on
1820.Va WITH_DIRDEPS_BUILD .
1821.Pp
1822This must be set in the environment, make command line, or
1823.Pa /etc/src-env.conf ,
1824not
1825.Pa /etc/src.conf .
1826.It Va WITHOUT_SYSTEM_COMPILER
1827Set to not opportunistically skip building a cross-compiler during the
1828bootstrap phase of the build.
1829Normally, if the currently installed compiler matches the planned bootstrap
1830compiler type and revision, then it will not be built.
1831This does not prevent a compiler from being built for installation though,
1832only for building one for the build itself.
1833The
1834.Va WITHOUT_CLANG
1835and
1836.Va WITHOUT_GCC
1837options control those.
1838.It Va WITHOUT_SYSTEM_LINKER
1839Set to not opportunistically skip building a cross-linker during the
1840bootstrap phase of the build.
1841Normally, if the currently installed linker matches the planned bootstrap
1842linker type and revision, then it will not be built.
1843This does not prevent a linker from being built for installation though,
1844only for building one for the build itself.
1845The
1846.Va WITHOUT_LLD
1847and
1848.Va WITHOUT_BINUTILS
1849options control those.
1850.Pp
1851This option is only relevant when
1852.Va WITH_LLD_BOOTSTRAP
1853is set.
1854.It Va WITHOUT_TALK
1855Set to not build or install
1856.Xr talk 1
1857and
1858.Xr talkd 8 .
1859.It Va WITHOUT_TCP_WRAPPERS
1860Set to not build or install
1861.Xr tcpd 8 ,
1862and related utilities.
1863.It Va WITHOUT_TCSH
1864Set to not build and install
1865.Pa /bin/csh
1866(which is
1867.Xr tcsh 1 ) .
1868.It Va WITHOUT_TELNET
1869Set to not build
1870.Xr telnet 1
1871and related programs.
1872.It Va WITHOUT_TESTS
1873Set to not build nor install the
1874.Fx
1875Test Suite in
1876.Pa /usr/tests/ .
1877See
1878.Xr tests 7
1879for more details.
1880This also disables the build of all test-related dependencies, including ATF.
1881When set, it enforces these options:
1882.Pp
1883.Bl -item -compact
1884.It
1885.Va WITHOUT_DTRACE_TESTS
1886.El
1887.Pp
1888When set, these options are also in effect:
1889.Pp
1890.Bl -inset -compact
1891.It Va WITHOUT_GOOGLETEST
1892(unless
1893.Va WITH_GOOGLETEST
1894is set explicitly)
1895.It Va WITHOUT_TESTS_SUPPORT
1896(unless
1897.Va WITH_TESTS_SUPPORT
1898is set explicitly)
1899.El
1900.It Va WITHOUT_TESTS_SUPPORT
1901Set to disables the build of all test-related dependencies, including ATF.
1902When set, it enforces these options:
1903.Pp
1904.Bl -item -compact
1905.It
1906.Va WITHOUT_GOOGLETEST
1907.El
1908.It Va WITHOUT_TEXTPROC
1909Set to not build
1910programs used for text processing.
1911.It Va WITHOUT_TFTP
1912Set to not build or install
1913.Xr tftp 1
1914and
1915.Xr tftpd 8 .
1916.It Va WITHOUT_TOOLCHAIN
1917Set to not install header or
1918programs used for program development,
1919compilers, debuggers etc.
1920When set, it enforces these options:
1921.Pp
1922.Bl -item -compact
1923.It
1924.Va WITHOUT_BINUTILS
1925.It
1926.Va WITHOUT_CLANG
1927.It
1928.Va WITHOUT_CLANG_EXTRAS
1929.It
1930.Va WITHOUT_CLANG_FULL
1931.It
1932.Va WITHOUT_GCC
1933.It
1934.Va WITHOUT_GDB
1935.It
1936.Va WITHOUT_INCLUDES
1937.It
1938.Va WITHOUT_LLD
1939.It
1940.Va WITHOUT_LLDB
1941.It
1942.Va WITHOUT_LLVM_COV
1943.El
1944.It Va WITHOUT_UNBOUND
1945Set to not build
1946.Xr unbound 8
1947and related programs.
1948.It Va WITHOUT_UNIFIED_OBJDIR
1949Set to use the historical object directory format for
1950.Xr build 7
1951targets.
1952For native-builds and builds done directly in sub-directories the format of
1953.Pa ${MAKEOBJDIRPREFIX}/${.CURDIR}
1954is used,
1955while for cross-builds
1956.Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR}
1957is used.
1958.Pp
1959This option is transitional and will be removed before the 12.0 release,
1960at which time
1961.va WITH_UNIFIED_OBJDIR
1962will be enabled permanently.
1963.Pp
1964This must be set in the environment, make command line, or
1965.Pa /etc/src-env.conf ,
1966not
1967.Pa /etc/src.conf .
1968.It Va WITHOUT_USB
1969Set to not build USB-related programs and libraries.
1970.It Va WITHOUT_USB_GADGET_EXAMPLES
1971Set to not build USB gadget kernel modules.
1972.It Va WITHOUT_UTMPX
1973Set to not build user accounting tools such as
1974.Xr last 1 ,
1975.Xr users 1 ,
1976.Xr who 1 ,
1977.Xr ac 8 ,
1978.Xr lastlogin 8
1979and
1980.Xr utx 8 .
1981.It Va WITH_VERIEXEC
1982Enable building
1983.Xr veriexec 8
1984which loads the contents of verified manifests into the kernel
1985for use by
1986.Xr mac_veriexec 4
1987.Pp
1988Depends on
1989.Va WITH_BEARSSL .
1990.It Va WITHOUT_VI
1991Set to not build and install vi, view, ex and related programs.
1992.It Va WITHOUT_VT
1993Set to not build
1994.Xr vt 4
1995support files (fonts and keymaps).
1996.It Va WITHOUT_WARNS
1997Set this to not add warning flags to the compiler invocations.
1998Useful as a temporary workaround when code enters the tree
1999which triggers warnings in environments that differ from the
2000original developer.
2001.It Va WITHOUT_WIRELESS
2002Set to not build programs used for 802.11 wireless networks; especially
2003.Xr wpa_supplicant 8
2004and
2005.Xr hostapd 8 .
2006When set, these options are also in effect:
2007.Pp
2008.Bl -inset -compact
2009.It Va WITHOUT_WIRELESS_SUPPORT
2010(unless
2011.Va WITH_WIRELESS_SUPPORT
2012is set explicitly)
2013.El
2014.It Va WITHOUT_WIRELESS_SUPPORT
2015Set to build libraries, programs, and kernel modules without
2016802.11 wireless support.
2017.It Va WITHOUT_WPA_SUPPLICANT_EAPOL
2018Build
2019.Xr wpa_supplicant 8
2020without support for the IEEE 802.1X protocol and without
2021support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
2022protocols (usable only via 802.1X).
2023.It Va WITHOUT_ZFS
2024Set to not build ZFS file system kernel module, libraries, and user commands.
2025.It Va WITHOUT_ZONEINFO
2026Set to not build the timezone database.
2027When set, it enforces these options:
2028.Pp
2029.Bl -item -compact
2030.It
2031.Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
2032.It
2033.Va WITHOUT_ZONEINFO_OLD_TIMEZONES_SUPPORT
2034.El
2035.It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
2036Set to build leapsecond information in to the timezone database.
2037.It Va WITH_ZONEINFO_OLD_TIMEZONES_SUPPORT
2038Set to build backward compatibility timezone aliases in to the timezone
2039database.
2040.El
2041.Sh FILES
2042.Bl -tag -compact -width Pa
2043.It Pa /etc/src.conf
2044.It Pa /etc/src-env.conf
2045.It Pa /usr/share/mk/bsd.own.mk
2046.El
2047.Sh SEE ALSO
2048.Xr make 1 ,
2049.Xr make.conf 5 ,
2050.Xr build 7 ,
2051.Xr ports 7
2052.Sh HISTORY
2053The
2054.Nm
2055file appeared in
2056.Fx 7.0 .
2057.Sh AUTHORS
2058This manual page was autogenerated by
2059.An tools/build/options/makeman .
2060