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