xref: /freebsd/share/man/man5/src.conf.5 (revision 661cf9b6820bdc09f1f97dda6f8ecd0d6c67b484)
1fa07cb9cSRuslan Ermilov.\" DO NOT EDIT-- this file is automatically generated.
2cc68b6e5SEd Maste.\" from FreeBSD: head/tools/build/options/makeman 306729 2016-10-05 20:12:00Z emaste
3fa07cb9cSRuslan Ermilov.\" $FreeBSD$
4*661cf9b6SYoshihiro Takahashi.Dd January 28, 2017
5fa07cb9cSRuslan Ermilov.Dt SRC.CONF 5
6fa07cb9cSRuslan Ermilov.Os
7fa07cb9cSRuslan Ermilov.Sh NAME
8fa07cb9cSRuslan Ermilov.Nm src.conf
916f2e711SYaroslav Tykhiy.Nd "source build options"
10fa07cb9cSRuslan Ermilov.Sh DESCRIPTION
11fa07cb9cSRuslan ErmilovThe
12fa07cb9cSRuslan Ermilov.Nm
13fa07cb9cSRuslan Ermilovfile contains settings that will apply to every build involving the
14fa07cb9cSRuslan Ermilov.Fx
15fa07cb9cSRuslan Ermilovsource tree; see
16fa07cb9cSRuslan Ermilov.Xr build 7 .
17fa07cb9cSRuslan Ermilov.Pp
18fa07cb9cSRuslan ErmilovThe
19fa07cb9cSRuslan Ermilov.Nm
20fa07cb9cSRuslan Ermilovfile uses the standard makefile syntax.
21fa07cb9cSRuslan ErmilovHowever,
22fa07cb9cSRuslan Ermilov.Nm
23fa07cb9cSRuslan Ermilovshould not specify any dependencies to
24fa07cb9cSRuslan Ermilov.Xr make 1 .
25fa07cb9cSRuslan ErmilovInstead,
26fa07cb9cSRuslan Ermilov.Nm
27fa07cb9cSRuslan Ermilovis to set
28fa07cb9cSRuslan Ermilov.Xr make 1
29fa07cb9cSRuslan Ermilovvariables that control the aspects of how the system builds.
30fa07cb9cSRuslan Ermilov.Pp
31fa07cb9cSRuslan ErmilovThe default location of
32fa07cb9cSRuslan Ermilov.Nm
33fa07cb9cSRuslan Ermilovis
34fa07cb9cSRuslan Ermilov.Pa /etc/src.conf ,
35fa07cb9cSRuslan Ermilovthough an alternative location can be specified in the
36fa07cb9cSRuslan Ermilov.Xr make 1
37fa07cb9cSRuslan Ermilovvariable
38fa07cb9cSRuslan Ermilov.Va SRCCONF .
39fa07cb9cSRuslan ErmilovOverriding the location of
40fa07cb9cSRuslan Ermilov.Nm
41fa07cb9cSRuslan Ermilovmay be necessary if the system-wide settings are not suitable
42fa07cb9cSRuslan Ermilovfor a particular build.
43fa07cb9cSRuslan ErmilovFor instance, setting
44fa07cb9cSRuslan Ermilov.Va SRCCONF
45fa07cb9cSRuslan Ermilovto
46fa07cb9cSRuslan Ermilov.Pa /dev/null
47fa07cb9cSRuslan Ermiloveffectively resets all build controls to their defaults.
48fa07cb9cSRuslan Ermilov.Pp
49fa07cb9cSRuslan ErmilovThe only purpose of
50fa07cb9cSRuslan Ermilov.Nm
51fa07cb9cSRuslan Ermilovis to control the compilation of the
52fa07cb9cSRuslan Ermilov.Fx
5316f2e711SYaroslav Tykhiysource code, which is usually located in
54fa07cb9cSRuslan Ermilov.Pa /usr/src .
55fa07cb9cSRuslan ErmilovAs a rule, the system administrator creates
56fa07cb9cSRuslan Ermilov.Nm
57fa07cb9cSRuslan Ermilovwhen the values of certain control variables need to be changed
58fa07cb9cSRuslan Ermilovfrom their defaults.
59fa07cb9cSRuslan Ermilov.Pp
60fa07cb9cSRuslan ErmilovIn addition, control variables can be specified
61fa07cb9cSRuslan Ermilovfor a particular build via the
62fa07cb9cSRuslan Ermilov.Fl D
63fa07cb9cSRuslan Ermilovoption of
64fa07cb9cSRuslan Ermilov.Xr make 1
6572735687SMike Makonnenor in its environment; see
66fa07cb9cSRuslan Ermilov.Xr environ 7 .
67fa07cb9cSRuslan Ermilov.Pp
680a70ef02SBryan DreweryThe environment of
690a70ef02SBryan Drewery.Xr make 1
700a70ef02SBryan Dreweryfor the build can be controlled via the
710a70ef02SBryan Drewery.Va SRC_ENV_CONF
720a70ef02SBryan Dreweryvariable, which defaults to
730a70ef02SBryan Drewery.Pa /etc/src-env.conf .
740a70ef02SBryan DrewerySome examples that may only be set in this file are
7532b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD ,
760a70ef02SBryan Dreweryand
770a70ef02SBryan Drewery.Va WITH_META_MODE
780a70ef02SBryan Dreweryas they are environment-only variables.
797df4050dSBryan DreweryNote that
807df4050dSBryan Drewery.Va MAKEOBJDIRPREFIX
817df4050dSBryan Drewerymay be set here only when using
827df4050dSBryan Drewery.Va WITH_DIRDEPS_BUILD .
830a70ef02SBryan Drewery.Pp
8416f2e711SYaroslav TykhiyThe values of variables are ignored regardless of their setting;
8516f2e711SYaroslav Tykhiyeven if they would be set to
86fa07cb9cSRuslan Ermilov.Dq Li FALSE
87fa07cb9cSRuslan Ermilovor
8816f2e711SYaroslav Tykhiy.Dq Li NO .
8916f2e711SYaroslav TykhiyJust the existence of an option will cause
9016f2e711SYaroslav Tykhiyit to be honoured by
9116f2e711SYaroslav Tykhiy.Xr make 1 .
92fa07cb9cSRuslan Ermilov.Pp
93fa07cb9cSRuslan ErmilovThe following list provides a name and short description for variables
94fa07cb9cSRuslan Ermilovthat can be used for source builds.
95fa07cb9cSRuslan Ermilov.Bl -tag -width indent
96aaa6d7ebSSam Leffler.It Va WITHOUT_ACCT
9790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ACCT 223201 2011-06-17 20:47:44Z ed
98aaa6d7ebSSam LefflerSet to not build process accounting tools such as
990ea27d02SEd Schouten.Xr accton 8
100aaa6d7ebSSam Lefflerand
1010ea27d02SEd Schouten.Xr sa 8 .
102fa07cb9cSRuslan Ermilov.It Va WITHOUT_ACPI
10390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ACPI 156932 2006-03-21 07:50:50Z ru
104fa07cb9cSRuslan ErmilovSet to not build
105fa07cb9cSRuslan Ermilov.Xr acpiconf 8 ,
106fa07cb9cSRuslan Ermilov.Xr acpidump 8
107fa07cb9cSRuslan Ermilovand related programs.
108aaa6d7ebSSam Leffler.It Va WITHOUT_AMD
10990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_AMD 183242 2008-09-21 22:02:26Z sam
110aaa6d7ebSSam LefflerSet to not build
111aaa6d7ebSSam Leffler.Xr amd 8 ,
112aaa6d7ebSSam Lefflerand related programs.
113aaa6d7ebSSam Leffler.It Va WITHOUT_APM
11490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_APM 183242 2008-09-21 22:02:26Z sam
115aaa6d7ebSSam LefflerSet to not build
116aaa6d7ebSSam Leffler.Xr apm 8 ,
117aaa6d7ebSSam Leffler.Xr apmd 8
118aaa6d7ebSSam Lefflerand related programs.
119e567b213SRuslan Ermilov.It Va WITHOUT_ASSERT_DEBUG
12090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ASSERT_DEBUG 162215 2006-09-11 13:55:27Z ru
121e567b213SRuslan ErmilovSet to compile programs and libraries without the
122e567b213SRuslan Ermilov.Xr assert 3
123e567b213SRuslan Ermilovchecks.
124aaa6d7ebSSam Leffler.It Va WITHOUT_AT
12590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_AT 183242 2008-09-21 22:02:26Z sam
126aaa6d7ebSSam LefflerSet to not build
127aaa6d7ebSSam Leffler.Xr at 1
128aaa6d7ebSSam Lefflerand related utilities.
129fa07cb9cSRuslan Ermilov.It Va WITHOUT_ATM
13090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ATM 156932 2006-03-21 07:50:50Z ru
131fa07cb9cSRuslan ErmilovSet to not build
132fa07cb9cSRuslan Ermilovprograms and libraries related to ATM networking.
133fa07cb9cSRuslan Ermilov.It Va WITHOUT_AUDIT
13490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_AUDIT 156932 2006-03-21 07:50:50Z ru
135fa07cb9cSRuslan ErmilovSet to not build audit support into system programs.
136fa07cb9cSRuslan Ermilov.It Va WITHOUT_AUTHPF
13790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_AUTHPF 156932 2006-03-21 07:50:50Z ru
138fa07cb9cSRuslan ErmilovSet to not build
139fa07cb9cSRuslan Ermilov.Xr authpf 8 .
14061940879SEnji Cooper.It Va WITHOUT_AUTOFS
141973e8b3eSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_AUTOFS 296264 2016-03-01 11:36:10Z trasz
14261940879SEnji CooperSet to not build
1434b9f77e4SEdward Tomasz Napierala.Xr autofs 5
14461940879SEnji Cooperrelated programs, libraries, and kernel modules.
145cc2520d2SSimon J. Gerraty.It Va WITH_AUTO_OBJ
1465be09b10SEd Maste.\" from FreeBSD: head/tools/build/options/WITH_AUTO_OBJ 284708 2015-06-22 20:21:57Z sjg
147cc2520d2SSimon J. GerratyEnable automatic creation of objdirs.
1480a70ef02SBryan Drewery.Pp
149ba852870SBryan DreweryThis must be set in the environment, make command line, or
1500a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
1510a70ef02SBryan Drewerynot
1520a70ef02SBryan Drewery.Pa /etc/src.conf .
15361940879SEnji Cooper.It Va WITHOUT_BHYVE
15461940879SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_BHYVE 277727 2015-01-26 06:44:48Z ngie
15561940879SEnji CooperSet to not build or install
15661940879SEnji Cooper.Xr bhyve 8 ,
15761940879SEnji Cooperassociated utilities, and examples.
15861940879SEnji Cooper.Pp
15961940879SEnji CooperThis option only affects amd64/amd64.
16090be798eSDimitry Andric.It Va WITHOUT_BINUTILS
16184465e31SEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_BINUTILS 286332 2015-08-05 18:30:00Z emaste
16284465e31SEd MasteSet to not build or install binutils (as, ld, objcopy, and objdump ) as part
16390be798eSDimitry Andricof the normal system build.
16490be798eSDimitry AndricThe resulting system cannot build programs from source.
1655be09b10SEd Maste.Pp
1665be09b10SEd MasteIt is a default setting on
1675be09b10SEd Mastearm64/aarch64.
16836e8c7bbSEd MasteWhen set, it also enforces the following options:
16936e8c7bbSEd Maste.Pp
17036e8c7bbSEd Maste.Bl -item -compact
17136e8c7bbSEd Maste.It
17236e8c7bbSEd Maste.Va WITHOUT_GDB
17336e8c7bbSEd Maste.El
1745977355fSBryan Drewery.It Va WITH_BINUTILS
1755977355fSBryan Drewery.\" from FreeBSD: head/tools/build/options/WITH_BINUTILS 295491 2016-02-11 00:14:00Z emaste
1765977355fSBryan DrewerySet to build and install binutils (as, ld, objcopy, and objdump) as part
1775977355fSBryan Dreweryof the normal system build.
1785977355fSBryan Drewery.Pp
1795977355fSBryan DreweryIt is a default setting on
180*661cf9b6SYoshihiro Takahashiamd64/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.
18190be798eSDimitry Andric.It Va WITHOUT_BINUTILS_BOOTSTRAP
1825977355fSBryan Drewery.\" from FreeBSD: head/tools/build/options/WITHOUT_BINUTILS_BOOTSTRAP 295490 2016-02-10 23:57:09Z emaste
1835977355fSBryan DrewerySet to not build binutils (as, ld, objcopy and objdump)
18490be798eSDimitry Andricas part of the bootstrap process.
18590be798eSDimitry Andric.Bf -symbolic
18690be798eSDimitry AndricThe option does not work for build targets unless some alternative
18790be798eSDimitry Andrictoolchain is provided.
18890be798eSDimitry Andric.Ef
1895be09b10SEd Maste.Pp
1905be09b10SEd MasteIt is a default setting on
1915be09b10SEd Mastearm64/aarch64.
1925977355fSBryan Drewery.It Va WITH_BINUTILS_BOOTSTRAP
1935977355fSBryan Drewery.\" from FreeBSD: head/tools/build/options/WITH_BINUTILS_BOOTSTRAP 295491 2016-02-11 00:14:00Z emaste
1945977355fSBryan DrewerySet build binutils (as, ld, objcopy and objdump)
1955977355fSBryan Dreweryas part of the bootstrap process.
1965977355fSBryan Drewery.Pp
1975977355fSBryan DreweryIt is a default setting on
198*661cf9b6SYoshihiro Takahashiamd64/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.
1990341a043SBryan Drewery.It Va WITHOUT_BLACKLIST
2000341a043SBryan Drewery.\" from FreeBSD: head/tools/build/options/WITHOUT_BLACKLIST 301554 2016-06-07 16:35:55Z lidl
2010341a043SBryan DrewerySet this if you do not want to build blacklistd / blacklistctl.
2020341a043SBryan DreweryWhen set, it also enforces the following options:
2030341a043SBryan Drewery.Pp
2040341a043SBryan Drewery.Bl -item -compact
2050341a043SBryan Drewery.It
2060341a043SBryan Drewery.Va WITHOUT_BLACKLIST_SUPPORT
2070341a043SBryan Drewery.El
2080341a043SBryan Drewery.It Va WITHOUT_BLACKLIST_SUPPORT
2090341a043SBryan Drewery.\" from FreeBSD: head/tools/build/options/WITHOUT_BLACKLIST_SUPPORT 301554 2016-06-07 16:35:55Z lidl
2100341a043SBryan DrewerySet to build some programs without blacklistd support, like
2110341a043SBryan Drewery.Xr fingerd 8 ,
2120341a043SBryan Drewery.Xr ftpd 8 ,
2130341a043SBryan Drewery.Xr rlogind 8 ,
2140341a043SBryan Drewery.Xr rshd 8 ,
2150341a043SBryan Dreweryand
2160341a043SBryan Drewery.Xr sshd 8 .
21790be798eSDimitry Andric.It Va WITHOUT_BLUETOOTH
21890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_BLUETOOTH 156932 2006-03-21 07:50:50Z ru
21990be798eSDimitry AndricSet to not build Bluetooth related kernel modules, programs and libraries.
22090be798eSDimitry Andric.It Va WITHOUT_BOOT
22190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_BOOT 156932 2006-03-21 07:50:50Z ru
22290be798eSDimitry AndricSet to not build the boot blocks and loader.
2230e0e9604SEnji Cooper.It Va WITHOUT_BOOTPARAMD
2240e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_BOOTPARAMD 278192 2015-02-04 10:19:32Z ngie
2250e0e9604SEnji CooperSet to not build or install
2260e0e9604SEnji Cooper.Xr bootparamd 8 .
2270e0e9604SEnji Cooper.It Va WITHOUT_BOOTPD
2280e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_BOOTPD 278192 2015-02-04 10:19:32Z ngie
2290e0e9604SEnji CooperSet to not build or install
2300e0e9604SEnji Cooper.Xr bootpd 8 .
23193da8366SEnji Cooper.It Va WITHOUT_BSDINSTALL
23293da8366SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_BSDINSTALL 277677 2015-01-25 04:43:13Z ngie
23393da8366SEnji CooperSet to not build
23493da8366SEnji Cooper.Xr bsdinstall 8 ,
23593da8366SEnji Cooper.Xr sade 8 ,
23693da8366SEnji Cooperand related programs.
23790be798eSDimitry Andric.It Va WITHOUT_BSD_CPIO
23890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_BSD_CPIO 179813 2008-06-16 05:48:15Z dougb
23990be798eSDimitry AndricSet to not build the BSD licensed version of cpio based on
24090be798eSDimitry Andric.Xr libarchive 3 .
24190be798eSDimitry Andric.It Va WITH_BSD_GREP
24290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_BSD_GREP 222273 2011-05-25 01:04:12Z obrien
24390be798eSDimitry AndricInstall BSD-licensed grep as '[ef]grep' instead of GNU grep.
24490be798eSDimitry Andric.It Va WITHOUT_BSNMP
24590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_BSNMP 183306 2008-09-23 16:15:42Z sam
24690be798eSDimitry AndricSet to not build or install
24790be798eSDimitry Andric.Xr bsnmpd 1
24890be798eSDimitry Andricand related libraries and data files.
24990be798eSDimitry Andric.It Va WITHOUT_BZIP2
25090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_BZIP2 174550 2007-12-12 16:43:17Z ru
25190be798eSDimitry AndricSet to not build contributed bzip2 software as a part of the base system.
25290be798eSDimitry Andric.Bf -symbolic
25390be798eSDimitry AndricThe option has no effect yet.
25490be798eSDimitry Andric.Ef
25590be798eSDimitry AndricWhen set, it also enforces the following options:
25690be798eSDimitry Andric.Pp
25790be798eSDimitry Andric.Bl -item -compact
25890be798eSDimitry Andric.It
25990be798eSDimitry Andric.Va WITHOUT_BZIP2_SUPPORT
26090be798eSDimitry Andric.El
26190be798eSDimitry Andric.It Va WITHOUT_BZIP2_SUPPORT
26290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_BZIP2_SUPPORT 166255 2007-01-26 10:19:08Z delphij
26390be798eSDimitry AndricSet to build some programs without optional bzip2 support.
26490be798eSDimitry Andric.It Va WITHOUT_CALENDAR
26590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_CALENDAR 156932 2006-03-21 07:50:50Z ru
26690be798eSDimitry AndricSet to not build
26790be798eSDimitry Andric.Xr calendar 1 .
26890be798eSDimitry Andric.It Va WITHOUT_CAPSICUM
26990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_CAPSICUM 229319 2012-01-02 21:57:58Z rwatson
27090be798eSDimitry AndricSet to not build Capsicum support into system programs.
271aced6942SBaptiste DaroussinWhen set, it also enforces the following options:
272aced6942SBaptiste Daroussin.Pp
273aced6942SBaptiste Daroussin.Bl -item -compact
274aced6942SBaptiste Daroussin.It
275aced6942SBaptiste Daroussin.Va WITHOUT_CASPER
276aced6942SBaptiste Daroussin.El
27790be798eSDimitry Andric.It Va WITHOUT_CASPER
27890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_CASPER 258838 2013-12-02 08:21:28Z pjd
27990be798eSDimitry AndricSet to not build Casper program and related libraries.
2801c01e4f8SBryan Drewery.It Va WITH_CCACHE_BUILD
2813d02549fSBryan Drewery.\" from FreeBSD: head/tools/build/options/WITH_CCACHE_BUILD 297436 2016-03-30 23:53:12Z bdrewery
2821c01e4f8SBryan DrewerySet to use
2831c01e4f8SBryan Drewery.Xr ccache 1
2841c01e4f8SBryan Dreweryfor the build.
2851c01e4f8SBryan DreweryNo configuration is required except to install the
2861c01e4f8SBryan Drewery.Sy devel/ccache
2871c01e4f8SBryan Drewerypackage.
2881c01e4f8SBryan DreweryUsing with
2891c01e4f8SBryan Drewery.Xr distcc 1
2901c01e4f8SBryan Dreweryshould set
2911c01e4f8SBryan Drewery.Sy CCACHE_PREFIX=/usr/local/bin/distcc .
2921c01e4f8SBryan DreweryThe default cache directory of
2931c01e4f8SBryan Drewery.Pa $HOME/.ccache
2941c01e4f8SBryan Drewerywill be used, which can be overridden by setting
2951c01e4f8SBryan Drewery.Sy CCACHE_DIR .
2961c01e4f8SBryan DreweryThe
2971c01e4f8SBryan Drewery.Sy CCACHE_COMPILERCHECK
2981c01e4f8SBryan Dreweryoption defaults to
2991c01e4f8SBryan Drewery.Sy content
3001c01e4f8SBryan Drewerywhen using the in-tree bootstrap compiler,
3011c01e4f8SBryan Dreweryand
3021c01e4f8SBryan Drewery.Sy mtime
3031c01e4f8SBryan Drewerywhen using an external compiler.
3041c01e4f8SBryan DreweryThe
3051c01e4f8SBryan Drewery.Sy CCACHE_CPP2
3061c01e4f8SBryan Dreweryoption is used for Clang but not GCC.
3071c01e4f8SBryan Drewery.Pp
3081c01e4f8SBryan DrewerySharing a cache between multiple work directories requires using a layout
3091c01e4f8SBryan Drewerysimilar to
3101c01e4f8SBryan Drewery.Pa /some/prefix/src
3111c01e4f8SBryan Drewery.Pa /some/prefix/obj
3121c01e4f8SBryan Dreweryand an environment such as:
3131c01e4f8SBryan Drewery.Bd -literal -offset indent
3141c01e4f8SBryan DreweryCCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
3151c01e4f8SBryan Drewery.Ed
3161c01e4f8SBryan Drewery.Pp
3171c01e4f8SBryan DrewerySee
3181c01e4f8SBryan Drewery.Xr ccache 1
3191c01e4f8SBryan Dreweryfor more configuration options.
32093da8366SEnji Cooper.It Va WITHOUT_CCD
32193da8366SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_CCD 277678 2015-01-25 04:52:48Z ngie
32293da8366SEnji CooperSet to not build
32393da8366SEnji Cooper.Xr geom_ccd 4
32493da8366SEnji Cooperand related utilities.
32590be798eSDimitry Andric.It Va WITHOUT_CDDL
32690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_CDDL 163861 2006-11-01 09:02:11Z jb
32790be798eSDimitry AndricSet to not build code licensed under Sun's CDDL.
32890be798eSDimitry AndricWhen set, it also enforces the following options:
32990be798eSDimitry Andric.Pp
33090be798eSDimitry Andric.Bl -item -compact
33190be798eSDimitry Andric.It
33290be798eSDimitry Andric.Va WITHOUT_CTF
33390be798eSDimitry Andric.It
33490be798eSDimitry Andric.Va WITHOUT_ZFS
33590be798eSDimitry Andric.El
33690be798eSDimitry Andric.It Va WITHOUT_CLANG
33790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_CLANG 264660 2014-04-18 17:03:58Z imp
33890be798eSDimitry AndricSet to not build the Clang C/C++ compiler during the regular phase of the build.
33990be798eSDimitry Andric.Pp
34090be798eSDimitry AndricIt is a default setting on
34136e8c7bbSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64.
34290be798eSDimitry AndricWhen set, it also enforces the following options:
34390be798eSDimitry Andric.Pp
34490be798eSDimitry Andric.Bl -item -compact
34590be798eSDimitry Andric.It
34690be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS
34790be798eSDimitry Andric.It
34890be798eSDimitry Andric.Va WITHOUT_CLANG_FULL
34990be798eSDimitry Andric.El
35090be798eSDimitry Andric.It Va WITH_CLANG
35190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_CLANG 264660 2014-04-18 17:03:58Z imp
35290be798eSDimitry AndricSet to build the Clang C/C++ compiler during the normal phase of the build.
35390be798eSDimitry Andric.Pp
35490be798eSDimitry AndricIt is a default setting on
355*661cf9b6SYoshihiro Takahashiamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
35690be798eSDimitry Andric.It Va WITHOUT_CLANG_BOOTSTRAP
357a0f6423bSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_CLANG_BOOTSTRAP 273177 2014-10-16 18:28:11Z skreuzer
35890be798eSDimitry AndricSet to not build the Clang C/C++ compiler during the bootstrap phase of the build.
359a0f6423bSEd MasteYou must enable either gcc or clang bootstrap to be able to build the system,
360a0f6423bSEd Masteunless an alternative compiler is provided via
36190be798eSDimitry AndricXCC.
36290be798eSDimitry Andric.Pp
36390be798eSDimitry AndricIt is a default setting on
36436e8c7bbSEd Mastemips/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.
36590be798eSDimitry Andric.It Va WITH_CLANG_BOOTSTRAP
36690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_CLANG_BOOTSTRAP 264660 2014-04-18 17:03:58Z imp
36790be798eSDimitry AndricSet to build the Clang C/C++ compiler during the bootstrap phase of the build.
36890be798eSDimitry Andric.Pp
36990be798eSDimitry AndricIt is a default setting on
370*661cf9b6SYoshihiro Takahashiamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
37190be798eSDimitry Andric.It Va WITH_CLANG_EXTRAS
37290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_CLANG_EXTRAS 231057 2012-02-05 23:56:22Z dim
37390be798eSDimitry AndricSet to build additional clang and llvm tools, such as bugpoint.
37490be798eSDimitry Andric.It Va WITHOUT_CLANG_FULL
37590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_CLANG_FULL 246259 2013-02-02 22:28:29Z dim
37690be798eSDimitry AndricSet to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
37790be798eSDimitry Andricthe Clang C/C++ compiler.
37890be798eSDimitry Andric.Pp
37990be798eSDimitry AndricIt is a default setting on
38036e8c7bbSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64.
38190be798eSDimitry Andric.It Va WITH_CLANG_FULL
38290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_CLANG_FULL 246259 2013-02-02 22:28:29Z dim
38390be798eSDimitry AndricSet to build the ARCMigrate, Rewriter and StaticAnalyzer components of the
38490be798eSDimitry AndricClang C/C++ compiler.
38590be798eSDimitry Andric.Pp
38690be798eSDimitry AndricIt is a default setting on
387*661cf9b6SYoshihiro Takahashiamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
38890be798eSDimitry Andric.It Va WITHOUT_CLANG_IS_CC
38990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_CLANG_IS_CC 242629 2012-11-05 21:53:23Z brooks
39090be798eSDimitry AndricSet to install the GCC compiler as
39190be798eSDimitry Andric.Pa /usr/bin/cc ,
39290be798eSDimitry Andric.Pa /usr/bin/c++
39390be798eSDimitry Andricand
39490be798eSDimitry Andric.Pa /usr/bin/cpp .
39590be798eSDimitry Andric.Pp
39690be798eSDimitry AndricIt is a default setting on
39736e8c7bbSEd Mastemips/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.
39890be798eSDimitry Andric.It Va WITH_CLANG_IS_CC
39990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_CLANG_IS_CC 235342 2012-05-12 16:12:36Z gjb
40090be798eSDimitry AndricSet to install the Clang C/C++ compiler as
40190be798eSDimitry Andric.Pa /usr/bin/cc ,
40290be798eSDimitry Andric.Pa /usr/bin/c++
40390be798eSDimitry Andricand
40490be798eSDimitry Andric.Pa /usr/bin/cpp .
40590be798eSDimitry Andric.Pp
40690be798eSDimitry AndricIt is a default setting on
407*661cf9b6SYoshihiro Takahashiamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
40890be798eSDimitry Andric.It Va WITHOUT_CPP
40990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_CPP 156932 2006-03-21 07:50:50Z ru
41090be798eSDimitry AndricSet to not build
41190be798eSDimitry Andric.Xr cpp 1 .
41290be798eSDimitry Andric.It Va WITHOUT_CROSS_COMPILER
413c5d09a87SGlen Barber.\" from FreeBSD: head/tools/build/options/WITHOUT_CROSS_COMPILER 275138 2014-11-26 20:43:09Z gjb
41490be798eSDimitry AndricSet to not build any cross compiler in the cross-tools stage of buildworld.
41590be798eSDimitry AndricIf you are compiling a different version of
41690be798eSDimitry Andric.Fx
41790be798eSDimitry Andricthan what is installed on the system, you will need to provide an alternate
41890be798eSDimitry Andriccompiler with XCC to ensure success.
41990be798eSDimitry AndricIf you are compiling with an identical version of
42090be798eSDimitry Andric.Fx
42190be798eSDimitry Andricto the host, this option may be safely used.
42290be798eSDimitry AndricThis option may also be safe when the host version of
42390be798eSDimitry Andric.Fx
42490be798eSDimitry Andricis close to the sources being built, but all bets are off if there have
42590be798eSDimitry Andricbeen any changes to the toolchain between the versions.
42690be798eSDimitry AndricWhen set, it also enforces the following options:
42790be798eSDimitry Andric.Pp
42890be798eSDimitry Andric.Bl -item -compact
42990be798eSDimitry Andric.It
43090be798eSDimitry Andric.Va WITHOUT_BINUTILS_BOOTSTRAP
43190be798eSDimitry Andric.It
43290be798eSDimitry Andric.Va WITHOUT_CLANG_BOOTSTRAP
43390be798eSDimitry Andric.It
434f972b8a4SBryan Drewery.Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
435f972b8a4SBryan Drewery.It
43690be798eSDimitry Andric.Va WITHOUT_GCC_BOOTSTRAP
43790be798eSDimitry Andric.El
43890be798eSDimitry Andric.It Va WITHOUT_CRYPT
43990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_CRYPT 156932 2006-03-21 07:50:50Z ru
44090be798eSDimitry AndricSet to not build any crypto code.
44190be798eSDimitry AndricWhen set, it also enforces the following options:
44290be798eSDimitry Andric.Pp
44390be798eSDimitry Andric.Bl -item -compact
44490be798eSDimitry Andric.It
44590be798eSDimitry Andric.Va WITHOUT_KERBEROS
44690be798eSDimitry Andric.It
44790be798eSDimitry Andric.Va WITHOUT_KERBEROS_SUPPORT
44890be798eSDimitry Andric.It
44990be798eSDimitry Andric.Va WITHOUT_OPENSSH
45090be798eSDimitry Andric.It
45190be798eSDimitry Andric.Va WITHOUT_OPENSSL
45290be798eSDimitry Andric.El
45390be798eSDimitry Andric.Pp
45490be798eSDimitry AndricWhen set, the following options are also in effect:
45590be798eSDimitry Andric.Pp
45690be798eSDimitry Andric.Bl -inset -compact
45790be798eSDimitry Andric.It Va WITHOUT_GSSAPI
45890be798eSDimitry Andric(unless
45990be798eSDimitry Andric.Va WITH_GSSAPI
46090be798eSDimitry Andricis set explicitly)
46190be798eSDimitry Andric.El
46290be798eSDimitry Andric.It Va WITH_CTF
46390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_CTF 228159 2011-11-30 18:22:44Z fjoe
46490be798eSDimitry AndricSet to compile with CTF (Compact C Type Format) data.
46590be798eSDimitry AndricCTF data encapsulates a reduced form of debugging information
46690be798eSDimitry Andricsimilar to DWARF and the venerable stabs and is required for DTrace.
46790be798eSDimitry Andric.It Va WITHOUT_CTM
46890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_CTM 183242 2008-09-21 22:02:26Z sam
46990be798eSDimitry AndricSet to not build
47090be798eSDimitry Andric.Xr ctm 1
47190be798eSDimitry Andricand related utilities.
47254d8c5d5SBryan Drewery.It Va WITHOUT_CUSE
47354d8c5d5SBryan Drewery.\" from FreeBSD: head/tools/build/options/WITHOUT_CUSE 270171 2014-08-19 15:40:26Z hselasky
47454d8c5d5SBryan DrewerySet to not build CUSE-related programs and libraries.
47590be798eSDimitry Andric.It Va WITHOUT_CXX
4764a62dc3aSBryan Drewery.\" from FreeBSD: head/tools/build/options/WITHOUT_CXX 281053 2015-04-03 23:55:04Z bdrewery
47790be798eSDimitry AndricSet to not build
4784a62dc3aSBryan Drewery.Xr c++ 1
47990be798eSDimitry Andricand related libraries.
48090be798eSDimitry AndricIt will also prevent building of
48190be798eSDimitry Andric.Xr gperf 1
48290be798eSDimitry Andricand
48390be798eSDimitry Andric.Xr devd 8 .
48490be798eSDimitry AndricWhen set, it also enforces the following options:
48590be798eSDimitry Andric.Pp
48690be798eSDimitry Andric.Bl -item -compact
48790be798eSDimitry Andric.It
48890be798eSDimitry Andric.Va WITHOUT_CLANG
48990be798eSDimitry Andric.It
49090be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS
49190be798eSDimitry Andric.It
49290be798eSDimitry Andric.Va WITHOUT_CLANG_FULL
49390be798eSDimitry Andric.It
494051ea717SEd Maste.Va WITHOUT_DTRACE_TESTS
495051ea717SEd Maste.It
49618c6fc4cSJulio Merino.Va WITHOUT_GNUCXX
49718c6fc4cSJulio Merino.It
49890be798eSDimitry Andric.Va WITHOUT_GROFF
499051ea717SEd Maste.It
500051ea717SEd Maste.Va WITHOUT_TESTS
501051ea717SEd Maste.It
502051ea717SEd Maste.Va WITHOUT_TESTS_SUPPORT
50390be798eSDimitry Andric.El
5044a5e4462SEd Maste.It Va WITHOUT_DEBUG_FILES
5054a5e4462SEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_DEBUG_FILES 290059 2015-10-27 20:49:56Z emaste
5064a5e4462SEd MasteSet to avoid building or installing standalone debug files for each
5074a5e4462SEd Masteexecutable binary and shared library.
508cc68b6e5SEd Maste.It Va WITHOUT_DIALOG
509cc68b6e5SEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_DIALOG 306375 2016-09-27 18:08:38Z emaste
510cc68b6e5SEd MasteSet to not build dialog(1), dialog(1,3), and dpv(1,3).
511cc68b6e5SEd MasteWhen set, it also enforces the following options:
512cc68b6e5SEd Maste.Pp
513cc68b6e5SEd Maste.Bl -item -compact
514cc68b6e5SEd Maste.It
515cc68b6e5SEd Maste.Va WITHOUT_BSDINSTALL
516cc68b6e5SEd Maste.El
51790be798eSDimitry Andric.It Va WITHOUT_DICT
51890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_DICT 156932 2006-03-21 07:50:50Z ru
51990be798eSDimitry AndricSet to not build the Webster dictionary files.
52032b5dc9aSSimon J. Gerraty.It Va WITH_DIRDEPS_BUILD
521be894451SBryan Drewery.\" from FreeBSD: head/tools/build/options/WITH_DIRDEPS_BUILD 298007 2016-04-14 22:00:49Z bdrewery
522be894451SBryan DreweryThis is an experimental build system.
52332b5dc9aSSimon J. GerratyFor details see
52432b5dc9aSSimon J. Gerratyhttp://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
525be894451SBryan DreweryBuild commands can be seen from the top-level with:
526be894451SBryan Drewery.Dl make show-valid-targets
52732b5dc9aSSimon J. GerratyThe build is driven by dirdeps.mk using
52832b5dc9aSSimon J. Gerraty.Va DIRDEPS
52932b5dc9aSSimon J. Gerratystored in
53032b5dc9aSSimon J. GerratyMakefile.depend files found in each directory.
53132b5dc9aSSimon J. Gerraty.Pp
53232b5dc9aSSimon J. GerratyThe build can be started from anywhere, and behaves the same.
53332b5dc9aSSimon J. GerratyThe initial instance of
53432b5dc9aSSimon J. Gerraty.Xr make 1
53532b5dc9aSSimon J. Gerratyrecursively reads
53632b5dc9aSSimon J. Gerraty.Va DIRDEPS
53732b5dc9aSSimon J. Gerratyfrom Makefile.depend
53832b5dc9aSSimon J. Gerratycomputing a graph of tree dependencies from the current origin.
53932b5dc9aSSimon J. GerratySetting
54032b5dc9aSSimon J. Gerraty.Va NO_DIRDEPS
54132b5dc9aSSimon J. Gerratywill skip checking dirdep dependencies and will only build in the current
5427f76a95cSBryan Dreweryand child directories.
5437f76a95cSBryan Drewery.Va NO_DIRDEPS_BELOW
5447f76a95cSBryan Drewerywill skip building any dirdeps and only build the current directory.
54532b5dc9aSSimon J. Gerraty.Pp
546be894451SBryan DreweryThis also utilizes the
547be894451SBryan Drewery.Va WITH_META_MODE
548be894451SBryan Drewerylogic for incremental builds.
54932b5dc9aSSimon J. Gerraty.Pp
55032b5dc9aSSimon J. GerratyThe build will hide commands ran unless
55132b5dc9aSSimon J. Gerraty.Va NO_SILENT
55232b5dc9aSSimon J. Gerratyis defined.
55332b5dc9aSSimon J. Gerraty.Pp
554be894451SBryan DreweryNote that there is currently no mass install feature for this.
555be894451SBryan Drewery.Pp
55632b5dc9aSSimon J. GerratyWhen set, it also enforces the following options:
55732b5dc9aSSimon J. Gerraty.Pp
55832b5dc9aSSimon J. Gerraty.Bl -item -compact
55932b5dc9aSSimon J. Gerraty.It
56032b5dc9aSSimon J. Gerraty.Va WITH_INSTALL_AS_USER
56132b5dc9aSSimon J. Gerraty.El
56232b5dc9aSSimon J. Gerraty.Pp
56332b5dc9aSSimon J. GerratyWhen set, the following options are also in effect:
56432b5dc9aSSimon J. Gerraty.Pp
56532b5dc9aSSimon J. Gerraty.Bl -inset -compact
56632b5dc9aSSimon J. Gerraty.It Va WITH_AUTO_OBJ
56732b5dc9aSSimon J. Gerraty(unless
56832b5dc9aSSimon J. Gerraty.Va WITHOUT_AUTO_OBJ
56932b5dc9aSSimon J. Gerratyis set explicitly)
57026b79d5bSHajimu UMEMOTO.It Va WITH_META_MODE
57126b79d5bSHajimu UMEMOTO(unless
57226b79d5bSHajimu UMEMOTO.Va WITHOUT_META_MODE
57326b79d5bSHajimu UMEMOTOis set explicitly)
57432b5dc9aSSimon J. Gerraty.It Va WITH_STAGING
57532b5dc9aSSimon J. Gerraty(unless
57632b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING
57732b5dc9aSSimon J. Gerratyis set explicitly)
57832b5dc9aSSimon J. Gerraty.It Va WITH_STAGING_MAN
57932b5dc9aSSimon J. Gerraty(unless
58032b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING_MAN
58132b5dc9aSSimon J. Gerratyis set explicitly)
58232b5dc9aSSimon J. Gerraty.It Va WITH_STAGING_PROG
58332b5dc9aSSimon J. Gerraty(unless
58432b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING_PROG
58532b5dc9aSSimon J. Gerratyis set explicitly)
58632b5dc9aSSimon J. Gerraty.It Va WITH_SYSROOT
58732b5dc9aSSimon J. Gerraty(unless
58832b5dc9aSSimon J. Gerraty.Va WITHOUT_SYSROOT
58932b5dc9aSSimon J. Gerratyis set explicitly)
59032b5dc9aSSimon J. Gerraty.El
59132b5dc9aSSimon J. Gerraty.Pp
59232b5dc9aSSimon J. GerratyThis must be set in the environment, make command line, or
59332b5dc9aSSimon J. Gerraty.Pa /etc/src-env.conf ,
59432b5dc9aSSimon J. Gerratynot
59532b5dc9aSSimon J. Gerraty.Pa /etc/src.conf .
596cc2520d2SSimon J. Gerraty.It Va WITH_DIRDEPS_CACHE
59732b5dc9aSSimon J. Gerraty.\" from FreeBSD: head/tools/build/options/WITH_DIRDEPS_CACHE 290816 2015-11-14 03:24:48Z sjg
598cc2520d2SSimon J. GerratyCache result of dirdeps.mk which can save significant time
599cc2520d2SSimon J. Gerratyfor subsequent builds.
600cc2520d2SSimon J. GerratyDepends on
60132b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD .
6020a70ef02SBryan Drewery.Pp
603ba852870SBryan DreweryThis must be set in the environment, make command line, or
6040a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
6050a70ef02SBryan Drewerynot
6060a70ef02SBryan Drewery.Pa /etc/src.conf .
60790be798eSDimitry Andric.It Va WITHOUT_DMAGENT
60890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_DMAGENT 262335 2014-02-22 13:05:23Z bapt
60990be798eSDimitry AndricSet to not build dma Mail Transport Agent
61090be798eSDimitry Andric.It Va WITHOUT_DOCCOMPRESS
61190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_DOCCOMPRESS 266752 2014-05-27 15:52:27Z gjb
61290be798eSDimitry AndricSet to not to install compressed system documentation.
61390be798eSDimitry AndricOnly the uncompressed version will be installed.
61416f3fdf5SMark Johnston.It Va WITH_DTRACE_TESTS
61516f3fdf5SMark Johnston.\" from FreeBSD: head/tools/build/options/WITH_DTRACE_TESTS 286174 2015-08-02 00:37:33Z markj
61616f3fdf5SMark JohnstonSet to build and install the DTrace test suite in
61716f3fdf5SMark Johnston.Pa /usr/tests/cddl/usr.sbin/dtrace .
61816f3fdf5SMark JohnstonThis test suite is considered experimental on architectures other than
61916f3fdf5SMark Johnstonamd64/amd64 and running it may cause system instability.
62090be798eSDimitry Andric.It Va WITHOUT_DYNAMICROOT
62190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_DYNAMICROOT 156932 2006-03-21 07:50:50Z ru
62290be798eSDimitry AndricSet this if you do not want to link
62390be798eSDimitry Andric.Pa /bin
62490be798eSDimitry Andricand
62590be798eSDimitry Andric.Pa /sbin
62690be798eSDimitry Andricdynamically.
62790be798eSDimitry Andric.It Va WITHOUT_ED_CRYPTO
62890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ED_CRYPTO 235660 2012-05-19 20:05:27Z marcel
62990be798eSDimitry AndricSet to build
63090be798eSDimitry Andric.Xr ed 1
63190be798eSDimitry Andricwithout support for encryption/decryption.
63293da8366SEnji Cooper.It Va WITHOUT_EE
63393da8366SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_EE 277663 2015-01-25 00:03:44Z ngie
63493da8366SEnji CooperSet to not build and install
63593da8366SEnji Cooper.Xr edit 1 ,
63693da8366SEnji Cooper.Xr ee 1 ,
63793da8366SEnji Cooperand related programs.
6380cd582c8SEnji Cooper.It Va WITHOUT_EFI
6390cd582c8SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_EFI 311135 2017-01-02 20:07:56Z ngie
6400cd582c8SEnji CooperSet not to build
6410cd582c8SEnji Cooper.Xr efivar 3
6420cd582c8SEnji Cooperand
6430cd582c8SEnji Cooper.Xr efivar 8 .
6440cd582c8SEnji Cooper.Pp
6450cd582c8SEnji CooperIt is a default setting on
6460cd582c8SEnji Coopermips/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.
6470cd582c8SEnji Cooper.It Va WITH_EFI
6480cd582c8SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITH_EFI 311135 2017-01-02 20:07:56Z ngie
6490cd582c8SEnji CooperSet to build
6500cd582c8SEnji Cooper.Xr efivar 3
6510cd582c8SEnji Cooperand
6520cd582c8SEnji Cooper.Xr efivar 8 .
6530cd582c8SEnji Cooper.Pp
6540cd582c8SEnji CooperIt is a default setting on
655*661cf9b6SYoshihiro Takahashiamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
65690be798eSDimitry Andric.It Va WITH_EISA
65790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_EISA 264654 2014-04-18 16:53:06Z imp
65890be798eSDimitry AndricSet to build EISA kernel modules.
6595977355fSBryan Drewery.It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
6605977355fSBryan Drewery.\" from FreeBSD: head/tools/build/options/WITHOUT_ELFTOOLCHAIN_BOOTSTRAP 295491 2016-02-11 00:14:00Z emaste
6615977355fSBryan DrewerySet to not build ELF Tool Chain tools
6625977355fSBryan Drewery(addr2line, nm, size, strings and strip)
6635977355fSBryan Dreweryas part of the bootstrap process.
6645977355fSBryan Drewery.Bf -symbolic
6655977355fSBryan DreweryAn alternate bootstrap tool chain must be provided.
6665977355fSBryan Drewery.Ef
66790be798eSDimitry Andric.It Va WITHOUT_EXAMPLES
66890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_EXAMPLES 156938 2006-03-21 09:06:24Z ru
66990be798eSDimitry AndricSet to avoid installing examples to
67090be798eSDimitry Andric.Pa /usr/share/examples/ .
671d5a2667bSJonathan T. Looney.It Va WITH_EXTRA_TCP_STACKS
672d5a2667bSJonathan T. Looney.\" from FreeBSD: head/tools/build/options/WITH_EXTRA_TCP_STACKS 302247 2016-06-28 13:37:01Z jtl
673d5a2667bSJonathan T. LooneySet to build extra TCP stack modules.
67490be798eSDimitry Andric.It Va WITHOUT_FDT
67590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_FDT 221539 2011-05-06 19:10:27Z ru
67690be798eSDimitry AndricSet to not build Flattened Device Tree support as part of the base system.
67790be798eSDimitry AndricThis includes the device tree compiler (dtc) and libfdt support library.
6780e0e9604SEnji Cooper.It Va WITHOUT_FILE
6790e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_FILE 278193 2015-02-04 10:24:40Z ngie
6800e0e9604SEnji CooperSet to not build
6810e0e9604SEnji Cooper.Xr file 1
6820e0e9604SEnji Cooperand related programs.
6830e0e9604SEnji Cooper.It Va WITHOUT_FINGER
6840e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_FINGER 278192 2015-02-04 10:19:32Z ngie
6850e0e9604SEnji CooperSet to not build or install
6860e0e9604SEnji Cooper.Xr finger 1
6870e0e9604SEnji Cooperand
6880e0e9604SEnji Cooper.Xr fingerd 8 .
68990be798eSDimitry Andric.It Va WITHOUT_FLOPPY
69090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_FLOPPY 221540 2011-05-06 19:13:03Z ru
69190be798eSDimitry AndricSet to not build or install programs
69290be798eSDimitry Andricfor operating floppy disk driver.
69390be798eSDimitry Andric.It Va WITHOUT_FMTREE
69490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_FMTREE 261299 2014-01-30 21:37:43Z brooks
69590be798eSDimitry AndricSet to not build and install
69690be798eSDimitry Andric.Pa /usr/sbin/fmtree .
697a0f6423bSEd Maste.It Va WITHOUT_FORMAT_EXTENSIONS
698a0f6423bSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_FORMAT_EXTENSIONS 250658 2013-05-15 13:04:10Z brooks
699a0f6423bSEd MasteSet to not enable
700a0f6423bSEd Maste.Fl fformat-extensions
701a0f6423bSEd Mastewhen compiling the kernel.
702a0f6423bSEd MasteAlso disables all format checking.
70390be798eSDimitry Andric.It Va WITHOUT_FORTH
70490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_FORTH 156932 2006-03-21 07:50:50Z ru
70590be798eSDimitry AndricSet to build bootloaders without Forth support.
70690be798eSDimitry Andric.It Va WITHOUT_FP_LIBC
70790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_FP_LIBC 156932 2006-03-21 07:50:50Z ru
70890be798eSDimitry AndricSet to build
70990be798eSDimitry Andric.Nm libc
71090be798eSDimitry Andricwithout floating-point support.
71190be798eSDimitry Andric.It Va WITHOUT_FREEBSD_UPDATE
71290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_FREEBSD_UPDATE 183242 2008-09-21 22:02:26Z sam
71390be798eSDimitry AndricSet to not build
71490be798eSDimitry Andric.Xr freebsd-update 8 .
7150e0e9604SEnji Cooper.It Va WITHOUT_FTP
7160e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_FTP 278192 2015-02-04 10:19:32Z ngie
7170e0e9604SEnji CooperSet to not build or install
7180e0e9604SEnji Cooper.Xr ftp 1
7190e0e9604SEnji Cooperand
7200e0e9604SEnji Cooper.Xr ftpd 8 .
72190be798eSDimitry Andric.It Va WITHOUT_GAMES
72290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GAMES 156932 2006-03-21 07:50:50Z ru
72390be798eSDimitry AndricSet to not build games.
72490be798eSDimitry Andric.It Va WITHOUT_GCC
72590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GCC 264660 2014-04-18 17:03:58Z imp
72690be798eSDimitry AndricSet to not build and install gcc and g++ as part of the normal build process.
72790be798eSDimitry Andric.Pp
72890be798eSDimitry AndricIt is a default setting on
729*661cf9b6SYoshihiro Takahashiamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
73090be798eSDimitry Andric.It Va WITH_GCC
73190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_GCC 255326 2013-09-06 20:49:48Z zeising
73290be798eSDimitry AndricSet to build and install gcc and g++.
73390be798eSDimitry Andric.Pp
73490be798eSDimitry AndricIt is a default setting on
73536e8c7bbSEd Mastemips/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.
73690be798eSDimitry Andric.It Va WITHOUT_GCC_BOOTSTRAP
737a0f6423bSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_GCC_BOOTSTRAP 273177 2014-10-16 18:28:11Z skreuzer
73890be798eSDimitry AndricSet to not build gcc and g++ as part of the bootstrap process.
739a0f6423bSEd MasteYou must enable either gcc or clang bootstrap to be able to build the system,
740a0f6423bSEd Masteunless an alternative compiler is provided via
74190be798eSDimitry AndricXCC.
74290be798eSDimitry Andric.Pp
74390be798eSDimitry AndricIt is a default setting on
744*661cf9b6SYoshihiro Takahashiamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
74590be798eSDimitry Andric.It Va WITH_GCC_BOOTSTRAP
74690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_GCC_BOOTSTRAP 264660 2014-04-18 17:03:58Z imp
74790be798eSDimitry AndricSet to build gcc and g++ as part of the bootstrap process.
74890be798eSDimitry Andric.Pp
74990be798eSDimitry AndricIt is a default setting on
75036e8c7bbSEd Mastemips/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.
75190be798eSDimitry Andric.It Va WITHOUT_GCOV
75290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GCOV 156932 2006-03-21 07:50:50Z ru
75390be798eSDimitry AndricSet to not build the
75490be798eSDimitry Andric.Xr gcov 1
75590be798eSDimitry Andrictool.
75690be798eSDimitry Andric.It Va WITHOUT_GDB
75790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GDB 156932 2006-03-21 07:50:50Z ru
75890be798eSDimitry AndricSet to not build
75990be798eSDimitry Andric.Xr gdb 1 .
7605be09b10SEd Maste.Pp
7615be09b10SEd MasteIt is a default setting on
7625be09b10SEd Mastearm64/aarch64.
7635977355fSBryan Drewery.It Va WITH_GDB
7645977355fSBryan Drewery.\" from FreeBSD: head/tools/build/options/WITH_GDB 295493 2016-02-11 00:30:51Z emaste
7655977355fSBryan DrewerySet to build
7665977355fSBryan Drewery.Xr gdb 1 .
7675977355fSBryan Drewery.Pp
7685977355fSBryan DreweryIt is a default setting on
769*661cf9b6SYoshihiro Takahashiamd64/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.
77090be798eSDimitry Andric.It Va WITHOUT_GNU
77190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GNU 174550 2007-12-12 16:43:17Z ru
77290be798eSDimitry AndricSet to not build contributed GNU software as a part of the base system.
77390be798eSDimitry AndricThis option can be useful if the system built must not contain any code
77490be798eSDimitry Andriccovered by the GNU Public License due to legal reasons.
77590be798eSDimitry Andric.Bf -symbolic
77690be798eSDimitry AndricThe option has no effect yet.
77790be798eSDimitry Andric.Ef
77890be798eSDimitry AndricWhen set, it also enforces the following options:
77990be798eSDimitry Andric.Pp
78090be798eSDimitry Andric.Bl -item -compact
78190be798eSDimitry Andric.It
78290be798eSDimitry Andric.Va WITHOUT_GNU_SUPPORT
78390be798eSDimitry Andric.El
78490be798eSDimitry Andric.It Va WITHOUT_GNUCXX
78590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GNUCXX 255321 2013-09-06 20:08:03Z theraven
78690be798eSDimitry AndricDo not build the GNU C++ stack (g++, libstdc++).
78790be798eSDimitry AndricThis is the default on platforms where clang is the system compiler.
78890be798eSDimitry Andric.Pp
78990be798eSDimitry AndricIt is a default setting on
790*661cf9b6SYoshihiro Takahashiamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64 and i386/i386.
79190be798eSDimitry Andric.It Va WITH_GNUCXX
79290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_GNUCXX 255321 2013-09-06 20:08:03Z theraven
79390be798eSDimitry AndricBuild the GNU C++ stack (g++, libstdc++).
79490be798eSDimitry AndricThis is the default on platforms where gcc is the system compiler.
79590be798eSDimitry Andric.Pp
79690be798eSDimitry AndricIt is a default setting on
79736e8c7bbSEd Mastemips/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.
79836e8c7bbSEd Maste.It Va WITHOUT_GNU_DIFF
79936e8c7bbSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_GNU_DIFF 307674 2016-10-20 14:48:57Z emaste
80036e8c7bbSEd MasteSet to not build GNU
80136e8c7bbSEd Maste.Xr diff 1
80236e8c7bbSEd Masteand
80336e8c7bbSEd Maste.Xr diff3 1 .
80436e8c7bbSEd Maste.It Va WITHOUT_GNU_GREP
80536e8c7bbSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_GNU_GREP 307674 2016-10-20 14:48:57Z emaste
80636e8c7bbSEd MasteSet to not build GNU
80736e8c7bbSEd Maste.Xr grep 1 .
80890be798eSDimitry Andric.It Va WITHOUT_GNU_GREP_COMPAT
809c5d09a87SGlen Barber.\" from FreeBSD: head/tools/build/options/WITHOUT_GNU_GREP_COMPAT 273421 2014-10-21 20:44:33Z emaste
810c5d09a87SGlen BarberSet this option to omit the gnu extensions to grep from being included in
81190be798eSDimitry AndricBSD grep.
81290be798eSDimitry Andric.It Va WITHOUT_GNU_SUPPORT
81390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GNU_SUPPORT 156932 2006-03-21 07:50:50Z ru
81490be798eSDimitry AndricSet to build some programs without optional GNU support.
81590be798eSDimitry Andric.It Va WITHOUT_GPIO
81690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GPIO 228081 2011-11-28 17:54:34Z dim
81790be798eSDimitry AndricSet to not build
81890be798eSDimitry Andric.Xr gpioctl 8
81990be798eSDimitry Andricas part of the base system.
82090be798eSDimitry Andric.It Va WITHOUT_GPL_DTC
82190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GPL_DTC 264515 2014-04-15 20:41:55Z imp
82290be798eSDimitry AndricSet to build the BSD licensed version of the device tree compiler, instead of the
82390be798eSDimitry AndricGPL'd one from elinux.org.
82490be798eSDimitry Andric.It Va WITHOUT_GROFF
82590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GROFF 218941 2011-02-22 08:13:49Z uqs
82690be798eSDimitry AndricSet to not build
82790be798eSDimitry Andric.Xr groff 1
82890be798eSDimitry Andricand
82990be798eSDimitry Andric.Xr vgrind 1 .
83090be798eSDimitry AndricYou should consider installing the textproc/groff port to not break
83190be798eSDimitry Andric.Xr man 1 .
83290be798eSDimitry Andric.It Va WITHOUT_GSSAPI
83390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GSSAPI 174548 2007-12-12 16:39:32Z ru
83490be798eSDimitry AndricSet to not build libgssapi.
83561940879SEnji Cooper.It Va WITHOUT_HAST
83661940879SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_HAST 277725 2015-01-26 06:27:07Z ngie
83761940879SEnji CooperSet to not build
83861940879SEnji Cooper.Xr hastd 8
83961940879SEnji Cooperand related utilities.
84090be798eSDimitry Andric.It Va WITH_HESIOD
84190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_HESIOD 156932 2006-03-21 07:50:50Z ru
84290be798eSDimitry AndricSet to build Hesiod support.
84390be798eSDimitry Andric.It Va WITHOUT_HTML
84490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_HTML 156932 2006-03-21 07:50:50Z ru
84590be798eSDimitry AndricSet to not build HTML docs.
8462c4b4abcSXin LI.It Va WITHOUT_HYPERV
8472c4b4abcSXin LI.\" from FreeBSD: head/tools/build/options/WITHOUT_HYPERV 271493 2014-09-13 02:15:31Z delphij
8482c4b4abcSXin LISet to not build or install HyperV utilities.
84990be798eSDimitry Andric.It Va WITHOUT_ICONV
85090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ICONV 254919 2013-08-26 17:15:56Z antoine
85190be798eSDimitry AndricSet to not build iconv as part of libc.
852c5d09a87SGlen Barber.It Va WITHOUT_INCLUDES
853c5d09a87SGlen Barber.\" from FreeBSD: head/tools/build/options/WITHOUT_INCLUDES 275138 2014-11-26 20:43:09Z gjb
854c5d09a87SGlen BarberSet to not install header files.
855c5d09a87SGlen BarberThis option used to be spelled
856c5d09a87SGlen Barber.Va NO_INCS .
857c5d09a87SGlen Barber.Bf -symbolic
858c5d09a87SGlen BarberThe option does not work for build targets.
859c5d09a87SGlen Barber.Ef
86090be798eSDimitry Andric.It Va WITHOUT_INET
86190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_INET 221266 2011-04-30 17:58:28Z bz
86290be798eSDimitry AndricSet to not build programs and libraries related to IPv4 networking.
86390be798eSDimitry AndricWhen set, it also enforces the following options:
86490be798eSDimitry Andric.Pp
86590be798eSDimitry Andric.Bl -item -compact
86690be798eSDimitry Andric.It
86790be798eSDimitry Andric.Va WITHOUT_INET_SUPPORT
86890be798eSDimitry Andric.El
86990be798eSDimitry Andric.It Va WITHOUT_INET6
87090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_INET6 156932 2006-03-21 07:50:50Z ru
87190be798eSDimitry AndricSet to not build
87290be798eSDimitry Andricprograms and libraries related to IPv6 networking.
87390be798eSDimitry AndricWhen set, it also enforces the following options:
87490be798eSDimitry Andric.Pp
87590be798eSDimitry Andric.Bl -item -compact
87690be798eSDimitry Andric.It
87790be798eSDimitry Andric.Va WITHOUT_INET6_SUPPORT
87890be798eSDimitry Andric.El
87990be798eSDimitry Andric.It Va WITHOUT_INET6_SUPPORT
88090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_INET6_SUPPORT 156932 2006-03-21 07:50:50Z ru
88190be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv6 support.
8820e0e9604SEnji Cooper.It Va WITHOUT_INETD
8830e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_INETD 278192 2015-02-04 10:19:32Z ngie
8840e0e9604SEnji CooperSet to not build
8850e0e9604SEnji Cooper.Xr inetd 8 .
88690be798eSDimitry Andric.It Va WITHOUT_INET_SUPPORT
88790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_INET_SUPPORT 221266 2011-04-30 17:58:28Z bz
88890be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv4 support.
88990be798eSDimitry Andric.It Va WITHOUT_INSTALLLIB
890f79bedf5SBryan Drewery.\" from FreeBSD: head/tools/build/options/WITHOUT_INSTALLLIB 297941 2016-04-13 21:01:58Z bdrewery
89190be798eSDimitry AndricSet this if you do not want to install optional libraries.
89290be798eSDimitry AndricFor example when creating a
89390be798eSDimitry Andric.Xr nanobsd 8
89490be798eSDimitry Andricimage.
895f79bedf5SBryan Drewery.Bf -symbolic
896f79bedf5SBryan DreweryThe option does not work for build targets.
897f79bedf5SBryan Drewery.Ef
89890be798eSDimitry Andric.It Va WITH_INSTALL_AS_USER
89990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_INSTALL_AS_USER 238021 2012-07-02 20:24:01Z marcel
90090be798eSDimitry AndricSet to make install targets succeed for non-root users by installing
90190be798eSDimitry Andricfiles with owner and group attributes set to that of the user running
90290be798eSDimitry Andricthe
90390be798eSDimitry Andric.Xr make 1
90490be798eSDimitry Andriccommand.
90590be798eSDimitry AndricThe user still has to set the
90690be798eSDimitry Andric.Va DESTDIR
90790be798eSDimitry Andricvariable to point to a directory where the user has write permissions.
90890be798eSDimitry Andric.It Va WITHOUT_IPFILTER
90990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_IPFILTER 156932 2006-03-21 07:50:50Z ru
91090be798eSDimitry AndricSet to not build IP Filter package.
91190be798eSDimitry Andric.It Va WITHOUT_IPFW
91290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_IPFW 183242 2008-09-21 22:02:26Z sam
91390be798eSDimitry AndricSet to not build IPFW tools.
91493da8366SEnji Cooper.It Va WITHOUT_ISCSI
91593da8366SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_ISCSI 277675 2015-01-25 04:20:11Z ngie
91693da8366SEnji CooperSet to not build
91793da8366SEnji Cooper.Xr iscid 8
91893da8366SEnji Cooperand related utilities.
91990be798eSDimitry Andric.It Va WITHOUT_JAIL
92090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_JAIL 249966 2013-04-27 04:09:09Z eadler
92190be798eSDimitry AndricSet to not build tools for the support of jails; e.g.,
92290be798eSDimitry Andric.Xr jail 8 .
92390be798eSDimitry Andric.It Va WITHOUT_KDUMP
92490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_KDUMP 240690 2012-09-19 11:38:37Z zeising
92590be798eSDimitry AndricSet to not build
92690be798eSDimitry Andric.Xr kdump 1
92790be798eSDimitry Andricand
92890be798eSDimitry Andric.Xr truss 1 .
92990be798eSDimitry Andric.It Va WITHOUT_KERBEROS
93090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_KERBEROS 174549 2007-12-12 16:42:03Z ru
93190be798eSDimitry AndricSet this if you do not want to build Kerberos 5 (KTH Heimdal).
93290be798eSDimitry AndricWhen set, it also enforces the following options:
93390be798eSDimitry Andric.Pp
93490be798eSDimitry Andric.Bl -item -compact
93590be798eSDimitry Andric.It
93690be798eSDimitry Andric.Va WITHOUT_KERBEROS_SUPPORT
93790be798eSDimitry Andric.El
93890be798eSDimitry Andric.Pp
93990be798eSDimitry AndricWhen set, the following options are also in effect:
94090be798eSDimitry Andric.Pp
94190be798eSDimitry Andric.Bl -inset -compact
94290be798eSDimitry Andric.It Va WITHOUT_GSSAPI
94390be798eSDimitry Andric(unless
94490be798eSDimitry Andric.Va WITH_GSSAPI
94590be798eSDimitry Andricis set explicitly)
94690be798eSDimitry Andric.El
94790be798eSDimitry Andric.It Va WITHOUT_KERBEROS_SUPPORT
94890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_KERBEROS_SUPPORT 251794 2013-06-15 20:29:07Z eadler
94990be798eSDimitry AndricSet to build some programs without Kerberos support, like
95090be798eSDimitry Andric.Xr ssh 1 ,
95190be798eSDimitry Andric.Xr telnet 1 ,
95290be798eSDimitry Andric.Xr sshd 8 ,
95390be798eSDimitry Andricand
95490be798eSDimitry Andric.Xr telnetd 8 .
955a0f6423bSEd Maste.It Va WITHOUT_KERNEL_SYMBOLS
956a0f6423bSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_KERNEL_SYMBOLS 222189 2011-05-22 18:23:17Z imp
957a0f6423bSEd MasteSet to not install kernel symbol files.
958a0f6423bSEd Maste.Bf -symbolic
959a0f6423bSEd MasteThis option is recommended for those people who have small root partitions.
960a0f6423bSEd Maste.Ef
96190be798eSDimitry Andric.It Va WITHOUT_KVM
96290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_KVM 174550 2007-12-12 16:43:17Z ru
96390be798eSDimitry AndricSet to not build the
96490be798eSDimitry Andric.Nm libkvm
96590be798eSDimitry Andriclibrary as a part of the base system.
96690be798eSDimitry Andric.Bf -symbolic
96790be798eSDimitry AndricThe option has no effect yet.
96890be798eSDimitry Andric.Ef
96990be798eSDimitry AndricWhen set, it also enforces the following options:
97090be798eSDimitry Andric.Pp
97190be798eSDimitry Andric.Bl -item -compact
97290be798eSDimitry Andric.It
97390be798eSDimitry Andric.Va WITHOUT_KVM_SUPPORT
97490be798eSDimitry Andric.El
97590be798eSDimitry Andric.It Va WITHOUT_KVM_SUPPORT
97690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_KVM_SUPPORT 170644 2007-06-13 02:08:04Z sepotvin
97790be798eSDimitry AndricSet to build some programs without optional
97890be798eSDimitry Andric.Nm libkvm
97990be798eSDimitry Andricsupport.
98090be798eSDimitry Andric.It Va WITHOUT_LDNS
98190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LDNS 255591 2013-09-15 13:11:13Z des
98290be798eSDimitry AndricSetting this variable will prevent the LDNS library from being built.
98390be798eSDimitry AndricWhen set, it also enforces the following options:
98490be798eSDimitry Andric.Pp
98590be798eSDimitry Andric.Bl -item -compact
98690be798eSDimitry Andric.It
98790be798eSDimitry Andric.Va WITHOUT_LDNS_UTILS
98890be798eSDimitry Andric.It
98990be798eSDimitry Andric.Va WITHOUT_UNBOUND
99090be798eSDimitry Andric.El
99190be798eSDimitry Andric.It Va WITHOUT_LDNS_UTILS
99290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LDNS_UTILS 255850 2013-09-24 14:33:31Z des
99390be798eSDimitry AndricSetting this variable will prevent building the LDNS utilities
99490be798eSDimitry Andric.Xr drill 1
99590be798eSDimitry Andricand
99690be798eSDimitry Andric.Xr host 1 .
99790be798eSDimitry Andric.It Va WITHOUT_LEGACY_CONSOLE
998973e8b3eSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_LEGACY_CONSOLE 296264 2016-03-01 11:36:10Z trasz
99990be798eSDimitry AndricSet to not build programs that support a legacy PC console; e.g.,
100023a6b49aSEdward Tomasz Napierala.Xr kbdcontrol 1
100190be798eSDimitry Andricand
100223a6b49aSEdward Tomasz Napierala.Xr vidcontrol 1 .
100390be798eSDimitry Andric.It Va WITHOUT_LIB32
1004c5d09a87SGlen Barber.\" from FreeBSD: head/tools/build/options/WITHOUT_LIB32 274664 2014-11-18 17:06:48Z imp
1005c5d09a87SGlen BarberOn 64-bit platforms, set to not build 32-bit library set and a
100690be798eSDimitry Andric.Nm ld-elf32.so.1
100790be798eSDimitry Andricruntime linker.
100890be798eSDimitry Andric.It Va WITHOUT_LIBCPLUSPLUS
100990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LIBCPLUSPLUS 246262 2013-02-02 22:42:46Z dim
101090be798eSDimitry AndricSet to avoid building libcxxrt and libc++.
101190be798eSDimitry Andric.It Va WITHOUT_LIBPTHREAD
101290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LIBPTHREAD 188848 2009-02-20 11:09:55Z mtm
101390be798eSDimitry AndricSet to not build the
101490be798eSDimitry Andric.Nm libpthread
101590be798eSDimitry Andricproviding library,
101690be798eSDimitry Andric.Nm libthr .
101790be798eSDimitry AndricWhen set, it also enforces the following options:
101890be798eSDimitry Andric.Pp
101990be798eSDimitry Andric.Bl -item -compact
102090be798eSDimitry Andric.It
102190be798eSDimitry Andric.Va WITHOUT_LIBTHR
102290be798eSDimitry Andric.El
10238a7c8ae4SBryan Drewery.It Va WITH_LIBSOFT
10248a7c8ae4SBryan Drewery.\" from FreeBSD: head/tools/build/options/WITH_LIBSOFT 300325 2016-05-20 19:23:07Z bdrewery
10258a7c8ae4SBryan DreweryOn armv6 only, set to enable soft float ABI compatibility libraries.
10268a7c8ae4SBryan DreweryThis option is for transitioning to the new hard float ABI.
102790be798eSDimitry Andric.It Va WITHOUT_LIBTHR
102890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LIBTHR 156932 2006-03-21 07:50:50Z ru
102990be798eSDimitry AndricSet to not build the
103090be798eSDimitry Andric.Nm libthr
103190be798eSDimitry Andric(1:1 threading)
103290be798eSDimitry Andriclibrary.
103336e8c7bbSEd Maste.It Va WITHOUT_LLD
103436e8c7bbSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_LLD 309124 2016-11-24 22:54:55Z dim
103536e8c7bbSEd MasteSet to not build LLVM's lld linker.
103636e8c7bbSEd Maste.Pp
103736e8c7bbSEd MasteIt is a default setting on
1038*661cf9b6SYoshihiro Takahashiarm/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.
103936e8c7bbSEd Maste.It Va WITH_LLD
104036e8c7bbSEd Maste.\" from FreeBSD: head/tools/build/options/WITH_LLD 309124 2016-11-24 22:54:55Z dim
104136e8c7bbSEd MasteSet to build LLVM's lld linker.
104236e8c7bbSEd Maste.Pp
104336e8c7bbSEd MasteIt is a default setting on
104436e8c7bbSEd Masteamd64/amd64 and arm64/aarch64.
10451500eb21SEd Maste.It Va WITHOUT_LLDB
10461500eb21SEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_LLDB 289275 2015-10-14 00:23:31Z emaste
10471500eb21SEd MasteSet to not build the LLDB debugger.
10481500eb21SEd Maste.Pp
10491500eb21SEd MasteIt is a default setting on
1050*661cf9b6SYoshihiro Takahashiarm/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.
105190be798eSDimitry Andric.It Va WITH_LLDB
105290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_LLDB 255722 2013-09-20 01:52:02Z emaste
105390be798eSDimitry AndricSet to build the LLDB debugger.
10541500eb21SEd Maste.Pp
10551500eb21SEd MasteIt is a default setting on
10561500eb21SEd Masteamd64/amd64 and arm64/aarch64.
1057*661cf9b6SYoshihiro Takahashi.It Va WITHOUT_LLD_IS_LD
1058*661cf9b6SYoshihiro Takahashi.\" from FreeBSD: head/tools/build/options/WITHOUT_LLD_IS_LD 312855 2017-01-27 01:59:12Z emaste
105936e8c7bbSEd MasteSet to use GNU binutils ld as the system linker, instead of LLVM's LLD.
106036e8c7bbSEd Maste.Pp
106136e8c7bbSEd MasteIt is a default setting on
1062*661cf9b6SYoshihiro Takahashiamd64/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.
1063*661cf9b6SYoshihiro Takahashi.It Va WITH_LLD_IS_LD
1064*661cf9b6SYoshihiro Takahashi.\" from FreeBSD: head/tools/build/options/WITH_LLD_IS_LD 312855 2017-01-27 01:59:12Z emaste
106536e8c7bbSEd MasteSet to use LLVM's LLD as the system linker, instead of GNU binutils ld.
106636e8c7bbSEd Maste.Pp
106736e8c7bbSEd MasteIt is a default setting on
106836e8c7bbSEd Mastearm64/aarch64.
10691500eb21SEd Maste.It Va WITHOUT_LLVM_LIBUNWIND
10701500eb21SEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_LLVM_LIBUNWIND 293450 2016-01-09 00:42:07Z emaste
10711500eb21SEd MasteSet to use GCC's stack unwinder (instead of LLVM's libunwind).
10721500eb21SEd Maste.Pp
10731500eb21SEd MasteIt is a default setting on
107436e8c7bbSEd Mastearm/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.
10751500eb21SEd Maste.It Va WITH_LLVM_LIBUNWIND
10761500eb21SEd Maste.\" from FreeBSD: head/tools/build/options/WITH_LLVM_LIBUNWIND 293450 2016-01-09 00:42:07Z emaste
10771500eb21SEd MasteSet to use LLVM's libunwind stack unwinder (instead of GCC's unwinder).
10781500eb21SEd Maste.Pp
10791500eb21SEd MasteIt is a default setting on
1080*661cf9b6SYoshihiro Takahashiamd64/amd64, arm64/aarch64 and i386/i386.
108190be798eSDimitry Andric.It Va WITHOUT_LOCALES
108290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LOCALES 156932 2006-03-21 07:50:50Z ru
108390be798eSDimitry AndricSet to not build localization files; see
108490be798eSDimitry Andric.Xr locale 1 .
108590be798eSDimitry Andric.It Va WITHOUT_LOCATE
108690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LOCATE 183242 2008-09-21 22:02:26Z sam
108790be798eSDimitry AndricSet to not build
108890be798eSDimitry Andric.Xr locate 1
108990be798eSDimitry Andricand related programs.
109090be798eSDimitry Andric.It Va WITHOUT_LPR
109190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LPR 156932 2006-03-21 07:50:50Z ru
109290be798eSDimitry AndricSet to not build
109390be798eSDimitry Andric.Xr lpr 1
109490be798eSDimitry Andricand related programs.
109590be798eSDimitry Andric.It Va WITHOUT_LS_COLORS
109690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LS_COLORS 235660 2012-05-19 20:05:27Z marcel
109790be798eSDimitry AndricSet to build
109890be798eSDimitry Andric.Xr ls 1
109990be798eSDimitry Andricwithout support for colors to distinguish file types.
110090be798eSDimitry Andric.It Va WITHOUT_LZMA_SUPPORT
110190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LZMA_SUPPORT 245171 2013-01-08 18:37:12Z obrien
110290be798eSDimitry AndricSet to build some programs without optional lzma compression support.
110390be798eSDimitry Andric.It Va WITHOUT_MAIL
110490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_MAIL 183242 2008-09-21 22:02:26Z sam
110590be798eSDimitry AndricSet to not build any mail support (MUA or MTA).
110690be798eSDimitry AndricWhen set, it also enforces the following options:
110790be798eSDimitry Andric.Pp
110890be798eSDimitry Andric.Bl -item -compact
110990be798eSDimitry Andric.It
111090be798eSDimitry Andric.Va WITHOUT_DMAGENT
111190be798eSDimitry Andric.It
111290be798eSDimitry Andric.Va WITHOUT_MAILWRAPPER
111390be798eSDimitry Andric.It
111490be798eSDimitry Andric.Va WITHOUT_SENDMAIL
111590be798eSDimitry Andric.El
111690be798eSDimitry Andric.It Va WITHOUT_MAILWRAPPER
111790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_MAILWRAPPER 156932 2006-03-21 07:50:50Z ru
111890be798eSDimitry AndricSet to not build the
111990be798eSDimitry Andric.Xr mailwrapper 8
112090be798eSDimitry AndricMTA selector.
112190be798eSDimitry Andric.It Va WITHOUT_MAKE
112290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_MAKE 183242 2008-09-21 22:02:26Z sam
112390be798eSDimitry AndricSet to not install
112490be798eSDimitry Andric.Xr make 1
112590be798eSDimitry Andricand related support files.
112690be798eSDimitry Andric.It Va WITHOUT_MAN
112790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_MAN 156932 2006-03-21 07:50:50Z ru
112890be798eSDimitry AndricSet to not build manual pages.
112990be798eSDimitry AndricWhen set, the following options are also in effect:
113090be798eSDimitry Andric.Pp
113190be798eSDimitry Andric.Bl -inset -compact
113290be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS
113390be798eSDimitry Andric(unless
113490be798eSDimitry Andric.Va WITH_MAN_UTILS
113590be798eSDimitry Andricis set explicitly)
113690be798eSDimitry Andric.El
113790be798eSDimitry Andric.It Va WITHOUT_MANCOMPRESS
113890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_MANCOMPRESS 266752 2014-05-27 15:52:27Z gjb
113990be798eSDimitry AndricSet to not to install compressed man pages.
114090be798eSDimitry AndricOnly the uncompressed versions will be installed.
114188546663SBaptiste Daroussin.It Va WITHOUT_MANDOCDB
114296f1cff1SEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_MANDOCDB 306966 2016-10-10 15:40:08Z emaste
114396f1cff1SEd MasteUse the version of
114496f1cff1SEd Maste.Xr makewhatis 1
114596f1cff1SEd Masteintroduced in
114696f1cff1SEd Maste.Fx 2.1 ,
114796f1cff1SEd Masteinstead of the
114888546663SBaptiste Daroussin.Xr makewhatis 8
114996f1cff1SEd Mastedatabase and utilities from
115096f1cff1SEd Maste.Xr mandoc 1 .
115190be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS
115290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_MAN_UTILS 208322 2010-05-20 00:07:21Z jkim
115390be798eSDimitry AndricSet to not build utilities for manual pages,
115490be798eSDimitry Andric.Xr apropos 1 ,
115590be798eSDimitry Andric.Xr catman 1 ,
115690be798eSDimitry Andric.Xr makewhatis 1 ,
115790be798eSDimitry Andric.Xr man 1 ,
115890be798eSDimitry Andric.Xr whatis 1 ,
115990be798eSDimitry Andric.Xr manctl 8 ,
116090be798eSDimitry Andricand related support files.
1161cc2520d2SSimon J. Gerraty.It Va WITH_META_MODE
11627b29256bSBryan Drewery.\" from FreeBSD: head/tools/build/options/WITH_META_MODE 306145 2016-09-21 21:32:05Z bdrewery
1163be894451SBryan DreweryCreates
1164be894451SBryan Drewery.Xr make 1
1165be894451SBryan Drewerymeta files when building, which can provide a reliable incremental build when
1166be894451SBryan Dreweryusing
1167be894451SBryan Drewery.Xr filemon 4 .
1168be894451SBryan DreweryThe meta file is created in the OBJDIR as
1169be894451SBryan Drewery.Pa target.meta .
1170be894451SBryan DreweryThese meta files track the command ran, its output, and the current directory.
11712710e62cSBryan DreweryThe
11727f76a95cSBryan Drewery.Xr filemon 4
11732710e62cSBryan Drewerymodule is required unless
11742710e62cSBryan Drewery.Va NO_FILEMON
11752710e62cSBryan Dreweryis defined.
11762710e62cSBryan DreweryWhen the module is loaded, any files used by the commands executed will be
11772710e62cSBryan Drewerytracked as
1178be894451SBryan Drewerydependencies for the target in its meta file.
1179be894451SBryan DreweryThe target will be considered out-of-date and rebuilt if any of the following
1180be894451SBryan Dreweryare true compared to the last build:
1181be894451SBryan Drewery.Bl -bullet -compact
1182be894451SBryan Drewery.It
1183be894451SBryan DreweryThe command to execute changes.
1184be894451SBryan Drewery.It
1185be894451SBryan DreweryThe current working directory changes.
1186be894451SBryan Drewery.It
1187a4a2269eSBryan DreweryThe target's meta file is missing.
1188a4a2269eSBryan Drewery.It
1189a4a2269eSBryan DreweryThe target's meta file is missing filemon data when filemon is loaded
1190a4a2269eSBryan Dreweryand a previous run did not have it loaded.
1191be894451SBryan Drewery.It
1192be894451SBryan Drewery[requires
1193be894451SBryan Drewery.Xr filemon 4 ]
1194be894451SBryan DreweryFiles read, executed or linked to are newer than the target.
1195be894451SBryan Drewery.It
1196be894451SBryan Drewery[requires
1197be894451SBryan Drewery.Xr filemon 4 ]
1198be894451SBryan DreweryFiles read, written, executed or linked are missing.
1199be894451SBryan Drewery.El
12007f76a95cSBryan DreweryThe meta files can also be useful for debugging.
12017f76a95cSBryan Drewery.Pp
12027f76a95cSBryan DreweryThe build will hide commands ran unless
12037f76a95cSBryan Drewery.Va NO_SILENT
12047f76a95cSBryan Dreweryis defined.
12052710e62cSBryan DreweryErrors will cause
12062710e62cSBryan Drewery.Xr make 1
12072710e62cSBryan Dreweryto show some of its environment for further debugging.
12080a70ef02SBryan Drewery.Pp
1209be894451SBryan DreweryThe build operates as it normally would otherwise.
1210be894451SBryan DreweryThis option originally invoked a different build system but that was renamed
1211be894451SBryan Dreweryto
1212be894451SBryan Drewery.Va WITH_DIRDEPS_BUILD .
1213be894451SBryan Drewery.Pp
1214ba852870SBryan DreweryThis must be set in the environment, make command line, or
12150a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
12160a70ef02SBryan Drewerynot
12170a70ef02SBryan Drewery.Pa /etc/src.conf .
121890be798eSDimitry Andric.It Va WITH_NAND
121990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_NAND 235537 2012-05-17 10:11:18Z gber
122090be798eSDimitry AndricSet to build the NAND Flash components.
122190be798eSDimitry Andric.It Va WITHOUT_NDIS
122290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NDIS 183242 2008-09-21 22:02:26Z sam
122390be798eSDimitry AndricSet to not build programs and libraries
122490be798eSDimitry Andricrelated to NDIS emulation support.
122590be798eSDimitry Andric.It Va WITHOUT_NETCAT
122690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NETCAT 156932 2006-03-21 07:50:50Z ru
122790be798eSDimitry AndricSet to not build
122890be798eSDimitry Andric.Xr nc 1
122990be798eSDimitry Andricutility.
123090be798eSDimitry Andric.It Va WITHOUT_NETGRAPH
123190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NETGRAPH 183242 2008-09-21 22:02:26Z sam
123290be798eSDimitry AndricSet to not build applications to support
123390be798eSDimitry Andric.Xr netgraph 4 .
123490be798eSDimitry AndricWhen set, it also enforces the following options:
123590be798eSDimitry Andric.Pp
123690be798eSDimitry Andric.Bl -item -compact
123790be798eSDimitry Andric.It
123890be798eSDimitry Andric.Va WITHOUT_ATM
123990be798eSDimitry Andric.It
124090be798eSDimitry Andric.Va WITHOUT_BLUETOOTH
124190be798eSDimitry Andric.It
124290be798eSDimitry Andric.Va WITHOUT_NETGRAPH_SUPPORT
124390be798eSDimitry Andric.El
124490be798eSDimitry Andric.It Va WITHOUT_NETGRAPH_SUPPORT
124590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NETGRAPH_SUPPORT 183305 2008-09-23 16:11:15Z sam
124690be798eSDimitry AndricSet to build libraries, programs, and kernel modules without netgraph support.
124790be798eSDimitry Andric.It Va WITHOUT_NIS
124890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NIS 156932 2006-03-21 07:50:50Z ru
124990be798eSDimitry AndricSet to not build
125090be798eSDimitry Andric.Xr NIS 8
125190be798eSDimitry Andricsupport and related programs.
125290be798eSDimitry AndricIf set, you might need to adopt your
125390be798eSDimitry Andric.Xr nsswitch.conf 5
125490be798eSDimitry Andricand remove
125590be798eSDimitry Andric.Sq nis
125690be798eSDimitry Andricentries.
125790be798eSDimitry Andric.It Va WITHOUT_NLS
125890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NLS 156932 2006-03-21 07:50:50Z ru
125990be798eSDimitry AndricSet to not build NLS catalogs.
126090be798eSDimitry Andric.It Va WITHOUT_NLS_CATALOGS
126190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NLS_CATALOGS 156932 2006-03-21 07:50:50Z ru
126290be798eSDimitry AndricSet to not build NLS catalog support for
126390be798eSDimitry Andric.Xr csh 1 .
126490be798eSDimitry Andric.It Va WITHOUT_NS_CACHING
126590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NS_CACHING 172803 2007-10-19 14:01:25Z ru
126690be798eSDimitry AndricSet to disable name caching in the
126790be798eSDimitry Andric.Pa nsswitch
126890be798eSDimitry Andricsubsystem.
126990be798eSDimitry AndricThe generic caching daemon,
127090be798eSDimitry Andric.Xr nscd 8 ,
127190be798eSDimitry Andricwill not be built either if this option is set.
127290be798eSDimitry Andric.It Va WITHOUT_NTP
127390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NTP 183242 2008-09-21 22:02:26Z sam
127490be798eSDimitry AndricSet to not build
127590be798eSDimitry Andric.Xr ntpd 8
127690be798eSDimitry Andricand related programs.
127790be798eSDimitry Andric.It Va WITH_OFED
127890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_OFED 228081 2011-11-28 17:54:34Z dim
127990be798eSDimitry AndricSet to build the
128090be798eSDimitry Andric.Dq "OpenFabrics Enterprise Distribution"
128190be798eSDimitry AndricInfiniband software stack.
128290be798eSDimitry Andric.It Va WITH_OPENLDAP
128390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_OPENLDAP 264902 2014-04-24 23:17:31Z imp
128490be798eSDimitry AndricEnable building openldap support for kerberos.
128590be798eSDimitry Andric.It Va WITHOUT_OPENSSH
128690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_OPENSSH 156932 2006-03-21 07:50:50Z ru
128790be798eSDimitry AndricSet to not build OpenSSH.
128890be798eSDimitry Andric.It Va WITHOUT_OPENSSL
128990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_OPENSSL 156932 2006-03-21 07:50:50Z ru
129090be798eSDimitry AndricSet to not build OpenSSL.
129190be798eSDimitry AndricWhen set, it also enforces the following options:
129290be798eSDimitry Andric.Pp
129390be798eSDimitry Andric.Bl -item -compact
129490be798eSDimitry Andric.It
129590be798eSDimitry Andric.Va WITHOUT_KERBEROS
129690be798eSDimitry Andric.It
129790be798eSDimitry Andric.Va WITHOUT_KERBEROS_SUPPORT
129890be798eSDimitry Andric.It
129990be798eSDimitry Andric.Va WITHOUT_OPENSSH
130090be798eSDimitry Andric.El
130190be798eSDimitry Andric.Pp
130290be798eSDimitry AndricWhen set, the following options are also in effect:
130390be798eSDimitry Andric.Pp
130490be798eSDimitry Andric.Bl -inset -compact
130590be798eSDimitry Andric.It Va WITHOUT_GSSAPI
130690be798eSDimitry Andric(unless
130790be798eSDimitry Andric.Va WITH_GSSAPI
130890be798eSDimitry Andricis set explicitly)
130990be798eSDimitry Andric.El
131090be798eSDimitry Andric.It Va WITHOUT_PAM
131190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PAM 174550 2007-12-12 16:43:17Z ru
131290be798eSDimitry AndricSet to not build PAM library and modules.
131390be798eSDimitry Andric.Bf -symbolic
131490be798eSDimitry AndricThis option is deprecated and does nothing.
131590be798eSDimitry Andric.Ef
131690be798eSDimitry AndricWhen set, it also enforces the following options:
131790be798eSDimitry Andric.Pp
131890be798eSDimitry Andric.Bl -item -compact
131990be798eSDimitry Andric.It
132090be798eSDimitry Andric.Va WITHOUT_PAM_SUPPORT
132190be798eSDimitry Andric.El
132290be798eSDimitry Andric.It Va WITHOUT_PAM_SUPPORT
132390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PAM_SUPPORT 156932 2006-03-21 07:50:50Z ru
132490be798eSDimitry AndricSet to build some programs without PAM support, particularly
132590be798eSDimitry Andric.Xr ftpd 8
132690be798eSDimitry Andricand
132790be798eSDimitry Andric.Xr ppp 8 .
132890be798eSDimitry Andric.It Va WITHOUT_PC_SYSINSTALL
132990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PC_SYSINSTALL 245606 2013-01-18 15:57:09Z eadler
133090be798eSDimitry AndricSet to not build
133190be798eSDimitry Andric.Xr pc-sysinstall 8
133290be798eSDimitry Andricand related programs.
133390be798eSDimitry Andric.It Va WITHOUT_PF
133490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PF 156932 2006-03-21 07:50:50Z ru
133590be798eSDimitry AndricSet to not build PF firewall package.
133690be798eSDimitry AndricWhen set, it also enforces the following options:
133790be798eSDimitry Andric.Pp
133890be798eSDimitry Andric.Bl -item -compact
133990be798eSDimitry Andric.It
134090be798eSDimitry Andric.Va WITHOUT_AUTHPF
134190be798eSDimitry Andric.El
134290be798eSDimitry Andric.It Va WITHOUT_PKGBOOTSTRAP
134390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PKGBOOTSTRAP 258924 2013-12-04 15:58:42Z bdrewery
134490be798eSDimitry AndricSet to not build
134590be798eSDimitry Andric.Xr pkg 7
134690be798eSDimitry Andricbootstrap tool.
134790be798eSDimitry Andric.It Va WITHOUT_PMC
134890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PMC 183242 2008-09-21 22:02:26Z sam
134990be798eSDimitry AndricSet to not build
135090be798eSDimitry Andric.Xr pmccontrol 8
135190be798eSDimitry Andricand related programs.
135290be798eSDimitry Andric.It Va WITHOUT_PORTSNAP
135390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PORTSNAP 183242 2008-09-21 22:02:26Z sam
135490be798eSDimitry AndricSet to not build or install
135590be798eSDimitry Andric.Xr portsnap 8
135690be798eSDimitry Andricand related files.
135790be798eSDimitry Andric.It Va WITHOUT_PPP
135890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PPP 183242 2008-09-21 22:02:26Z sam
135990be798eSDimitry AndricSet to not build
136090be798eSDimitry Andric.Xr ppp 8
136190be798eSDimitry Andricand related programs.
136290be798eSDimitry Andric.It Va WITHOUT_PROFILE
136390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PROFILE 228196 2011-12-02 09:09:54Z fjoe
136490be798eSDimitry AndricSet to avoid compiling profiled libraries.
136590be798eSDimitry Andric.It Va WITHOUT_QUOTAS
1366973e8b3eSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_QUOTAS 296264 2016-03-01 11:36:10Z trasz
136790be798eSDimitry AndricSet to not build
136823a6b49aSEdward Tomasz Napierala.Xr quota 1
136990be798eSDimitry Andricand related programs.
13700e0e9604SEnji Cooper.It Va WITHOUT_RADIUS_SUPPORT
13710e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_RADIUS_SUPPORT 278182 2015-02-04 06:53:45Z ngie
13720e0e9604SEnji CooperSet to not build radius support into various applications, like
13730e0e9604SEnji Cooper.Xr pam_radius 8
13740e0e9604SEnji Cooperand
13750e0e9604SEnji Cooper.Xr ppp 8 .
13760e0e9604SEnji Cooper.It Va WITHOUT_RBOOTD
13770e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_RBOOTD 278192 2015-02-04 10:19:32Z ngie
13780e0e9604SEnji CooperSet to not build or install
13790e0e9604SEnji Cooper.Xr rbootd 8 .
138090be798eSDimitry Andric.It Va WITHOUT_RCMDS
138190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_RCMDS 156932 2006-03-21 07:50:50Z ru
138290be798eSDimitry AndricDisable building of the
138390be798eSDimitry Andric.Bx
138490be798eSDimitry Andricr-commands.
138590be798eSDimitry AndricThis includes
138690be798eSDimitry Andric.Xr rlogin 1 ,
138790be798eSDimitry Andric.Xr rsh 1 ,
138890be798eSDimitry Andricetc.
13896dfa2a0aSEd Maste.It Va WITH_REPRODUCIBLE_BUILD
13900cd582c8SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITH_REPRODUCIBLE_BUILD 310271 2016-12-19 15:09:30Z gjb
13916dfa2a0aSEd MasteSet to exclude build metadata (such as the build time, user, or host)
13926dfa2a0aSEd Mastefrom the kernel, boot loaders, and uname output, so that builds produce
13936dfa2a0aSEd Mastebit-for-bit identical output.
139490be798eSDimitry Andric.It Va WITHOUT_RESCUE
139590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_RESCUE 156932 2006-03-21 07:50:50Z ru
139690be798eSDimitry AndricSet to not build
139790be798eSDimitry Andric.Xr rescue 8 .
139890be798eSDimitry Andric.It Va WITHOUT_ROUTED
139990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ROUTED 183242 2008-09-21 22:02:26Z sam
140090be798eSDimitry AndricSet to not build
140190be798eSDimitry Andric.Xr routed 8
140290be798eSDimitry Andricutility.
140390be798eSDimitry Andric.It Va WITHOUT_SENDMAIL
140490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SENDMAIL 156932 2006-03-21 07:50:50Z ru
140590be798eSDimitry AndricSet to not build
140690be798eSDimitry Andric.Xr sendmail 8
140790be798eSDimitry Andricand related programs.
140890be798eSDimitry Andric.It Va WITHOUT_SETUID_LOGIN
140990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SETUID_LOGIN 156932 2006-03-21 07:50:50Z ru
141090be798eSDimitry AndricSet this to disable the installation of
141190be798eSDimitry Andric.Xr login 1
141290be798eSDimitry Andricas a set-user-ID root program.
141390be798eSDimitry Andric.It Va WITHOUT_SHAREDOCS
141490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SHAREDOCS 156932 2006-03-21 07:50:50Z ru
141590be798eSDimitry AndricSet to not build the
141690be798eSDimitry Andric.Bx 4.4
141790be798eSDimitry Andriclegacy docs.
141890be798eSDimitry Andric.It Va WITH_SHARED_TOOLCHAIN
141990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_SHARED_TOOLCHAIN 235342 2012-05-12 16:12:36Z gjb
142090be798eSDimitry AndricSet to build the toolchain binaries shared.
142190be798eSDimitry AndricThe set includes
142290be798eSDimitry Andric.Xr cc 1 ,
142390be798eSDimitry Andric.Xr make 1
142490be798eSDimitry Andricand necessary utilities like assembler, linker and library archive manager.
142590be798eSDimitry Andric.It Va WITH_SORT_THREADS
142690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_SORT_THREADS 264158 2014-04-05 18:00:45Z imp
142790be798eSDimitry AndricSet to enable threads in
142890be798eSDimitry Andric.Xr sort 1 .
142990be798eSDimitry Andric.It Va WITHOUT_SOURCELESS
143090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS 230972 2012-02-04 00:54:43Z rmh
143190be798eSDimitry AndricSet to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
143290be798eSDimitry AndricWhen set, it also enforces the following options:
143390be798eSDimitry Andric.Pp
143490be798eSDimitry Andric.Bl -item -compact
143590be798eSDimitry Andric.It
143690be798eSDimitry Andric.Va WITHOUT_SOURCELESS_HOST
143790be798eSDimitry Andric.It
143890be798eSDimitry Andric.Va WITHOUT_SOURCELESS_UCODE
143990be798eSDimitry Andric.El
144090be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_HOST
144190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS_HOST 230972 2012-02-04 00:54:43Z rmh
144290be798eSDimitry AndricSet to not build kernel modules that include sourceless native code for host CPU.
144390be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_UCODE
144490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS_UCODE 230972 2012-02-04 00:54:43Z rmh
144590be798eSDimitry AndricSet to not build kernel modules that include sourceless microcode.
144690be798eSDimitry Andric.It Va WITHOUT_SSP
144790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SSP 180012 2008-06-25 21:33:28Z ru
144890be798eSDimitry AndricSet to not build world with propolice stack smashing protection.
1449cc68b6e5SEd Maste.Pp
1450cc68b6e5SEd MasteIt is a default setting on
145136e8c7bbSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
14520cd582c8SEnji Cooper.It Va WITH_SSP
14530cd582c8SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITH_SSP 311136 2017-01-02 20:09:09Z ngie
14540cd582c8SEnji CooperSet to build world with propolice stack smashing protection.
14550cd582c8SEnji Cooper.Pp
14560cd582c8SEnji CooperIt is a default setting on
1457*661cf9b6SYoshihiro Takahashiamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1458cc2520d2SSimon J. Gerraty.It Va WITH_STAGING
145932b5dc9aSSimon J. Gerraty.\" from FreeBSD: head/tools/build/options/WITH_STAGING 290816 2015-11-14 03:24:48Z sjg
1460cc2520d2SSimon J. GerratyEnable staging of files to a stage tree.
1461cc2520d2SSimon J. GerratyThis can be best thought of as auto-install to
1462cc2520d2SSimon J. Gerraty.Va DESTDIR
1463cc2520d2SSimon J. Gerratywith some extra meta data to ensure dependencies can be tracked.
1464cc2520d2SSimon J. GerratyDepends on
146532b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD .
1466cc2520d2SSimon J. GerratyWhen set, the following options are also in effect:
1467cc2520d2SSimon J. Gerraty.Pp
1468cc2520d2SSimon J. Gerraty.Bl -inset -compact
1469cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN
1470cc2520d2SSimon J. Gerraty(unless
1471cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_MAN
1472cc2520d2SSimon J. Gerratyis set explicitly)
1473cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG
1474cc2520d2SSimon J. Gerraty(unless
1475cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_PROG
1476cc2520d2SSimon J. Gerratyis set explicitly)
1477cc2520d2SSimon J. Gerraty.El
14780a70ef02SBryan Drewery.Pp
1479ba852870SBryan DreweryThis must be set in the environment, make command line, or
14800a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
14810a70ef02SBryan Drewerynot
14820a70ef02SBryan Drewery.Pa /etc/src.conf .
1483cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN
14845be09b10SEd Maste.\" from FreeBSD: head/tools/build/options/WITH_STAGING_MAN 284708 2015-06-22 20:21:57Z sjg
1485cc2520d2SSimon J. GerratyEnable staging of MAN pages to stage tree.
1486cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG
14875be09b10SEd Maste.\" from FreeBSD: head/tools/build/options/WITH_STAGING_PROG 284708 2015-06-22 20:21:57Z sjg
1488cc2520d2SSimon J. GerratyEnable staging of PROGs to stage tree.
1489cc2520d2SSimon J. Gerraty.It Va WITH_STALE_STAGED
14905be09b10SEd Maste.\" from FreeBSD: head/tools/build/options/WITH_STALE_STAGED 284708 2015-06-22 20:21:57Z sjg
1491cc2520d2SSimon J. GerratyCheck staged files are not stale.
149290be798eSDimitry Andric.It Va WITH_SVN
149390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_SVN 252561 2013-07-03 12:36:47Z zeising
149490be798eSDimitry AndricSet to install
149590be798eSDimitry Andric.Xr svnlite 1
149690be798eSDimitry Andricas
149790be798eSDimitry Andric.Xr svn 1 .
149890be798eSDimitry Andric.It Va WITHOUT_SVNLITE
149990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SVNLITE 252561 2013-07-03 12:36:47Z zeising
150090be798eSDimitry AndricSet to not build
150190be798eSDimitry Andric.Xr svnlite 1
150290be798eSDimitry Andricand related programs.
150390be798eSDimitry Andric.It Va WITHOUT_SYMVER
150490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SYMVER 169649 2007-05-17 05:03:24Z deischen
150590be798eSDimitry AndricSet to disable symbol versioning when building shared libraries.
150690be798eSDimitry Andric.It Va WITHOUT_SYSCONS
150790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SYSCONS 156932 2006-03-21 07:50:50Z ru
150890be798eSDimitry AndricSet to not build
150990be798eSDimitry Andric.Xr syscons 4
151090be798eSDimitry Andricsupport files such as keyboard maps, fonts, and screen output maps.
1511cc2520d2SSimon J. Gerraty.It Va WITH_SYSROOT
151232b5dc9aSSimon J. Gerraty.\" from FreeBSD: head/tools/build/options/WITH_SYSROOT 290816 2015-11-14 03:24:48Z sjg
1513cc2520d2SSimon J. GerratyEnable use of sysroot during build.
1514cc2520d2SSimon J. GerratyDepends on
151532b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD .
15160a70ef02SBryan Drewery.Pp
1517ba852870SBryan DreweryThis must be set in the environment, make command line, or
15180a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
15190a70ef02SBryan Drewerynot
15200a70ef02SBryan Drewery.Pa /etc/src.conf .
15218095b3c2SBryan Drewery.It Va WITHOUT_SYSTEM_COMPILER
15228095b3c2SBryan Drewery.\" from FreeBSD: head/tools/build/options/WITHOUT_SYSTEM_COMPILER 300354 2016-05-21 01:32:23Z bdrewery
15238095b3c2SBryan DrewerySet to not opportunistically skip building a cross-compiler during the
1524a9da9b86SBryan Drewerybootstrap phase of the build.
15258095b3c2SBryan DreweryNormally, if the currently installed compiler matches the planned bootstrap
15268095b3c2SBryan Drewerycompiler type and revision, then it will not be built.
1527a9da9b86SBryan DreweryThis does not prevent a compiler from being built for installation though,
1528a9da9b86SBryan Dreweryonly for building one for the build itself.
1529a9da9b86SBryan DreweryThe
1530a9da9b86SBryan Drewery.Va WITHOUT_CLANG
1531a9da9b86SBryan Dreweryand
1532a9da9b86SBryan Drewery.Va WITHOUT_GCC
1533a9da9b86SBryan Dreweryoptions control those.
153493da8366SEnji Cooper.It Va WITHOUT_TALK
153593da8366SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_TALK 277676 2015-01-25 04:37:44Z ngie
153693da8366SEnji CooperSet to not build or install
153793da8366SEnji Cooper.Xr talk 1
153893da8366SEnji Cooperand
153993da8366SEnji Cooper.Xr talkd 8 .
15400e0e9604SEnji Cooper.It Va WITHOUT_TCP_WRAPPERS
15410e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_TCP_WRAPPERS 278192 2015-02-04 10:19:32Z ngie
15420e0e9604SEnji CooperSet to not build or install
15430e0e9604SEnji Cooper.Xr tcpd 8 ,
15440e0e9604SEnji Cooperand related utilities.
154590be798eSDimitry Andric.It Va WITHOUT_TCSH
154690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_TCSH 156932 2006-03-21 07:50:50Z ru
154790be798eSDimitry AndricSet to not build and install
154890be798eSDimitry Andric.Pa /bin/csh
154990be798eSDimitry Andric(which is
155090be798eSDimitry Andric.Xr tcsh 1 ) .
155190be798eSDimitry Andric.It Va WITHOUT_TELNET
1552973e8b3eSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_TELNET 296264 2016-03-01 11:36:10Z trasz
155390be798eSDimitry AndricSet to not build
155423a6b49aSEdward Tomasz Napierala.Xr telnet 1
155590be798eSDimitry Andricand related programs.
155618c6fc4cSJulio Merino.It Va WITHOUT_TESTS
155718c6fc4cSJulio Merino.\" from FreeBSD: head/tools/build/options/WITHOUT_TESTS 268778 2014-07-16 21:40:11Z jmmv
155818c6fc4cSJulio MerinoSet to not build nor install the
155990be798eSDimitry Andric.Fx
156090be798eSDimitry AndricTest Suite in
156190be798eSDimitry Andric.Pa /usr/tests/ .
156290be798eSDimitry AndricSee
156390be798eSDimitry Andric.Xr tests 7
156490be798eSDimitry Andricfor more details.
156518c6fc4cSJulio MerinoThis also disables the build of all test-related dependencies, including ATF.
1566c5d09a87SGlen BarberWhen set, it also enforces the following options:
1567c5d09a87SGlen Barber.Pp
1568c5d09a87SGlen Barber.Bl -item -compact
1569c5d09a87SGlen Barber.It
157016f3fdf5SMark Johnston.Va WITHOUT_DTRACE_TESTS
157116f3fdf5SMark Johnston.It
1572c5d09a87SGlen Barber.Va WITHOUT_TESTS_SUPPORT
1573c5d09a87SGlen Barber.El
1574c5d09a87SGlen Barber.It Va WITHOUT_TESTS_SUPPORT
1575c5d09a87SGlen Barber.\" from FreeBSD: head/tools/build/options/WITHOUT_TESTS_SUPPORT 274665 2014-11-18 17:06:50Z imp
1576c5d09a87SGlen BarberSet to disables the build of all test-related dependencies, including ATF.
157790be798eSDimitry Andric.It Va WITHOUT_TEXTPROC
157890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_TEXTPROC 183242 2008-09-21 22:02:26Z sam
157990be798eSDimitry AndricSet to not build
158090be798eSDimitry Andricprograms used for text processing.
158190be798eSDimitry AndricWhen set, it also enforces the following options:
158290be798eSDimitry Andric.Pp
158390be798eSDimitry Andric.Bl -item -compact
158490be798eSDimitry Andric.It
158590be798eSDimitry Andric.Va WITHOUT_GROFF
158690be798eSDimitry Andric.El
15870e0e9604SEnji Cooper.It Va WITHOUT_TFTP
15880e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_TFTP 278192 2015-02-04 10:19:32Z ngie
15890e0e9604SEnji CooperSet to not build or install
15900e0e9604SEnji Cooper.Xr tftp 1
15910e0e9604SEnji Cooperand
15920e0e9604SEnji Cooper.Xr tftpd 8 .
15930e0e9604SEnji Cooper.It Va WITHOUT_TIMED
15940e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_TIMED 278192 2015-02-04 10:19:32Z ngie
15950e0e9604SEnji CooperSet to not build or install
15960e0e9604SEnji Cooper.Xr timed 8 .
159790be798eSDimitry Andric.It Va WITHOUT_TOOLCHAIN
1598f79bedf5SBryan Drewery.\" from FreeBSD: head/tools/build/options/WITHOUT_TOOLCHAIN 297939 2016-04-13 20:55:05Z bdrewery
1599148bdd15SBrooks DavisSet to not install header or
160090be798eSDimitry Andricprograms used for program development,
160190be798eSDimitry Andriccompilers, debuggers etc.
160290be798eSDimitry AndricWhen set, it also enforces the following options:
160390be798eSDimitry Andric.Pp
160490be798eSDimitry Andric.Bl -item -compact
160590be798eSDimitry Andric.It
160690be798eSDimitry Andric.Va WITHOUT_BINUTILS
160790be798eSDimitry Andric.It
160890be798eSDimitry Andric.Va WITHOUT_CLANG
160990be798eSDimitry Andric.It
161090be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS
161190be798eSDimitry Andric.It
161290be798eSDimitry Andric.Va WITHOUT_CLANG_FULL
161390be798eSDimitry Andric.It
161490be798eSDimitry Andric.Va WITHOUT_GCC
161590be798eSDimitry Andric.It
161690be798eSDimitry Andric.Va WITHOUT_GDB
1617c5d09a87SGlen Barber.It
1618c5d09a87SGlen Barber.Va WITHOUT_INCLUDES
16193d02549fSBryan Drewery.It
16203d02549fSBryan Drewery.Va WITHOUT_LLDB
162190be798eSDimitry Andric.El
162290be798eSDimitry Andric.It Va WITHOUT_UNBOUND
162390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_UNBOUND 255597 2013-09-15 14:51:23Z des
162490be798eSDimitry AndricSet to not build
162590be798eSDimitry Andric.Xr unbound 8
162690be798eSDimitry Andricand related programs.
162790be798eSDimitry Andric.It Va WITHOUT_USB
162890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_USB 156932 2006-03-21 07:50:50Z ru
162990be798eSDimitry AndricSet to not build USB-related programs and libraries.
1630c5d09a87SGlen Barber.It Va WITHOUT_USB_GADGET_EXAMPLES
1631d60571b4SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_USB_GADGET_EXAMPLES 311548 2017-01-06 21:08:19Z ngie
1632d1040cedSWarren BlockSet to not build USB gadget kernel modules.
163390be798eSDimitry Andric.It Va WITHOUT_UTMPX
163490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_UTMPX 231530 2012-02-11 20:28:42Z ed
163590be798eSDimitry AndricSet to not build user accounting tools such as
163690be798eSDimitry Andric.Xr last 1 ,
163790be798eSDimitry Andric.Xr users 1 ,
163890be798eSDimitry Andric.Xr who 1 ,
163990be798eSDimitry Andric.Xr ac 8 ,
164090be798eSDimitry Andric.Xr lastlogin 8
164190be798eSDimitry Andricand
164290be798eSDimitry Andric.Xr utx 8 .
164390be798eSDimitry Andric.It Va WITHOUT_VI
164490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_VI 264903 2014-04-24 23:17:40Z imp
164590be798eSDimitry AndricSet to not build and install vi, view, ex and related programs.
164690be798eSDimitry Andric.It Va WITHOUT_VT
164790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_VT 268022 2014-06-30 00:20:12Z emaste
164890be798eSDimitry AndricSet to not build
164990be798eSDimitry Andric.Xr vt 4
165090be798eSDimitry Andricsupport files (fonts and keymaps).
165190be798eSDimitry Andric.It Va WITHOUT_WARNS
16529da2c520SBaptiste Daroussin.\" from FreeBSD: head/tools/build/options/WITHOUT_WARNS 276559 2015-01-02 18:57:58Z bapt
165390be798eSDimitry AndricSet this to not add warning flags to the compiler invocations.
165490be798eSDimitry AndricUseful as a temporary workaround when code enters the tree
165590be798eSDimitry Andricwhich triggers warnings in environments that differ from the
1656559f9bfcSJens Schweikhardtoriginal developer.
165790be798eSDimitry Andric.It Va WITHOUT_WIRELESS
165890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_WIRELESS 183242 2008-09-21 22:02:26Z sam
165990be798eSDimitry AndricSet to not build programs used for 802.11 wireless networks; especially
166090be798eSDimitry Andric.Xr wpa_supplicant 8
166190be798eSDimitry Andricand
166290be798eSDimitry Andric.Xr hostapd 8 .
166390be798eSDimitry AndricWhen set, it also enforces the following options:
166490be798eSDimitry Andric.Pp
166590be798eSDimitry Andric.Bl -item -compact
166690be798eSDimitry Andric.It
166790be798eSDimitry Andric.Va WITHOUT_WIRELESS_SUPPORT
166890be798eSDimitry Andric.El
166990be798eSDimitry Andric.It Va WITHOUT_WIRELESS_SUPPORT
167090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_WIRELESS_SUPPORT 183305 2008-09-23 16:11:15Z sam
167190be798eSDimitry AndricSet to build libraries, programs, and kernel modules without
167290be798eSDimitry Andric802.11 wireless support.
167390be798eSDimitry Andric.It Va WITHOUT_WPA_SUPPLICANT_EAPOL
167490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_WPA_SUPPLICANT_EAPOL 156932 2006-03-21 07:50:50Z ru
167590be798eSDimitry AndricBuild
167690be798eSDimitry Andric.Xr wpa_supplicant 8
167790be798eSDimitry Andricwithout support for the IEEE 802.1X protocol and without
167890be798eSDimitry Andricsupport for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
167990be798eSDimitry Andricprotocols (usable only via 802.1X).
168090be798eSDimitry Andric.It Va WITHOUT_ZFS
168190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ZFS 168409 2007-04-06 02:13:30Z pjd
168290be798eSDimitry AndricSet to not build ZFS file system.
168390be798eSDimitry Andric.It Va WITHOUT_ZONEINFO
168490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ZONEINFO 235342 2012-05-12 16:12:36Z gjb
168590be798eSDimitry AndricSet to not build the timezone database.
168690be798eSDimitry Andric.El
168790be798eSDimitry Andric.Sh FILES
168890be798eSDimitry Andric.Bl -tag -compact -width Pa
168990be798eSDimitry Andric.It Pa /etc/src.conf
16900a70ef02SBryan Drewery.It Pa /etc/src-env.conf
169190be798eSDimitry Andric.It Pa /usr/share/mk/bsd.own.mk
169290be798eSDimitry Andric.El
169390be798eSDimitry Andric.Sh SEE ALSO
169490be798eSDimitry Andric.Xr make 1 ,
169590be798eSDimitry Andric.Xr make.conf 5 ,
169690be798eSDimitry Andric.Xr build 7 ,
169790be798eSDimitry Andric.Xr ports 7
169890be798eSDimitry Andric.Sh HISTORY
169990be798eSDimitry AndricThe
170090be798eSDimitry Andric.Nm
170190be798eSDimitry Andricfile appeared in
170290be798eSDimitry Andric.Fx 7.0 .
170390be798eSDimitry Andric.Sh AUTHORS
170490be798eSDimitry AndricThis manual page was autogenerated.
1705