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