xref: /freebsd/share/man/man5/src.conf.5 (revision 28ae63f9912c91407ad523be8eaa850b4359938e)
1.\" DO NOT EDIT-- this file is automatically generated.
2.\" $FreeBSD$
3.Dd April 10, 2017
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
77as they are environment-only variables.
78Note that
79.Va MAKEOBJDIRPREFIX
80may be set here only when using
81.Va WITH_DIRDEPS_BUILD .
82.Pp
83The values of variables are ignored regardless of their setting;
84even if they would be set to
85.Dq Li FALSE
86or
87.Dq Li NO .
88The presence of an option causes
89it to be honored by
90.Xr make 1 .
91.Pp
92This list provides a name and short description for variables
93that can be used for source builds.
94.Bl -tag -width indent
95.It Va WITHOUT_ACCT
96Set to not build process accounting tools such as
97.Xr accton 8
98and
99.Xr sa 8 .
100.It Va WITHOUT_ACPI
101Set to not build
102.Xr acpiconf 8 ,
103.Xr acpidump 8
104and related programs.
105.It Va WITHOUT_AMD
106Set to not build
107.Xr amd 8 ,
108and related programs.
109.It Va WITHOUT_APM
110Set to not build
111.Xr apm 8 ,
112.Xr apmd 8
113and related programs.
114.It Va WITHOUT_ASSERT_DEBUG
115Set to compile programs and libraries without the
116.Xr assert 3
117checks.
118.It Va WITHOUT_AT
119Set to not build
120.Xr at 1
121and related utilities.
122.It Va WITHOUT_ATM
123Set to not build
124programs and libraries related to ATM networking.
125.It Va WITHOUT_AUDIT
126Set to not build audit support into system programs.
127.It Va WITHOUT_AUTHPF
128Set to not build
129.Xr authpf 8 .
130.It Va WITHOUT_AUTOFS
131Set to not build
132.Xr autofs 5
133related programs, libraries, and kernel modules.
134.It Va WITH_AUTO_OBJ
135Enable automatic creation of objdirs.
136.Pp
137This must be set in the environment, make command line, or
138.Pa /etc/src-env.conf ,
139not
140.Pa /etc/src.conf .
141.It Va WITHOUT_BHYVE
142Set to not build or install
143.Xr bhyve 8 ,
144associated utilities, and examples.
145.Pp
146This option only affects amd64/amd64.
147.It Va WITHOUT_BINUTILS
148Set to not build or install binutils (as, ld, objcopy, and objdump ) as part
149of the normal system build.
150The resulting system cannot build programs from source.
151.Pp
152This is a default setting on
153arm64/aarch64.
154When set, it enforces these options:
155.Pp
156.Bl -item -compact
157.It
158.Va WITHOUT_GDB
159.El
160.It Va WITH_BINUTILS
161Set to build and install binutils (as, ld, objcopy, and objdump) as part
162of the normal system build.
163.Pp
164This is a default setting on
165amd64/amd64, arm/arm, arm/armeb, arm/armv6, 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.
166.It Va WITHOUT_BINUTILS_BOOTSTRAP
167Set to not build binutils (as, ld, objcopy and objdump)
168as part of the bootstrap process.
169.Bf -symbolic
170The option does not work for build targets unless some alternative
171toolchain is provided.
172.Ef
173.Pp
174This is a default setting on
175arm64/aarch64.
176.It Va WITH_BINUTILS_BOOTSTRAP
177Set build binutils (as, ld, objcopy and objdump)
178as part of the bootstrap process.
179.Pp
180This is a default setting on
181amd64/amd64, arm/arm, arm/armeb, arm/armv6, 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.
182.It Va WITHOUT_BLACKLIST
183Set this if you do not want to build blacklistd/blacklistctl.
184When set, it enforces these options:
185.Pp
186.Bl -item -compact
187.It
188.Va WITHOUT_BLACKLIST_SUPPORT
189.El
190.It Va WITHOUT_BLACKLIST_SUPPORT
191Set to build some programs without blacklistd support, like
192.Xr fingerd 8 ,
193.Xr ftpd 8 ,
194.Xr rlogind 8 ,
195.Xr rshd 8 ,
196and
197.Xr sshd 8 .
198.It Va WITHOUT_BLUETOOTH
199Set to not build Bluetooth related kernel modules, programs and libraries.
200.It Va WITHOUT_BOOT
201Set to not build the boot blocks and loader.
202.It Va WITHOUT_BOOTPARAMD
203Set to not build or install
204.Xr bootparamd 8 .
205.It Va WITHOUT_BOOTPD
206Set to not build or install
207.Xr bootpd 8 .
208.It Va WITHOUT_BSDINSTALL
209Set to not build
210.Xr bsdinstall 8 ,
211.Xr sade 8 ,
212and related programs.
213.It Va WITHOUT_BSD_CPIO
214Set to not build the BSD licensed version of cpio based on
215.Xr libarchive 3 .
216.It Va WITH_BSD_GREP
217Install BSD-licensed grep as '[ef]grep' instead of GNU grep.
218.It Va WITHOUT_BSNMP
219Set to not build or install
220.Xr bsnmpd 1
221and related libraries and data files.
222.It Va WITHOUT_BZIP2
223Set to not build contributed bzip2 software as a part of the base system.
224.Bf -symbolic
225The option has no effect yet.
226.Ef
227When set, it enforces these options:
228.Pp
229.Bl -item -compact
230.It
231.Va WITHOUT_BZIP2_SUPPORT
232.El
233.It Va WITHOUT_BZIP2_SUPPORT
234Set to build some programs without optional bzip2 support.
235.It Va WITHOUT_CALENDAR
236Set to not build
237.Xr calendar 1 .
238.It Va WITHOUT_CAPSICUM
239Set to not build Capsicum support into system programs.
240When set, it enforces these options:
241.Pp
242.Bl -item -compact
243.It
244.Va WITHOUT_CASPER
245.El
246.It Va WITHOUT_CASPER
247Set to not build Casper program and related libraries.
248.It Va WITH_CCACHE_BUILD
249Set to use
250.Xr ccache 1
251for the build.
252No configuration is required except to install the
253.Sy devel/ccache
254package.
255When using with
256.Xr distcc 1 ,
257set
258.Sy CCACHE_PREFIX=/usr/local/bin/distcc .
259The default cache directory of
260.Pa $HOME/.ccache
261will be used, which can be overridden by setting
262.Sy CCACHE_DIR .
263The
264.Sy CCACHE_COMPILERCHECK
265option defaults to
266.Sy content
267when using the in-tree bootstrap compiler,
268and
269.Sy mtime
270when using an external compiler.
271The
272.Sy CCACHE_CPP2
273option is used for Clang but not GCC.
274.Pp
275Sharing a cache between multiple work directories requires using a layout
276similar to
277.Pa /some/prefix/src
278.Pa /some/prefix/obj
279and an environment such as:
280.Bd -literal -offset indent
281CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
282.Ed
283.Pp
284See
285.Xr ccache 1
286for more configuration options.
287.It Va WITHOUT_CCD
288Set to not build
289.Xr geom_ccd 4
290and related utilities.
291.It Va WITHOUT_CDDL
292Set to not build code licensed under Sun's CDDL.
293When set, it enforces these options:
294.Pp
295.Bl -item -compact
296.It
297.Va WITHOUT_CTF
298.It
299.Va WITHOUT_ZFS
300.El
301.It Va WITHOUT_CLANG
302Set to not build the Clang C/C++ compiler during the regular phase of the build.
303.Pp
304This is a default setting on
305sparc64/sparc64.
306When set, it enforces these options:
307.Pp
308.Bl -item -compact
309.It
310.Va WITHOUT_CLANG_EXTRAS
311.It
312.Va WITHOUT_CLANG_FULL
313.El
314.It Va WITH_CLANG
315Set to build the Clang C/C++ compiler during the normal phase of the build.
316.Pp
317This is a default setting on
318amd64/amd64, arm/arm, arm/armeb, arm/armv6, 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.
319.It Va WITHOUT_CLANG_BOOTSTRAP
320Set to not build the Clang C/C++ compiler during the bootstrap phase of
321the build.
322To be able to build the system, either gcc or clang bootstrap must be
323enabled unless an alternate compiler is provided via XCC.
324.Pp
325This is a default setting on
326mips/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.
327.It Va WITH_CLANG_BOOTSTRAP
328Set to build the Clang C/C++ compiler during the bootstrap phase of the build.
329.Pp
330This is a default setting on
331amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
332.It Va WITH_CLANG_EXTRAS
333Set to build additional clang and llvm tools, such as bugpoint.
334.It Va WITHOUT_CLANG_FULL
335Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
336the Clang C/C++ compiler.
337.Pp
338This is a default setting on
339sparc64/sparc64.
340.It Va WITH_CLANG_FULL
341Set to build the ARCMigrate, Rewriter and StaticAnalyzer components of the
342Clang C/C++ compiler.
343.Pp
344This is a default setting on
345amd64/amd64, arm/arm, arm/armeb, arm/armv6, 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.
346.It Va WITHOUT_CLANG_IS_CC
347Set to install the GCC compiler as
348.Pa /usr/bin/cc ,
349.Pa /usr/bin/c++
350and
351.Pa /usr/bin/cpp .
352.Pp
353This is a default setting on
354mips/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.
355.It Va WITH_CLANG_IS_CC
356Set to install the Clang C/C++ compiler as
357.Pa /usr/bin/cc ,
358.Pa /usr/bin/c++
359and
360.Pa /usr/bin/cpp .
361.Pp
362This is a default setting on
363amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
364.It Va WITHOUT_CPP
365Set to not build
366.Xr cpp 1 .
367.It Va WITHOUT_CROSS_COMPILER
368Set to not build any cross compiler in the cross-tools stage of buildworld.
369When compiling a different version of
370.Fx
371than what is installed on the system, provide an alternate
372compiler with XCC to ensure success.
373When compiling with an identical version of
374.Fx
375to the host, this option may be safely used.
376This option may also be safe when the host version of
377.Fx
378is close to the sources being built, but all bets are off if there have
379been any changes to the toolchain between the versions.
380When set, it enforces these options:
381.Pp
382.Bl -item -compact
383.It
384.Va WITHOUT_BINUTILS_BOOTSTRAP
385.It
386.Va WITHOUT_CLANG_BOOTSTRAP
387.It
388.Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
389.It
390.Va WITHOUT_GCC_BOOTSTRAP
391.El
392.It Va WITHOUT_CRYPT
393Set to not build any crypto code.
394When set, it enforces these options:
395.Pp
396.Bl -item -compact
397.It
398.Va WITHOUT_KERBEROS
399.It
400.Va WITHOUT_KERBEROS_SUPPORT
401.It
402.Va WITHOUT_OPENSSH
403.It
404.Va WITHOUT_OPENSSL
405.El
406.Pp
407When set, these options are also in effect:
408.Pp
409.Bl -inset -compact
410.It Va WITHOUT_GSSAPI
411(unless
412.Va WITH_GSSAPI
413is set explicitly)
414.El
415.It Va WITH_CTF
416Set to compile with CTF (Compact C Type Format) data.
417CTF data encapsulates a reduced form of debugging information
418similar to DWARF and the venerable stabs and is required for DTrace.
419.It Va WITHOUT_CTM
420Set to not build
421.Xr ctm 1
422and related utilities.
423.It Va WITHOUT_CUSE
424Set to not build CUSE-related programs and libraries.
425.It Va WITHOUT_CXGBETOOL
426Set to not build
427.Xr cxgbetool 8
428.Pp
429This is a default setting on
430arm/arm, arm/armeb, arm/armv6, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc and powerpc/powerpcspe.
431.It Va WITH_CXGBETOOL
432Set to build
433.Xr cxgbetool 8
434.Pp
435This is a default setting on
436amd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64.
437.It Va WITHOUT_CXX
438Set to not build
439.Xr c++ 1
440and related libraries.
441It will also prevent building of
442.Xr gperf 1
443and
444.Xr devd 8 .
445When set, it enforces these options:
446.Pp
447.Bl -item -compact
448.It
449.Va WITHOUT_CLANG
450.It
451.Va WITHOUT_CLANG_EXTRAS
452.It
453.Va WITHOUT_CLANG_FULL
454.It
455.Va WITHOUT_DTRACE_TESTS
456.It
457.Va WITHOUT_GNUCXX
458.It
459.Va WITHOUT_GROFF
460.It
461.Va WITHOUT_TESTS
462.It
463.Va WITHOUT_TESTS_SUPPORT
464.El
465.It Va WITHOUT_DEBUG_FILES
466Set to avoid building or installing standalone debug files for each
467executable binary and shared library.
468.It Va WITHOUT_DIALOG
469Set to not build
470.Xr dialog 1 ,
471.Xr dialog 3 ,
472.Xr dpv 1 ,
473and
474.Xr dpv 3 .
475When set, it enforces these options:
476.Pp
477.Bl -item -compact
478.It
479.Va WITHOUT_BSDINSTALL
480.El
481.It Va WITHOUT_DICT
482Set to not build the Webster dictionary files.
483.It Va WITH_DIRDEPS_BUILD
484This is an experimental build system.
485For details see
486http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
487Build commands can be seen from the top-level with:
488.Dl make show-valid-targets
489The build is driven by dirdeps.mk using
490.Va DIRDEPS
491stored in
492Makefile.depend files found in each directory.
493.Pp
494The build can be started from anywhere, and behaves the same.
495The initial instance of
496.Xr make 1
497recursively reads
498.Va DIRDEPS
499from
500.Pa Makefile.depend ,
501computing a graph of tree dependencies from the current origin.
502Setting
503.Va NO_DIRDEPS
504skips checking dirdep dependencies and will only build in the current
505and child directories.
506.Va NO_DIRDEPS_BELOW
507skips building any dirdeps and only build the current directory.
508.Pp
509This also utilizes the
510.Va WITH_META_MODE
511logic for incremental builds.
512.Pp
513The build hides commands executed unless
514.Va NO_SILENT
515is defined.
516.Pp
517Note that there is currently no mass install feature for this.
518.Pp
519When set, it enforces these options:
520.Pp
521.Bl -item -compact
522.It
523.Va WITH_INSTALL_AS_USER
524.El
525.Pp
526When set, these options are also in effect:
527.Pp
528.Bl -inset -compact
529.It Va WITH_AUTO_OBJ
530(unless
531.Va WITHOUT_AUTO_OBJ
532is set explicitly)
533.It Va WITH_META_MODE
534(unless
535.Va WITHOUT_META_MODE
536is set explicitly)
537.It Va WITH_STAGING
538(unless
539.Va WITHOUT_STAGING
540is set explicitly)
541.It Va WITH_STAGING_MAN
542(unless
543.Va WITHOUT_STAGING_MAN
544is set explicitly)
545.It Va WITH_STAGING_PROG
546(unless
547.Va WITHOUT_STAGING_PROG
548is set explicitly)
549.It Va WITH_SYSROOT
550(unless
551.Va WITHOUT_SYSROOT
552is set explicitly)
553.El
554.Pp
555This must be set in the environment, make command line, or
556.Pa /etc/src-env.conf ,
557not
558.Pa /etc/src.conf .
559.It Va WITH_DIRDEPS_CACHE
560Cache result of dirdeps.mk which can save significant time
561for subsequent builds.
562Depends on
563.Va WITH_DIRDEPS_BUILD .
564.Pp
565This must be set in the environment, make command line, or
566.Pa /etc/src-env.conf ,
567not
568.Pa /etc/src.conf .
569.It Va WITHOUT_DMAGENT
570Set to not build dma Mail Transport Agent.
571.It Va WITHOUT_DOCCOMPRESS
572Set to not install compressed system documentation.
573Only the uncompressed version will be installed.
574.It Va WITH_DTRACE_TESTS
575Set to build and install the DTrace test suite in
576.Pa /usr/tests/cddl/usr.sbin/dtrace .
577This test suite is considered experimental on architectures other than
578amd64/amd64 and running it may cause system instability.
579.It Va WITHOUT_DYNAMICROOT
580Set this if you do not want to link
581.Pa /bin
582and
583.Pa /sbin
584dynamically.
585.It Va WITHOUT_ED_CRYPTO
586Set to build
587.Xr ed 1
588without support for encryption/decryption.
589.It Va WITHOUT_EE
590Set to not build and install
591.Xr edit 1 ,
592.Xr ee 1 ,
593and related programs.
594.It Va WITHOUT_EFI
595Set not to build
596.Xr efivar 3
597and
598.Xr efivar 8 .
599.Pp
600This is a default setting on
601mips/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.
602.It Va WITH_EFI
603Set to build
604.Xr efivar 3
605and
606.Xr efivar 8 .
607.Pp
608This is a default setting on
609amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
610.It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
611Set to not build ELF Tool Chain tools
612(addr2line, nm, size, strings and strip)
613as part of the bootstrap process.
614.Bf -symbolic
615An alternate bootstrap tool chain must be provided.
616.Ef
617.It Va WITHOUT_EXAMPLES
618Set to avoid installing examples to
619.Pa /usr/share/examples/ .
620.It Va WITH_EXTRA_TCP_STACKS
621Set to build extra TCP stack modules.
622.It Va WITHOUT_FDT
623Set to not build Flattened Device Tree support as part of the base system.
624This includes the device tree compiler (dtc) and libfdt support library.
625.It Va WITHOUT_FILE
626Set to not build
627.Xr file 1
628and related programs.
629.It Va WITHOUT_FINGER
630Set to not build or install
631.Xr finger 1
632and
633.Xr fingerd 8 .
634.It Va WITHOUT_FLOPPY
635Set to not build or install programs
636for operating floppy disk driver.
637.It Va WITHOUT_FMTREE
638Set to not build and install
639.Pa /usr/sbin/fmtree .
640.It Va WITHOUT_FORMAT_EXTENSIONS
641Set to not enable
642.Fl fformat-extensions
643when compiling the kernel.
644Also disables all format checking.
645.It Va WITHOUT_FORTH
646Set to build bootloaders without Forth support.
647.It Va WITHOUT_FP_LIBC
648Set to build
649.Nm libc
650without floating-point support.
651.It Va WITHOUT_FREEBSD_UPDATE
652Set to not build
653.Xr freebsd-update 8 .
654.It Va WITHOUT_FTP
655Set to not build or install
656.Xr ftp 1
657and
658.Xr ftpd 8 .
659.It Va WITHOUT_GAMES
660Set to not build games.
661.It Va WITHOUT_GCC
662Set to not build and install gcc and g++ as part of the normal build process.
663.Pp
664This is a default setting on
665amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
666.It Va WITH_GCC
667Set to build and install gcc and g++.
668.Pp
669This is a default setting on
670mips/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.
671.It Va WITHOUT_GCC_BOOTSTRAP
672Set to not build gcc and g++ as part of the bootstrap process.
673You must enable either gcc or clang bootstrap to be able to build the system,
674unless an alternative compiler is provided via
675XCC.
676.Pp
677This is a default setting on
678amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
679.It Va WITH_GCC_BOOTSTRAP
680Set to build gcc and g++ as part of the bootstrap process.
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 and sparc64/sparc64.
684.It Va WITHOUT_GCOV
685Set to not build the
686.Xr gcov 1
687tool.
688.It Va WITHOUT_GDB
689Set to not build
690.Xr gdb 1 .
691.Pp
692This is a default setting on
693arm64/aarch64.
694.It Va WITH_GDB
695Set to build
696.Xr gdb 1 .
697.Pp
698This is a default setting on
699amd64/amd64, arm/arm, arm/armeb, arm/armv6, 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.
700.It Va WITHOUT_GNU
701Set to not build contributed GNU software as a part of the base system.
702This option can be useful if the system built must not contain any code
703covered by the GNU Public License due to legal reasons.
704.Bf -symbolic
705The option has no effect yet.
706.Ef
707When set, it enforces these options:
708.Pp
709.Bl -item -compact
710.It
711.Va WITHOUT_GNU_SUPPORT
712.El
713.It Va WITHOUT_GNUCXX
714Do not build the GNU C++ stack (g++, libstdc++).
715This is the default on platforms where clang is the system compiler.
716.Pp
717This is a default setting on
718amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
719.It Va WITH_GNUCXX
720Build the GNU C++ stack (g++, libstdc++).
721This is the default on platforms where gcc is the system compiler.
722.Pp
723This is a default setting on
724mips/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.
725.It Va WITHOUT_GNU_DIFF
726Set to not build GNU
727.Xr diff 1
728and
729.Xr diff3 1 .
730.It Va WITHOUT_GNU_GREP
731Set to not build GNU
732.Xr grep 1 .
733.It Va WITHOUT_GNU_GREP_COMPAT
734Set this option to omit the gnu extensions to grep from being included in
735BSD grep.
736.It Va WITHOUT_GNU_SUPPORT
737Set to build some programs without optional GNU support.
738.It Va WITHOUT_GPIO
739Set to not build
740.Xr gpioctl 8
741as part of the base system.
742.It Va WITHOUT_GPL_DTC
743Set to build the BSD licensed version of the device tree compiler rather
744than the GPLed one from elinux.org.
745.It Va WITHOUT_GROFF
746Set to not build
747.Xr groff 1
748and
749.Xr vgrind 1 .
750You should consider installing the textproc/groff port to not break
751.Xr man 1 .
752.It Va WITHOUT_GSSAPI
753Set to not build libgssapi.
754.It Va WITHOUT_HAST
755Set to not build
756.Xr hastd 8
757and related utilities.
758.It Va WITH_HESIOD
759Set to build Hesiod support.
760.It Va WITHOUT_HTML
761Set to not build HTML docs.
762.It Va WITHOUT_HYPERV
763Set to not build or install HyperV utilities.
764.It Va WITHOUT_ICONV
765Set to not build iconv as part of libc.
766.It Va WITHOUT_INCLUDES
767Set to not install header files.
768This option used to be spelled
769.Va NO_INCS .
770.Bf -symbolic
771The option does not work for build targets.
772.Ef
773.It Va WITHOUT_INET
774Set to not build programs and libraries related to IPv4 networking.
775When set, it enforces these options:
776.Pp
777.Bl -item -compact
778.It
779.Va WITHOUT_INET_SUPPORT
780.El
781.It Va WITHOUT_INET6
782Set to not build
783programs and libraries related to IPv6 networking.
784When set, it enforces these options:
785.Pp
786.Bl -item -compact
787.It
788.Va WITHOUT_INET6_SUPPORT
789.El
790.It Va WITHOUT_INET6_SUPPORT
791Set to build libraries, programs, and kernel modules without IPv6 support.
792.It Va WITHOUT_INETD
793Set to not build
794.Xr inetd 8 .
795.It Va WITHOUT_INET_SUPPORT
796Set to build libraries, programs, and kernel modules without IPv4 support.
797.It Va WITHOUT_INSTALLLIB
798Set this to not install optional libraries.
799For example, when creating a
800.Xr nanobsd 8
801image.
802.Bf -symbolic
803The option does not work for build targets.
804.Ef
805.It Va WITH_INSTALL_AS_USER
806Set to make install targets succeed for non-root users by installing
807files with owner and group attributes set to that of the user running
808the
809.Xr make 1
810command.
811The user still must set the
812.Va DESTDIR
813variable to point to a directory where the user has write permissions.
814.It Va WITHOUT_IPFILTER
815Set to not build IP Filter package.
816.It Va WITHOUT_IPFW
817Set to not build IPFW tools.
818.It Va WITHOUT_IPSEC_SUPPORT
819Set to not build the kernel with
820.Xr ipsec 4
821support.
822This option is needed for
823.Xr ipsec 4
824and
825.Xr tcpmd5 4 .
826.It Va WITHOUT_ISCSI
827Set to not build
828.Xr iscid 8
829and related utilities.
830.It Va WITHOUT_JAIL
831Set to not build tools for the support of jails; e.g.,
832.Xr jail 8 .
833.It Va WITHOUT_KDUMP
834Set to not build
835.Xr kdump 1
836and
837.Xr truss 1 .
838.It Va WITHOUT_KERBEROS
839Set this to not build Kerberos 5 (KTH Heimdal).
840When set, it enforces these options:
841.Pp
842.Bl -item -compact
843.It
844.Va WITHOUT_KERBEROS_SUPPORT
845.El
846.Pp
847When set, these options are also in effect:
848.Pp
849.Bl -inset -compact
850.It Va WITHOUT_GSSAPI
851(unless
852.Va WITH_GSSAPI
853is set explicitly)
854.El
855.It Va WITHOUT_KERBEROS_SUPPORT
856Set to build some programs without Kerberos support, like
857.Xr ssh 1 ,
858.Xr telnet 1 ,
859.Xr sshd 8 ,
860and
861.Xr telnetd 8 .
862.It Va WITHOUT_KERNEL_SYMBOLS
863Set to not install kernel symbol files.
864.Bf -symbolic
865This option is recommended for those people who have small root partitions.
866.Ef
867.It Va WITHOUT_KVM
868Set to not build the
869.Nm libkvm
870library as a part of the base system.
871.Bf -symbolic
872The option has no effect yet.
873.Ef
874When set, it enforces these options:
875.Pp
876.Bl -item -compact
877.It
878.Va WITHOUT_KVM_SUPPORT
879.El
880.It Va WITHOUT_KVM_SUPPORT
881Set to build some programs without optional
882.Nm libkvm
883support.
884.It Va WITHOUT_LDNS
885Setting this variable will prevent the LDNS library from being built.
886When set, it enforces these options:
887.Pp
888.Bl -item -compact
889.It
890.Va WITHOUT_LDNS_UTILS
891.It
892.Va WITHOUT_UNBOUND
893.El
894.It Va WITHOUT_LDNS_UTILS
895Setting this variable will prevent building the LDNS utilities
896.Xr drill 1
897and
898.Xr host 1 .
899.It Va WITHOUT_LEGACY_CONSOLE
900Set to not build programs that support a legacy PC console; e.g.,
901.Xr kbdcontrol 1
902and
903.Xr vidcontrol 1 .
904.It Va WITHOUT_LIB32
905On 64-bit platforms, set to not build 32-bit library set and a
906.Nm ld-elf32.so.1
907runtime linker.
908.It Va WITHOUT_LIBCPLUSPLUS
909Set to avoid building libcxxrt and libc++.
910.It Va WITHOUT_LIBPTHREAD
911Set to not build the
912.Nm libpthread
913providing library,
914.Nm libthr .
915When set, it enforces these options:
916.Pp
917.Bl -item -compact
918.It
919.Va WITHOUT_LIBTHR
920.El
921.It Va WITH_LIBSOFT
922On armv6 only, set to enable soft float ABI compatibility libraries.
923This option is for transitioning to the new hard float ABI.
924.It Va WITHOUT_LIBTHR
925Set to not build the
926.Nm libthr
927(1:1 threading)
928library.
929.It Va WITHOUT_LLD
930Set to not build LLVM's lld linker.
931.Pp
932This is a default setting on
933mips/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.
934When set, it enforces these options:
935.Pp
936.Bl -item -compact
937.It
938.Va WITHOUT_LLD_IS_LD
939.El
940.It Va WITH_LLD
941Set to build LLVM's lld linker.
942.Pp
943This is a default setting on
944amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
945.It Va WITHOUT_LLDB
946Set to not build the LLDB debugger.
947.Pp
948This is a default setting on
949arm/arm, arm/armeb, arm/armv6, 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.
950.It Va WITH_LLDB
951Set to build the LLDB debugger.
952.Pp
953This is a default setting on
954amd64/amd64 and arm64/aarch64.
955.It Va WITHOUT_LLD_BOOTSTRAP
956Set to not build the LLD linker during the bootstrap phase of
957the build.
958To be able to build the system, either Binutils or LLD bootstrap must be
959enabled unless an alternate linker is provided via XLD.
960.Pp
961This is a default setting on
962amd64/amd64, arm/arm, arm/armeb, arm/armv6, 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.
963.It Va WITH_LLD_BOOTSTRAP
964Set to build the LLD linker during the bootstrap phase of the build.
965.Pp
966This is a default setting on
967arm64/aarch64.
968.It Va WITHOUT_LLD_IS_LD
969Set to use GNU binutils ld as the system linker, instead of LLVM's LLD.
970.Pp
971This is a default setting on
972amd64/amd64, arm/arm, arm/armeb, arm/armv6, 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.
973.It Va WITH_LLD_IS_LD
974Set to use LLVM's LLD as the system linker, instead of GNU binutils ld.
975.Pp
976This is a default setting on
977arm64/aarch64.
978When set, these options are also in effect:
979.Pp
980.Bl -inset -compact
981.It Va WITHOUT_SYSTEM_COMPILER
982(unless
983.Va WITH_SYSTEM_COMPILER
984is set explicitly)
985.El
986.It Va WITHOUT_LLVM_LIBUNWIND
987Set to use GCC's stack unwinder (instead of LLVM's libunwind).
988.Pp
989This is a default setting on
990arm/arm, arm/armeb, 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 and sparc64/sparc64.
991.It Va WITH_LLVM_LIBUNWIND
992Set to use LLVM's libunwind stack unwinder (instead of GCC's unwinder).
993.Pp
994This is a default setting on
995amd64/amd64, arm64/aarch64 and i386/i386.
996.It Va WITHOUT_LOCALES
997Set to not build localization files; see
998.Xr locale 1 .
999.It Va WITHOUT_LOCATE
1000Set to not build
1001.Xr locate 1
1002and related programs.
1003.It Va WITHOUT_LPR
1004Set to not build
1005.Xr lpr 1
1006and related programs.
1007.It Va WITHOUT_LS_COLORS
1008Set to build
1009.Xr ls 1
1010without support for colors to distinguish file types.
1011.It Va WITHOUT_LZMA_SUPPORT
1012Set to build some programs without optional lzma compression support.
1013.It Va WITHOUT_MAIL
1014Set to not build any mail support (MUA or MTA).
1015When set, it enforces these options:
1016.Pp
1017.Bl -item -compact
1018.It
1019.Va WITHOUT_DMAGENT
1020.It
1021.Va WITHOUT_MAILWRAPPER
1022.It
1023.Va WITHOUT_SENDMAIL
1024.El
1025.It Va WITHOUT_MAILWRAPPER
1026Set to not build the
1027.Xr mailwrapper 8
1028MTA selector.
1029.It Va WITHOUT_MAKE
1030Set to not install
1031.Xr make 1
1032and related support files.
1033.It Va WITHOUT_MAN
1034Set to not build manual pages.
1035When set, these options are also in effect:
1036.Pp
1037.Bl -inset -compact
1038.It Va WITHOUT_MAN_UTILS
1039(unless
1040.Va WITH_MAN_UTILS
1041is set explicitly)
1042.El
1043.It Va WITHOUT_MANCOMPRESS
1044Set to not to install compressed man pages.
1045Only the uncompressed versions will be installed.
1046.It Va WITHOUT_MAN_UTILS
1047Set to not build utilities for manual pages,
1048.Xr apropos 1 ,
1049.Xr catman 1 ,
1050.Xr makewhatis 1 ,
1051.Xr man 1 ,
1052.Xr whatis 1 ,
1053.Xr manctl 8 ,
1054and related support files.
1055.It Va WITH_META_MODE
1056Create
1057.Xr make 1
1058meta files when building, which can provide a reliable incremental build when
1059using
1060.Xr filemon 4 .
1061The meta file is created in OBJDIR as
1062.Pa target.meta .
1063These meta files track the command that was executed, its output, and the
1064current directory.
1065The
1066.Xr filemon 4
1067module is required unless
1068.Va NO_FILEMON
1069is defined.
1070When the module is loaded, any files used by the commands executed are
1071tracked as dependencies for the target in its meta file.
1072The target is considered out-of-date and rebuilt if any of these
1073conditions are true compared to the last build:
1074.Bl -bullet -compact
1075.It
1076The command to execute changes.
1077.It
1078The current working directory changes.
1079.It
1080The target's meta file is missing.
1081.It
1082The target's meta file is missing filemon data when filemon is loaded
1083and a previous run did not have it loaded.
1084.It
1085[requires
1086.Xr filemon 4 ]
1087Files read, executed or linked to are newer than the target.
1088.It
1089[requires
1090.Xr filemon 4 ]
1091Files read, written, executed or linked are missing.
1092.El
1093The meta files can also be useful for debugging.
1094.Pp
1095The build hides commands that are executed unless
1096.Va NO_SILENT
1097is defined.
1098Errors cause
1099.Xr make 1
1100to show some of its environment for further debugging.
1101.Pp
1102The build operates as it normally would otherwise.
1103This option originally invoked a different build system but that was renamed
1104to
1105.Va WITH_DIRDEPS_BUILD .
1106.Pp
1107This must be set in the environment, make command line, or
1108.Pa /etc/src-env.conf ,
1109not
1110.Pa /etc/src.conf .
1111.It Va WITH_NAND
1112Set to build the NAND Flash components.
1113.It Va WITHOUT_NDIS
1114Set to not build programs and libraries
1115related to NDIS emulation support.
1116.It Va WITHOUT_NETCAT
1117Set to not build
1118.Xr nc 1
1119utility.
1120.It Va WITHOUT_NETGRAPH
1121Set to not build applications to support
1122.Xr netgraph 4 .
1123When set, it enforces these options:
1124.Pp
1125.Bl -item -compact
1126.It
1127.Va WITHOUT_ATM
1128.It
1129.Va WITHOUT_BLUETOOTH
1130.It
1131.Va WITHOUT_NETGRAPH_SUPPORT
1132.El
1133.It Va WITHOUT_NETGRAPH_SUPPORT
1134Set to build libraries, programs, and kernel modules without netgraph support.
1135.It Va WITHOUT_NIS
1136Set to not build
1137.Xr NIS 8
1138support and related programs.
1139If set, you might need to adopt your
1140.Xr nsswitch.conf 5
1141and remove
1142.Sq nis
1143entries.
1144.It Va WITHOUT_NLS
1145Set to not build NLS catalogs.
1146.It Va WITHOUT_NLS_CATALOGS
1147Set to not build NLS catalog support for
1148.Xr csh 1 .
1149.It Va WITHOUT_NS_CACHING
1150Set to disable name caching in the
1151.Pa nsswitch
1152subsystem.
1153The generic caching daemon,
1154.Xr nscd 8 ,
1155will not be built either if this option is set.
1156.It Va WITHOUT_NTP
1157Set to not build
1158.Xr ntpd 8
1159and related programs.
1160.It Va WITH_OFED
1161Set to build the
1162.Dq "OpenFabrics Enterprise Distribution"
1163Infiniband software stack.
1164.It Va WITH_OPENLDAP
1165Enable building openldap support for kerberos.
1166.It Va WITHOUT_OPENSSH
1167Set to not build OpenSSH.
1168.It Va WITHOUT_OPENSSL
1169Set to not build OpenSSL.
1170When set, it enforces these options:
1171.Pp
1172.Bl -item -compact
1173.It
1174.Va WITHOUT_KERBEROS
1175.It
1176.Va WITHOUT_KERBEROS_SUPPORT
1177.It
1178.Va WITHOUT_OPENSSH
1179.El
1180.Pp
1181When set, these options are also in effect:
1182.Pp
1183.Bl -inset -compact
1184.It Va WITHOUT_GSSAPI
1185(unless
1186.Va WITH_GSSAPI
1187is set explicitly)
1188.El
1189.It Va WITHOUT_PAM
1190Set to not build PAM library and modules.
1191.Bf -symbolic
1192This option is deprecated and does nothing.
1193.Ef
1194When set, it enforces these options:
1195.Pp
1196.Bl -item -compact
1197.It
1198.Va WITHOUT_PAM_SUPPORT
1199.El
1200.It Va WITHOUT_PAM_SUPPORT
1201Set to build some programs without PAM support, particularly
1202.Xr ftpd 8
1203and
1204.Xr ppp 8 .
1205.It Va WITHOUT_PC_SYSINSTALL
1206Set to not build
1207.Xr pc-sysinstall 8
1208and related programs.
1209.It Va WITHOUT_PF
1210Set to not build PF firewall package.
1211When set, it enforces these options:
1212.Pp
1213.Bl -item -compact
1214.It
1215.Va WITHOUT_AUTHPF
1216.El
1217.It Va WITHOUT_PKGBOOTSTRAP
1218Set to not build
1219.Xr pkg 7
1220bootstrap tool.
1221.It Va WITHOUT_PMC
1222Set to not build
1223.Xr pmccontrol 8
1224and related programs.
1225.It Va WITHOUT_PORTSNAP
1226Set to not build or install
1227.Xr portsnap 8
1228and related files.
1229.It Va WITHOUT_PPP
1230Set to not build
1231.Xr ppp 8
1232and related programs.
1233.It Va WITHOUT_PROFILE
1234Set to avoid compiling profiled libraries.
1235.It Va WITHOUT_QUOTAS
1236Set to not build
1237.Xr quota 1
1238and related programs.
1239.It Va WITHOUT_RADIUS_SUPPORT
1240Set to not build radius support into various applications, like
1241.Xr pam_radius 8
1242and
1243.Xr ppp 8 .
1244.It Va WITH_RATELIMIT
1245Set to build the system with rate limit support.
1246.Pp
1247This makes
1248.Dv SO_MAX_PACING_RATE
1249effective in
1250.Xr getsockopt 2 ,
1251and
1252.Ar txrlimit
1253support in
1254.Xr ifconfig 8 ,
1255by proxy.
1256.It Va WITHOUT_RBOOTD
1257Set to not build or install
1258.Xr rbootd 8 .
1259.It Va WITHOUT_RCMDS
1260Disable building of the
1261.Bx
1262r-commands.
1263This includes
1264.Xr rlogin 1 ,
1265.Xr rsh 1 ,
1266etc.
1267.It Va WITH_REPRODUCIBLE_BUILD
1268Set to exclude build metadata (such as the build time, user, or host)
1269from the kernel, boot loaders, and uname output, so that builds produce
1270bit-for-bit identical output.
1271.It Va WITHOUT_RESCUE
1272Set to not build
1273.Xr rescue 8 .
1274.It Va WITHOUT_ROUTED
1275Set to not build
1276.Xr routed 8
1277utility.
1278.It Va WITHOUT_SENDMAIL
1279Set to not build
1280.Xr sendmail 8
1281and related programs.
1282.It Va WITHOUT_SETUID_LOGIN
1283Set this to disable the installation of
1284.Xr login 1
1285as a set-user-ID root program.
1286.It Va WITHOUT_SHAREDOCS
1287Set to not build the
1288.Bx 4.4
1289legacy docs.
1290.It Va WITH_SHARED_TOOLCHAIN
1291Set to build the toolchain binaries shared.
1292The set includes
1293.Xr cc 1 ,
1294.Xr make 1
1295and necessary utilities like assembler, linker and library archive manager.
1296.It Va WITH_SORT_THREADS
1297Set to enable threads in
1298.Xr sort 1 .
1299.It Va WITHOUT_SOURCELESS
1300Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1301When set, it enforces these options:
1302.Pp
1303.Bl -item -compact
1304.It
1305.Va WITHOUT_SOURCELESS_HOST
1306.It
1307.Va WITHOUT_SOURCELESS_UCODE
1308.El
1309.It Va WITHOUT_SOURCELESS_HOST
1310Set to not build kernel modules that include sourceless native code for host CPU.
1311.It Va WITHOUT_SOURCELESS_UCODE
1312Set to not build kernel modules that include sourceless microcode.
1313.It Va WITHOUT_SSP
1314Set to not build world with propolice stack smashing protection.
1315.Pp
1316This is a default setting on
1317mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1318.It Va WITH_SSP
1319Set to build world with propolice stack smashing protection.
1320.Pp
1321This is a default setting on
1322amd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1323.It Va WITH_STAGING
1324Enable staging of files to a stage tree.
1325This can be best thought of as auto-install to
1326.Va DESTDIR
1327with some extra meta data to ensure dependencies can be tracked.
1328Depends on
1329.Va WITH_DIRDEPS_BUILD .
1330When set, these options are also in effect:
1331.Pp
1332.Bl -inset -compact
1333.It Va WITH_STAGING_MAN
1334(unless
1335.Va WITHOUT_STAGING_MAN
1336is set explicitly)
1337.It Va WITH_STAGING_PROG
1338(unless
1339.Va WITHOUT_STAGING_PROG
1340is set explicitly)
1341.El
1342.Pp
1343This must be set in the environment, make command line, or
1344.Pa /etc/src-env.conf ,
1345not
1346.Pa /etc/src.conf .
1347.It Va WITH_STAGING_MAN
1348Enable staging of man pages to stage tree.
1349.It Va WITH_STAGING_PROG
1350Enable staging of PROGs to stage tree.
1351.It Va WITH_STALE_STAGED
1352Check staged files are not stale.
1353.It Va WITH_SVN
1354Set to install
1355.Xr svnlite 1
1356as
1357.Xr svn 1 .
1358.It Va WITHOUT_SVNLITE
1359Set to not build
1360.Xr svnlite 1
1361and related programs.
1362.It Va WITHOUT_SYMVER
1363Set to disable symbol versioning when building shared libraries.
1364.It Va WITHOUT_SYSCONS
1365Set to not build
1366.Xr syscons 4
1367support files such as keyboard maps, fonts, and screen output maps.
1368.It Va WITH_SYSROOT
1369Enable use of sysroot during build.
1370Depends on
1371.Va WITH_DIRDEPS_BUILD .
1372.Pp
1373This must be set in the environment, make command line, or
1374.Pa /etc/src-env.conf ,
1375not
1376.Pa /etc/src.conf .
1377.It Va WITHOUT_SYSTEM_COMPILER
1378Set to not opportunistically skip building a cross-compiler during the
1379bootstrap phase of the build.
1380Normally, if the currently installed compiler matches the planned bootstrap
1381compiler type and revision, then it will not be built.
1382This does not prevent a compiler from being built for installation though,
1383only for building one for the build itself.
1384The
1385.Va WITHOUT_CLANG
1386and
1387.Va WITHOUT_GCC
1388options control those.
1389.Pp
1390This is a default setting on
1391arm64/aarch64.
1392.It Va WITH_SYSTEM_COMPILER
1393Set to opportunistically skip building a cross-compiler during the
1394bootstrap phase of the build.
1395If the currently installed compiler matches the planned bootstrap compiler
1396type and revision, then it will not be built.
1397This does not prevent a compiler from being built for installation though,
1398only for building one for the build itself.
1399The
1400.Va WITHOUT_CLANG
1401and
1402.Va WITHOUT_GCC
1403options control those.
1404.Pp
1405This is a default setting on
1406amd64/amd64, arm/arm, arm/armeb, arm/armv6, 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.
1407.It Va WITHOUT_TALK
1408Set to not build or install
1409.Xr talk 1
1410and
1411.Xr talkd 8 .
1412.It Va WITHOUT_TCP_WRAPPERS
1413Set to not build or install
1414.Xr tcpd 8 ,
1415and related utilities.
1416.It Va WITHOUT_TCSH
1417Set to not build and install
1418.Pa /bin/csh
1419(which is
1420.Xr tcsh 1 ) .
1421.It Va WITHOUT_TELNET
1422Set to not build
1423.Xr telnet 1
1424and related programs.
1425.It Va WITHOUT_TESTS
1426Set to not build nor install the
1427.Fx
1428Test Suite in
1429.Pa /usr/tests/ .
1430See
1431.Xr tests 7
1432for more details.
1433This also disables the build of all test-related dependencies, including ATF.
1434When set, it enforces these options:
1435.Pp
1436.Bl -item -compact
1437.It
1438.Va WITHOUT_DTRACE_TESTS
1439.It
1440.Va WITHOUT_TESTS_SUPPORT
1441.El
1442.It Va WITHOUT_TESTS_SUPPORT
1443Set to disables the build of all test-related dependencies, including ATF.
1444.It Va WITHOUT_TEXTPROC
1445Set to not build
1446programs used for text processing.
1447When set, it enforces these options:
1448.Pp
1449.Bl -item -compact
1450.It
1451.Va WITHOUT_GROFF
1452.El
1453.It Va WITHOUT_TFTP
1454Set to not build or install
1455.Xr tftp 1
1456and
1457.Xr tftpd 8 .
1458.It Va WITHOUT_TIMED
1459Set to not build or install
1460.Xr timed 8 .
1461.It Va WITHOUT_TOOLCHAIN
1462Set to not install header or
1463programs used for program development,
1464compilers, debuggers etc.
1465When set, it enforces these options:
1466.Pp
1467.Bl -item -compact
1468.It
1469.Va WITHOUT_BINUTILS
1470.It
1471.Va WITHOUT_CLANG
1472.It
1473.Va WITHOUT_CLANG_EXTRAS
1474.It
1475.Va WITHOUT_CLANG_FULL
1476.It
1477.Va WITHOUT_GCC
1478.It
1479.Va WITHOUT_GDB
1480.It
1481.Va WITHOUT_INCLUDES
1482.It
1483.Va WITHOUT_LLD
1484.It
1485.Va WITHOUT_LLDB
1486.El
1487.It Va WITHOUT_UNBOUND
1488Set to not build
1489.Xr unbound 8
1490and related programs.
1491.It Va WITHOUT_USB
1492Set to not build USB-related programs and libraries.
1493.It Va WITHOUT_USB_GADGET_EXAMPLES
1494Set to not build USB gadget kernel modules.
1495.It Va WITHOUT_UTMPX
1496Set to not build user accounting tools such as
1497.Xr last 1 ,
1498.Xr users 1 ,
1499.Xr who 1 ,
1500.Xr ac 8 ,
1501.Xr lastlogin 8
1502and
1503.Xr utx 8 .
1504.It Va WITHOUT_VI
1505Set to not build and install vi, view, ex and related programs.
1506.It Va WITHOUT_VT
1507Set to not build
1508.Xr vt 4
1509support files (fonts and keymaps).
1510.It Va WITHOUT_WARNS
1511Set this to not add warning flags to the compiler invocations.
1512Useful as a temporary workaround when code enters the tree
1513which triggers warnings in environments that differ from the
1514original developer.
1515.It Va WITHOUT_WIRELESS
1516Set to not build programs used for 802.11 wireless networks; especially
1517.Xr wpa_supplicant 8
1518and
1519.Xr hostapd 8 .
1520When set, it enforces these options:
1521.Pp
1522.Bl -item -compact
1523.It
1524.Va WITHOUT_WIRELESS_SUPPORT
1525.El
1526.It Va WITHOUT_WIRELESS_SUPPORT
1527Set to build libraries, programs, and kernel modules without
1528802.11 wireless support.
1529.It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1530Build
1531.Xr wpa_supplicant 8
1532without support for the IEEE 802.1X protocol and without
1533support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1534protocols (usable only via 802.1X).
1535.It Va WITHOUT_ZFS
1536Set to not build ZFS file system.
1537.It Va WITHOUT_ZONEINFO
1538Set to not build the timezone database.
1539.El
1540.Sh FILES
1541.Bl -tag -compact -width Pa
1542.It Pa /etc/src.conf
1543.It Pa /etc/src-env.conf
1544.It Pa /usr/share/mk/bsd.own.mk
1545.El
1546.Sh SEE ALSO
1547.Xr make 1 ,
1548.Xr make.conf 5 ,
1549.Xr build 7 ,
1550.Xr ports 7
1551.Sh HISTORY
1552The
1553.Nm
1554file appeared in
1555.Fx 7.0 .
1556.Sh AUTHORS
1557This manual page was autogenerated by
1558.An tools/build/options/makeman .
1559