xref: /freebsd/share/man/man5/src.conf.5 (revision 6dfa2a0ac56c89118714d7e0bda0e616b6c041fd)
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*6dfa2a0aSEd Maste.Dd December 19, 2016
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
18036e8c7bbSEd Masteamd64/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, pc98/i386, 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
19836e8c7bbSEd Masteamd64/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, pc98/i386, 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
35536e8c7bbSEd Masteamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, pc98/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
3708a7c8ae4SBryan Dreweryamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386 and pc98/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
38736e8c7bbSEd Masteamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386, pc98/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
4078a7c8ae4SBryan Dreweryamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386 and pc98/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.
63890be798eSDimitry Andric.It Va WITH_EISA
63990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_EISA 264654 2014-04-18 16:53:06Z imp
64090be798eSDimitry AndricSet to build EISA kernel modules.
6415977355fSBryan Drewery.It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
6425977355fSBryan Drewery.\" from FreeBSD: head/tools/build/options/WITHOUT_ELFTOOLCHAIN_BOOTSTRAP 295491 2016-02-11 00:14:00Z emaste
6435977355fSBryan DrewerySet to not build ELF Tool Chain tools
6445977355fSBryan Drewery(addr2line, nm, size, strings and strip)
6455977355fSBryan Dreweryas part of the bootstrap process.
6465977355fSBryan Drewery.Bf -symbolic
6475977355fSBryan DreweryAn alternate bootstrap tool chain must be provided.
6485977355fSBryan Drewery.Ef
64990be798eSDimitry Andric.It Va WITHOUT_EXAMPLES
65090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_EXAMPLES 156938 2006-03-21 09:06:24Z ru
65190be798eSDimitry AndricSet to avoid installing examples to
65290be798eSDimitry Andric.Pa /usr/share/examples/ .
653d5a2667bSJonathan T. Looney.It Va WITH_EXTRA_TCP_STACKS
654d5a2667bSJonathan T. Looney.\" from FreeBSD: head/tools/build/options/WITH_EXTRA_TCP_STACKS 302247 2016-06-28 13:37:01Z jtl
655d5a2667bSJonathan T. LooneySet to build extra TCP stack modules.
65690be798eSDimitry Andric.It Va WITHOUT_FDT
65790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_FDT 221539 2011-05-06 19:10:27Z ru
65890be798eSDimitry AndricSet to not build Flattened Device Tree support as part of the base system.
65990be798eSDimitry AndricThis includes the device tree compiler (dtc) and libfdt support library.
6600e0e9604SEnji Cooper.It Va WITHOUT_FILE
6610e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_FILE 278193 2015-02-04 10:24:40Z ngie
6620e0e9604SEnji CooperSet to not build
6630e0e9604SEnji Cooper.Xr file 1
6640e0e9604SEnji Cooperand related programs.
6650e0e9604SEnji Cooper.It Va WITHOUT_FINGER
6660e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_FINGER 278192 2015-02-04 10:19:32Z ngie
6670e0e9604SEnji CooperSet to not build or install
6680e0e9604SEnji Cooper.Xr finger 1
6690e0e9604SEnji Cooperand
6700e0e9604SEnji Cooper.Xr fingerd 8 .
67190be798eSDimitry Andric.It Va WITHOUT_FLOPPY
67290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_FLOPPY 221540 2011-05-06 19:13:03Z ru
67390be798eSDimitry AndricSet to not build or install programs
67490be798eSDimitry Andricfor operating floppy disk driver.
67590be798eSDimitry Andric.It Va WITHOUT_FMTREE
67690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_FMTREE 261299 2014-01-30 21:37:43Z brooks
67790be798eSDimitry AndricSet to not build and install
67890be798eSDimitry Andric.Pa /usr/sbin/fmtree .
679a0f6423bSEd Maste.It Va WITHOUT_FORMAT_EXTENSIONS
680a0f6423bSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_FORMAT_EXTENSIONS 250658 2013-05-15 13:04:10Z brooks
681a0f6423bSEd MasteSet to not enable
682a0f6423bSEd Maste.Fl fformat-extensions
683a0f6423bSEd Mastewhen compiling the kernel.
684a0f6423bSEd MasteAlso disables all format checking.
68590be798eSDimitry Andric.It Va WITHOUT_FORTH
68690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_FORTH 156932 2006-03-21 07:50:50Z ru
68790be798eSDimitry AndricSet to build bootloaders without Forth support.
68890be798eSDimitry Andric.It Va WITHOUT_FP_LIBC
68990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_FP_LIBC 156932 2006-03-21 07:50:50Z ru
69090be798eSDimitry AndricSet to build
69190be798eSDimitry Andric.Nm libc
69290be798eSDimitry Andricwithout floating-point support.
69390be798eSDimitry Andric.It Va WITHOUT_FREEBSD_UPDATE
69490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_FREEBSD_UPDATE 183242 2008-09-21 22:02:26Z sam
69590be798eSDimitry AndricSet to not build
69690be798eSDimitry Andric.Xr freebsd-update 8 .
6970e0e9604SEnji Cooper.It Va WITHOUT_FTP
6980e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_FTP 278192 2015-02-04 10:19:32Z ngie
6990e0e9604SEnji CooperSet to not build or install
7000e0e9604SEnji Cooper.Xr ftp 1
7010e0e9604SEnji Cooperand
7020e0e9604SEnji Cooper.Xr ftpd 8 .
70390be798eSDimitry Andric.It Va WITHOUT_GAMES
70490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GAMES 156932 2006-03-21 07:50:50Z ru
70590be798eSDimitry AndricSet to not build games.
70690be798eSDimitry Andric.It Va WITHOUT_GCC
70790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GCC 264660 2014-04-18 17:03:58Z imp
70890be798eSDimitry AndricSet to not build and install gcc and g++ as part of the normal build process.
70990be798eSDimitry Andric.Pp
71090be798eSDimitry AndricIt is a default setting on
7118a7c8ae4SBryan Dreweryamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386 and pc98/i386.
71290be798eSDimitry Andric.It Va WITH_GCC
71390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_GCC 255326 2013-09-06 20:49:48Z zeising
71490be798eSDimitry AndricSet to build and install gcc and g++.
71590be798eSDimitry Andric.Pp
71690be798eSDimitry AndricIt is a default setting on
71736e8c7bbSEd 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.
71890be798eSDimitry Andric.It Va WITHOUT_GCC_BOOTSTRAP
719a0f6423bSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_GCC_BOOTSTRAP 273177 2014-10-16 18:28:11Z skreuzer
72090be798eSDimitry AndricSet to not build gcc and g++ as part of the bootstrap process.
721a0f6423bSEd MasteYou must enable either gcc or clang bootstrap to be able to build the system,
722a0f6423bSEd Masteunless an alternative compiler is provided via
72390be798eSDimitry AndricXCC.
72490be798eSDimitry Andric.Pp
72590be798eSDimitry AndricIt is a default setting on
7268a7c8ae4SBryan Dreweryamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386 and pc98/i386.
72790be798eSDimitry Andric.It Va WITH_GCC_BOOTSTRAP
72890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_GCC_BOOTSTRAP 264660 2014-04-18 17:03:58Z imp
72990be798eSDimitry AndricSet to build gcc and g++ as part of the bootstrap process.
73090be798eSDimitry Andric.Pp
73190be798eSDimitry AndricIt is a default setting on
73236e8c7bbSEd 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.
73390be798eSDimitry Andric.It Va WITHOUT_GCOV
73490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GCOV 156932 2006-03-21 07:50:50Z ru
73590be798eSDimitry AndricSet to not build the
73690be798eSDimitry Andric.Xr gcov 1
73790be798eSDimitry Andrictool.
73890be798eSDimitry Andric.It Va WITHOUT_GDB
73990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GDB 156932 2006-03-21 07:50:50Z ru
74090be798eSDimitry AndricSet to not build
74190be798eSDimitry Andric.Xr gdb 1 .
7425be09b10SEd Maste.Pp
7435be09b10SEd MasteIt is a default setting on
7445be09b10SEd Mastearm64/aarch64.
7455977355fSBryan Drewery.It Va WITH_GDB
7465977355fSBryan Drewery.\" from FreeBSD: head/tools/build/options/WITH_GDB 295493 2016-02-11 00:30:51Z emaste
7475977355fSBryan DrewerySet to build
7485977355fSBryan Drewery.Xr gdb 1 .
7495977355fSBryan Drewery.Pp
7505977355fSBryan DreweryIt is a default setting on
75136e8c7bbSEd Masteamd64/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, pc98/i386, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
75290be798eSDimitry Andric.It Va WITHOUT_GNU
75390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GNU 174550 2007-12-12 16:43:17Z ru
75490be798eSDimitry AndricSet to not build contributed GNU software as a part of the base system.
75590be798eSDimitry AndricThis option can be useful if the system built must not contain any code
75690be798eSDimitry Andriccovered by the GNU Public License due to legal reasons.
75790be798eSDimitry Andric.Bf -symbolic
75890be798eSDimitry AndricThe option has no effect yet.
75990be798eSDimitry Andric.Ef
76090be798eSDimitry AndricWhen set, it also enforces the following options:
76190be798eSDimitry Andric.Pp
76290be798eSDimitry Andric.Bl -item -compact
76390be798eSDimitry Andric.It
76490be798eSDimitry Andric.Va WITHOUT_GNU_SUPPORT
76590be798eSDimitry Andric.El
76690be798eSDimitry Andric.It Va WITHOUT_GNUCXX
76790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GNUCXX 255321 2013-09-06 20:08:03Z theraven
76890be798eSDimitry AndricDo not build the GNU C++ stack (g++, libstdc++).
76990be798eSDimitry AndricThis is the default on platforms where clang is the system compiler.
77090be798eSDimitry Andric.Pp
77190be798eSDimitry AndricIt is a default setting on
7728a7c8ae4SBryan Dreweryamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm64/aarch64, i386/i386 and pc98/i386.
77390be798eSDimitry Andric.It Va WITH_GNUCXX
77490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_GNUCXX 255321 2013-09-06 20:08:03Z theraven
77590be798eSDimitry AndricBuild the GNU C++ stack (g++, libstdc++).
77690be798eSDimitry AndricThis is the default on platforms where gcc is the system compiler.
77790be798eSDimitry Andric.Pp
77890be798eSDimitry AndricIt is a default setting on
77936e8c7bbSEd 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.
78036e8c7bbSEd Maste.It Va WITHOUT_GNU_DIFF
78136e8c7bbSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_GNU_DIFF 307674 2016-10-20 14:48:57Z emaste
78236e8c7bbSEd MasteSet to not build GNU
78336e8c7bbSEd Maste.Xr diff 1
78436e8c7bbSEd Masteand
78536e8c7bbSEd Maste.Xr diff3 1 .
78636e8c7bbSEd Maste.It Va WITHOUT_GNU_GREP
78736e8c7bbSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_GNU_GREP 307674 2016-10-20 14:48:57Z emaste
78836e8c7bbSEd MasteSet to not build GNU
78936e8c7bbSEd Maste.Xr grep 1 .
79090be798eSDimitry Andric.It Va WITHOUT_GNU_GREP_COMPAT
791c5d09a87SGlen Barber.\" from FreeBSD: head/tools/build/options/WITHOUT_GNU_GREP_COMPAT 273421 2014-10-21 20:44:33Z emaste
792c5d09a87SGlen BarberSet this option to omit the gnu extensions to grep from being included in
79390be798eSDimitry AndricBSD grep.
79490be798eSDimitry Andric.It Va WITHOUT_GNU_SUPPORT
79590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GNU_SUPPORT 156932 2006-03-21 07:50:50Z ru
79690be798eSDimitry AndricSet to build some programs without optional GNU support.
79790be798eSDimitry Andric.It Va WITHOUT_GPIO
79890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GPIO 228081 2011-11-28 17:54:34Z dim
79990be798eSDimitry AndricSet to not build
80090be798eSDimitry Andric.Xr gpioctl 8
80190be798eSDimitry Andricas part of the base system.
80290be798eSDimitry Andric.It Va WITHOUT_GPL_DTC
80390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GPL_DTC 264515 2014-04-15 20:41:55Z imp
80490be798eSDimitry AndricSet to build the BSD licensed version of the device tree compiler, instead of the
80590be798eSDimitry AndricGPL'd one from elinux.org.
80690be798eSDimitry Andric.It Va WITHOUT_GROFF
80790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GROFF 218941 2011-02-22 08:13:49Z uqs
80890be798eSDimitry AndricSet to not build
80990be798eSDimitry Andric.Xr groff 1
81090be798eSDimitry Andricand
81190be798eSDimitry Andric.Xr vgrind 1 .
81290be798eSDimitry AndricYou should consider installing the textproc/groff port to not break
81390be798eSDimitry Andric.Xr man 1 .
81490be798eSDimitry Andric.It Va WITHOUT_GSSAPI
81590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_GSSAPI 174548 2007-12-12 16:39:32Z ru
81690be798eSDimitry AndricSet to not build libgssapi.
81761940879SEnji Cooper.It Va WITHOUT_HAST
81861940879SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_HAST 277725 2015-01-26 06:27:07Z ngie
81961940879SEnji CooperSet to not build
82061940879SEnji Cooper.Xr hastd 8
82161940879SEnji Cooperand related utilities.
82290be798eSDimitry Andric.It Va WITH_HESIOD
82390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_HESIOD 156932 2006-03-21 07:50:50Z ru
82490be798eSDimitry AndricSet to build Hesiod support.
82590be798eSDimitry Andric.It Va WITHOUT_HTML
82690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_HTML 156932 2006-03-21 07:50:50Z ru
82790be798eSDimitry AndricSet to not build HTML docs.
8282c4b4abcSXin LI.It Va WITHOUT_HYPERV
8292c4b4abcSXin LI.\" from FreeBSD: head/tools/build/options/WITHOUT_HYPERV 271493 2014-09-13 02:15:31Z delphij
8302c4b4abcSXin LISet to not build or install HyperV utilities.
83190be798eSDimitry Andric.It Va WITHOUT_ICONV
83290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ICONV 254919 2013-08-26 17:15:56Z antoine
83390be798eSDimitry AndricSet to not build iconv as part of libc.
834c5d09a87SGlen Barber.It Va WITHOUT_INCLUDES
835c5d09a87SGlen Barber.\" from FreeBSD: head/tools/build/options/WITHOUT_INCLUDES 275138 2014-11-26 20:43:09Z gjb
836c5d09a87SGlen BarberSet to not install header files.
837c5d09a87SGlen BarberThis option used to be spelled
838c5d09a87SGlen Barber.Va NO_INCS .
839c5d09a87SGlen Barber.Bf -symbolic
840c5d09a87SGlen BarberThe option does not work for build targets.
841c5d09a87SGlen Barber.Ef
84290be798eSDimitry Andric.It Va WITHOUT_INET
84390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_INET 221266 2011-04-30 17:58:28Z bz
84490be798eSDimitry AndricSet to not build programs and libraries related to IPv4 networking.
84590be798eSDimitry AndricWhen set, it also enforces the following options:
84690be798eSDimitry Andric.Pp
84790be798eSDimitry Andric.Bl -item -compact
84890be798eSDimitry Andric.It
84990be798eSDimitry Andric.Va WITHOUT_INET_SUPPORT
85090be798eSDimitry Andric.El
85190be798eSDimitry Andric.It Va WITHOUT_INET6
85290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_INET6 156932 2006-03-21 07:50:50Z ru
85390be798eSDimitry AndricSet to not build
85490be798eSDimitry Andricprograms and libraries related to IPv6 networking.
85590be798eSDimitry AndricWhen set, it also enforces the following options:
85690be798eSDimitry Andric.Pp
85790be798eSDimitry Andric.Bl -item -compact
85890be798eSDimitry Andric.It
85990be798eSDimitry Andric.Va WITHOUT_INET6_SUPPORT
86090be798eSDimitry Andric.El
86190be798eSDimitry Andric.It Va WITHOUT_INET6_SUPPORT
86290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_INET6_SUPPORT 156932 2006-03-21 07:50:50Z ru
86390be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv6 support.
8640e0e9604SEnji Cooper.It Va WITHOUT_INETD
8650e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_INETD 278192 2015-02-04 10:19:32Z ngie
8660e0e9604SEnji CooperSet to not build
8670e0e9604SEnji Cooper.Xr inetd 8 .
86890be798eSDimitry Andric.It Va WITHOUT_INET_SUPPORT
86990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_INET_SUPPORT 221266 2011-04-30 17:58:28Z bz
87090be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv4 support.
87190be798eSDimitry Andric.It Va WITHOUT_INSTALLLIB
872f79bedf5SBryan Drewery.\" from FreeBSD: head/tools/build/options/WITHOUT_INSTALLLIB 297941 2016-04-13 21:01:58Z bdrewery
87390be798eSDimitry AndricSet this if you do not want to install optional libraries.
87490be798eSDimitry AndricFor example when creating a
87590be798eSDimitry Andric.Xr nanobsd 8
87690be798eSDimitry Andricimage.
877f79bedf5SBryan Drewery.Bf -symbolic
878f79bedf5SBryan DreweryThe option does not work for build targets.
879f79bedf5SBryan Drewery.Ef
88090be798eSDimitry Andric.It Va WITH_INSTALL_AS_USER
88190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_INSTALL_AS_USER 238021 2012-07-02 20:24:01Z marcel
88290be798eSDimitry AndricSet to make install targets succeed for non-root users by installing
88390be798eSDimitry Andricfiles with owner and group attributes set to that of the user running
88490be798eSDimitry Andricthe
88590be798eSDimitry Andric.Xr make 1
88690be798eSDimitry Andriccommand.
88790be798eSDimitry AndricThe user still has to set the
88890be798eSDimitry Andric.Va DESTDIR
88990be798eSDimitry Andricvariable to point to a directory where the user has write permissions.
89090be798eSDimitry Andric.It Va WITHOUT_IPFILTER
89190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_IPFILTER 156932 2006-03-21 07:50:50Z ru
89290be798eSDimitry AndricSet to not build IP Filter package.
89390be798eSDimitry Andric.It Va WITHOUT_IPFW
89490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_IPFW 183242 2008-09-21 22:02:26Z sam
89590be798eSDimitry AndricSet to not build IPFW tools.
89693da8366SEnji Cooper.It Va WITHOUT_ISCSI
89793da8366SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_ISCSI 277675 2015-01-25 04:20:11Z ngie
89893da8366SEnji CooperSet to not build
89993da8366SEnji Cooper.Xr iscid 8
90093da8366SEnji Cooperand related utilities.
90190be798eSDimitry Andric.It Va WITHOUT_JAIL
90290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_JAIL 249966 2013-04-27 04:09:09Z eadler
90390be798eSDimitry AndricSet to not build tools for the support of jails; e.g.,
90490be798eSDimitry Andric.Xr jail 8 .
90590be798eSDimitry Andric.It Va WITHOUT_KDUMP
90690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_KDUMP 240690 2012-09-19 11:38:37Z zeising
90790be798eSDimitry AndricSet to not build
90890be798eSDimitry Andric.Xr kdump 1
90990be798eSDimitry Andricand
91090be798eSDimitry Andric.Xr truss 1 .
91190be798eSDimitry Andric.It Va WITHOUT_KERBEROS
91290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_KERBEROS 174549 2007-12-12 16:42:03Z ru
91390be798eSDimitry AndricSet this if you do not want to build Kerberos 5 (KTH Heimdal).
91490be798eSDimitry AndricWhen set, it also enforces the following options:
91590be798eSDimitry Andric.Pp
91690be798eSDimitry Andric.Bl -item -compact
91790be798eSDimitry Andric.It
91890be798eSDimitry Andric.Va WITHOUT_KERBEROS_SUPPORT
91990be798eSDimitry Andric.El
92090be798eSDimitry Andric.Pp
92190be798eSDimitry AndricWhen set, the following options are also in effect:
92290be798eSDimitry Andric.Pp
92390be798eSDimitry Andric.Bl -inset -compact
92490be798eSDimitry Andric.It Va WITHOUT_GSSAPI
92590be798eSDimitry Andric(unless
92690be798eSDimitry Andric.Va WITH_GSSAPI
92790be798eSDimitry Andricis set explicitly)
92890be798eSDimitry Andric.El
92990be798eSDimitry Andric.It Va WITHOUT_KERBEROS_SUPPORT
93090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_KERBEROS_SUPPORT 251794 2013-06-15 20:29:07Z eadler
93190be798eSDimitry AndricSet to build some programs without Kerberos support, like
93290be798eSDimitry Andric.Xr ssh 1 ,
93390be798eSDimitry Andric.Xr telnet 1 ,
93490be798eSDimitry Andric.Xr sshd 8 ,
93590be798eSDimitry Andricand
93690be798eSDimitry Andric.Xr telnetd 8 .
937a0f6423bSEd Maste.It Va WITHOUT_KERNEL_SYMBOLS
938a0f6423bSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_KERNEL_SYMBOLS 222189 2011-05-22 18:23:17Z imp
939a0f6423bSEd MasteSet to not install kernel symbol files.
940a0f6423bSEd Maste.Bf -symbolic
941a0f6423bSEd MasteThis option is recommended for those people who have small root partitions.
942a0f6423bSEd Maste.Ef
94390be798eSDimitry Andric.It Va WITHOUT_KVM
94490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_KVM 174550 2007-12-12 16:43:17Z ru
94590be798eSDimitry AndricSet to not build the
94690be798eSDimitry Andric.Nm libkvm
94790be798eSDimitry Andriclibrary as a part of the base system.
94890be798eSDimitry Andric.Bf -symbolic
94990be798eSDimitry AndricThe option has no effect yet.
95090be798eSDimitry Andric.Ef
95190be798eSDimitry AndricWhen set, it also enforces the following options:
95290be798eSDimitry Andric.Pp
95390be798eSDimitry Andric.Bl -item -compact
95490be798eSDimitry Andric.It
95590be798eSDimitry Andric.Va WITHOUT_KVM_SUPPORT
95690be798eSDimitry Andric.El
95790be798eSDimitry Andric.It Va WITHOUT_KVM_SUPPORT
95890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_KVM_SUPPORT 170644 2007-06-13 02:08:04Z sepotvin
95990be798eSDimitry AndricSet to build some programs without optional
96090be798eSDimitry Andric.Nm libkvm
96190be798eSDimitry Andricsupport.
96290be798eSDimitry Andric.It Va WITHOUT_LDNS
96390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LDNS 255591 2013-09-15 13:11:13Z des
96490be798eSDimitry AndricSetting this variable will prevent the LDNS library from being built.
96590be798eSDimitry AndricWhen set, it also enforces the following options:
96690be798eSDimitry Andric.Pp
96790be798eSDimitry Andric.Bl -item -compact
96890be798eSDimitry Andric.It
96990be798eSDimitry Andric.Va WITHOUT_LDNS_UTILS
97090be798eSDimitry Andric.It
97190be798eSDimitry Andric.Va WITHOUT_UNBOUND
97290be798eSDimitry Andric.El
97390be798eSDimitry Andric.It Va WITHOUT_LDNS_UTILS
97490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LDNS_UTILS 255850 2013-09-24 14:33:31Z des
97590be798eSDimitry AndricSetting this variable will prevent building the LDNS utilities
97690be798eSDimitry Andric.Xr drill 1
97790be798eSDimitry Andricand
97890be798eSDimitry Andric.Xr host 1 .
97990be798eSDimitry Andric.It Va WITHOUT_LEGACY_CONSOLE
980973e8b3eSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_LEGACY_CONSOLE 296264 2016-03-01 11:36:10Z trasz
98190be798eSDimitry AndricSet to not build programs that support a legacy PC console; e.g.,
98223a6b49aSEdward Tomasz Napierala.Xr kbdcontrol 1
98390be798eSDimitry Andricand
98423a6b49aSEdward Tomasz Napierala.Xr vidcontrol 1 .
98590be798eSDimitry Andric.It Va WITHOUT_LIB32
986c5d09a87SGlen Barber.\" from FreeBSD: head/tools/build/options/WITHOUT_LIB32 274664 2014-11-18 17:06:48Z imp
987c5d09a87SGlen BarberOn 64-bit platforms, set to not build 32-bit library set and a
98890be798eSDimitry Andric.Nm ld-elf32.so.1
98990be798eSDimitry Andricruntime linker.
99090be798eSDimitry Andric.It Va WITHOUT_LIBCPLUSPLUS
99190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LIBCPLUSPLUS 246262 2013-02-02 22:42:46Z dim
99290be798eSDimitry AndricSet to avoid building libcxxrt and libc++.
99390be798eSDimitry Andric.It Va WITHOUT_LIBPTHREAD
99490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LIBPTHREAD 188848 2009-02-20 11:09:55Z mtm
99590be798eSDimitry AndricSet to not build the
99690be798eSDimitry Andric.Nm libpthread
99790be798eSDimitry Andricproviding library,
99890be798eSDimitry Andric.Nm libthr .
99990be798eSDimitry AndricWhen set, it also enforces the following options:
100090be798eSDimitry Andric.Pp
100190be798eSDimitry Andric.Bl -item -compact
100290be798eSDimitry Andric.It
100390be798eSDimitry Andric.Va WITHOUT_LIBTHR
100490be798eSDimitry Andric.El
10058a7c8ae4SBryan Drewery.It Va WITH_LIBSOFT
10068a7c8ae4SBryan Drewery.\" from FreeBSD: head/tools/build/options/WITH_LIBSOFT 300325 2016-05-20 19:23:07Z bdrewery
10078a7c8ae4SBryan DreweryOn armv6 only, set to enable soft float ABI compatibility libraries.
10088a7c8ae4SBryan DreweryThis option is for transitioning to the new hard float ABI.
100990be798eSDimitry Andric.It Va WITHOUT_LIBTHR
101090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LIBTHR 156932 2006-03-21 07:50:50Z ru
101190be798eSDimitry AndricSet to not build the
101290be798eSDimitry Andric.Nm libthr
101390be798eSDimitry Andric(1:1 threading)
101490be798eSDimitry Andriclibrary.
101536e8c7bbSEd Maste.It Va WITHOUT_LLD
101636e8c7bbSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_LLD 309124 2016-11-24 22:54:55Z dim
101736e8c7bbSEd MasteSet to not build LLVM's lld linker.
101836e8c7bbSEd Maste.Pp
101936e8c7bbSEd MasteIt is a default setting on
102036e8c7bbSEd Mastearm/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, pc98/i386, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
102136e8c7bbSEd Maste.It Va WITH_LLD
102236e8c7bbSEd Maste.\" from FreeBSD: head/tools/build/options/WITH_LLD 309124 2016-11-24 22:54:55Z dim
102336e8c7bbSEd MasteSet to build LLVM's lld linker.
102436e8c7bbSEd Maste.Pp
102536e8c7bbSEd MasteIt is a default setting on
102636e8c7bbSEd Masteamd64/amd64 and arm64/aarch64.
10271500eb21SEd Maste.It Va WITHOUT_LLDB
10281500eb21SEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_LLDB 289275 2015-10-14 00:23:31Z emaste
10291500eb21SEd MasteSet to not build the LLDB debugger.
10301500eb21SEd Maste.Pp
10311500eb21SEd MasteIt is a default setting on
103236e8c7bbSEd Mastearm/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, pc98/i386, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
103390be798eSDimitry Andric.It Va WITH_LLDB
103490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_LLDB 255722 2013-09-20 01:52:02Z emaste
103590be798eSDimitry AndricSet to build the LLDB debugger.
10361500eb21SEd Maste.Pp
10371500eb21SEd MasteIt is a default setting on
10381500eb21SEd Masteamd64/amd64 and arm64/aarch64.
103936e8c7bbSEd Maste.It Va WITHOUT_LLD_AS_LD
104036e8c7bbSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_LLD_AS_LD 309142 2016-11-25 13:15:28Z emaste
104136e8c7bbSEd MasteSet to use GNU binutils ld as the system linker, instead of LLVM's LLD.
104236e8c7bbSEd Maste.Pp
104336e8c7bbSEd MasteIt is a default setting on
104436e8c7bbSEd Masteamd64/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, pc98/i386, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
104536e8c7bbSEd Maste.It Va WITH_LLD_AS_LD
104636e8c7bbSEd Maste.\" from FreeBSD: head/tools/build/options/WITH_LLD_AS_LD 309142 2016-11-25 13:15:28Z emaste
104736e8c7bbSEd MasteSet to use LLVM's LLD as the system linker, instead of GNU binutils ld.
104836e8c7bbSEd Maste.Pp
104936e8c7bbSEd MasteIt is a default setting on
105036e8c7bbSEd Mastearm64/aarch64.
10511500eb21SEd Maste.It Va WITHOUT_LLVM_LIBUNWIND
10521500eb21SEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_LLVM_LIBUNWIND 293450 2016-01-09 00:42:07Z emaste
10531500eb21SEd MasteSet to use GCC's stack unwinder (instead of LLVM's libunwind).
10541500eb21SEd Maste.Pp
10551500eb21SEd MasteIt is a default setting on
105636e8c7bbSEd 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.
10571500eb21SEd Maste.It Va WITH_LLVM_LIBUNWIND
10581500eb21SEd Maste.\" from FreeBSD: head/tools/build/options/WITH_LLVM_LIBUNWIND 293450 2016-01-09 00:42:07Z emaste
10591500eb21SEd MasteSet to use LLVM's libunwind stack unwinder (instead of GCC's unwinder).
10601500eb21SEd Maste.Pp
10611500eb21SEd MasteIt is a default setting on
106258a74cc5SEd Masteamd64/amd64, arm64/aarch64, i386/i386 and pc98/i386.
106390be798eSDimitry Andric.It Va WITHOUT_LOCALES
106490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LOCALES 156932 2006-03-21 07:50:50Z ru
106590be798eSDimitry AndricSet to not build localization files; see
106690be798eSDimitry Andric.Xr locale 1 .
106790be798eSDimitry Andric.It Va WITHOUT_LOCATE
106890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LOCATE 183242 2008-09-21 22:02:26Z sam
106990be798eSDimitry AndricSet to not build
107090be798eSDimitry Andric.Xr locate 1
107190be798eSDimitry Andricand related programs.
107290be798eSDimitry Andric.It Va WITHOUT_LPR
107390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LPR 156932 2006-03-21 07:50:50Z ru
107490be798eSDimitry AndricSet to not build
107590be798eSDimitry Andric.Xr lpr 1
107690be798eSDimitry Andricand related programs.
107790be798eSDimitry Andric.It Va WITHOUT_LS_COLORS
107890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LS_COLORS 235660 2012-05-19 20:05:27Z marcel
107990be798eSDimitry AndricSet to build
108090be798eSDimitry Andric.Xr ls 1
108190be798eSDimitry Andricwithout support for colors to distinguish file types.
108290be798eSDimitry Andric.It Va WITHOUT_LZMA_SUPPORT
108390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_LZMA_SUPPORT 245171 2013-01-08 18:37:12Z obrien
108490be798eSDimitry AndricSet to build some programs without optional lzma compression support.
108590be798eSDimitry Andric.It Va WITHOUT_MAIL
108690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_MAIL 183242 2008-09-21 22:02:26Z sam
108790be798eSDimitry AndricSet to not build any mail support (MUA or MTA).
108890be798eSDimitry AndricWhen set, it also enforces the following options:
108990be798eSDimitry Andric.Pp
109090be798eSDimitry Andric.Bl -item -compact
109190be798eSDimitry Andric.It
109290be798eSDimitry Andric.Va WITHOUT_DMAGENT
109390be798eSDimitry Andric.It
109490be798eSDimitry Andric.Va WITHOUT_MAILWRAPPER
109590be798eSDimitry Andric.It
109690be798eSDimitry Andric.Va WITHOUT_SENDMAIL
109790be798eSDimitry Andric.El
109890be798eSDimitry Andric.It Va WITHOUT_MAILWRAPPER
109990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_MAILWRAPPER 156932 2006-03-21 07:50:50Z ru
110090be798eSDimitry AndricSet to not build the
110190be798eSDimitry Andric.Xr mailwrapper 8
110290be798eSDimitry AndricMTA selector.
110390be798eSDimitry Andric.It Va WITHOUT_MAKE
110490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_MAKE 183242 2008-09-21 22:02:26Z sam
110590be798eSDimitry AndricSet to not install
110690be798eSDimitry Andric.Xr make 1
110790be798eSDimitry Andricand related support files.
110890be798eSDimitry Andric.It Va WITHOUT_MAN
110990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_MAN 156932 2006-03-21 07:50:50Z ru
111090be798eSDimitry AndricSet to not build manual pages.
111190be798eSDimitry AndricWhen set, the following options are also in effect:
111290be798eSDimitry Andric.Pp
111390be798eSDimitry Andric.Bl -inset -compact
111490be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS
111590be798eSDimitry Andric(unless
111690be798eSDimitry Andric.Va WITH_MAN_UTILS
111790be798eSDimitry Andricis set explicitly)
111890be798eSDimitry Andric.El
111990be798eSDimitry Andric.It Va WITHOUT_MANCOMPRESS
112090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_MANCOMPRESS 266752 2014-05-27 15:52:27Z gjb
112190be798eSDimitry AndricSet to not to install compressed man pages.
112290be798eSDimitry AndricOnly the uncompressed versions will be installed.
112388546663SBaptiste Daroussin.It Va WITHOUT_MANDOCDB
112496f1cff1SEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_MANDOCDB 306966 2016-10-10 15:40:08Z emaste
112596f1cff1SEd MasteUse the version of
112696f1cff1SEd Maste.Xr makewhatis 1
112796f1cff1SEd Masteintroduced in
112896f1cff1SEd Maste.Fx 2.1 ,
112996f1cff1SEd Masteinstead of the
113088546663SBaptiste Daroussin.Xr makewhatis 8
113196f1cff1SEd Mastedatabase and utilities from
113296f1cff1SEd Maste.Xr mandoc 1 .
113390be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS
113490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_MAN_UTILS 208322 2010-05-20 00:07:21Z jkim
113590be798eSDimitry AndricSet to not build utilities for manual pages,
113690be798eSDimitry Andric.Xr apropos 1 ,
113790be798eSDimitry Andric.Xr catman 1 ,
113890be798eSDimitry Andric.Xr makewhatis 1 ,
113990be798eSDimitry Andric.Xr man 1 ,
114090be798eSDimitry Andric.Xr whatis 1 ,
114190be798eSDimitry Andric.Xr manctl 8 ,
114290be798eSDimitry Andricand related support files.
1143cc2520d2SSimon J. Gerraty.It Va WITH_META_MODE
11447b29256bSBryan Drewery.\" from FreeBSD: head/tools/build/options/WITH_META_MODE 306145 2016-09-21 21:32:05Z bdrewery
1145be894451SBryan DreweryCreates
1146be894451SBryan Drewery.Xr make 1
1147be894451SBryan Drewerymeta files when building, which can provide a reliable incremental build when
1148be894451SBryan Dreweryusing
1149be894451SBryan Drewery.Xr filemon 4 .
1150be894451SBryan DreweryThe meta file is created in the OBJDIR as
1151be894451SBryan Drewery.Pa target.meta .
1152be894451SBryan DreweryThese meta files track the command ran, its output, and the current directory.
11532710e62cSBryan DreweryThe
11547f76a95cSBryan Drewery.Xr filemon 4
11552710e62cSBryan Drewerymodule is required unless
11562710e62cSBryan Drewery.Va NO_FILEMON
11572710e62cSBryan Dreweryis defined.
11582710e62cSBryan DreweryWhen the module is loaded, any files used by the commands executed will be
11592710e62cSBryan Drewerytracked as
1160be894451SBryan Drewerydependencies for the target in its meta file.
1161be894451SBryan DreweryThe target will be considered out-of-date and rebuilt if any of the following
1162be894451SBryan Dreweryare true compared to the last build:
1163be894451SBryan Drewery.Bl -bullet -compact
1164be894451SBryan Drewery.It
1165be894451SBryan DreweryThe command to execute changes.
1166be894451SBryan Drewery.It
1167be894451SBryan DreweryThe current working directory changes.
1168be894451SBryan Drewery.It
1169a4a2269eSBryan DreweryThe target's meta file is missing.
1170a4a2269eSBryan Drewery.It
1171a4a2269eSBryan DreweryThe target's meta file is missing filemon data when filemon is loaded
1172a4a2269eSBryan Dreweryand a previous run did not have it loaded.
1173be894451SBryan Drewery.It
1174be894451SBryan Drewery[requires
1175be894451SBryan Drewery.Xr filemon 4 ]
1176be894451SBryan DreweryFiles read, executed or linked to are newer than the target.
1177be894451SBryan Drewery.It
1178be894451SBryan Drewery[requires
1179be894451SBryan Drewery.Xr filemon 4 ]
1180be894451SBryan DreweryFiles read, written, executed or linked are missing.
1181be894451SBryan Drewery.El
11827f76a95cSBryan DreweryThe meta files can also be useful for debugging.
11837f76a95cSBryan Drewery.Pp
11847f76a95cSBryan DreweryThe build will hide commands ran unless
11857f76a95cSBryan Drewery.Va NO_SILENT
11867f76a95cSBryan Dreweryis defined.
11872710e62cSBryan DreweryErrors will cause
11882710e62cSBryan Drewery.Xr make 1
11892710e62cSBryan Dreweryto show some of its environment for further debugging.
11900a70ef02SBryan Drewery.Pp
1191be894451SBryan DreweryThe build operates as it normally would otherwise.
1192be894451SBryan DreweryThis option originally invoked a different build system but that was renamed
1193be894451SBryan Dreweryto
1194be894451SBryan Drewery.Va WITH_DIRDEPS_BUILD .
1195be894451SBryan Drewery.Pp
1196ba852870SBryan DreweryThis must be set in the environment, make command line, or
11970a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
11980a70ef02SBryan Drewerynot
11990a70ef02SBryan Drewery.Pa /etc/src.conf .
120090be798eSDimitry Andric.It Va WITH_NAND
120190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_NAND 235537 2012-05-17 10:11:18Z gber
120290be798eSDimitry AndricSet to build the NAND Flash components.
120390be798eSDimitry Andric.It Va WITHOUT_NDIS
120490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NDIS 183242 2008-09-21 22:02:26Z sam
120590be798eSDimitry AndricSet to not build programs and libraries
120690be798eSDimitry Andricrelated to NDIS emulation support.
120790be798eSDimitry Andric.It Va WITHOUT_NETCAT
120890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NETCAT 156932 2006-03-21 07:50:50Z ru
120990be798eSDimitry AndricSet to not build
121090be798eSDimitry Andric.Xr nc 1
121190be798eSDimitry Andricutility.
121290be798eSDimitry Andric.It Va WITHOUT_NETGRAPH
121390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NETGRAPH 183242 2008-09-21 22:02:26Z sam
121490be798eSDimitry AndricSet to not build applications to support
121590be798eSDimitry Andric.Xr netgraph 4 .
121690be798eSDimitry AndricWhen set, it also enforces the following options:
121790be798eSDimitry Andric.Pp
121890be798eSDimitry Andric.Bl -item -compact
121990be798eSDimitry Andric.It
122090be798eSDimitry Andric.Va WITHOUT_ATM
122190be798eSDimitry Andric.It
122290be798eSDimitry Andric.Va WITHOUT_BLUETOOTH
122390be798eSDimitry Andric.It
122490be798eSDimitry Andric.Va WITHOUT_NETGRAPH_SUPPORT
122590be798eSDimitry Andric.El
122690be798eSDimitry Andric.It Va WITHOUT_NETGRAPH_SUPPORT
122790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NETGRAPH_SUPPORT 183305 2008-09-23 16:11:15Z sam
122890be798eSDimitry AndricSet to build libraries, programs, and kernel modules without netgraph support.
122990be798eSDimitry Andric.It Va WITHOUT_NIS
123090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NIS 156932 2006-03-21 07:50:50Z ru
123190be798eSDimitry AndricSet to not build
123290be798eSDimitry Andric.Xr NIS 8
123390be798eSDimitry Andricsupport and related programs.
123490be798eSDimitry AndricIf set, you might need to adopt your
123590be798eSDimitry Andric.Xr nsswitch.conf 5
123690be798eSDimitry Andricand remove
123790be798eSDimitry Andric.Sq nis
123890be798eSDimitry Andricentries.
123990be798eSDimitry Andric.It Va WITHOUT_NLS
124090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NLS 156932 2006-03-21 07:50:50Z ru
124190be798eSDimitry AndricSet to not build NLS catalogs.
124290be798eSDimitry Andric.It Va WITHOUT_NLS_CATALOGS
124390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NLS_CATALOGS 156932 2006-03-21 07:50:50Z ru
124490be798eSDimitry AndricSet to not build NLS catalog support for
124590be798eSDimitry Andric.Xr csh 1 .
124690be798eSDimitry Andric.It Va WITHOUT_NS_CACHING
124790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NS_CACHING 172803 2007-10-19 14:01:25Z ru
124890be798eSDimitry AndricSet to disable name caching in the
124990be798eSDimitry Andric.Pa nsswitch
125090be798eSDimitry Andricsubsystem.
125190be798eSDimitry AndricThe generic caching daemon,
125290be798eSDimitry Andric.Xr nscd 8 ,
125390be798eSDimitry Andricwill not be built either if this option is set.
125490be798eSDimitry Andric.It Va WITHOUT_NTP
125590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_NTP 183242 2008-09-21 22:02:26Z sam
125690be798eSDimitry AndricSet to not build
125790be798eSDimitry Andric.Xr ntpd 8
125890be798eSDimitry Andricand related programs.
125990be798eSDimitry Andric.It Va WITH_OFED
126090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_OFED 228081 2011-11-28 17:54:34Z dim
126190be798eSDimitry AndricSet to build the
126290be798eSDimitry Andric.Dq "OpenFabrics Enterprise Distribution"
126390be798eSDimitry AndricInfiniband software stack.
126490be798eSDimitry Andric.It Va WITH_OPENLDAP
126590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_OPENLDAP 264902 2014-04-24 23:17:31Z imp
126690be798eSDimitry AndricEnable building openldap support for kerberos.
126790be798eSDimitry Andric.It Va WITHOUT_OPENSSH
126890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_OPENSSH 156932 2006-03-21 07:50:50Z ru
126990be798eSDimitry AndricSet to not build OpenSSH.
127090be798eSDimitry Andric.It Va WITHOUT_OPENSSL
127190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_OPENSSL 156932 2006-03-21 07:50:50Z ru
127290be798eSDimitry AndricSet to not build OpenSSL.
127390be798eSDimitry AndricWhen set, it also enforces the following options:
127490be798eSDimitry Andric.Pp
127590be798eSDimitry Andric.Bl -item -compact
127690be798eSDimitry Andric.It
127790be798eSDimitry Andric.Va WITHOUT_KERBEROS
127890be798eSDimitry Andric.It
127990be798eSDimitry Andric.Va WITHOUT_KERBEROS_SUPPORT
128090be798eSDimitry Andric.It
128190be798eSDimitry Andric.Va WITHOUT_OPENSSH
128290be798eSDimitry Andric.El
128390be798eSDimitry Andric.Pp
128490be798eSDimitry AndricWhen set, the following options are also in effect:
128590be798eSDimitry Andric.Pp
128690be798eSDimitry Andric.Bl -inset -compact
128790be798eSDimitry Andric.It Va WITHOUT_GSSAPI
128890be798eSDimitry Andric(unless
128990be798eSDimitry Andric.Va WITH_GSSAPI
129090be798eSDimitry Andricis set explicitly)
129190be798eSDimitry Andric.El
129290be798eSDimitry Andric.It Va WITHOUT_PAM
129390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PAM 174550 2007-12-12 16:43:17Z ru
129490be798eSDimitry AndricSet to not build PAM library and modules.
129590be798eSDimitry Andric.Bf -symbolic
129690be798eSDimitry AndricThis option is deprecated and does nothing.
129790be798eSDimitry Andric.Ef
129890be798eSDimitry AndricWhen set, it also enforces the following options:
129990be798eSDimitry Andric.Pp
130090be798eSDimitry Andric.Bl -item -compact
130190be798eSDimitry Andric.It
130290be798eSDimitry Andric.Va WITHOUT_PAM_SUPPORT
130390be798eSDimitry Andric.El
130490be798eSDimitry Andric.It Va WITHOUT_PAM_SUPPORT
130590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PAM_SUPPORT 156932 2006-03-21 07:50:50Z ru
130690be798eSDimitry AndricSet to build some programs without PAM support, particularly
130790be798eSDimitry Andric.Xr ftpd 8
130890be798eSDimitry Andricand
130990be798eSDimitry Andric.Xr ppp 8 .
131090be798eSDimitry Andric.It Va WITHOUT_PC_SYSINSTALL
131190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PC_SYSINSTALL 245606 2013-01-18 15:57:09Z eadler
131290be798eSDimitry AndricSet to not build
131390be798eSDimitry Andric.Xr pc-sysinstall 8
131490be798eSDimitry Andricand related programs.
131590be798eSDimitry Andric.It Va WITHOUT_PF
131690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PF 156932 2006-03-21 07:50:50Z ru
131790be798eSDimitry AndricSet to not build PF firewall package.
131890be798eSDimitry AndricWhen set, it also enforces the following options:
131990be798eSDimitry Andric.Pp
132090be798eSDimitry Andric.Bl -item -compact
132190be798eSDimitry Andric.It
132290be798eSDimitry Andric.Va WITHOUT_AUTHPF
132390be798eSDimitry Andric.El
132490be798eSDimitry Andric.It Va WITHOUT_PKGBOOTSTRAP
132590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PKGBOOTSTRAP 258924 2013-12-04 15:58:42Z bdrewery
132690be798eSDimitry AndricSet to not build
132790be798eSDimitry Andric.Xr pkg 7
132890be798eSDimitry Andricbootstrap tool.
132990be798eSDimitry Andric.It Va WITHOUT_PMC
133090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PMC 183242 2008-09-21 22:02:26Z sam
133190be798eSDimitry AndricSet to not build
133290be798eSDimitry Andric.Xr pmccontrol 8
133390be798eSDimitry Andricand related programs.
133490be798eSDimitry Andric.It Va WITHOUT_PORTSNAP
133590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PORTSNAP 183242 2008-09-21 22:02:26Z sam
133690be798eSDimitry AndricSet to not build or install
133790be798eSDimitry Andric.Xr portsnap 8
133890be798eSDimitry Andricand related files.
133990be798eSDimitry Andric.It Va WITHOUT_PPP
134090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PPP 183242 2008-09-21 22:02:26Z sam
134190be798eSDimitry AndricSet to not build
134290be798eSDimitry Andric.Xr ppp 8
134390be798eSDimitry Andricand related programs.
134490be798eSDimitry Andric.It Va WITHOUT_PROFILE
134590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_PROFILE 228196 2011-12-02 09:09:54Z fjoe
134690be798eSDimitry AndricSet to avoid compiling profiled libraries.
134790be798eSDimitry Andric.It Va WITHOUT_QUOTAS
1348973e8b3eSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_QUOTAS 296264 2016-03-01 11:36:10Z trasz
134990be798eSDimitry AndricSet to not build
135023a6b49aSEdward Tomasz Napierala.Xr quota 1
135190be798eSDimitry Andricand related programs.
13520e0e9604SEnji Cooper.It Va WITHOUT_RADIUS_SUPPORT
13530e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_RADIUS_SUPPORT 278182 2015-02-04 06:53:45Z ngie
13540e0e9604SEnji CooperSet to not build radius support into various applications, like
13550e0e9604SEnji Cooper.Xr pam_radius 8
13560e0e9604SEnji Cooperand
13570e0e9604SEnji Cooper.Xr ppp 8 .
13580e0e9604SEnji Cooper.It Va WITHOUT_RBOOTD
13590e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_RBOOTD 278192 2015-02-04 10:19:32Z ngie
13600e0e9604SEnji CooperSet to not build or install
13610e0e9604SEnji Cooper.Xr rbootd 8 .
136290be798eSDimitry Andric.It Va WITHOUT_RCMDS
136390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_RCMDS 156932 2006-03-21 07:50:50Z ru
136490be798eSDimitry AndricDisable building of the
136590be798eSDimitry Andric.Bx
136690be798eSDimitry Andricr-commands.
136790be798eSDimitry AndricThis includes
136890be798eSDimitry Andric.Xr rlogin 1 ,
136990be798eSDimitry Andric.Xr rsh 1 ,
137090be798eSDimitry Andricetc.
1371*6dfa2a0aSEd Maste.It Va WITH_REPRODUCIBLE_BUILD
1372*6dfa2a0aSEd Mastefrom FreeBSD: head/tools/build/options/WITH_REPRODUCIBLE_BUILD 310268 2016-12-19 14:45:59Z emaste
1373*6dfa2a0aSEd MasteSet to exclude build metadata (such as the build time, user, or host)
1374*6dfa2a0aSEd Mastefrom the kernel, boot loaders, and uname output, so that builds produce
1375*6dfa2a0aSEd Mastebit-for-bit identical output.
137690be798eSDimitry Andric.It Va WITHOUT_RESCUE
137790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_RESCUE 156932 2006-03-21 07:50:50Z ru
137890be798eSDimitry AndricSet to not build
137990be798eSDimitry Andric.Xr rescue 8 .
138090be798eSDimitry Andric.It Va WITHOUT_ROUTED
138190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ROUTED 183242 2008-09-21 22:02:26Z sam
138290be798eSDimitry AndricSet to not build
138390be798eSDimitry Andric.Xr routed 8
138490be798eSDimitry Andricutility.
138590be798eSDimitry Andric.It Va WITHOUT_SENDMAIL
138690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SENDMAIL 156932 2006-03-21 07:50:50Z ru
138790be798eSDimitry AndricSet to not build
138890be798eSDimitry Andric.Xr sendmail 8
138990be798eSDimitry Andricand related programs.
139090be798eSDimitry Andric.It Va WITHOUT_SETUID_LOGIN
139190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SETUID_LOGIN 156932 2006-03-21 07:50:50Z ru
139290be798eSDimitry AndricSet this to disable the installation of
139390be798eSDimitry Andric.Xr login 1
139490be798eSDimitry Andricas a set-user-ID root program.
139590be798eSDimitry Andric.It Va WITHOUT_SHAREDOCS
139690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SHAREDOCS 156932 2006-03-21 07:50:50Z ru
139790be798eSDimitry AndricSet to not build the
139890be798eSDimitry Andric.Bx 4.4
139990be798eSDimitry Andriclegacy docs.
140090be798eSDimitry Andric.It Va WITH_SHARED_TOOLCHAIN
140190be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_SHARED_TOOLCHAIN 235342 2012-05-12 16:12:36Z gjb
140290be798eSDimitry AndricSet to build the toolchain binaries shared.
140390be798eSDimitry AndricThe set includes
140490be798eSDimitry Andric.Xr cc 1 ,
140590be798eSDimitry Andric.Xr make 1
140690be798eSDimitry Andricand necessary utilities like assembler, linker and library archive manager.
140790be798eSDimitry Andric.It Va WITH_SORT_THREADS
140890be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_SORT_THREADS 264158 2014-04-05 18:00:45Z imp
140990be798eSDimitry AndricSet to enable threads in
141090be798eSDimitry Andric.Xr sort 1 .
141190be798eSDimitry Andric.It Va WITHOUT_SOURCELESS
141290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS 230972 2012-02-04 00:54:43Z rmh
141390be798eSDimitry AndricSet to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
141490be798eSDimitry AndricWhen set, it also enforces the following options:
141590be798eSDimitry Andric.Pp
141690be798eSDimitry Andric.Bl -item -compact
141790be798eSDimitry Andric.It
141890be798eSDimitry Andric.Va WITHOUT_SOURCELESS_HOST
141990be798eSDimitry Andric.It
142090be798eSDimitry Andric.Va WITHOUT_SOURCELESS_UCODE
142190be798eSDimitry Andric.El
142290be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_HOST
142390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS_HOST 230972 2012-02-04 00:54:43Z rmh
142490be798eSDimitry AndricSet to not build kernel modules that include sourceless native code for host CPU.
142590be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_UCODE
142690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SOURCELESS_UCODE 230972 2012-02-04 00:54:43Z rmh
142790be798eSDimitry AndricSet to not build kernel modules that include sourceless microcode.
142890be798eSDimitry Andric.It Va WITHOUT_SSP
142990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SSP 180012 2008-06-25 21:33:28Z ru
143090be798eSDimitry AndricSet to not build world with propolice stack smashing protection.
1431cc68b6e5SEd Maste.Pp
1432cc68b6e5SEd MasteIt is a default setting on
143336e8c7bbSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1434cc2520d2SSimon J. Gerraty.It Va WITH_STAGING
143532b5dc9aSSimon J. Gerraty.\" from FreeBSD: head/tools/build/options/WITH_STAGING 290816 2015-11-14 03:24:48Z sjg
1436cc2520d2SSimon J. GerratyEnable staging of files to a stage tree.
1437cc2520d2SSimon J. GerratyThis can be best thought of as auto-install to
1438cc2520d2SSimon J. Gerraty.Va DESTDIR
1439cc2520d2SSimon J. Gerratywith some extra meta data to ensure dependencies can be tracked.
1440cc2520d2SSimon J. GerratyDepends on
144132b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD .
1442cc2520d2SSimon J. GerratyWhen set, the following options are also in effect:
1443cc2520d2SSimon J. Gerraty.Pp
1444cc2520d2SSimon J. Gerraty.Bl -inset -compact
1445cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN
1446cc2520d2SSimon J. Gerraty(unless
1447cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_MAN
1448cc2520d2SSimon J. Gerratyis set explicitly)
1449cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG
1450cc2520d2SSimon J. Gerraty(unless
1451cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_PROG
1452cc2520d2SSimon J. Gerratyis set explicitly)
1453cc2520d2SSimon J. Gerraty.El
14540a70ef02SBryan Drewery.Pp
1455ba852870SBryan DreweryThis must be set in the environment, make command line, or
14560a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
14570a70ef02SBryan Drewerynot
14580a70ef02SBryan Drewery.Pa /etc/src.conf .
1459cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN
14605be09b10SEd Maste.\" from FreeBSD: head/tools/build/options/WITH_STAGING_MAN 284708 2015-06-22 20:21:57Z sjg
1461cc2520d2SSimon J. GerratyEnable staging of MAN pages to stage tree.
1462cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG
14635be09b10SEd Maste.\" from FreeBSD: head/tools/build/options/WITH_STAGING_PROG 284708 2015-06-22 20:21:57Z sjg
1464cc2520d2SSimon J. GerratyEnable staging of PROGs to stage tree.
1465cc2520d2SSimon J. Gerraty.It Va WITH_STALE_STAGED
14665be09b10SEd Maste.\" from FreeBSD: head/tools/build/options/WITH_STALE_STAGED 284708 2015-06-22 20:21:57Z sjg
1467cc2520d2SSimon J. GerratyCheck staged files are not stale.
146890be798eSDimitry Andric.It Va WITH_SVN
146990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITH_SVN 252561 2013-07-03 12:36:47Z zeising
147090be798eSDimitry AndricSet to install
147190be798eSDimitry Andric.Xr svnlite 1
147290be798eSDimitry Andricas
147390be798eSDimitry Andric.Xr svn 1 .
147490be798eSDimitry Andric.It Va WITHOUT_SVNLITE
147590be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SVNLITE 252561 2013-07-03 12:36:47Z zeising
147690be798eSDimitry AndricSet to not build
147790be798eSDimitry Andric.Xr svnlite 1
147890be798eSDimitry Andricand related programs.
147990be798eSDimitry Andric.It Va WITHOUT_SYMVER
148090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SYMVER 169649 2007-05-17 05:03:24Z deischen
148190be798eSDimitry AndricSet to disable symbol versioning when building shared libraries.
148290be798eSDimitry Andric.It Va WITHOUT_SYSCONS
148390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_SYSCONS 156932 2006-03-21 07:50:50Z ru
148490be798eSDimitry AndricSet to not build
148590be798eSDimitry Andric.Xr syscons 4
148690be798eSDimitry Andricsupport files such as keyboard maps, fonts, and screen output maps.
1487cc2520d2SSimon J. Gerraty.It Va WITH_SYSROOT
148832b5dc9aSSimon J. Gerraty.\" from FreeBSD: head/tools/build/options/WITH_SYSROOT 290816 2015-11-14 03:24:48Z sjg
1489cc2520d2SSimon J. GerratyEnable use of sysroot during build.
1490cc2520d2SSimon J. GerratyDepends on
149132b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD .
14920a70ef02SBryan Drewery.Pp
1493ba852870SBryan DreweryThis must be set in the environment, make command line, or
14940a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
14950a70ef02SBryan Drewerynot
14960a70ef02SBryan Drewery.Pa /etc/src.conf .
14978095b3c2SBryan Drewery.It Va WITHOUT_SYSTEM_COMPILER
14988095b3c2SBryan Drewery.\" from FreeBSD: head/tools/build/options/WITHOUT_SYSTEM_COMPILER 300354 2016-05-21 01:32:23Z bdrewery
14998095b3c2SBryan DrewerySet to not opportunistically skip building a cross-compiler during the
1500a9da9b86SBryan Drewerybootstrap phase of the build.
15018095b3c2SBryan DreweryNormally, if the currently installed compiler matches the planned bootstrap
15028095b3c2SBryan Drewerycompiler type and revision, then it will not be built.
1503a9da9b86SBryan DreweryThis does not prevent a compiler from being built for installation though,
1504a9da9b86SBryan Dreweryonly for building one for the build itself.
1505a9da9b86SBryan DreweryThe
1506a9da9b86SBryan Drewery.Va WITHOUT_CLANG
1507a9da9b86SBryan Dreweryand
1508a9da9b86SBryan Drewery.Va WITHOUT_GCC
1509a9da9b86SBryan Dreweryoptions control those.
151093da8366SEnji Cooper.It Va WITHOUT_TALK
151193da8366SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_TALK 277676 2015-01-25 04:37:44Z ngie
151293da8366SEnji CooperSet to not build or install
151393da8366SEnji Cooper.Xr talk 1
151493da8366SEnji Cooperand
151593da8366SEnji Cooper.Xr talkd 8 .
15160e0e9604SEnji Cooper.It Va WITHOUT_TCP_WRAPPERS
15170e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_TCP_WRAPPERS 278192 2015-02-04 10:19:32Z ngie
15180e0e9604SEnji CooperSet to not build or install
15190e0e9604SEnji Cooper.Xr tcpd 8 ,
15200e0e9604SEnji Cooperand related utilities.
152190be798eSDimitry Andric.It Va WITHOUT_TCSH
152290be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_TCSH 156932 2006-03-21 07:50:50Z ru
152390be798eSDimitry AndricSet to not build and install
152490be798eSDimitry Andric.Pa /bin/csh
152590be798eSDimitry Andric(which is
152690be798eSDimitry Andric.Xr tcsh 1 ) .
152790be798eSDimitry Andric.It Va WITHOUT_TELNET
1528973e8b3eSEd Maste.\" from FreeBSD: head/tools/build/options/WITHOUT_TELNET 296264 2016-03-01 11:36:10Z trasz
152990be798eSDimitry AndricSet to not build
153023a6b49aSEdward Tomasz Napierala.Xr telnet 1
153190be798eSDimitry Andricand related programs.
153218c6fc4cSJulio Merino.It Va WITHOUT_TESTS
153318c6fc4cSJulio Merino.\" from FreeBSD: head/tools/build/options/WITHOUT_TESTS 268778 2014-07-16 21:40:11Z jmmv
153418c6fc4cSJulio MerinoSet to not build nor install the
153590be798eSDimitry Andric.Fx
153690be798eSDimitry AndricTest Suite in
153790be798eSDimitry Andric.Pa /usr/tests/ .
153890be798eSDimitry AndricSee
153990be798eSDimitry Andric.Xr tests 7
154090be798eSDimitry Andricfor more details.
154118c6fc4cSJulio MerinoThis also disables the build of all test-related dependencies, including ATF.
1542c5d09a87SGlen BarberWhen set, it also enforces the following options:
1543c5d09a87SGlen Barber.Pp
1544c5d09a87SGlen Barber.Bl -item -compact
1545c5d09a87SGlen Barber.It
154616f3fdf5SMark Johnston.Va WITHOUT_DTRACE_TESTS
154716f3fdf5SMark Johnston.It
1548c5d09a87SGlen Barber.Va WITHOUT_TESTS_SUPPORT
1549c5d09a87SGlen Barber.El
1550c5d09a87SGlen Barber.It Va WITHOUT_TESTS_SUPPORT
1551c5d09a87SGlen Barber.\" from FreeBSD: head/tools/build/options/WITHOUT_TESTS_SUPPORT 274665 2014-11-18 17:06:50Z imp
1552c5d09a87SGlen BarberSet to disables the build of all test-related dependencies, including ATF.
155390be798eSDimitry Andric.It Va WITHOUT_TEXTPROC
155490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_TEXTPROC 183242 2008-09-21 22:02:26Z sam
155590be798eSDimitry AndricSet to not build
155690be798eSDimitry Andricprograms used for text processing.
155790be798eSDimitry AndricWhen set, it also enforces the following options:
155890be798eSDimitry Andric.Pp
155990be798eSDimitry Andric.Bl -item -compact
156090be798eSDimitry Andric.It
156190be798eSDimitry Andric.Va WITHOUT_GROFF
156290be798eSDimitry Andric.El
15630e0e9604SEnji Cooper.It Va WITHOUT_TFTP
15640e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_TFTP 278192 2015-02-04 10:19:32Z ngie
15650e0e9604SEnji CooperSet to not build or install
15660e0e9604SEnji Cooper.Xr tftp 1
15670e0e9604SEnji Cooperand
15680e0e9604SEnji Cooper.Xr tftpd 8 .
15690e0e9604SEnji Cooper.It Va WITHOUT_TIMED
15700e0e9604SEnji Cooper.\" from FreeBSD: head/tools/build/options/WITHOUT_TIMED 278192 2015-02-04 10:19:32Z ngie
15710e0e9604SEnji CooperSet to not build or install
15720e0e9604SEnji Cooper.Xr timed 8 .
157390be798eSDimitry Andric.It Va WITHOUT_TOOLCHAIN
1574f79bedf5SBryan Drewery.\" from FreeBSD: head/tools/build/options/WITHOUT_TOOLCHAIN 297939 2016-04-13 20:55:05Z bdrewery
1575148bdd15SBrooks DavisSet to not install header or
157690be798eSDimitry Andricprograms used for program development,
157790be798eSDimitry Andriccompilers, debuggers etc.
157890be798eSDimitry AndricWhen set, it also enforces the following options:
157990be798eSDimitry Andric.Pp
158090be798eSDimitry Andric.Bl -item -compact
158190be798eSDimitry Andric.It
158290be798eSDimitry Andric.Va WITHOUT_BINUTILS
158390be798eSDimitry Andric.It
158490be798eSDimitry Andric.Va WITHOUT_CLANG
158590be798eSDimitry Andric.It
158690be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS
158790be798eSDimitry Andric.It
158890be798eSDimitry Andric.Va WITHOUT_CLANG_FULL
158990be798eSDimitry Andric.It
159090be798eSDimitry Andric.Va WITHOUT_GCC
159190be798eSDimitry Andric.It
159290be798eSDimitry Andric.Va WITHOUT_GDB
1593c5d09a87SGlen Barber.It
1594c5d09a87SGlen Barber.Va WITHOUT_INCLUDES
15953d02549fSBryan Drewery.It
15963d02549fSBryan Drewery.Va WITHOUT_LLDB
159790be798eSDimitry Andric.El
159890be798eSDimitry Andric.It Va WITHOUT_UNBOUND
159990be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_UNBOUND 255597 2013-09-15 14:51:23Z des
160090be798eSDimitry AndricSet to not build
160190be798eSDimitry Andric.Xr unbound 8
160290be798eSDimitry Andricand related programs.
160390be798eSDimitry Andric.It Va WITHOUT_USB
160490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_USB 156932 2006-03-21 07:50:50Z ru
160590be798eSDimitry AndricSet to not build USB-related programs and libraries.
1606c5d09a87SGlen Barber.It Va WITHOUT_USB_GADGET_EXAMPLES
1607c5d09a87SGlen Barber.\" from FreeBSD: head/tools/build/options/WITHOUT_USB_GADGET_EXAMPLES 274665 2014-11-18 17:06:50Z imp
1608c5d09a87SGlen BarberSet to build USB gadget kernel modules.
160990be798eSDimitry Andric.It Va WITHOUT_UTMPX
161090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_UTMPX 231530 2012-02-11 20:28:42Z ed
161190be798eSDimitry AndricSet to not build user accounting tools such as
161290be798eSDimitry Andric.Xr last 1 ,
161390be798eSDimitry Andric.Xr users 1 ,
161490be798eSDimitry Andric.Xr who 1 ,
161590be798eSDimitry Andric.Xr ac 8 ,
161690be798eSDimitry Andric.Xr lastlogin 8
161790be798eSDimitry Andricand
161890be798eSDimitry Andric.Xr utx 8 .
161990be798eSDimitry Andric.It Va WITHOUT_VI
162090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_VI 264903 2014-04-24 23:17:40Z imp
162190be798eSDimitry AndricSet to not build and install vi, view, ex and related programs.
162290be798eSDimitry Andric.It Va WITHOUT_VT
162390be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_VT 268022 2014-06-30 00:20:12Z emaste
162490be798eSDimitry AndricSet to not build
162590be798eSDimitry Andric.Xr vt 4
162690be798eSDimitry Andricsupport files (fonts and keymaps).
162790be798eSDimitry Andric.It Va WITHOUT_WARNS
16289da2c520SBaptiste Daroussin.\" from FreeBSD: head/tools/build/options/WITHOUT_WARNS 276559 2015-01-02 18:57:58Z bapt
162990be798eSDimitry AndricSet this to not add warning flags to the compiler invocations.
163090be798eSDimitry AndricUseful as a temporary workaround when code enters the tree
163190be798eSDimitry Andricwhich triggers warnings in environments that differ from the
1632559f9bfcSJens Schweikhardtoriginal developer.
163390be798eSDimitry Andric.It Va WITHOUT_WIRELESS
163490be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_WIRELESS 183242 2008-09-21 22:02:26Z sam
163590be798eSDimitry AndricSet to not build programs used for 802.11 wireless networks; especially
163690be798eSDimitry Andric.Xr wpa_supplicant 8
163790be798eSDimitry Andricand
163890be798eSDimitry Andric.Xr hostapd 8 .
163990be798eSDimitry AndricWhen set, it also enforces the following options:
164090be798eSDimitry Andric.Pp
164190be798eSDimitry Andric.Bl -item -compact
164290be798eSDimitry Andric.It
164390be798eSDimitry Andric.Va WITHOUT_WIRELESS_SUPPORT
164490be798eSDimitry Andric.El
164590be798eSDimitry Andric.It Va WITHOUT_WIRELESS_SUPPORT
164690be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_WIRELESS_SUPPORT 183305 2008-09-23 16:11:15Z sam
164790be798eSDimitry AndricSet to build libraries, programs, and kernel modules without
164890be798eSDimitry Andric802.11 wireless support.
164990be798eSDimitry Andric.It Va WITHOUT_WPA_SUPPLICANT_EAPOL
165090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_WPA_SUPPLICANT_EAPOL 156932 2006-03-21 07:50:50Z ru
165190be798eSDimitry AndricBuild
165290be798eSDimitry Andric.Xr wpa_supplicant 8
165390be798eSDimitry Andricwithout support for the IEEE 802.1X protocol and without
165490be798eSDimitry Andricsupport for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
165590be798eSDimitry Andricprotocols (usable only via 802.1X).
165690be798eSDimitry Andric.It Va WITHOUT_ZFS
165790be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ZFS 168409 2007-04-06 02:13:30Z pjd
165890be798eSDimitry AndricSet to not build ZFS file system.
165990be798eSDimitry Andric.It Va WITHOUT_ZONEINFO
166090be798eSDimitry Andric.\" from FreeBSD: head/tools/build/options/WITHOUT_ZONEINFO 235342 2012-05-12 16:12:36Z gjb
166190be798eSDimitry AndricSet to not build the timezone database.
166290be798eSDimitry Andric.El
166390be798eSDimitry Andric.Sh FILES
166490be798eSDimitry Andric.Bl -tag -compact -width Pa
166590be798eSDimitry Andric.It Pa /etc/src.conf
16660a70ef02SBryan Drewery.It Pa /etc/src-env.conf
166790be798eSDimitry Andric.It Pa /usr/share/mk/bsd.own.mk
166890be798eSDimitry Andric.El
166990be798eSDimitry Andric.Sh SEE ALSO
167090be798eSDimitry Andric.Xr make 1 ,
167190be798eSDimitry Andric.Xr make.conf 5 ,
167290be798eSDimitry Andric.Xr build 7 ,
167390be798eSDimitry Andric.Xr ports 7
167490be798eSDimitry Andric.Sh HISTORY
167590be798eSDimitry AndricThe
167690be798eSDimitry Andric.Nm
167790be798eSDimitry Andricfile appeared in
167890be798eSDimitry Andric.Fx 7.0 .
167990be798eSDimitry Andric.Sh AUTHORS
168090be798eSDimitry AndricThis manual page was autogenerated.
1681