xref: /freebsd/share/man/man5/src.conf.5 (revision 303233568fda2a786a7dc3d73592fd1064ca8704)
1b1a0e564SEitan Adler.\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman.
2fa07cb9cSRuslan Ermilov.\" $FreeBSD$
3*30323356SWarner Losh.Dd August 28, 2018
4fa07cb9cSRuslan Ermilov.Dt SRC.CONF 5
5fa07cb9cSRuslan Ermilov.Os
6fa07cb9cSRuslan Ermilov.Sh NAME
7fa07cb9cSRuslan Ermilov.Nm src.conf
816f2e711SYaroslav Tykhiy.Nd "source build options"
9fa07cb9cSRuslan Ermilov.Sh DESCRIPTION
10fa07cb9cSRuslan ErmilovThe
11fa07cb9cSRuslan Ermilov.Nm
12fa07cb9cSRuslan Ermilovfile contains settings that will apply to every build involving the
13fa07cb9cSRuslan Ermilov.Fx
14fa07cb9cSRuslan Ermilovsource tree; see
15fa07cb9cSRuslan Ermilov.Xr build 7 .
16fa07cb9cSRuslan Ermilov.Pp
17fa07cb9cSRuslan ErmilovThe
18fa07cb9cSRuslan Ermilov.Nm
19fa07cb9cSRuslan Ermilovfile uses the standard makefile syntax.
20fa07cb9cSRuslan ErmilovHowever,
21fa07cb9cSRuslan Ermilov.Nm
22fa07cb9cSRuslan Ermilovshould not specify any dependencies to
23fa07cb9cSRuslan Ermilov.Xr make 1 .
24fa07cb9cSRuslan ErmilovInstead,
25fa07cb9cSRuslan Ermilov.Nm
26fa07cb9cSRuslan Ermilovis to set
27fa07cb9cSRuslan Ermilov.Xr make 1
28fa07cb9cSRuslan Ermilovvariables that control the aspects of how the system builds.
29fa07cb9cSRuslan Ermilov.Pp
30fa07cb9cSRuslan ErmilovThe default location of
31fa07cb9cSRuslan Ermilov.Nm
32fa07cb9cSRuslan Ermilovis
33fa07cb9cSRuslan Ermilov.Pa /etc/src.conf ,
34fa07cb9cSRuslan Ermilovthough an alternative location can be specified in the
35fa07cb9cSRuslan Ermilov.Xr make 1
36fa07cb9cSRuslan Ermilovvariable
37fa07cb9cSRuslan Ermilov.Va SRCCONF .
38fa07cb9cSRuslan ErmilovOverriding the location of
39fa07cb9cSRuslan Ermilov.Nm
40fa07cb9cSRuslan Ermilovmay be necessary if the system-wide settings are not suitable
41fa07cb9cSRuslan Ermilovfor a particular build.
42fa07cb9cSRuslan ErmilovFor instance, setting
43fa07cb9cSRuslan Ermilov.Va SRCCONF
44fa07cb9cSRuslan Ermilovto
45fa07cb9cSRuslan Ermilov.Pa /dev/null
46fa07cb9cSRuslan Ermiloveffectively resets all build controls to their defaults.
47fa07cb9cSRuslan Ermilov.Pp
48fa07cb9cSRuslan ErmilovThe only purpose of
49fa07cb9cSRuslan Ermilov.Nm
50fa07cb9cSRuslan Ermilovis to control the compilation of the
51fa07cb9cSRuslan Ermilov.Fx
5216f2e711SYaroslav Tykhiysource code, which is usually located in
53fa07cb9cSRuslan Ermilov.Pa /usr/src .
54fa07cb9cSRuslan ErmilovAs a rule, the system administrator creates
55fa07cb9cSRuslan Ermilov.Nm
56fa07cb9cSRuslan Ermilovwhen the values of certain control variables need to be changed
57fa07cb9cSRuslan Ermilovfrom their defaults.
58fa07cb9cSRuslan Ermilov.Pp
59fa07cb9cSRuslan ErmilovIn addition, control variables can be specified
60fa07cb9cSRuslan Ermilovfor a particular build via the
61fa07cb9cSRuslan Ermilov.Fl D
62fa07cb9cSRuslan Ermilovoption of
63fa07cb9cSRuslan Ermilov.Xr make 1
6472735687SMike Makonnenor in its environment; see
65fa07cb9cSRuslan Ermilov.Xr environ 7 .
66fa07cb9cSRuslan Ermilov.Pp
670a70ef02SBryan DreweryThe environment of
680a70ef02SBryan Drewery.Xr make 1
690a70ef02SBryan Dreweryfor the build can be controlled via the
700a70ef02SBryan Drewery.Va SRC_ENV_CONF
710a70ef02SBryan Dreweryvariable, which defaults to
720a70ef02SBryan Drewery.Pa /etc/src-env.conf .
730a70ef02SBryan DrewerySome examples that may only be set in this file are
7432b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD ,
750a70ef02SBryan Dreweryand
76efb949a6SBryan Drewery.Va WITH_META_MODE ,
77efb949a6SBryan Dreweryand
787df4050dSBryan Drewery.Va MAKEOBJDIRPREFIX
79efb949a6SBryan Dreweryas they are environment-only variables.
800a70ef02SBryan Drewery.Pp
8116f2e711SYaroslav TykhiyThe values of variables are ignored regardless of their setting;
8216f2e711SYaroslav Tykhiyeven if they would be set to
83fa07cb9cSRuslan Ermilov.Dq Li FALSE
84fa07cb9cSRuslan Ermilovor
8516f2e711SYaroslav Tykhiy.Dq Li NO .
86344e2bb9SEd MasteThe presence of an option causes
87344e2bb9SEd Masteit to be honored by
8816f2e711SYaroslav Tykhiy.Xr make 1 .
89fa07cb9cSRuslan Ermilov.Pp
90344e2bb9SEd MasteThis list provides a name and short description for variables
91fa07cb9cSRuslan Ermilovthat can be used for source builds.
92fa07cb9cSRuslan Ermilov.Bl -tag -width indent
93aaa6d7ebSSam Leffler.It Va WITHOUT_ACCT
94aaa6d7ebSSam LefflerSet to not build process accounting tools such as
950ea27d02SEd Schouten.Xr accton 8
96aaa6d7ebSSam Lefflerand
970ea27d02SEd Schouten.Xr sa 8 .
98fa07cb9cSRuslan Ermilov.It Va WITHOUT_ACPI
99fa07cb9cSRuslan ErmilovSet to not build
100fa07cb9cSRuslan Ermilov.Xr acpiconf 8 ,
101fa07cb9cSRuslan Ermilov.Xr acpidump 8
102fa07cb9cSRuslan Ermilovand related programs.
103aaa6d7ebSSam Leffler.It Va WITHOUT_AMD
104aaa6d7ebSSam LefflerSet to not build
105aaa6d7ebSSam Leffler.Xr amd 8 ,
106aaa6d7ebSSam Lefflerand related programs.
107aaa6d7ebSSam Leffler.It Va WITHOUT_APM
108aaa6d7ebSSam LefflerSet to not build
109aaa6d7ebSSam Leffler.Xr apm 8 ,
110aaa6d7ebSSam Leffler.Xr apmd 8
111aaa6d7ebSSam Lefflerand related programs.
112e567b213SRuslan Ermilov.It Va WITHOUT_ASSERT_DEBUG
113e567b213SRuslan ErmilovSet to compile programs and libraries without the
114e567b213SRuslan Ermilov.Xr assert 3
115e567b213SRuslan Ermilovchecks.
116aaa6d7ebSSam Leffler.It Va WITHOUT_AT
117aaa6d7ebSSam LefflerSet to not build
118aaa6d7ebSSam Leffler.Xr at 1
119aaa6d7ebSSam Lefflerand related utilities.
120fa07cb9cSRuslan Ermilov.It Va WITHOUT_ATM
121fa07cb9cSRuslan ErmilovSet to not build
122fa07cb9cSRuslan Ermilovprograms and libraries related to ATM networking.
123fa07cb9cSRuslan Ermilov.It Va WITHOUT_AUDIT
124fa07cb9cSRuslan ErmilovSet to not build audit support into system programs.
125fa07cb9cSRuslan Ermilov.It Va WITHOUT_AUTHPF
126fa07cb9cSRuslan ErmilovSet to not build
127fa07cb9cSRuslan Ermilov.Xr authpf 8 .
12861940879SEnji Cooper.It Va WITHOUT_AUTOFS
12961940879SEnji CooperSet to not build
1304b9f77e4SEdward Tomasz Napierala.Xr autofs 5
13161940879SEnji Cooperrelated programs, libraries, and kernel modules.
132906a1c6cSBryan Drewery.It Va WITHOUT_AUTO_OBJ
133906a1c6cSBryan DreweryDisable automatic creation of objdirs.
134906a1c6cSBryan DreweryThis is enabled by default if the wanted OBJDIR is writable by the current user.
1350a70ef02SBryan Drewery.Pp
136ba852870SBryan DreweryThis must be set in the environment, make command line, or
1370a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
1380a70ef02SBryan Drewerynot
1390a70ef02SBryan Drewery.Pa /etc/src.conf .
14061940879SEnji Cooper.It Va WITHOUT_BHYVE
14161940879SEnji CooperSet to not build or install
14261940879SEnji Cooper.Xr bhyve 8 ,
14361940879SEnji Cooperassociated utilities, and examples.
14461940879SEnji Cooper.Pp
14561940879SEnji CooperThis option only affects amd64/amd64.
14690be798eSDimitry Andric.It Va WITHOUT_BINUTILS
147e2d98a24SEd MasteSet to not build or install binutils (as, ld, and objdump) as part
14890be798eSDimitry Andricof the normal system build.
14990be798eSDimitry AndricThe resulting system cannot build programs from source.
1505be09b10SEd Maste.Pp
151344e2bb9SEd MasteThis is a default setting on
1520780f5c3SJohn Baldwinarm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
153344e2bb9SEd MasteWhen set, it enforces these options:
15436e8c7bbSEd Maste.Pp
15536e8c7bbSEd Maste.Bl -item -compact
15636e8c7bbSEd Maste.It
15736e8c7bbSEd Maste.Va WITHOUT_GDB
15836e8c7bbSEd Maste.El
1595977355fSBryan Drewery.It Va WITH_BINUTILS
160e2d98a24SEd MasteSet to build and install binutils (as, ld, and objdump) as part
1615977355fSBryan Dreweryof the normal system build.
1625977355fSBryan Drewery.Pp
163344e2bb9SEd MasteThis is a default setting on
164e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
16590be798eSDimitry Andric.It Va WITHOUT_BINUTILS_BOOTSTRAP
166e2d98a24SEd MasteSet to not build binutils (as, ld, and objdump)
16790be798eSDimitry Andricas part of the bootstrap process.
16890be798eSDimitry Andric.Bf -symbolic
16990be798eSDimitry AndricThe option does not work for build targets unless some alternative
17090be798eSDimitry Andrictoolchain is provided.
17190be798eSDimitry Andric.Ef
1725be09b10SEd Maste.Pp
173344e2bb9SEd MasteThis is a default setting on
1740780f5c3SJohn Baldwinarm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
1755977355fSBryan Drewery.It Va WITH_BINUTILS_BOOTSTRAP
176e2d98a24SEd MasteSet build binutils (as, ld, and objdump)
1775977355fSBryan Dreweryas part of the bootstrap process.
1785977355fSBryan Drewery.Pp
179344e2bb9SEd MasteThis is a default setting on
180e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1810341a043SBryan Drewery.It Va WITHOUT_BLACKLIST
1824650b8aeSEnji CooperSet this if you do not want to build
1834650b8aeSEnji Cooper.Xr blacklistd 8
1844650b8aeSEnji Cooperand
1854650b8aeSEnji Cooper.Xr blacklistctl 8 .
186bf64e879SBryan DreweryWhen set, these options are also in effect:
1870341a043SBryan Drewery.Pp
188bf64e879SBryan Drewery.Bl -inset -compact
189bf64e879SBryan Drewery.It Va WITHOUT_BLACKLIST_SUPPORT
190bf64e879SBryan Drewery(unless
191bf64e879SBryan Drewery.Va WITH_BLACKLIST_SUPPORT
192bf64e879SBryan Dreweryis set explicitly)
1930341a043SBryan Drewery.El
1940341a043SBryan Drewery.It Va WITHOUT_BLACKLIST_SUPPORT
1954650b8aeSEnji CooperSet to build some programs without
1964650b8aeSEnji Cooper.Xr libblacklist 3
1974650b8aeSEnji Coopersupport, like
1980341a043SBryan Drewery.Xr fingerd 8 ,
1990341a043SBryan Drewery.Xr ftpd 8 ,
2000341a043SBryan Drewery.Xr rlogind 8 ,
2010341a043SBryan Drewery.Xr rshd 8 ,
2020341a043SBryan Dreweryand
2030341a043SBryan Drewery.Xr sshd 8 .
20490be798eSDimitry Andric.It Va WITHOUT_BLUETOOTH
20590be798eSDimitry AndricSet to not build Bluetooth related kernel modules, programs and libraries.
20690be798eSDimitry Andric.It Va WITHOUT_BOOT
20790be798eSDimitry AndricSet to not build the boot blocks and loader.
2080e0e9604SEnji Cooper.It Va WITHOUT_BOOTPARAMD
2090e0e9604SEnji CooperSet to not build or install
2100e0e9604SEnji Cooper.Xr bootparamd 8 .
2110e0e9604SEnji Cooper.It Va WITHOUT_BOOTPD
2120e0e9604SEnji CooperSet to not build or install
2130e0e9604SEnji Cooper.Xr bootpd 8 .
21493da8366SEnji Cooper.It Va WITHOUT_BSDINSTALL
21593da8366SEnji CooperSet to not build
21693da8366SEnji Cooper.Xr bsdinstall 8 ,
21793da8366SEnji Cooper.Xr sade 8 ,
21893da8366SEnji Cooperand related programs.
21990be798eSDimitry Andric.It Va WITHOUT_BSD_CPIO
22090be798eSDimitry AndricSet to not build the BSD licensed version of cpio based on
22190be798eSDimitry Andric.Xr libarchive 3 .
22290be798eSDimitry Andric.It Va WITH_BSD_GREP
22390be798eSDimitry AndricInstall BSD-licensed grep as '[ef]grep' instead of GNU grep.
22490be798eSDimitry Andric.It Va WITHOUT_BSNMP
22590be798eSDimitry AndricSet to not build or install
22690be798eSDimitry Andric.Xr bsnmpd 1
22790be798eSDimitry Andricand related libraries and data files.
22890be798eSDimitry Andric.It Va WITHOUT_BZIP2
22990be798eSDimitry AndricSet to not build contributed bzip2 software as a part of the base system.
23090be798eSDimitry Andric.Bf -symbolic
23190be798eSDimitry AndricThe option has no effect yet.
23290be798eSDimitry Andric.Ef
233bf64e879SBryan DreweryWhen set, these options are also in effect:
23490be798eSDimitry Andric.Pp
235bf64e879SBryan Drewery.Bl -inset -compact
236bf64e879SBryan Drewery.It Va WITHOUT_BZIP2_SUPPORT
237bf64e879SBryan Drewery(unless
238bf64e879SBryan Drewery.Va WITH_BZIP2_SUPPORT
239bf64e879SBryan Dreweryis set explicitly)
24090be798eSDimitry Andric.El
24190be798eSDimitry Andric.It Va WITHOUT_BZIP2_SUPPORT
24290be798eSDimitry AndricSet to build some programs without optional bzip2 support.
24390be798eSDimitry Andric.It Va WITHOUT_CALENDAR
24490be798eSDimitry AndricSet to not build
24590be798eSDimitry Andric.Xr calendar 1 .
24690be798eSDimitry Andric.It Va WITHOUT_CAPSICUM
24790be798eSDimitry AndricSet to not build Capsicum support into system programs.
248344e2bb9SEd MasteWhen set, it enforces these options:
249aced6942SBaptiste Daroussin.Pp
250aced6942SBaptiste Daroussin.Bl -item -compact
251aced6942SBaptiste Daroussin.It
252aced6942SBaptiste Daroussin.Va WITHOUT_CASPER
253aced6942SBaptiste Daroussin.El
25490be798eSDimitry Andric.It Va WITHOUT_CASPER
25590be798eSDimitry AndricSet to not build Casper program and related libraries.
2561c01e4f8SBryan Drewery.It Va WITH_CCACHE_BUILD
2571c01e4f8SBryan DrewerySet to use
2581c01e4f8SBryan Drewery.Xr ccache 1
2591c01e4f8SBryan Dreweryfor the build.
2601c01e4f8SBryan DreweryNo configuration is required except to install the
2611c01e4f8SBryan Drewery.Sy devel/ccache
2621c01e4f8SBryan Drewerypackage.
263344e2bb9SEd MasteWhen using with
264344e2bb9SEd Maste.Xr distcc 1 ,
265344e2bb9SEd Masteset
2661c01e4f8SBryan Drewery.Sy CCACHE_PREFIX=/usr/local/bin/distcc .
2671c01e4f8SBryan DreweryThe default cache directory of
2681c01e4f8SBryan Drewery.Pa $HOME/.ccache
2691c01e4f8SBryan Drewerywill be used, which can be overridden by setting
2701c01e4f8SBryan Drewery.Sy CCACHE_DIR .
2711c01e4f8SBryan DreweryThe
2721c01e4f8SBryan Drewery.Sy CCACHE_COMPILERCHECK
2731c01e4f8SBryan Dreweryoption defaults to
2741c01e4f8SBryan Drewery.Sy content
2751c01e4f8SBryan Drewerywhen using the in-tree bootstrap compiler,
2761c01e4f8SBryan Dreweryand
2771c01e4f8SBryan Drewery.Sy mtime
2781c01e4f8SBryan Drewerywhen using an external compiler.
2791c01e4f8SBryan DreweryThe
2801c01e4f8SBryan Drewery.Sy CCACHE_CPP2
2811c01e4f8SBryan Dreweryoption is used for Clang but not GCC.
2821c01e4f8SBryan Drewery.Pp
2831c01e4f8SBryan DrewerySharing a cache between multiple work directories requires using a layout
2841c01e4f8SBryan Drewerysimilar to
2851c01e4f8SBryan Drewery.Pa /some/prefix/src
2861c01e4f8SBryan Drewery.Pa /some/prefix/obj
2871c01e4f8SBryan Dreweryand an environment such as:
2881c01e4f8SBryan Drewery.Bd -literal -offset indent
2891c01e4f8SBryan DreweryCCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
2901c01e4f8SBryan Drewery.Ed
2911c01e4f8SBryan Drewery.Pp
2921c01e4f8SBryan DrewerySee
2931c01e4f8SBryan Drewery.Xr ccache 1
2941c01e4f8SBryan Dreweryfor more configuration options.
29593da8366SEnji Cooper.It Va WITHOUT_CCD
29693da8366SEnji CooperSet to not build
29793da8366SEnji Cooper.Xr geom_ccd 4
29893da8366SEnji Cooperand related utilities.
29990be798eSDimitry Andric.It Va WITHOUT_CDDL
30090be798eSDimitry AndricSet to not build code licensed under Sun's CDDL.
301344e2bb9SEd MasteWhen set, it enforces these options:
30290be798eSDimitry Andric.Pp
30390be798eSDimitry Andric.Bl -item -compact
30490be798eSDimitry Andric.It
30590be798eSDimitry Andric.Va WITHOUT_CTF
30690be798eSDimitry Andric.It
30790be798eSDimitry Andric.Va WITHOUT_ZFS
30890be798eSDimitry Andric.El
30990be798eSDimitry Andric.It Va WITHOUT_CLANG
31090be798eSDimitry AndricSet to not build the Clang C/C++ compiler during the regular phase of the build.
31190be798eSDimitry Andric.Pp
312344e2bb9SEd MasteThis is a default setting on
3130780f5c3SJohn Baldwinriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
314344e2bb9SEd MasteWhen set, it enforces these options:
31590be798eSDimitry Andric.Pp
31690be798eSDimitry Andric.Bl -item -compact
31790be798eSDimitry Andric.It
31890be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS
31990be798eSDimitry Andric.It
32090be798eSDimitry Andric.Va WITHOUT_CLANG_FULL
3215b9c3654SEd Maste.It
3225b9c3654SEd Maste.Va WITHOUT_LLVM_COV
32390be798eSDimitry Andric.El
324bf64e879SBryan Drewery.Pp
325bf64e879SBryan DreweryWhen set, these options are also in effect:
326bf64e879SBryan Drewery.Pp
327bf64e879SBryan Drewery.Bl -inset -compact
328bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_AARCH64
329bf64e879SBryan Drewery(unless
330bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_AARCH64
331bf64e879SBryan Dreweryis set explicitly)
332bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ALL
333bf64e879SBryan Drewery(unless
334bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_ALL
335bf64e879SBryan Dreweryis set explicitly)
336bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ARM
337bf64e879SBryan Drewery(unless
338bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_ARM
339bf64e879SBryan Dreweryis set explicitly)
340bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_MIPS
341bf64e879SBryan Drewery(unless
342bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_MIPS
343bf64e879SBryan Dreweryis set explicitly)
344bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_POWERPC
345bf64e879SBryan Drewery(unless
346bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_POWERPC
347bf64e879SBryan Dreweryis set explicitly)
348bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_SPARC
349bf64e879SBryan Drewery(unless
350bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_SPARC
351bf64e879SBryan Dreweryis set explicitly)
352bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_X86
353bf64e879SBryan Drewery(unless
354bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_X86
355bf64e879SBryan Dreweryis set explicitly)
356bf64e879SBryan Drewery.El
35790be798eSDimitry Andric.It Va WITH_CLANG
35890be798eSDimitry AndricSet to build the Clang C/C++ compiler during the normal phase of the build.
35990be798eSDimitry Andric.Pp
360344e2bb9SEd MasteThis is a default setting on
361e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
36290be798eSDimitry Andric.It Va WITHOUT_CLANG_BOOTSTRAP
363344e2bb9SEd MasteSet to not build the Clang C/C++ compiler during the bootstrap phase of
364344e2bb9SEd Mastethe build.
365344e2bb9SEd MasteTo be able to build the system, either gcc or clang bootstrap must be
366344e2bb9SEd Masteenabled unless an alternate compiler is provided via XCC.
36790be798eSDimitry Andric.Pp
368344e2bb9SEd MasteThis is a default setting on
3690780f5c3SJohn Baldwinmips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
37090be798eSDimitry Andric.It Va WITH_CLANG_BOOTSTRAP
37190be798eSDimitry AndricSet to build the Clang C/C++ compiler during the bootstrap phase of the build.
37290be798eSDimitry Andric.Pp
373344e2bb9SEd MasteThis is a default setting on
374e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
37590be798eSDimitry Andric.It Va WITH_CLANG_EXTRAS
37690be798eSDimitry AndricSet to build additional clang and llvm tools, such as bugpoint.
37790be798eSDimitry Andric.It Va WITHOUT_CLANG_FULL
37890be798eSDimitry AndricSet to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
37990be798eSDimitry Andricthe Clang C/C++ compiler.
38090be798eSDimitry Andric.Pp
381344e2bb9SEd MasteThis is a default setting on
3820780f5c3SJohn Baldwinriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
38390be798eSDimitry Andric.It Va WITH_CLANG_FULL
38490be798eSDimitry AndricSet to build the ARCMigrate, Rewriter and StaticAnalyzer components of the
38590be798eSDimitry AndricClang C/C++ compiler.
38690be798eSDimitry Andric.Pp
387344e2bb9SEd MasteThis is a default setting on
388e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
38990be798eSDimitry Andric.It Va WITHOUT_CLANG_IS_CC
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
396344e2bb9SEd MasteThis is a default setting on
3970780f5c3SJohn Baldwinmips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
39890be798eSDimitry Andric.It Va WITH_CLANG_IS_CC
39990be798eSDimitry AndricSet to install the Clang C/C++ compiler as
40090be798eSDimitry Andric.Pa /usr/bin/cc ,
40190be798eSDimitry Andric.Pa /usr/bin/c++
40290be798eSDimitry Andricand
40390be798eSDimitry Andric.Pa /usr/bin/cpp .
40490be798eSDimitry Andric.Pp
405344e2bb9SEd MasteThis is a default setting on
406e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
40790be798eSDimitry Andric.It Va WITHOUT_CPP
40890be798eSDimitry AndricSet to not build
40990be798eSDimitry Andric.Xr cpp 1 .
41090be798eSDimitry Andric.It Va WITHOUT_CROSS_COMPILER
41190be798eSDimitry AndricSet to not build any cross compiler in the cross-tools stage of buildworld.
412344e2bb9SEd MasteWhen compiling a different version of
41390be798eSDimitry Andric.Fx
414344e2bb9SEd Mastethan what is installed on the system, provide an alternate
41590be798eSDimitry Andriccompiler with XCC to ensure success.
416344e2bb9SEd MasteWhen compiling with an identical version of
41790be798eSDimitry Andric.Fx
41890be798eSDimitry Andricto the host, this option may be safely used.
41990be798eSDimitry AndricThis option may also be safe when the host version of
42090be798eSDimitry Andric.Fx
42190be798eSDimitry Andricis close to the sources being built, but all bets are off if there have
42290be798eSDimitry Andricbeen any changes to the toolchain between the versions.
423344e2bb9SEd MasteWhen set, it enforces these options:
42490be798eSDimitry Andric.Pp
42590be798eSDimitry Andric.Bl -item -compact
42690be798eSDimitry Andric.It
42790be798eSDimitry Andric.Va WITHOUT_BINUTILS_BOOTSTRAP
42890be798eSDimitry Andric.It
42990be798eSDimitry Andric.Va WITHOUT_CLANG_BOOTSTRAP
43090be798eSDimitry Andric.It
431f972b8a4SBryan Drewery.Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
432f972b8a4SBryan Drewery.It
43390be798eSDimitry Andric.Va WITHOUT_GCC_BOOTSTRAP
43428f52545SEd Maste.It
43528f52545SEd Maste.Va WITHOUT_LLD_BOOTSTRAP
43690be798eSDimitry Andric.El
43790be798eSDimitry Andric.It Va WITHOUT_CRYPT
43890be798eSDimitry AndricSet to not build any crypto code.
439344e2bb9SEd MasteWhen set, it enforces these options:
44090be798eSDimitry Andric.Pp
44190be798eSDimitry Andric.Bl -item -compact
44290be798eSDimitry Andric.It
44390be798eSDimitry Andric.Va WITHOUT_KERBEROS
44490be798eSDimitry Andric.It
44590be798eSDimitry Andric.Va WITHOUT_OPENSSH
44690be798eSDimitry Andric.It
44790be798eSDimitry Andric.Va WITHOUT_OPENSSL
44890be798eSDimitry Andric.El
44990be798eSDimitry Andric.Pp
450344e2bb9SEd MasteWhen set, these options are also in effect:
45190be798eSDimitry Andric.Pp
45290be798eSDimitry Andric.Bl -inset -compact
45390be798eSDimitry Andric.It Va WITHOUT_GSSAPI
45490be798eSDimitry Andric(unless
45590be798eSDimitry Andric.Va WITH_GSSAPI
45690be798eSDimitry Andricis set explicitly)
45790be798eSDimitry Andric.El
45890be798eSDimitry Andric.It Va WITH_CTF
45990be798eSDimitry AndricSet to compile with CTF (Compact C Type Format) data.
46090be798eSDimitry AndricCTF data encapsulates a reduced form of debugging information
46190be798eSDimitry Andricsimilar to DWARF and the venerable stabs and is required for DTrace.
46290be798eSDimitry Andric.It Va WITHOUT_CTM
46390be798eSDimitry AndricSet to not build
46490be798eSDimitry Andric.Xr ctm 1
46590be798eSDimitry Andricand related utilities.
46654d8c5d5SBryan Drewery.It Va WITHOUT_CUSE
46754d8c5d5SBryan DrewerySet to not build CUSE-related programs and libraries.
4689cf76983SNavdeep Parhar.It Va WITHOUT_CXGBETOOL
4699cf76983SNavdeep ParharSet to not build
4709cf76983SNavdeep Parhar.Xr cxgbetool 8
4719cf76983SNavdeep Parhar.Pp
4729cf76983SNavdeep ParharThis is a default setting on
473e8788097SKonstantin Belousovarm/arm, arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpcspe, riscv/riscv64 and riscv/riscv64sf.
4749cf76983SNavdeep Parhar.It Va WITH_CXGBETOOL
4759cf76983SNavdeep ParharSet to build
4769cf76983SNavdeep Parhar.Xr cxgbetool 8
4779cf76983SNavdeep Parhar.Pp
4789cf76983SNavdeep ParharThis is a default setting on
4799cf76983SNavdeep Parharamd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64.
48090be798eSDimitry Andric.It Va WITHOUT_CXX
48190be798eSDimitry AndricSet to not build
4824a62dc3aSBryan Drewery.Xr c++ 1
48390be798eSDimitry Andricand related libraries.
48490be798eSDimitry AndricIt will also prevent building of
48590be798eSDimitry Andric.Xr gperf 1
48690be798eSDimitry Andricand
48790be798eSDimitry Andric.Xr devd 8 .
488344e2bb9SEd MasteWhen set, it enforces these options:
48990be798eSDimitry Andric.Pp
49090be798eSDimitry Andric.Bl -item -compact
49190be798eSDimitry Andric.It
49290be798eSDimitry Andric.Va WITHOUT_CLANG
49390be798eSDimitry Andric.It
49490be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS
49590be798eSDimitry Andric.It
49690be798eSDimitry Andric.Va WITHOUT_CLANG_FULL
49790be798eSDimitry Andric.It
498051ea717SEd Maste.Va WITHOUT_DTRACE_TESTS
499051ea717SEd Maste.It
50018c6fc4cSJulio Merino.Va WITHOUT_GNUCXX
50118c6fc4cSJulio Merino.It
5025b9c3654SEd Maste.Va WITHOUT_LLVM_COV
5035b9c3654SEd Maste.It
504051ea717SEd Maste.Va WITHOUT_TESTS
50590be798eSDimitry Andric.El
5064a5e4462SEd Maste.It Va WITHOUT_DEBUG_FILES
5074a5e4462SEd MasteSet to avoid building or installing standalone debug files for each
5084a5e4462SEd Masteexecutable binary and shared library.
509cc68b6e5SEd Maste.It Va WITHOUT_DIALOG
510344e2bb9SEd MasteSet to not build
511344e2bb9SEd Maste.Xr dialog 1 ,
512344e2bb9SEd Maste.Xr dialog 3 ,
513344e2bb9SEd Maste.Xr dpv 1 ,
514344e2bb9SEd Masteand
515344e2bb9SEd Maste.Xr dpv 3 .
516344e2bb9SEd MasteWhen set, it enforces these options:
517cc68b6e5SEd Maste.Pp
518cc68b6e5SEd Maste.Bl -item -compact
519cc68b6e5SEd Maste.It
520cc68b6e5SEd Maste.Va WITHOUT_BSDINSTALL
521cc68b6e5SEd Maste.El
52290be798eSDimitry Andric.It Va WITHOUT_DICT
52390be798eSDimitry AndricSet to not build the Webster dictionary files.
52432b5dc9aSSimon J. Gerraty.It Va WITH_DIRDEPS_BUILD
525be894451SBryan DreweryThis is an experimental build system.
52632b5dc9aSSimon J. GerratyFor details see
52732b5dc9aSSimon J. Gerratyhttp://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
528be894451SBryan DreweryBuild commands can be seen from the top-level with:
529be894451SBryan Drewery.Dl make show-valid-targets
53032b5dc9aSSimon J. GerratyThe build is driven by dirdeps.mk using
53132b5dc9aSSimon J. Gerraty.Va DIRDEPS
53232b5dc9aSSimon J. Gerratystored in
53332b5dc9aSSimon J. GerratyMakefile.depend files found in each directory.
53432b5dc9aSSimon J. Gerraty.Pp
53532b5dc9aSSimon J. GerratyThe build can be started from anywhere, and behaves the same.
53632b5dc9aSSimon J. GerratyThe initial instance of
53732b5dc9aSSimon J. Gerraty.Xr make 1
53832b5dc9aSSimon J. Gerratyrecursively reads
53932b5dc9aSSimon J. Gerraty.Va DIRDEPS
540344e2bb9SEd Mastefrom
541344e2bb9SEd Maste.Pa Makefile.depend ,
54232b5dc9aSSimon J. Gerratycomputing a graph of tree dependencies from the current origin.
54332b5dc9aSSimon J. GerratySetting
54432b5dc9aSSimon J. Gerraty.Va NO_DIRDEPS
545344e2bb9SEd Masteskips checking dirdep dependencies and will only build in the current
5467f76a95cSBryan Dreweryand child directories.
5477f76a95cSBryan Drewery.Va NO_DIRDEPS_BELOW
548344e2bb9SEd Masteskips building any dirdeps and only build the current directory.
54932b5dc9aSSimon J. Gerraty.Pp
550be894451SBryan DreweryThis also utilizes the
551be894451SBryan Drewery.Va WITH_META_MODE
552be894451SBryan Drewerylogic for incremental builds.
55332b5dc9aSSimon J. Gerraty.Pp
554344e2bb9SEd MasteThe build hides commands executed unless
55532b5dc9aSSimon J. Gerraty.Va NO_SILENT
55632b5dc9aSSimon J. Gerratyis defined.
55732b5dc9aSSimon J. Gerraty.Pp
558be894451SBryan DreweryNote that there is currently no mass install feature for this.
559be894451SBryan Drewery.Pp
560344e2bb9SEd MasteWhen set, it enforces these options:
56132b5dc9aSSimon J. Gerraty.Pp
56232b5dc9aSSimon J. Gerraty.Bl -item -compact
56332b5dc9aSSimon J. Gerraty.It
56432b5dc9aSSimon J. Gerraty.Va WITH_INSTALL_AS_USER
56532b5dc9aSSimon J. Gerraty.El
56632b5dc9aSSimon J. Gerraty.Pp
567344e2bb9SEd MasteWhen set, these options are also in effect:
56832b5dc9aSSimon J. Gerraty.Pp
56932b5dc9aSSimon J. Gerraty.Bl -inset -compact
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
597cc2520d2SSimon J. GerratyCache result of dirdeps.mk which can save significant time
598cc2520d2SSimon J. Gerratyfor subsequent builds.
599cc2520d2SSimon J. GerratyDepends on
60032b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD .
6010a70ef02SBryan Drewery.Pp
602ba852870SBryan DreweryThis must be set in the environment, make command line, or
6030a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
6040a70ef02SBryan Drewerynot
6050a70ef02SBryan Drewery.Pa /etc/src.conf .
60690be798eSDimitry Andric.It Va WITHOUT_DMAGENT
607344e2bb9SEd MasteSet to not build dma Mail Transport Agent.
60890be798eSDimitry Andric.It Va WITHOUT_DOCCOMPRESS
609344e2bb9SEd MasteSet to not install compressed system documentation.
61090be798eSDimitry AndricOnly the uncompressed version will be installed.
61116f3fdf5SMark Johnston.It Va WITH_DTRACE_TESTS
61216f3fdf5SMark JohnstonSet to build and install the DTrace test suite in
61316f3fdf5SMark Johnston.Pa /usr/tests/cddl/usr.sbin/dtrace .
61416f3fdf5SMark JohnstonThis test suite is considered experimental on architectures other than
61516f3fdf5SMark Johnstonamd64/amd64 and running it may cause system instability.
61690be798eSDimitry Andric.It Va WITHOUT_DYNAMICROOT
61790be798eSDimitry AndricSet this if you do not want to link
61890be798eSDimitry Andric.Pa /bin
61990be798eSDimitry Andricand
62090be798eSDimitry Andric.Pa /sbin
62190be798eSDimitry Andricdynamically.
62290be798eSDimitry Andric.It Va WITHOUT_ED_CRYPTO
62390be798eSDimitry AndricSet to build
62490be798eSDimitry Andric.Xr ed 1
62590be798eSDimitry Andricwithout support for encryption/decryption.
62693da8366SEnji Cooper.It Va WITHOUT_EE
62793da8366SEnji CooperSet to not build and install
62893da8366SEnji Cooper.Xr edit 1 ,
62993da8366SEnji Cooper.Xr ee 1 ,
63093da8366SEnji Cooperand related programs.
6310cd582c8SEnji Cooper.It Va WITHOUT_EFI
6320cd582c8SEnji CooperSet not to build
6330cd582c8SEnji Cooper.Xr efivar 3
6340cd582c8SEnji Cooperand
6350cd582c8SEnji Cooper.Xr efivar 8 .
6360cd582c8SEnji Cooper.Pp
637344e2bb9SEd MasteThis is a default setting on
6380780f5c3SJohn Baldwinmips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
6390cd582c8SEnji Cooper.It Va WITH_EFI
6400cd582c8SEnji CooperSet to build
6410cd582c8SEnji Cooper.Xr efivar 3
6420cd582c8SEnji Cooperand
6430cd582c8SEnji Cooper.Xr efivar 8 .
6440cd582c8SEnji Cooper.Pp
645344e2bb9SEd MasteThis is a default setting on
646e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
6475977355fSBryan Drewery.It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
6485977355fSBryan DrewerySet to not build ELF Tool Chain tools
6495977355fSBryan Drewery(addr2line, nm, size, strings and strip)
6505977355fSBryan Dreweryas part of the bootstrap process.
6515977355fSBryan Drewery.Bf -symbolic
6525977355fSBryan DreweryAn alternate bootstrap tool chain must be provided.
6535977355fSBryan Drewery.Ef
65490be798eSDimitry Andric.It Va WITHOUT_EXAMPLES
65590be798eSDimitry AndricSet to avoid installing examples to
65690be798eSDimitry Andric.Pa /usr/share/examples/ .
657d5a2667bSJonathan T. Looney.It Va WITH_EXTRA_TCP_STACKS
658d5a2667bSJonathan T. LooneySet to build extra TCP stack modules.
65990be798eSDimitry Andric.It Va WITHOUT_FDT
66090be798eSDimitry AndricSet to not build Flattened Device Tree support as part of the base system.
66190be798eSDimitry AndricThis includes the device tree compiler (dtc) and libfdt support library.
6620e0e9604SEnji Cooper.It Va WITHOUT_FILE
6630e0e9604SEnji CooperSet to not build
6640e0e9604SEnji Cooper.Xr file 1
6650e0e9604SEnji Cooperand related programs.
6660e0e9604SEnji Cooper.It Va WITHOUT_FINGER
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 AndricSet to not build or install programs
67390be798eSDimitry Andricfor operating floppy disk driver.
67490be798eSDimitry Andric.It Va WITHOUT_FMTREE
67590be798eSDimitry AndricSet to not build and install
67690be798eSDimitry Andric.Pa /usr/sbin/fmtree .
677a0f6423bSEd Maste.It Va WITHOUT_FORMAT_EXTENSIONS
678a0f6423bSEd MasteSet to not enable
679a0f6423bSEd Maste.Fl fformat-extensions
680a0f6423bSEd Mastewhen compiling the kernel.
681a0f6423bSEd MasteAlso disables all format checking.
68290be798eSDimitry Andric.It Va WITHOUT_FORTH
68390be798eSDimitry AndricSet to build bootloaders without Forth support.
68490be798eSDimitry Andric.It Va WITHOUT_FP_LIBC
68590be798eSDimitry AndricSet to build
68690be798eSDimitry Andric.Nm libc
68790be798eSDimitry Andricwithout floating-point support.
68890be798eSDimitry Andric.It Va WITHOUT_FREEBSD_UPDATE
68990be798eSDimitry AndricSet to not build
69090be798eSDimitry Andric.Xr freebsd-update 8 .
6910e0e9604SEnji Cooper.It Va WITHOUT_FTP
6920e0e9604SEnji CooperSet to not build or install
6930e0e9604SEnji Cooper.Xr ftp 1
6940e0e9604SEnji Cooperand
6950e0e9604SEnji Cooper.Xr ftpd 8 .
69690be798eSDimitry Andric.It Va WITHOUT_GAMES
69790be798eSDimitry AndricSet to not build games.
69890be798eSDimitry Andric.It Va WITHOUT_GCC
69990be798eSDimitry AndricSet to not build and install gcc and g++ as part of the normal build process.
70090be798eSDimitry Andric.Pp
701344e2bb9SEd MasteThis is a default setting on
702e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
70390be798eSDimitry Andric.It Va WITH_GCC
70490be798eSDimitry AndricSet to build and install gcc and g++.
70590be798eSDimitry Andric.Pp
706344e2bb9SEd MasteThis is a default setting on
70736e8c7bbSEd 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.
70890be798eSDimitry Andric.It Va WITHOUT_GCC_BOOTSTRAP
70990be798eSDimitry AndricSet to not build gcc and g++ as part of the bootstrap process.
710a0f6423bSEd MasteYou must enable either gcc or clang bootstrap to be able to build the system,
711a0f6423bSEd Masteunless an alternative compiler is provided via
71290be798eSDimitry AndricXCC.
71390be798eSDimitry Andric.Pp
714344e2bb9SEd MasteThis is a default setting on
715e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
71690be798eSDimitry Andric.It Va WITH_GCC_BOOTSTRAP
71790be798eSDimitry AndricSet to build gcc and g++ as part of the bootstrap process.
71890be798eSDimitry Andric.Pp
719344e2bb9SEd MasteThis is a default setting on
72036e8c7bbSEd 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.
72190be798eSDimitry Andric.It Va WITHOUT_GCOV
72290be798eSDimitry AndricSet to not build the
72390be798eSDimitry Andric.Xr gcov 1
72490be798eSDimitry Andrictool.
72590be798eSDimitry Andric.It Va WITHOUT_GDB
72690be798eSDimitry AndricSet to not build
72790be798eSDimitry Andric.Xr gdb 1 .
7285be09b10SEd Maste.Pp
729344e2bb9SEd MasteThis is a default setting on
7304650b8aeSEnji Cooperarm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
7315977355fSBryan Drewery.It Va WITH_GDB
7325977355fSBryan DrewerySet to build
7335977355fSBryan Drewery.Xr gdb 1 .
7345977355fSBryan Drewery.Pp
735344e2bb9SEd MasteThis is a default setting on
736e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
7374650b8aeSEnji Cooper.It Va WITHOUT_GDB_LIBEXEC
7384650b8aeSEnji CooperSet to install
7394650b8aeSEnji Cooper.Xr gdb 1
7404650b8aeSEnji Cooperinto
7414650b8aeSEnji Cooper.Pa /usr/bin .
7424650b8aeSEnji Cooper.Pp
7434650b8aeSEnji CooperThis is a default setting on
744513fdd50SJohn Baldwinsparc64/sparc64.
7454650b8aeSEnji Cooper.It Va WITH_GDB_LIBEXEC
7464650b8aeSEnji CooperSet to install
7474650b8aeSEnji Cooper.Xr gdb 1
7484650b8aeSEnji Cooperinto
7494650b8aeSEnji Cooper.Pa /usr/libexec .
7504650b8aeSEnji CooperThis permits
7514650b8aeSEnji Cooper.Xr gdb 1
7524650b8aeSEnji Cooperto be used as a fallback for
7534650b8aeSEnji Cooper.Xr crashinfo 8
7544650b8aeSEnji Cooperif a newer version is not installed.
7554650b8aeSEnji Cooper.Pp
7564650b8aeSEnji CooperThis is a default setting on
757513fdd50SJohn Baldwinamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and riscv/riscv64sf.
75890be798eSDimitry Andric.It Va WITHOUT_GNUCXX
75990be798eSDimitry AndricDo not build the GNU C++ stack (g++, libstdc++).
76090be798eSDimitry AndricThis is the default on platforms where clang is the system compiler.
76190be798eSDimitry Andric.Pp
762344e2bb9SEd MasteThis is a default setting on
763e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
76490be798eSDimitry Andric.It Va WITH_GNUCXX
76590be798eSDimitry AndricBuild the GNU C++ stack (g++, libstdc++).
76690be798eSDimitry AndricThis is the default on platforms where gcc is the system compiler.
76790be798eSDimitry Andric.Pp
768344e2bb9SEd MasteThis is a default setting on
769e8788097SKonstantin Belousovmips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
77036e8c7bbSEd Maste.It Va WITHOUT_GNU_DIFF
77136e8c7bbSEd MasteSet to not build GNU
77236e8c7bbSEd Maste.Xr diff 1
77336e8c7bbSEd Masteand
77436e8c7bbSEd Maste.Xr diff3 1 .
77536e8c7bbSEd Maste.It Va WITHOUT_GNU_GREP
77636e8c7bbSEd MasteSet to not build GNU
77736e8c7bbSEd Maste.Xr grep 1 .
778e9e768f7SEd Maste.It Va WITH_GNU_GREP_COMPAT
779e9e768f7SEd MasteSet this option to include GNU extensions in
780e9e768f7SEd Maste.Xr bsdgrep 1
781e9e768f7SEd Masteby linking against libgnuregex.
78290be798eSDimitry Andric.It Va WITHOUT_GPIO
78390be798eSDimitry AndricSet to not build
78490be798eSDimitry Andric.Xr gpioctl 8
78590be798eSDimitry Andricas part of the base system.
7865c021049SEnji Cooper.It Va WITHOUT_GPL_DTC
7875c021049SEnji CooperSet to build the BSD licensed version of the device tree compiler rather
7885c021049SEnji Cooperthan the GPLed one from elinux.org.
7895c021049SEnji Cooper.Pp
7905c021049SEnji CooperThis is a default setting on
791e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
792fcf8f4a8SEmmanuel Vadot.It Va WITH_GPL_DTC
793fcf8f4a8SEmmanuel VadotSet to build the GPL'd version of the device tree compiler from elinux.org,
794fcf8f4a8SEmmanuel Vadotinstead of the BSD licensed one.
7955c021049SEnji Cooper.Pp
7965c021049SEnji CooperThis is a default setting on
79789dd2bebSBryan Drewerymips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
79890be798eSDimitry Andric.It Va WITHOUT_GSSAPI
79990be798eSDimitry AndricSet to not build libgssapi.
80061940879SEnji Cooper.It Va WITHOUT_HAST
80161940879SEnji CooperSet to not build
80261940879SEnji Cooper.Xr hastd 8
80361940879SEnji Cooperand related utilities.
80490be798eSDimitry Andric.It Va WITH_HESIOD
80590be798eSDimitry AndricSet to build Hesiod support.
80690be798eSDimitry Andric.It Va WITHOUT_HTML
80790be798eSDimitry AndricSet to not build HTML docs.
8082c4b4abcSXin LI.It Va WITHOUT_HYPERV
8092c4b4abcSXin LISet to not build or install HyperV utilities.
81090be798eSDimitry Andric.It Va WITHOUT_ICONV
81190be798eSDimitry AndricSet to not build iconv as part of libc.
812c5d09a87SGlen Barber.It Va WITHOUT_INCLUDES
813c5d09a87SGlen BarberSet to not install header files.
814c5d09a87SGlen BarberThis option used to be spelled
815c5d09a87SGlen Barber.Va NO_INCS .
816c5d09a87SGlen Barber.Bf -symbolic
817c5d09a87SGlen BarberThe option does not work for build targets.
818c5d09a87SGlen Barber.Ef
81990be798eSDimitry Andric.It Va WITHOUT_INET
82090be798eSDimitry AndricSet to not build programs and libraries related to IPv4 networking.
821344e2bb9SEd MasteWhen set, it enforces these options:
82290be798eSDimitry Andric.Pp
82390be798eSDimitry Andric.Bl -item -compact
82490be798eSDimitry Andric.It
82590be798eSDimitry Andric.Va WITHOUT_INET_SUPPORT
82690be798eSDimitry Andric.El
82790be798eSDimitry Andric.It Va WITHOUT_INET6
82890be798eSDimitry AndricSet to not build
82990be798eSDimitry Andricprograms and libraries related to IPv6 networking.
830344e2bb9SEd MasteWhen set, it enforces these options:
83190be798eSDimitry Andric.Pp
83290be798eSDimitry Andric.Bl -item -compact
83390be798eSDimitry Andric.It
83490be798eSDimitry Andric.Va WITHOUT_INET6_SUPPORT
83590be798eSDimitry Andric.El
83690be798eSDimitry Andric.It Va WITHOUT_INET6_SUPPORT
83790be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv6 support.
8380e0e9604SEnji Cooper.It Va WITHOUT_INETD
8390e0e9604SEnji CooperSet to not build
8400e0e9604SEnji Cooper.Xr inetd 8 .
84190be798eSDimitry Andric.It Va WITHOUT_INET_SUPPORT
84290be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv4 support.
84390be798eSDimitry Andric.It Va WITHOUT_INSTALLLIB
844344e2bb9SEd MasteSet this to not install optional libraries.
845344e2bb9SEd MasteFor example, when creating a
84690be798eSDimitry Andric.Xr nanobsd 8
84790be798eSDimitry Andricimage.
848f79bedf5SBryan Drewery.Bf -symbolic
849f79bedf5SBryan DreweryThe option does not work for build targets.
850f79bedf5SBryan Drewery.Ef
85190be798eSDimitry Andric.It Va WITH_INSTALL_AS_USER
85290be798eSDimitry AndricSet to make install targets succeed for non-root users by installing
85390be798eSDimitry Andricfiles with owner and group attributes set to that of the user running
85490be798eSDimitry Andricthe
85590be798eSDimitry Andric.Xr make 1
85690be798eSDimitry Andriccommand.
857344e2bb9SEd MasteThe user still must set the
85890be798eSDimitry Andric.Va DESTDIR
85990be798eSDimitry Andricvariable to point to a directory where the user has write permissions.
86090be798eSDimitry Andric.It Va WITHOUT_IPFILTER
86190be798eSDimitry AndricSet to not build IP Filter package.
86290be798eSDimitry Andric.It Va WITHOUT_IPFW
86390be798eSDimitry AndricSet to not build IPFW tools.
86488342134SEnji Cooper.It Va WITHOUT_IPSEC_SUPPORT
86588342134SEnji CooperSet to not build the kernel with
86688342134SEnji Cooper.Xr ipsec 4
86788342134SEnji Coopersupport.
86888342134SEnji CooperThis option is needed for
86988342134SEnji Cooper.Xr ipsec 4
87088342134SEnji Cooperand
87188342134SEnji Cooper.Xr tcpmd5 4 .
87293da8366SEnji Cooper.It Va WITHOUT_ISCSI
87393da8366SEnji CooperSet to not build
87426d6bbfaSSevan Janiyan.Xr iscsid 8
87593da8366SEnji Cooperand related utilities.
87690be798eSDimitry Andric.It Va WITHOUT_JAIL
87790be798eSDimitry AndricSet to not build tools for the support of jails; e.g.,
87890be798eSDimitry Andric.Xr jail 8 .
87990be798eSDimitry Andric.It Va WITHOUT_KDUMP
88090be798eSDimitry AndricSet to not build
88190be798eSDimitry Andric.Xr kdump 1
88290be798eSDimitry Andricand
88390be798eSDimitry Andric.Xr truss 1 .
88490be798eSDimitry Andric.It Va WITHOUT_KERBEROS
885344e2bb9SEd MasteSet this to not build Kerberos 5 (KTH Heimdal).
886344e2bb9SEd MasteWhen set, these options are also in effect:
88790be798eSDimitry Andric.Pp
88890be798eSDimitry Andric.Bl -inset -compact
88990be798eSDimitry Andric.It Va WITHOUT_GSSAPI
89090be798eSDimitry Andric(unless
89190be798eSDimitry Andric.Va WITH_GSSAPI
89290be798eSDimitry Andricis set explicitly)
893bf64e879SBryan Drewery.It Va WITHOUT_KERBEROS_SUPPORT
894bf64e879SBryan Drewery(unless
895bf64e879SBryan Drewery.Va WITH_KERBEROS_SUPPORT
896bf64e879SBryan Dreweryis set explicitly)
89790be798eSDimitry Andric.El
89890be798eSDimitry Andric.It Va WITHOUT_KERBEROS_SUPPORT
89990be798eSDimitry AndricSet to build some programs without Kerberos support, like
90090be798eSDimitry Andric.Xr ssh 1 ,
90190be798eSDimitry Andric.Xr telnet 1 ,
90290be798eSDimitry Andric.Xr sshd 8 ,
90390be798eSDimitry Andricand
90490be798eSDimitry Andric.Xr telnetd 8 .
9056f7527f0SEd Maste.It Va WITH_KERNEL_RETPOLINE
9066f7527f0SEd MasteSet to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel
9076f7527f0SEd Mastebuild.
908a0f6423bSEd Maste.It Va WITHOUT_KERNEL_SYMBOLS
909a0f6423bSEd MasteSet to not install kernel symbol files.
910a0f6423bSEd Maste.Bf -symbolic
911a0f6423bSEd MasteThis option is recommended for those people who have small root partitions.
912a0f6423bSEd Maste.Ef
91390be798eSDimitry Andric.It Va WITHOUT_KVM
91490be798eSDimitry AndricSet to not build the
91590be798eSDimitry Andric.Nm libkvm
91690be798eSDimitry Andriclibrary as a part of the base system.
91790be798eSDimitry Andric.Bf -symbolic
91890be798eSDimitry AndricThe option has no effect yet.
91990be798eSDimitry Andric.Ef
920bf64e879SBryan DreweryWhen set, these options are also in effect:
92190be798eSDimitry Andric.Pp
922bf64e879SBryan Drewery.Bl -inset -compact
923bf64e879SBryan Drewery.It Va WITHOUT_KVM_SUPPORT
924bf64e879SBryan Drewery(unless
925bf64e879SBryan Drewery.Va WITH_KVM_SUPPORT
926bf64e879SBryan Dreweryis set explicitly)
92790be798eSDimitry Andric.El
92890be798eSDimitry Andric.It Va WITHOUT_KVM_SUPPORT
92990be798eSDimitry AndricSet to build some programs without optional
93090be798eSDimitry Andric.Nm libkvm
93190be798eSDimitry Andricsupport.
93290be798eSDimitry Andric.It Va WITHOUT_LDNS
93390be798eSDimitry AndricSetting this variable will prevent the LDNS library from being built.
934344e2bb9SEd MasteWhen set, it enforces these options:
93590be798eSDimitry Andric.Pp
93690be798eSDimitry Andric.Bl -item -compact
93790be798eSDimitry Andric.It
93890be798eSDimitry Andric.Va WITHOUT_LDNS_UTILS
93990be798eSDimitry Andric.It
94090be798eSDimitry Andric.Va WITHOUT_UNBOUND
94190be798eSDimitry Andric.El
94290be798eSDimitry Andric.It Va WITHOUT_LDNS_UTILS
94390be798eSDimitry AndricSetting this variable will prevent building the LDNS utilities
94490be798eSDimitry Andric.Xr drill 1
94590be798eSDimitry Andricand
94690be798eSDimitry Andric.Xr host 1 .
94790be798eSDimitry Andric.It Va WITHOUT_LEGACY_CONSOLE
94890be798eSDimitry AndricSet to not build programs that support a legacy PC console; e.g.,
94923a6b49aSEdward Tomasz Napierala.Xr kbdcontrol 1
95090be798eSDimitry Andricand
95123a6b49aSEdward Tomasz Napierala.Xr vidcontrol 1 .
95290be798eSDimitry Andric.It Va WITHOUT_LIB32
953c5d09a87SGlen BarberOn 64-bit platforms, set to not build 32-bit library set and a
95490be798eSDimitry Andric.Nm ld-elf32.so.1
95590be798eSDimitry Andricruntime linker.
95690be798eSDimitry Andric.It Va WITHOUT_LIBCPLUSPLUS
95790be798eSDimitry AndricSet to avoid building libcxxrt and libc++.
95890be798eSDimitry Andric.It Va WITHOUT_LIBPTHREAD
95990be798eSDimitry AndricSet to not build the
96090be798eSDimitry Andric.Nm libpthread
96190be798eSDimitry Andricproviding library,
96290be798eSDimitry Andric.Nm libthr .
963344e2bb9SEd MasteWhen set, it enforces these options:
96490be798eSDimitry Andric.Pp
96590be798eSDimitry Andric.Bl -item -compact
96690be798eSDimitry Andric.It
96790be798eSDimitry Andric.Va WITHOUT_LIBTHR
96890be798eSDimitry Andric.El
9698a7c8ae4SBryan Drewery.It Va WITH_LIBSOFT
9708a7c8ae4SBryan DreweryOn armv6 only, set to enable soft float ABI compatibility libraries.
9718a7c8ae4SBryan DreweryThis option is for transitioning to the new hard float ABI.
97290be798eSDimitry Andric.It Va WITHOUT_LIBTHR
97390be798eSDimitry AndricSet to not build the
97490be798eSDimitry Andric.Nm libthr
97590be798eSDimitry Andric(1:1 threading)
97690be798eSDimitry Andriclibrary.
97736e8c7bbSEd Maste.It Va WITHOUT_LLD
97836e8c7bbSEd MasteSet to not build LLVM's lld linker.
97936e8c7bbSEd Maste.Pp
980344e2bb9SEd MasteThis is a default setting on
981912aad0fSKyle Evansriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
98236e8c7bbSEd Maste.It Va WITH_LLD
98336e8c7bbSEd MasteSet to build LLVM's lld linker.
98436e8c7bbSEd Maste.Pp
985344e2bb9SEd MasteThis is a default setting on
986e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
9871500eb21SEd Maste.It Va WITHOUT_LLDB
9881500eb21SEd MasteSet to not build the LLDB debugger.
9891500eb21SEd Maste.Pp
990344e2bb9SEd MasteThis is a default setting on
991e8788097SKonstantin Belousovarm/arm, arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
99290be798eSDimitry Andric.It Va WITH_LLDB
99390be798eSDimitry AndricSet to build the LLDB debugger.
9941500eb21SEd Maste.Pp
995344e2bb9SEd MasteThis is a default setting on
996e5259506SEnji Cooperamd64/amd64, arm64/aarch64 and i386/i386.
9976c2b7edaSEd Maste.It Va WITHOUT_LLD_BOOTSTRAP
9986c2b7edaSEd MasteSet to not build the LLD linker during the bootstrap phase of
9996c2b7edaSEd Mastethe build.
10006c2b7edaSEd MasteTo be able to build the system, either Binutils or LLD bootstrap must be
10016c2b7edaSEd Masteenabled unless an alternate linker is provided via XLD.
10026c2b7edaSEd Maste.Pp
10036c2b7edaSEd MasteThis is a default setting on
10047a9e13ddSEd Mastearm/arm, arm/armv6, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
10056c2b7edaSEd Maste.It Va WITH_LLD_BOOTSTRAP
10066c2b7edaSEd MasteSet to build the LLD linker during the bootstrap phase of the build.
10076c2b7edaSEd Maste.Pp
10086c2b7edaSEd MasteThis is a default setting on
10097a9e13ddSEd Masteamd64/amd64, arm/armv7, arm64/aarch64 and i386/i386.
1010661cf9b6SYoshihiro Takahashi.It Va WITHOUT_LLD_IS_LD
101136e8c7bbSEd MasteSet to use GNU binutils ld as the system linker, instead of LLVM's LLD.
101236e8c7bbSEd Maste.Pp
1013344e2bb9SEd MasteThis is a default setting on
101466366404SEd Mastearm/arm, arm/armv6, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1015661cf9b6SYoshihiro Takahashi.It Va WITH_LLD_IS_LD
101636e8c7bbSEd MasteSet to use LLVM's LLD as the system linker, instead of GNU binutils ld.
101736e8c7bbSEd Maste.Pp
1018344e2bb9SEd MasteThis is a default setting on
101966366404SEd Masteamd64/amd64, arm/armv7 and arm64/aarch64.
10205b9c3654SEd Maste.It Va WITHOUT_LLVM_COV
10215b9c3654SEd MasteSet to not build the
10225b9c3654SEd Maste.Xr llvm-cov 1
10235b9c3654SEd Mastetool.
10245b9c3654SEd Maste.Pp
10255b9c3654SEd MasteThis is a default setting on
10265b9c3654SEd Masteriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
10275b9c3654SEd Maste.It Va WITH_LLVM_COV
10285b9c3654SEd MasteSet to build the
10295b9c3654SEd Maste.Xr llvm-cov 1
10305b9c3654SEd Mastetool.
10315b9c3654SEd Maste.Pp
10325b9c3654SEd MasteThis is a default setting on
1033e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
10341500eb21SEd Maste.It Va WITHOUT_LLVM_LIBUNWIND
10351500eb21SEd MasteSet to use GCC's stack unwinder (instead of LLVM's libunwind).
10361500eb21SEd Maste.Pp
1037344e2bb9SEd MasteThis is a default setting on
1038e8788097SKonstantin Belousovarm/arm, arm/armv6, arm/armv7, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
10391500eb21SEd Maste.It Va WITH_LLVM_LIBUNWIND
10401500eb21SEd MasteSet to use LLVM's libunwind stack unwinder (instead of GCC's unwinder).
10411500eb21SEd Maste.Pp
1042344e2bb9SEd MasteThis is a default setting on
1043912aad0fSKyle Evansamd64/amd64, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, riscv/riscv64 and riscv/riscv64sf.
1044cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_AARCH64
1045cbafd263SDimitry AndricSet to not build LLVM target support for AArch64.
1046bf64e879SBryan DreweryThe
1047bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1048bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1049cbafd263SDimitry Andric.Pp
1050cbafd263SDimitry AndricThis is a default setting on
1051cbafd263SDimitry Andricriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1052cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_AARCH64
1053cbafd263SDimitry AndricSet to build LLVM target support for AArch64.
1054bf64e879SBryan DreweryThe
1055bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1056bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1057bf64e879SBryan Drewery.Pp
1058bf64e879SBryan DreweryThis is a default setting on
1059e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
1060bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ALL
1061bf64e879SBryan DrewerySet to only build the required LLVM target support.
1062bf64e879SBryan DreweryThis option is preferred to specific target support options.
1063bf64e879SBryan Drewery.Pp
1064bf64e879SBryan DreweryThis is a default setting on
1065bf64e879SBryan Dreweryriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1066bf64e879SBryan DreweryWhen set, these options are also in effect:
1067bf64e879SBryan Drewery.Pp
1068bf64e879SBryan Drewery.Bl -inset -compact
1069bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_AARCH64
1070bf64e879SBryan Drewery(unless
1071bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_AARCH64
1072bf64e879SBryan Dreweryis set explicitly)
1073bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ARM
1074bf64e879SBryan Drewery(unless
1075bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_ARM
1076bf64e879SBryan Dreweryis set explicitly)
1077bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_MIPS
1078bf64e879SBryan Drewery(unless
1079bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_MIPS
1080bf64e879SBryan Dreweryis set explicitly)
1081bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_POWERPC
1082bf64e879SBryan Drewery(unless
1083bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_POWERPC
1084bf64e879SBryan Dreweryis set explicitly)
1085bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_SPARC
1086bf64e879SBryan Drewery(unless
1087bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_SPARC
1088bf64e879SBryan Dreweryis set explicitly)
1089bf64e879SBryan Drewery.El
1090bf64e879SBryan Drewery.It Va WITH_LLVM_TARGET_ALL
1091bf64e879SBryan DrewerySet to build support for all LLVM targets.
1092bf64e879SBryan DreweryThis option is always applied to the bootstrap compiler for buildworld when
1093bf64e879SBryan DreweryLLVM is used.
1094cbafd263SDimitry Andric.Pp
1095cbafd263SDimitry AndricThis is a default setting on
1096e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
1097cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_ARM
1098cbafd263SDimitry AndricSet to not build LLVM target support for ARM.
1099bf64e879SBryan DreweryThe
1100bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1101bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1102cbafd263SDimitry Andric.Pp
1103cbafd263SDimitry AndricThis is a default setting on
1104cbafd263SDimitry Andricriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1105cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_ARM
1106cbafd263SDimitry AndricSet to build LLVM target support for ARM.
1107bf64e879SBryan DreweryThe
1108bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1109bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1110cbafd263SDimitry Andric.Pp
1111cbafd263SDimitry AndricThis is a default setting on
1112e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
111389edb881SDimitry Andric.It Va WITH_LLVM_TARGET_BPF
111489edb881SDimitry AndricSet to build LLVM target support for BPF.
111589edb881SDimitry AndricThe
111689edb881SDimitry Andric.Va LLVM_TARGET_ALL
111789edb881SDimitry Andricoption should be used rather than this in most cases.
1118cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_MIPS
1119cbafd263SDimitry AndricSet to not build LLVM target support for MIPS.
1120bf64e879SBryan DreweryThe
1121bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1122bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1123cbafd263SDimitry Andric.Pp
1124cbafd263SDimitry AndricThis is a default setting on
1125cbafd263SDimitry Andricriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1126cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_MIPS
1127cbafd263SDimitry AndricSet to build LLVM target support for MIPS.
1128bf64e879SBryan DreweryThe
1129bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1130bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1131cbafd263SDimitry Andric.Pp
1132cbafd263SDimitry AndricThis is a default setting on
1133e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
1134cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_POWERPC
1135cbafd263SDimitry AndricSet to not build LLVM target support for PowerPC.
1136bf64e879SBryan DreweryThe
1137bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1138bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1139cbafd263SDimitry Andric.Pp
1140cbafd263SDimitry AndricThis is a default setting on
1141cbafd263SDimitry Andricriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1142cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_POWERPC
1143cbafd263SDimitry AndricSet to build LLVM target support for PowerPC.
1144bf64e879SBryan DreweryThe
1145bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1146bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1147cbafd263SDimitry Andric.Pp
1148cbafd263SDimitry AndricThis is a default setting on
1149e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
1150cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_SPARC
1151cbafd263SDimitry AndricSet to not build LLVM target support for SPARC.
1152bf64e879SBryan DreweryThe
1153bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1154bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1155cbafd263SDimitry Andric.Pp
1156cbafd263SDimitry AndricThis is a default setting on
1157cbafd263SDimitry Andricriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1158cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_SPARC
1159cbafd263SDimitry AndricSet to build LLVM target support for SPARC.
1160bf64e879SBryan DreweryThe
1161bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1162bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1163cbafd263SDimitry Andric.Pp
1164cbafd263SDimitry AndricThis is a default setting on
1165e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
1166cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_X86
1167cbafd263SDimitry AndricSet to not build LLVM target support for X86.
1168bf64e879SBryan DreweryThe
1169bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1170bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1171cbafd263SDimitry Andric.Pp
1172cbafd263SDimitry AndricThis is a default setting on
1173cbafd263SDimitry Andricriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1174cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_X86
1175cbafd263SDimitry AndricSet to build LLVM target support for X86.
1176bf64e879SBryan DreweryThe
1177bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1178bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1179cbafd263SDimitry Andric.Pp
1180cbafd263SDimitry AndricThis is a default setting on
1181e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
1182782df3edSEd Maste.It Va WITH_LOADER_FIREWIRE
1183e8788097SKonstantin BelousovEnable firewire support in /boot/loader on x86. This option is a nop
1184e8788097SKonstantin Belousovon all other platforms.
1185782df3edSEd Maste.It Va WITHOUT_LOADER_GELI
1186782df3edSEd MasteDisable inclusion of GELI crypto support in the boot chain binaries.
1187*30323356SWarner Losh.Pp
1188*30323356SWarner LoshThis is a default setting on
1189*30323356SWarner Loshsparc64/sparc64.
11906f7527f0SEd Maste.It Va WITH_LOADER_LUA
11916f7527f0SEd MasteSet to build LUA bindings for the boot loader.
1192*30323356SWarner Losh.Pp
1193*30323356SWarner LoshThis is a default setting on
1194*30323356SWarner Loshamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and riscv/riscv64sf.
1195b8f3641fSKyle Evans.It Va WITHOUT_LOADER_OFW
1196b8f3641fSKyle EvansDisable building of openfirmware bootloader components.
1197b8f3641fSKyle Evans.Pp
1198b8f3641fSKyle EvansThis is a default setting on
1199e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, riscv/riscv64 and riscv/riscv64sf.
1200b8f3641fSKyle Evans.It Va WITH_LOADER_OFW
1201b8f3641fSKyle EvansSet to build openfirmware bootloader components.
1202b8f3641fSKyle Evans.Pp
1203b8f3641fSKyle EvansThis is a default setting on
1204b8f3641fSKyle Evanspowerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1205b8f3641fSKyle Evans.It Va WITHOUT_LOADER_UBOOT
1206b8f3641fSKyle EvansDisable building of ubldr.
1207b8f3641fSKyle Evans.Pp
1208b8f3641fSKyle EvansThis is a default setting on
1209b8f3641fSKyle Evansamd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1210b8f3641fSKyle Evans.It Va WITH_LOADER_UBOOT
1211b8f3641fSKyle EvansSet to build ubldr.
1212b8f3641fSKyle Evans.Pp
1213b8f3641fSKyle EvansThis is a default setting on
1214e8788097SKonstantin Belousovarm/arm, arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe.
121590be798eSDimitry Andric.It Va WITHOUT_LOCALES
121690be798eSDimitry AndricSet to not build localization files; see
121790be798eSDimitry Andric.Xr locale 1 .
121890be798eSDimitry Andric.It Va WITHOUT_LOCATE
121990be798eSDimitry AndricSet to not build
122090be798eSDimitry Andric.Xr locate 1
122190be798eSDimitry Andricand related programs.
122290be798eSDimitry Andric.It Va WITHOUT_LPR
122390be798eSDimitry AndricSet to not build
122490be798eSDimitry Andric.Xr lpr 1
122590be798eSDimitry Andricand related programs.
122690be798eSDimitry Andric.It Va WITHOUT_LS_COLORS
122790be798eSDimitry AndricSet to build
122890be798eSDimitry Andric.Xr ls 1
122990be798eSDimitry Andricwithout support for colors to distinguish file types.
123090be798eSDimitry Andric.It Va WITHOUT_LZMA_SUPPORT
123190be798eSDimitry AndricSet to build some programs without optional lzma compression support.
123290be798eSDimitry Andric.It Va WITHOUT_MAIL
123390be798eSDimitry AndricSet to not build any mail support (MUA or MTA).
1234344e2bb9SEd MasteWhen set, it enforces these options:
123590be798eSDimitry Andric.Pp
123690be798eSDimitry Andric.Bl -item -compact
123790be798eSDimitry Andric.It
123890be798eSDimitry Andric.Va WITHOUT_DMAGENT
123990be798eSDimitry Andric.It
124090be798eSDimitry Andric.Va WITHOUT_MAILWRAPPER
124190be798eSDimitry Andric.It
124290be798eSDimitry Andric.Va WITHOUT_SENDMAIL
124390be798eSDimitry Andric.El
124490be798eSDimitry Andric.It Va WITHOUT_MAILWRAPPER
124590be798eSDimitry AndricSet to not build the
124690be798eSDimitry Andric.Xr mailwrapper 8
124790be798eSDimitry AndricMTA selector.
124890be798eSDimitry Andric.It Va WITHOUT_MAKE
124990be798eSDimitry AndricSet to not install
125090be798eSDimitry Andric.Xr make 1
125190be798eSDimitry Andricand related support files.
125274782f0eSEnji Cooper.It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
125374782f0eSEnji CooperSet to not execute
125474782f0eSEnji Cooper.Dq Li "make check"
125574782f0eSEnji Cooperin limited sandbox mode.
125674782f0eSEnji CooperThis option should be paired with
125774782f0eSEnji Cooper.Va WITH_INSTALL_AS_USER
125874782f0eSEnji Cooperif executed as an unprivileged user.
125974782f0eSEnji CooperSee
126074782f0eSEnji Cooper.Xr tests 7
126174782f0eSEnji Cooperfor more details.
126290be798eSDimitry Andric.It Va WITHOUT_MAN
126390be798eSDimitry AndricSet to not build manual pages.
1264344e2bb9SEd MasteWhen set, these options are also in effect:
126590be798eSDimitry Andric.Pp
126690be798eSDimitry Andric.Bl -inset -compact
126790be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS
126890be798eSDimitry Andric(unless
126990be798eSDimitry Andric.Va WITH_MAN_UTILS
127090be798eSDimitry Andricis set explicitly)
127190be798eSDimitry Andric.El
127290be798eSDimitry Andric.It Va WITHOUT_MANCOMPRESS
127390be798eSDimitry AndricSet to not to install compressed man pages.
127490be798eSDimitry AndricOnly the uncompressed versions will be installed.
127590be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS
127690be798eSDimitry AndricSet to not build utilities for manual pages,
127790be798eSDimitry Andric.Xr apropos 1 ,
127890be798eSDimitry Andric.Xr makewhatis 1 ,
127990be798eSDimitry Andric.Xr man 1 ,
128090be798eSDimitry Andric.Xr whatis 1 ,
128190be798eSDimitry Andric.Xr manctl 8 ,
128290be798eSDimitry Andricand related support files.
1283cc2520d2SSimon J. Gerraty.It Va WITH_META_MODE
1284344e2bb9SEd MasteCreate
1285be894451SBryan Drewery.Xr make 1
1286be894451SBryan Drewerymeta files when building, which can provide a reliable incremental build when
1287be894451SBryan Dreweryusing
1288be894451SBryan Drewery.Xr filemon 4 .
1289344e2bb9SEd MasteThe meta file is created in OBJDIR as
1290be894451SBryan Drewery.Pa target.meta .
1291344e2bb9SEd MasteThese meta files track the command that was executed, its output, and the
1292344e2bb9SEd Mastecurrent directory.
12932710e62cSBryan DreweryThe
12947f76a95cSBryan Drewery.Xr filemon 4
12952710e62cSBryan Drewerymodule is required unless
12962710e62cSBryan Drewery.Va NO_FILEMON
12972710e62cSBryan Dreweryis defined.
1298344e2bb9SEd MasteWhen the module is loaded, any files used by the commands executed are
1299344e2bb9SEd Mastetracked as dependencies for the target in its meta file.
1300344e2bb9SEd MasteThe target is considered out-of-date and rebuilt if any of these
1301344e2bb9SEd Masteconditions are true compared to the last build:
1302be894451SBryan Drewery.Bl -bullet -compact
1303be894451SBryan Drewery.It
1304be894451SBryan DreweryThe command to execute changes.
1305be894451SBryan Drewery.It
1306be894451SBryan DreweryThe current working directory changes.
1307be894451SBryan Drewery.It
1308a4a2269eSBryan DreweryThe target's meta file is missing.
1309a4a2269eSBryan Drewery.It
1310a4a2269eSBryan DreweryThe target's meta file is missing filemon data when filemon is loaded
1311a4a2269eSBryan Dreweryand a previous run did not have it loaded.
1312be894451SBryan Drewery.It
1313be894451SBryan Drewery[requires
1314be894451SBryan Drewery.Xr filemon 4 ]
1315be894451SBryan DreweryFiles read, executed or linked to are newer than the target.
1316be894451SBryan Drewery.It
1317be894451SBryan Drewery[requires
1318be894451SBryan Drewery.Xr filemon 4 ]
1319be894451SBryan DreweryFiles read, written, executed or linked are missing.
1320be894451SBryan Drewery.El
13217f76a95cSBryan DreweryThe meta files can also be useful for debugging.
13227f76a95cSBryan Drewery.Pp
1323344e2bb9SEd MasteThe build hides commands that are executed unless
13247f76a95cSBryan Drewery.Va NO_SILENT
13257f76a95cSBryan Dreweryis defined.
1326344e2bb9SEd MasteErrors cause
13272710e62cSBryan Drewery.Xr make 1
13282710e62cSBryan Dreweryto show some of its environment for further debugging.
13290a70ef02SBryan Drewery.Pp
1330be894451SBryan DreweryThe build operates as it normally would otherwise.
1331be894451SBryan DreweryThis option originally invoked a different build system but that was renamed
1332be894451SBryan Dreweryto
1333be894451SBryan Drewery.Va WITH_DIRDEPS_BUILD .
1334be894451SBryan Drewery.Pp
1335ba852870SBryan DreweryThis must be set in the environment, make command line, or
13360a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
13370a70ef02SBryan Drewerynot
13380a70ef02SBryan Drewery.Pa /etc/src.conf .
1339912aad0fSKyle Evans.It Va WITHOUT_MLX5TOOL
1340912aad0fSKyle EvansSet to not build
1341912aad0fSKyle Evans.Xr mlx5tool 8
1342912aad0fSKyle Evans.Pp
1343912aad0fSKyle EvansThis is a default setting on
1344e8788097SKonstantin Belousovarm/arm, arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpcspe, riscv/riscv64 and riscv/riscv64sf.
1345912aad0fSKyle Evans.It Va WITH_MLX5TOOL
1346912aad0fSKyle EvansSet to build
1347912aad0fSKyle Evans.Xr mlx5tool 8
1348912aad0fSKyle Evans.Pp
1349912aad0fSKyle EvansThis is a default setting on
1350912aad0fSKyle Evansamd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64.
1351*30323356SWarner Losh.It Va WITHOUT_MODULE_DRM
1352*30323356SWarner LoshDisable creation of old drm video modules.
1353*30323356SWarner Losh
1354*30323356SWarner Losh.It Va WITHOUT_MODULE_DRM2
1355*30323356SWarner LoshDisable creation of old drm2 video modules.
135690be798eSDimitry Andric.It Va WITH_NAND
135790be798eSDimitry AndricSet to build the NAND Flash components.
135890be798eSDimitry Andric.It Va WITHOUT_NDIS
135990be798eSDimitry AndricSet to not build programs and libraries
136090be798eSDimitry Andricrelated to NDIS emulation support.
136190be798eSDimitry Andric.It Va WITHOUT_NETCAT
136290be798eSDimitry AndricSet to not build
136390be798eSDimitry Andric.Xr nc 1
136490be798eSDimitry Andricutility.
136590be798eSDimitry Andric.It Va WITHOUT_NETGRAPH
136690be798eSDimitry AndricSet to not build applications to support
136790be798eSDimitry Andric.Xr netgraph 4 .
1368344e2bb9SEd MasteWhen set, it enforces these options:
136990be798eSDimitry Andric.Pp
137090be798eSDimitry Andric.Bl -item -compact
137190be798eSDimitry Andric.It
137290be798eSDimitry Andric.Va WITHOUT_ATM
137390be798eSDimitry Andric.It
137490be798eSDimitry Andric.Va WITHOUT_BLUETOOTH
1375bf64e879SBryan Drewery.El
1376bf64e879SBryan Drewery.Pp
1377bf64e879SBryan DreweryWhen set, these options are also in effect:
1378bf64e879SBryan Drewery.Pp
1379bf64e879SBryan Drewery.Bl -inset -compact
1380bf64e879SBryan Drewery.It Va WITHOUT_NETGRAPH_SUPPORT
1381bf64e879SBryan Drewery(unless
1382bf64e879SBryan Drewery.Va WITH_NETGRAPH_SUPPORT
1383bf64e879SBryan Dreweryis set explicitly)
138490be798eSDimitry Andric.El
138590be798eSDimitry Andric.It Va WITHOUT_NETGRAPH_SUPPORT
138690be798eSDimitry AndricSet to build libraries, programs, and kernel modules without netgraph support.
138790be798eSDimitry Andric.It Va WITHOUT_NIS
138890be798eSDimitry AndricSet to not build
138990be798eSDimitry Andric.Xr NIS 8
139090be798eSDimitry Andricsupport and related programs.
139190be798eSDimitry AndricIf set, you might need to adopt your
139290be798eSDimitry Andric.Xr nsswitch.conf 5
139390be798eSDimitry Andricand remove
139490be798eSDimitry Andric.Sq nis
139590be798eSDimitry Andricentries.
139690be798eSDimitry Andric.It Va WITHOUT_NLS
139790be798eSDimitry AndricSet to not build NLS catalogs.
139857a87b06SEnji CooperWhen set, it enforces these options:
139957a87b06SEnji Cooper.Pp
140057a87b06SEnji Cooper.Bl -item -compact
140157a87b06SEnji Cooper.It
140257a87b06SEnji Cooper.Va WITHOUT_NLS_CATALOGS
140357a87b06SEnji Cooper.El
140490be798eSDimitry Andric.It Va WITHOUT_NLS_CATALOGS
140590be798eSDimitry AndricSet to not build NLS catalog support for
140690be798eSDimitry Andric.Xr csh 1 .
140790be798eSDimitry Andric.It Va WITHOUT_NS_CACHING
140890be798eSDimitry AndricSet to disable name caching in the
140990be798eSDimitry Andric.Pa nsswitch
141090be798eSDimitry Andricsubsystem.
141190be798eSDimitry AndricThe generic caching daemon,
141290be798eSDimitry Andric.Xr nscd 8 ,
141390be798eSDimitry Andricwill not be built either if this option is set.
141490be798eSDimitry Andric.It Va WITHOUT_NTP
141590be798eSDimitry AndricSet to not build
141690be798eSDimitry Andric.Xr ntpd 8
141790be798eSDimitry Andricand related programs.
141890be798eSDimitry Andric.It Va WITH_OFED
141990be798eSDimitry AndricSet to build the
142090be798eSDimitry Andric.Dq "OpenFabrics Enterprise Distribution"
142190be798eSDimitry AndricInfiniband software stack.
14224a3caf80SKonstantin Belousov.It Va WITH_OFED_EXTRA
14234a3caf80SKonstantin BelousovSet to build the non-essential components of the
14244a3caf80SKonstantin Belousov.Dq "OpenFabrics Enterprise Distribution"
14254a3caf80SKonstantin BelousovInfiniband software stack, mostly examples.
142690be798eSDimitry Andric.It Va WITH_OPENLDAP
142790be798eSDimitry AndricEnable building openldap support for kerberos.
142890be798eSDimitry Andric.It Va WITHOUT_OPENSSH
142990be798eSDimitry AndricSet to not build OpenSSH.
143090be798eSDimitry Andric.It Va WITHOUT_OPENSSL
143190be798eSDimitry AndricSet to not build OpenSSL.
1432344e2bb9SEd MasteWhen set, it enforces these options:
143390be798eSDimitry Andric.Pp
143490be798eSDimitry Andric.Bl -item -compact
143590be798eSDimitry Andric.It
143690be798eSDimitry Andric.Va WITHOUT_KERBEROS
143790be798eSDimitry Andric.It
143890be798eSDimitry Andric.Va WITHOUT_OPENSSH
143990be798eSDimitry Andric.El
144090be798eSDimitry Andric.Pp
1441344e2bb9SEd MasteWhen set, these options are also in effect:
144290be798eSDimitry Andric.Pp
144390be798eSDimitry Andric.Bl -inset -compact
144490be798eSDimitry Andric.It Va WITHOUT_GSSAPI
144590be798eSDimitry Andric(unless
144690be798eSDimitry Andric.Va WITH_GSSAPI
144790be798eSDimitry Andricis set explicitly)
144890be798eSDimitry Andric.El
144990be798eSDimitry Andric.It Va WITHOUT_PAM
145090be798eSDimitry AndricSet to not build PAM library and modules.
145190be798eSDimitry Andric.Bf -symbolic
145290be798eSDimitry AndricThis option is deprecated and does nothing.
145390be798eSDimitry Andric.Ef
1454bf64e879SBryan DreweryWhen set, these options are also in effect:
145590be798eSDimitry Andric.Pp
1456bf64e879SBryan Drewery.Bl -inset -compact
1457bf64e879SBryan Drewery.It Va WITHOUT_PAM_SUPPORT
1458bf64e879SBryan Drewery(unless
1459bf64e879SBryan Drewery.Va WITH_PAM_SUPPORT
1460bf64e879SBryan Dreweryis set explicitly)
146190be798eSDimitry Andric.El
146290be798eSDimitry Andric.It Va WITHOUT_PAM_SUPPORT
146390be798eSDimitry AndricSet to build some programs without PAM support, particularly
146490be798eSDimitry Andric.Xr ftpd 8
146590be798eSDimitry Andricand
146690be798eSDimitry Andric.Xr ppp 8 .
146790be798eSDimitry Andric.It Va WITHOUT_PC_SYSINSTALL
146890be798eSDimitry AndricSet to not build
146990be798eSDimitry Andric.Xr pc-sysinstall 8
147090be798eSDimitry Andricand related programs.
147190be798eSDimitry Andric.It Va WITHOUT_PF
147290be798eSDimitry AndricSet to not build PF firewall package.
1473344e2bb9SEd MasteWhen set, it enforces these options:
147490be798eSDimitry Andric.Pp
147590be798eSDimitry Andric.Bl -item -compact
147690be798eSDimitry Andric.It
147790be798eSDimitry Andric.Va WITHOUT_AUTHPF
147890be798eSDimitry Andric.El
147990be798eSDimitry Andric.It Va WITHOUT_PKGBOOTSTRAP
148090be798eSDimitry AndricSet to not build
148190be798eSDimitry Andric.Xr pkg 7
148290be798eSDimitry Andricbootstrap tool.
148390be798eSDimitry Andric.It Va WITHOUT_PMC
148490be798eSDimitry AndricSet to not build
148590be798eSDimitry Andric.Xr pmccontrol 8
148690be798eSDimitry Andricand related programs.
148790be798eSDimitry Andric.It Va WITHOUT_PORTSNAP
148890be798eSDimitry AndricSet to not build or install
148990be798eSDimitry Andric.Xr portsnap 8
149090be798eSDimitry Andricand related files.
149145b8de2dSEd MasteWhen set, it enforces these options:
149245b8de2dSEd Maste.Pp
149345b8de2dSEd Maste.Bl -item -compact
149445b8de2dSEd Maste.It
149545b8de2dSEd Maste.Va WITHOUT_FREEBSD_UPDATE
149645b8de2dSEd Maste.El
149790be798eSDimitry Andric.It Va WITHOUT_PPP
149890be798eSDimitry AndricSet to not build
149990be798eSDimitry Andric.Xr ppp 8
150090be798eSDimitry Andricand related programs.
150190be798eSDimitry Andric.It Va WITHOUT_PROFILE
15024c033a73SEnji CooperSet to not build profiled libraries for use with
15034c033a73SEnji Cooper.Xr gprof 8 .
15040780f5c3SJohn Baldwin.Pp
15050780f5c3SJohn BaldwinThis is a default setting on
1506e8788097SKonstantin Belousovmips/mips64el, mips/mips64, mips/mips64elhf and mips/mips64hf.
15074c033a73SEnji Cooper.It Va WITH_PROFILE
15084c033a73SEnji CooperSet to build profiled libraries for use with
15094c033a73SEnji Cooper.Xr gprof 8 .
15104c033a73SEnji Cooper.Pp
15114c033a73SEnji CooperThis is a default setting on
1512e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mipsn32, mips/mipselhf, mips/mipshf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
151390be798eSDimitry Andric.It Va WITHOUT_QUOTAS
151490be798eSDimitry AndricSet to not build
151523a6b49aSEdward Tomasz Napierala.Xr quota 1
151690be798eSDimitry Andricand related programs.
15170e0e9604SEnji Cooper.It Va WITHOUT_RADIUS_SUPPORT
15180e0e9604SEnji CooperSet to not build radius support into various applications, like
15190e0e9604SEnji Cooper.Xr pam_radius 8
15200e0e9604SEnji Cooperand
15210e0e9604SEnji Cooper.Xr ppp 8 .
152288342134SEnji Cooper.It Va WITH_RATELIMIT
152388342134SEnji CooperSet to build the system with rate limit support.
152488342134SEnji Cooper.Pp
152588342134SEnji CooperThis makes
152688342134SEnji Cooper.Dv SO_MAX_PACING_RATE
152788342134SEnji Coopereffective in
152888342134SEnji Cooper.Xr getsockopt 2 ,
152988342134SEnji Cooperand
153088342134SEnji Cooper.Ar txrlimit
153188342134SEnji Coopersupport in
153288342134SEnji Cooper.Xr ifconfig 8 ,
153388342134SEnji Cooperby proxy.
15340e0e9604SEnji Cooper.It Va WITHOUT_RBOOTD
15350e0e9604SEnji CooperSet to not build or install
15360e0e9604SEnji Cooper.Xr rbootd 8 .
15376dfa2a0aSEd Maste.It Va WITH_REPRODUCIBLE_BUILD
15386dfa2a0aSEd MasteSet to exclude build metadata (such as the build time, user, or host)
15396dfa2a0aSEd Mastefrom the kernel, boot loaders, and uname output, so that builds produce
15406dfa2a0aSEd Mastebit-for-bit identical output.
154190be798eSDimitry Andric.It Va WITHOUT_RESCUE
154290be798eSDimitry AndricSet to not build
154390be798eSDimitry Andric.Xr rescue 8 .
154490be798eSDimitry Andric.It Va WITHOUT_ROUTED
154590be798eSDimitry AndricSet to not build
154690be798eSDimitry Andric.Xr routed 8
154790be798eSDimitry Andricutility.
15484c033a73SEnji Cooper.It Va WITH_RPCBIND_WARMSTART_SUPPORT
15494c033a73SEnji CooperSet to build
15504c033a73SEnji Cooper.Xr rpcbind 8
15514c033a73SEnji Cooperwith warmstart support.
155290be798eSDimitry Andric.It Va WITHOUT_SENDMAIL
155390be798eSDimitry AndricSet to not build
155490be798eSDimitry Andric.Xr sendmail 8
155590be798eSDimitry Andricand related programs.
1556e8788097SKonstantin Belousov.It Va WITHOUT_SERVICESDB
1557e8788097SKonstantin BelousovSet to not install
1558e8788097SKonstantin Belousov.Pa /var/db/services.db .
155990be798eSDimitry Andric.It Va WITHOUT_SETUID_LOGIN
156090be798eSDimitry AndricSet this to disable the installation of
156190be798eSDimitry Andric.Xr login 1
156290be798eSDimitry Andricas a set-user-ID root program.
156390be798eSDimitry Andric.It Va WITHOUT_SHAREDOCS
156490be798eSDimitry AndricSet to not build the
156590be798eSDimitry Andric.Bx 4.4
156690be798eSDimitry Andriclegacy docs.
156790be798eSDimitry Andric.It Va WITH_SHARED_TOOLCHAIN
156890be798eSDimitry AndricSet to build the toolchain binaries shared.
156990be798eSDimitry AndricThe set includes
157090be798eSDimitry Andric.Xr cc 1 ,
157190be798eSDimitry Andric.Xr make 1
157290be798eSDimitry Andricand necessary utilities like assembler, linker and library archive manager.
157390be798eSDimitry Andric.It Va WITH_SORT_THREADS
157490be798eSDimitry AndricSet to enable threads in
157590be798eSDimitry Andric.Xr sort 1 .
157690be798eSDimitry Andric.It Va WITHOUT_SOURCELESS
157790be798eSDimitry AndricSet to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1578344e2bb9SEd MasteWhen set, it enforces these options:
157990be798eSDimitry Andric.Pp
158090be798eSDimitry Andric.Bl -item -compact
158190be798eSDimitry Andric.It
158290be798eSDimitry Andric.Va WITHOUT_SOURCELESS_HOST
158390be798eSDimitry Andric.It
158490be798eSDimitry Andric.Va WITHOUT_SOURCELESS_UCODE
158590be798eSDimitry Andric.El
158690be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_HOST
158790be798eSDimitry AndricSet to not build kernel modules that include sourceless native code for host CPU.
158890be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_UCODE
158990be798eSDimitry AndricSet to not build kernel modules that include sourceless microcode.
159090be798eSDimitry Andric.It Va WITHOUT_SSP
159190be798eSDimitry AndricSet to not build world with propolice stack smashing protection.
1592cc68b6e5SEd Maste.Pp
1593344e2bb9SEd MasteThis is a default setting on
159436e8c7bbSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
15950cd582c8SEnji Cooper.It Va WITH_SSP
15960cd582c8SEnji CooperSet to build world with propolice stack smashing protection.
15970cd582c8SEnji Cooper.Pp
1598344e2bb9SEd MasteThis is a default setting on
1599e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1600cc2520d2SSimon J. Gerraty.It Va WITH_STAGING
1601cc2520d2SSimon J. GerratyEnable staging of files to a stage tree.
1602cc2520d2SSimon J. GerratyThis can be best thought of as auto-install to
1603cc2520d2SSimon J. Gerraty.Va DESTDIR
1604cc2520d2SSimon J. Gerratywith some extra meta data to ensure dependencies can be tracked.
1605cc2520d2SSimon J. GerratyDepends on
160632b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD .
1607344e2bb9SEd MasteWhen set, these options are also in effect:
1608cc2520d2SSimon J. Gerraty.Pp
1609cc2520d2SSimon J. Gerraty.Bl -inset -compact
1610cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN
1611cc2520d2SSimon J. Gerraty(unless
1612cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_MAN
1613cc2520d2SSimon J. Gerratyis set explicitly)
1614cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG
1615cc2520d2SSimon J. Gerraty(unless
1616cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_PROG
1617cc2520d2SSimon J. Gerratyis set explicitly)
1618cc2520d2SSimon J. Gerraty.El
16190a70ef02SBryan Drewery.Pp
1620ba852870SBryan DreweryThis must be set in the environment, make command line, or
16210a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
16220a70ef02SBryan Drewerynot
16230a70ef02SBryan Drewery.Pa /etc/src.conf .
1624cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN
1625344e2bb9SEd MasteEnable staging of man pages to stage tree.
1626cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG
1627cc2520d2SSimon J. GerratyEnable staging of PROGs to stage tree.
1628cc2520d2SSimon J. Gerraty.It Va WITH_STALE_STAGED
1629cc2520d2SSimon J. GerratyCheck staged files are not stale.
163090be798eSDimitry Andric.It Va WITH_SVN
163190be798eSDimitry AndricSet to install
163290be798eSDimitry Andric.Xr svnlite 1
163390be798eSDimitry Andricas
163490be798eSDimitry Andric.Xr svn 1 .
163590be798eSDimitry Andric.It Va WITHOUT_SVNLITE
163690be798eSDimitry AndricSet to not build
163790be798eSDimitry Andric.Xr svnlite 1
163890be798eSDimitry Andricand related programs.
163990be798eSDimitry Andric.It Va WITHOUT_SYMVER
164090be798eSDimitry AndricSet to disable symbol versioning when building shared libraries.
164190be798eSDimitry Andric.It Va WITHOUT_SYSCONS
164290be798eSDimitry AndricSet to not build
164390be798eSDimitry Andric.Xr syscons 4
164490be798eSDimitry Andricsupport files such as keyboard maps, fonts, and screen output maps.
1645cc2520d2SSimon J. Gerraty.It Va WITH_SYSROOT
1646cc2520d2SSimon J. GerratyEnable use of sysroot during build.
1647cc2520d2SSimon J. GerratyDepends on
164832b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD .
16490a70ef02SBryan Drewery.Pp
1650ba852870SBryan DreweryThis must be set in the environment, make command line, or
16510a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
16520a70ef02SBryan Drewerynot
16530a70ef02SBryan Drewery.Pa /etc/src.conf .
16548095b3c2SBryan Drewery.It Va WITHOUT_SYSTEM_COMPILER
16558095b3c2SBryan DrewerySet to not opportunistically skip building a cross-compiler during the
1656a9da9b86SBryan Drewerybootstrap phase of the build.
16578095b3c2SBryan DreweryNormally, if the currently installed compiler matches the planned bootstrap
16588095b3c2SBryan Drewerycompiler type and revision, then it will not be built.
1659a9da9b86SBryan DreweryThis does not prevent a compiler from being built for installation though,
1660a9da9b86SBryan Dreweryonly for building one for the build itself.
1661a9da9b86SBryan DreweryThe
1662a9da9b86SBryan Drewery.Va WITHOUT_CLANG
1663a9da9b86SBryan Dreweryand
1664a9da9b86SBryan Drewery.Va WITHOUT_GCC
1665a9da9b86SBryan Dreweryoptions control those.
1666be9309deSBryan Drewery.It Va WITHOUT_SYSTEM_LINKER
1667be9309deSBryan DrewerySet to not opportunistically skip building a cross-linker during the
1668be9309deSBryan Drewerybootstrap phase of the build.
1669be9309deSBryan DreweryNormally, if the currently installed linker matches the planned bootstrap
1670be9309deSBryan Drewerylinker type and revision, then it will not be built.
1671be9309deSBryan DreweryThis does not prevent a linker from being built for installation though,
1672be9309deSBryan Dreweryonly for building one for the build itself.
1673be9309deSBryan DreweryThe
1674be9309deSBryan Drewery.Va WITHOUT_LLD
1675be9309deSBryan Dreweryand
1676be9309deSBryan Drewery.Va WITHOUT_BINUTILS
1677be9309deSBryan Dreweryoptions control those.
1678be9309deSBryan Drewery.Pp
1679be9309deSBryan DreweryThis option is only relevant when
1680be9309deSBryan Drewery.Va WITH_LLD_BOOTSTRAP
1681be9309deSBryan Dreweryis set.
168293da8366SEnji Cooper.It Va WITHOUT_TALK
168393da8366SEnji CooperSet to not build or install
168493da8366SEnji Cooper.Xr talk 1
168593da8366SEnji Cooperand
168693da8366SEnji Cooper.Xr talkd 8 .
16870e0e9604SEnji Cooper.It Va WITHOUT_TCP_WRAPPERS
16880e0e9604SEnji CooperSet to not build or install
16890e0e9604SEnji Cooper.Xr tcpd 8 ,
16900e0e9604SEnji Cooperand related utilities.
169190be798eSDimitry Andric.It Va WITHOUT_TCSH
169290be798eSDimitry AndricSet to not build and install
169390be798eSDimitry Andric.Pa /bin/csh
169490be798eSDimitry Andric(which is
169590be798eSDimitry Andric.Xr tcsh 1 ) .
169690be798eSDimitry Andric.It Va WITHOUT_TELNET
169790be798eSDimitry AndricSet to not build
169823a6b49aSEdward Tomasz Napierala.Xr telnet 1
169990be798eSDimitry Andricand related programs.
170018c6fc4cSJulio Merino.It Va WITHOUT_TESTS
170118c6fc4cSJulio MerinoSet to not build nor install the
170290be798eSDimitry Andric.Fx
170390be798eSDimitry AndricTest Suite in
170490be798eSDimitry Andric.Pa /usr/tests/ .
170590be798eSDimitry AndricSee
170690be798eSDimitry Andric.Xr tests 7
170790be798eSDimitry Andricfor more details.
170818c6fc4cSJulio MerinoThis also disables the build of all test-related dependencies, including ATF.
1709344e2bb9SEd MasteWhen set, it enforces these options:
1710c5d09a87SGlen Barber.Pp
1711c5d09a87SGlen Barber.Bl -item -compact
1712c5d09a87SGlen Barber.It
171316f3fdf5SMark Johnston.Va WITHOUT_DTRACE_TESTS
1714bf64e879SBryan Drewery.El
1715bf64e879SBryan Drewery.Pp
1716bf64e879SBryan DreweryWhen set, these options are also in effect:
1717bf64e879SBryan Drewery.Pp
1718bf64e879SBryan Drewery.Bl -inset -compact
1719bf64e879SBryan Drewery.It Va WITHOUT_TESTS_SUPPORT
1720bf64e879SBryan Drewery(unless
1721bf64e879SBryan Drewery.Va WITH_TESTS_SUPPORT
1722bf64e879SBryan Dreweryis set explicitly)
1723c5d09a87SGlen Barber.El
1724c5d09a87SGlen Barber.It Va WITHOUT_TESTS_SUPPORT
1725c5d09a87SGlen BarberSet to disables the build of all test-related dependencies, including ATF.
172690be798eSDimitry Andric.It Va WITHOUT_TEXTPROC
172790be798eSDimitry AndricSet to not build
172890be798eSDimitry Andricprograms used for text processing.
17290e0e9604SEnji Cooper.It Va WITHOUT_TFTP
17300e0e9604SEnji CooperSet to not build or install
17310e0e9604SEnji Cooper.Xr tftp 1
17320e0e9604SEnji Cooperand
17330e0e9604SEnji Cooper.Xr tftpd 8 .
17340e0e9604SEnji Cooper.It Va WITHOUT_TIMED
17350e0e9604SEnji CooperSet to not build or install
17360e0e9604SEnji Cooper.Xr timed 8 .
173790be798eSDimitry Andric.It Va WITHOUT_TOOLCHAIN
1738148bdd15SBrooks DavisSet to not install header or
173990be798eSDimitry Andricprograms used for program development,
174090be798eSDimitry Andriccompilers, debuggers etc.
1741344e2bb9SEd MasteWhen set, it enforces these options:
174290be798eSDimitry Andric.Pp
174390be798eSDimitry Andric.Bl -item -compact
174490be798eSDimitry Andric.It
174590be798eSDimitry Andric.Va WITHOUT_BINUTILS
174690be798eSDimitry Andric.It
174790be798eSDimitry Andric.Va WITHOUT_CLANG
174890be798eSDimitry Andric.It
174990be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS
175090be798eSDimitry Andric.It
175190be798eSDimitry Andric.Va WITHOUT_CLANG_FULL
175290be798eSDimitry Andric.It
175390be798eSDimitry Andric.Va WITHOUT_GCC
175490be798eSDimitry Andric.It
175590be798eSDimitry Andric.Va WITHOUT_GDB
1756c5d09a87SGlen Barber.It
1757c5d09a87SGlen Barber.Va WITHOUT_INCLUDES
17583d02549fSBryan Drewery.It
17596c2b7edaSEd Maste.Va WITHOUT_LLD
17606c2b7edaSEd Maste.It
17613d02549fSBryan Drewery.Va WITHOUT_LLDB
17625b9c3654SEd Maste.It
17635b9c3654SEd Maste.Va WITHOUT_LLVM_COV
176490be798eSDimitry Andric.El
176590be798eSDimitry Andric.It Va WITHOUT_UNBOUND
176690be798eSDimitry AndricSet to not build
176790be798eSDimitry Andric.Xr unbound 8
176890be798eSDimitry Andricand related programs.
1769efb949a6SBryan Drewery.It Va WITHOUT_UNIFIED_OBJDIR
1770efb949a6SBryan DrewerySet to use the historical object directory format for
1771efb949a6SBryan Drewery.Xr build 7
1772efb949a6SBryan Drewerytargets.
1773efb949a6SBryan DreweryFor native-builds and builds done directly in sub-directories the format of
1774efb949a6SBryan Drewery.Pa ${MAKEOBJDIRPREFIX}/${.CURDIR}
1775efb949a6SBryan Dreweryis used,
1776efb949a6SBryan Drewerywhile for cross-builds
1777efb949a6SBryan Drewery.Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR}
1778efb949a6SBryan Dreweryis used.
1779efb949a6SBryan Drewery.Pp
1780efb949a6SBryan DreweryThis option is transitional and will be removed before the 12.0 release,
1781efb949a6SBryan Dreweryat which time
1782efb949a6SBryan Drewery.va WITH_UNIFIED_OBJDIR
1783efb949a6SBryan Drewerywill be enabled permanently.
1784efb949a6SBryan Drewery.Pp
1785efb949a6SBryan DreweryThis must be set in the environment, make command line, or
1786efb949a6SBryan Drewery.Pa /etc/src-env.conf ,
1787efb949a6SBryan Drewerynot
1788efb949a6SBryan Drewery.Pa /etc/src.conf .
178990be798eSDimitry Andric.It Va WITHOUT_USB
179090be798eSDimitry AndricSet to not build USB-related programs and libraries.
1791c5d09a87SGlen Barber.It Va WITHOUT_USB_GADGET_EXAMPLES
1792d1040cedSWarren BlockSet to not build USB gadget kernel modules.
179390be798eSDimitry Andric.It Va WITHOUT_UTMPX
179490be798eSDimitry AndricSet to not build user accounting tools such as
179590be798eSDimitry Andric.Xr last 1 ,
179690be798eSDimitry Andric.Xr users 1 ,
179790be798eSDimitry Andric.Xr who 1 ,
179890be798eSDimitry Andric.Xr ac 8 ,
179990be798eSDimitry Andric.Xr lastlogin 8
180090be798eSDimitry Andricand
180190be798eSDimitry Andric.Xr utx 8 .
180290be798eSDimitry Andric.It Va WITHOUT_VI
180390be798eSDimitry AndricSet to not build and install vi, view, ex and related programs.
180490be798eSDimitry Andric.It Va WITHOUT_VT
180590be798eSDimitry AndricSet to not build
180690be798eSDimitry Andric.Xr vt 4
180790be798eSDimitry Andricsupport files (fonts and keymaps).
180890be798eSDimitry Andric.It Va WITHOUT_WARNS
180990be798eSDimitry AndricSet this to not add warning flags to the compiler invocations.
181090be798eSDimitry AndricUseful as a temporary workaround when code enters the tree
181190be798eSDimitry Andricwhich triggers warnings in environments that differ from the
1812559f9bfcSJens Schweikhardtoriginal developer.
181390be798eSDimitry Andric.It Va WITHOUT_WIRELESS
181490be798eSDimitry AndricSet to not build programs used for 802.11 wireless networks; especially
181590be798eSDimitry Andric.Xr wpa_supplicant 8
181690be798eSDimitry Andricand
181790be798eSDimitry Andric.Xr hostapd 8 .
1818bf64e879SBryan DreweryWhen set, these options are also in effect:
181990be798eSDimitry Andric.Pp
1820bf64e879SBryan Drewery.Bl -inset -compact
1821bf64e879SBryan Drewery.It Va WITHOUT_WIRELESS_SUPPORT
1822bf64e879SBryan Drewery(unless
1823bf64e879SBryan Drewery.Va WITH_WIRELESS_SUPPORT
1824bf64e879SBryan Dreweryis set explicitly)
182590be798eSDimitry Andric.El
182690be798eSDimitry Andric.It Va WITHOUT_WIRELESS_SUPPORT
182790be798eSDimitry AndricSet to build libraries, programs, and kernel modules without
182890be798eSDimitry Andric802.11 wireless support.
182990be798eSDimitry Andric.It Va WITHOUT_WPA_SUPPLICANT_EAPOL
183090be798eSDimitry AndricBuild
183190be798eSDimitry Andric.Xr wpa_supplicant 8
183290be798eSDimitry Andricwithout support for the IEEE 802.1X protocol and without
183390be798eSDimitry Andricsupport for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
183490be798eSDimitry Andricprotocols (usable only via 802.1X).
183590be798eSDimitry Andric.It Va WITHOUT_ZFS
183690be798eSDimitry AndricSet to not build ZFS file system.
183790be798eSDimitry Andric.It Va WITHOUT_ZONEINFO
183890be798eSDimitry AndricSet to not build the timezone database.
18395c021049SEnji CooperWhen set, it enforces these options:
18405c021049SEnji Cooper.Pp
18415c021049SEnji Cooper.Bl -item -compact
18425c021049SEnji Cooper.It
18435c021049SEnji Cooper.Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
18445c021049SEnji Cooper.It
18455c021049SEnji Cooper.Va WITHOUT_ZONEINFO_OLD_TIMEZONES_SUPPORT
18465c021049SEnji Cooper.El
18475c021049SEnji Cooper.It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
18485c021049SEnji CooperSet to build leapsecond information in to the timezone database.
18495c021049SEnji Cooper.It Va WITH_ZONEINFO_OLD_TIMEZONES_SUPPORT
18505c021049SEnji CooperSet to build backward compatibility timezone aliases in to the timezone
18515c021049SEnji Cooperdatabase.
185290be798eSDimitry Andric.El
185390be798eSDimitry Andric.Sh FILES
185490be798eSDimitry Andric.Bl -tag -compact -width Pa
185590be798eSDimitry Andric.It Pa /etc/src.conf
18560a70ef02SBryan Drewery.It Pa /etc/src-env.conf
185790be798eSDimitry Andric.It Pa /usr/share/mk/bsd.own.mk
185890be798eSDimitry Andric.El
185990be798eSDimitry Andric.Sh SEE ALSO
186090be798eSDimitry Andric.Xr make 1 ,
186190be798eSDimitry Andric.Xr make.conf 5 ,
186290be798eSDimitry Andric.Xr build 7 ,
186390be798eSDimitry Andric.Xr ports 7
186490be798eSDimitry Andric.Sh HISTORY
186590be798eSDimitry AndricThe
186690be798eSDimitry Andric.Nm
186790be798eSDimitry Andricfile appeared in
186890be798eSDimitry Andric.Fx 7.0 .
186990be798eSDimitry Andric.Sh AUTHORS
187088342134SEnji CooperThis manual page was autogenerated by
1871a121d3a8SEnji Cooper.An tools/build/options/makeman .
1872