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