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