xref: /freebsd/share/man/man5/src.conf.5 (revision bf64e87984fd0023bfeb058c912b85b4b2e97a76)
1b1a0e564SEitan Adler.\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman.
2fa07cb9cSRuslan Ermilov.\" $FreeBSD$
3*bf64e879SBryan Drewery.Dd June 27, 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
1647c605234SEnji Cooperamd64/amd64, arm/arm, arm/armeb, 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
1807c605234SEnji Cooperamd64/amd64, arm/arm, arm/armeb, 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 .
186*bf64e879SBryan DreweryWhen set, these options are also in effect:
1870341a043SBryan Drewery.Pp
188*bf64e879SBryan Drewery.Bl -inset -compact
189*bf64e879SBryan Drewery.It Va WITHOUT_BLACKLIST_SUPPORT
190*bf64e879SBryan Drewery(unless
191*bf64e879SBryan Drewery.Va WITH_BLACKLIST_SUPPORT
192*bf64e879SBryan 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
233*bf64e879SBryan DreweryWhen set, these options are also in effect:
23490be798eSDimitry Andric.Pp
235*bf64e879SBryan Drewery.Bl -inset -compact
236*bf64e879SBryan Drewery.It Va WITHOUT_BZIP2_SUPPORT
237*bf64e879SBryan Drewery(unless
238*bf64e879SBryan Drewery.Va WITH_BZIP2_SUPPORT
239*bf64e879SBryan 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
324*bf64e879SBryan Drewery.Pp
325*bf64e879SBryan DreweryWhen set, these options are also in effect:
326*bf64e879SBryan Drewery.Pp
327*bf64e879SBryan Drewery.Bl -inset -compact
328*bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_AARCH64
329*bf64e879SBryan Drewery(unless
330*bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_AARCH64
331*bf64e879SBryan Dreweryis set explicitly)
332*bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ALL
333*bf64e879SBryan Drewery(unless
334*bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_ALL
335*bf64e879SBryan Dreweryis set explicitly)
336*bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ARM
337*bf64e879SBryan Drewery(unless
338*bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_ARM
339*bf64e879SBryan Dreweryis set explicitly)
340*bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_MIPS
341*bf64e879SBryan Drewery(unless
342*bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_MIPS
343*bf64e879SBryan Dreweryis set explicitly)
344*bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_POWERPC
345*bf64e879SBryan Drewery(unless
346*bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_POWERPC
347*bf64e879SBryan Dreweryis set explicitly)
348*bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_SPARC
349*bf64e879SBryan Drewery(unless
350*bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_SPARC
351*bf64e879SBryan Dreweryis set explicitly)
352*bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_X86
353*bf64e879SBryan Drewery(unless
354*bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_X86
355*bf64e879SBryan Dreweryis set explicitly)
356*bf64e879SBryan 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
3617c605234SEnji Cooperamd64/amd64, arm/arm, arm/armeb, 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
3747c605234SEnji Cooperamd64/amd64, arm/arm, arm/armeb, 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
3887c605234SEnji Cooperamd64/amd64, arm/arm, arm/armeb, 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
4067c605234SEnji Cooperamd64/amd64, arm/arm, arm/armeb, 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
4737c605234SEnji Cooperarm/arm, arm/armeb, 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 .
4880780f5c3SJohn Baldwin.Pp
4890780f5c3SJohn BaldwinThis is a default setting on
4900780f5c3SJohn Baldwinriscv/riscv64 and riscv/riscv64sf.
491344e2bb9SEd MasteWhen set, it enforces these options:
49290be798eSDimitry Andric.Pp
49390be798eSDimitry Andric.Bl -item -compact
49490be798eSDimitry Andric.It
49590be798eSDimitry Andric.Va WITHOUT_CLANG
49690be798eSDimitry Andric.It
49790be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS
49890be798eSDimitry Andric.It
49990be798eSDimitry Andric.Va WITHOUT_CLANG_FULL
50090be798eSDimitry Andric.It
501051ea717SEd Maste.Va WITHOUT_DTRACE_TESTS
502051ea717SEd Maste.It
50318c6fc4cSJulio Merino.Va WITHOUT_GNUCXX
50418c6fc4cSJulio Merino.It
5055b9c3654SEd Maste.Va WITHOUT_LLVM_COV
5065b9c3654SEd Maste.It
507051ea717SEd Maste.Va WITHOUT_TESTS
50890be798eSDimitry Andric.El
5094c033a73SEnji Cooper.It Va WITH_CXX
5104c033a73SEnji CooperSet to build
5114c033a73SEnji Cooper.Xr c++ 1
5124c033a73SEnji Cooperand related libraries.
5134c033a73SEnji Cooper.Pp
5144c033a73SEnji CooperThis is a default setting on
5157c605234SEnji Cooperamd64/amd64, arm/arm, arm/armeb, 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 and sparc64/sparc64.
5164a5e4462SEd Maste.It Va WITHOUT_DEBUG_FILES
5174a5e4462SEd MasteSet to avoid building or installing standalone debug files for each
5184a5e4462SEd Masteexecutable binary and shared library.
519cc68b6e5SEd Maste.It Va WITHOUT_DIALOG
520344e2bb9SEd MasteSet to not build
521344e2bb9SEd Maste.Xr dialog 1 ,
522344e2bb9SEd Maste.Xr dialog 3 ,
523344e2bb9SEd Maste.Xr dpv 1 ,
524344e2bb9SEd Masteand
525344e2bb9SEd Maste.Xr dpv 3 .
526344e2bb9SEd MasteWhen set, it enforces these options:
527cc68b6e5SEd Maste.Pp
528cc68b6e5SEd Maste.Bl -item -compact
529cc68b6e5SEd Maste.It
530cc68b6e5SEd Maste.Va WITHOUT_BSDINSTALL
531cc68b6e5SEd Maste.El
53290be798eSDimitry Andric.It Va WITHOUT_DICT
53390be798eSDimitry AndricSet to not build the Webster dictionary files.
53432b5dc9aSSimon J. Gerraty.It Va WITH_DIRDEPS_BUILD
535be894451SBryan DreweryThis is an experimental build system.
53632b5dc9aSSimon J. GerratyFor details see
53732b5dc9aSSimon J. Gerratyhttp://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
538be894451SBryan DreweryBuild commands can be seen from the top-level with:
539be894451SBryan Drewery.Dl make show-valid-targets
54032b5dc9aSSimon J. GerratyThe build is driven by dirdeps.mk using
54132b5dc9aSSimon J. Gerraty.Va DIRDEPS
54232b5dc9aSSimon J. Gerratystored in
54332b5dc9aSSimon J. GerratyMakefile.depend files found in each directory.
54432b5dc9aSSimon J. Gerraty.Pp
54532b5dc9aSSimon J. GerratyThe build can be started from anywhere, and behaves the same.
54632b5dc9aSSimon J. GerratyThe initial instance of
54732b5dc9aSSimon J. Gerraty.Xr make 1
54832b5dc9aSSimon J. Gerratyrecursively reads
54932b5dc9aSSimon J. Gerraty.Va DIRDEPS
550344e2bb9SEd Mastefrom
551344e2bb9SEd Maste.Pa Makefile.depend ,
55232b5dc9aSSimon J. Gerratycomputing a graph of tree dependencies from the current origin.
55332b5dc9aSSimon J. GerratySetting
55432b5dc9aSSimon J. Gerraty.Va NO_DIRDEPS
555344e2bb9SEd Masteskips checking dirdep dependencies and will only build in the current
5567f76a95cSBryan Dreweryand child directories.
5577f76a95cSBryan Drewery.Va NO_DIRDEPS_BELOW
558344e2bb9SEd Masteskips building any dirdeps and only build the current directory.
55932b5dc9aSSimon J. Gerraty.Pp
560be894451SBryan DreweryThis also utilizes the
561be894451SBryan Drewery.Va WITH_META_MODE
562be894451SBryan Drewerylogic for incremental builds.
56332b5dc9aSSimon J. Gerraty.Pp
564344e2bb9SEd MasteThe build hides commands executed unless
56532b5dc9aSSimon J. Gerraty.Va NO_SILENT
56632b5dc9aSSimon J. Gerratyis defined.
56732b5dc9aSSimon J. Gerraty.Pp
568be894451SBryan DreweryNote that there is currently no mass install feature for this.
569be894451SBryan Drewery.Pp
570344e2bb9SEd MasteWhen set, it enforces these options:
57132b5dc9aSSimon J. Gerraty.Pp
57232b5dc9aSSimon J. Gerraty.Bl -item -compact
57332b5dc9aSSimon J. Gerraty.It
57432b5dc9aSSimon J. Gerraty.Va WITH_INSTALL_AS_USER
57532b5dc9aSSimon J. Gerraty.El
57632b5dc9aSSimon J. Gerraty.Pp
577344e2bb9SEd MasteWhen set, these options are also in effect:
57832b5dc9aSSimon J. Gerraty.Pp
57932b5dc9aSSimon J. Gerraty.Bl -inset -compact
58026b79d5bSHajimu UMEMOTO.It Va WITH_META_MODE
58126b79d5bSHajimu UMEMOTO(unless
58226b79d5bSHajimu UMEMOTO.Va WITHOUT_META_MODE
58326b79d5bSHajimu UMEMOTOis set explicitly)
58432b5dc9aSSimon J. Gerraty.It Va WITH_STAGING
58532b5dc9aSSimon J. Gerraty(unless
58632b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING
58732b5dc9aSSimon J. Gerratyis set explicitly)
58832b5dc9aSSimon J. Gerraty.It Va WITH_STAGING_MAN
58932b5dc9aSSimon J. Gerraty(unless
59032b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING_MAN
59132b5dc9aSSimon J. Gerratyis set explicitly)
59232b5dc9aSSimon J. Gerraty.It Va WITH_STAGING_PROG
59332b5dc9aSSimon J. Gerraty(unless
59432b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING_PROG
59532b5dc9aSSimon J. Gerratyis set explicitly)
59632b5dc9aSSimon J. Gerraty.It Va WITH_SYSROOT
59732b5dc9aSSimon J. Gerraty(unless
59832b5dc9aSSimon J. Gerraty.Va WITHOUT_SYSROOT
59932b5dc9aSSimon J. Gerratyis set explicitly)
60032b5dc9aSSimon J. Gerraty.El
60132b5dc9aSSimon J. Gerraty.Pp
60232b5dc9aSSimon J. GerratyThis must be set in the environment, make command line, or
60332b5dc9aSSimon J. Gerraty.Pa /etc/src-env.conf ,
60432b5dc9aSSimon J. Gerratynot
60532b5dc9aSSimon J. Gerraty.Pa /etc/src.conf .
606cc2520d2SSimon J. Gerraty.It Va WITH_DIRDEPS_CACHE
607cc2520d2SSimon J. GerratyCache result of dirdeps.mk which can save significant time
608cc2520d2SSimon J. Gerratyfor subsequent builds.
609cc2520d2SSimon J. GerratyDepends on
61032b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD .
6110a70ef02SBryan Drewery.Pp
612ba852870SBryan DreweryThis must be set in the environment, make command line, or
6130a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
6140a70ef02SBryan Drewerynot
6150a70ef02SBryan Drewery.Pa /etc/src.conf .
61690be798eSDimitry Andric.It Va WITHOUT_DMAGENT
617344e2bb9SEd MasteSet to not build dma Mail Transport Agent.
61890be798eSDimitry Andric.It Va WITHOUT_DOCCOMPRESS
619344e2bb9SEd MasteSet to not install compressed system documentation.
62090be798eSDimitry AndricOnly the uncompressed version will be installed.
62116f3fdf5SMark Johnston.It Va WITH_DTRACE_TESTS
62216f3fdf5SMark JohnstonSet to build and install the DTrace test suite in
62316f3fdf5SMark Johnston.Pa /usr/tests/cddl/usr.sbin/dtrace .
62416f3fdf5SMark JohnstonThis test suite is considered experimental on architectures other than
62516f3fdf5SMark Johnstonamd64/amd64 and running it may cause system instability.
62690be798eSDimitry Andric.It Va WITHOUT_DYNAMICROOT
62790be798eSDimitry AndricSet this if you do not want to link
62890be798eSDimitry Andric.Pa /bin
62990be798eSDimitry Andricand
63090be798eSDimitry Andric.Pa /sbin
63190be798eSDimitry Andricdynamically.
63290be798eSDimitry Andric.It Va WITHOUT_ED_CRYPTO
63390be798eSDimitry AndricSet to build
63490be798eSDimitry Andric.Xr ed 1
63590be798eSDimitry Andricwithout support for encryption/decryption.
63693da8366SEnji Cooper.It Va WITHOUT_EE
63793da8366SEnji CooperSet to not build and install
63893da8366SEnji Cooper.Xr edit 1 ,
63993da8366SEnji Cooper.Xr ee 1 ,
64093da8366SEnji Cooperand related programs.
6410cd582c8SEnji Cooper.It Va WITHOUT_EFI
6420cd582c8SEnji CooperSet not to build
6430cd582c8SEnji Cooper.Xr efivar 3
6440cd582c8SEnji Cooperand
6450cd582c8SEnji Cooper.Xr efivar 8 .
6460cd582c8SEnji Cooper.Pp
647344e2bb9SEd MasteThis is a default setting on
6480780f5c3SJohn 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.
6490cd582c8SEnji Cooper.It Va WITH_EFI
6500cd582c8SEnji CooperSet to build
6510cd582c8SEnji Cooper.Xr efivar 3
6520cd582c8SEnji Cooperand
6530cd582c8SEnji Cooper.Xr efivar 8 .
6540cd582c8SEnji Cooper.Pp
655344e2bb9SEd MasteThis is a default setting on
6567c605234SEnji Cooperamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
6575977355fSBryan Drewery.It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
6585977355fSBryan DrewerySet to not build ELF Tool Chain tools
6595977355fSBryan Drewery(addr2line, nm, size, strings and strip)
6605977355fSBryan Dreweryas part of the bootstrap process.
6615977355fSBryan Drewery.Bf -symbolic
6625977355fSBryan DreweryAn alternate bootstrap tool chain must be provided.
6635977355fSBryan Drewery.Ef
66490be798eSDimitry Andric.It Va WITHOUT_EXAMPLES
66590be798eSDimitry AndricSet to avoid installing examples to
66690be798eSDimitry Andric.Pa /usr/share/examples/ .
667d5a2667bSJonathan T. Looney.It Va WITH_EXTRA_TCP_STACKS
668d5a2667bSJonathan T. LooneySet to build extra TCP stack modules.
66990be798eSDimitry Andric.It Va WITHOUT_FDT
67090be798eSDimitry AndricSet to not build Flattened Device Tree support as part of the base system.
67190be798eSDimitry AndricThis includes the device tree compiler (dtc) and libfdt support library.
6720e0e9604SEnji Cooper.It Va WITHOUT_FILE
6730e0e9604SEnji CooperSet to not build
6740e0e9604SEnji Cooper.Xr file 1
6750e0e9604SEnji Cooperand related programs.
6760e0e9604SEnji Cooper.It Va WITHOUT_FINGER
6770e0e9604SEnji CooperSet to not build or install
6780e0e9604SEnji Cooper.Xr finger 1
6790e0e9604SEnji Cooperand
6800e0e9604SEnji Cooper.Xr fingerd 8 .
68190be798eSDimitry Andric.It Va WITHOUT_FLOPPY
68290be798eSDimitry AndricSet to not build or install programs
68390be798eSDimitry Andricfor operating floppy disk driver.
68490be798eSDimitry Andric.It Va WITHOUT_FMTREE
68590be798eSDimitry AndricSet to not build and install
68690be798eSDimitry Andric.Pa /usr/sbin/fmtree .
687a0f6423bSEd Maste.It Va WITHOUT_FORMAT_EXTENSIONS
688a0f6423bSEd MasteSet to not enable
689a0f6423bSEd Maste.Fl fformat-extensions
690a0f6423bSEd Mastewhen compiling the kernel.
691a0f6423bSEd MasteAlso disables all format checking.
69290be798eSDimitry Andric.It Va WITHOUT_FORTH
69390be798eSDimitry AndricSet to build bootloaders without Forth support.
69490be798eSDimitry Andric.It Va WITHOUT_FP_LIBC
69590be798eSDimitry AndricSet to build
69690be798eSDimitry Andric.Nm libc
69790be798eSDimitry Andricwithout floating-point support.
69890be798eSDimitry Andric.It Va WITHOUT_FREEBSD_UPDATE
69990be798eSDimitry AndricSet to not build
70090be798eSDimitry Andric.Xr freebsd-update 8 .
7010e0e9604SEnji Cooper.It Va WITHOUT_FTP
7020e0e9604SEnji CooperSet to not build or install
7030e0e9604SEnji Cooper.Xr ftp 1
7040e0e9604SEnji Cooperand
7050e0e9604SEnji Cooper.Xr ftpd 8 .
70690be798eSDimitry Andric.It Va WITHOUT_GAMES
70790be798eSDimitry AndricSet to not build games.
70890be798eSDimitry Andric.It Va WITHOUT_GCC
70990be798eSDimitry AndricSet to not build and install gcc and g++ as part of the normal build process.
71090be798eSDimitry Andric.Pp
711344e2bb9SEd MasteThis is a default setting on
7127c605234SEnji Cooperamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
71390be798eSDimitry Andric.It Va WITH_GCC
71490be798eSDimitry AndricSet to build and install gcc and g++.
71590be798eSDimitry Andric.Pp
716344e2bb9SEd MasteThis is a default setting on
71736e8c7bbSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
71890be798eSDimitry Andric.It Va WITHOUT_GCC_BOOTSTRAP
71990be798eSDimitry AndricSet to not build gcc and g++ as part of the bootstrap process.
720a0f6423bSEd MasteYou must enable either gcc or clang bootstrap to be able to build the system,
721a0f6423bSEd Masteunless an alternative compiler is provided via
72290be798eSDimitry AndricXCC.
72390be798eSDimitry Andric.Pp
724344e2bb9SEd MasteThis is a default setting on
7257c605234SEnji Cooperamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
72690be798eSDimitry Andric.It Va WITH_GCC_BOOTSTRAP
72790be798eSDimitry AndricSet to build gcc and g++ as part of the bootstrap process.
72890be798eSDimitry Andric.Pp
729344e2bb9SEd MasteThis is a default setting on
73036e8c7bbSEd 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.
73190be798eSDimitry Andric.It Va WITHOUT_GCOV
73290be798eSDimitry AndricSet to not build the
73390be798eSDimitry Andric.Xr gcov 1
73490be798eSDimitry Andrictool.
73590be798eSDimitry Andric.It Va WITHOUT_GDB
73690be798eSDimitry AndricSet to not build
73790be798eSDimitry Andric.Xr gdb 1 .
7385be09b10SEd Maste.Pp
739344e2bb9SEd MasteThis is a default setting on
7404650b8aeSEnji Cooperarm64/aarch64, riscv/riscv64 and riscv/riscv64sf.
7415977355fSBryan Drewery.It Va WITH_GDB
7425977355fSBryan DrewerySet to build
7435977355fSBryan Drewery.Xr gdb 1 .
7445977355fSBryan Drewery.Pp
745344e2bb9SEd MasteThis is a default setting on
7467c605234SEnji Cooperamd64/amd64, arm/arm, arm/armeb, 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.
7474650b8aeSEnji Cooper.It Va WITHOUT_GDB_LIBEXEC
7484650b8aeSEnji CooperSet to install
7494650b8aeSEnji Cooper.Xr gdb 1
7504650b8aeSEnji Cooperinto
7514650b8aeSEnji Cooper.Pa /usr/bin .
7524650b8aeSEnji Cooper.Pp
7534650b8aeSEnji CooperThis is a default setting on
7547c605234SEnji Cooperarm/arm, arm/armeb, arm/armv6, arm/armv7 and sparc64/sparc64.
7554650b8aeSEnji Cooper.It Va WITH_GDB_LIBEXEC
7564650b8aeSEnji CooperSet to install
7574650b8aeSEnji Cooper.Xr gdb 1
7584650b8aeSEnji Cooperinto
7594650b8aeSEnji Cooper.Pa /usr/libexec .
7604650b8aeSEnji CooperThis permits
7614650b8aeSEnji Cooper.Xr gdb 1
7624650b8aeSEnji Cooperto be used as a fallback for
7634650b8aeSEnji Cooper.Xr crashinfo 8
7644650b8aeSEnji Cooperif a newer version is not installed.
7654650b8aeSEnji Cooper.Pp
7664650b8aeSEnji CooperThis is a default setting on
7674650b8aeSEnji Cooperamd64/amd64, 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.
76890be798eSDimitry Andric.It Va WITHOUT_GNUCXX
76990be798eSDimitry AndricDo not build the GNU C++ stack (g++, libstdc++).
77090be798eSDimitry AndricThis is the default on platforms where clang is the system compiler.
77190be798eSDimitry Andric.Pp
772344e2bb9SEd MasteThis is a default setting on
7737c605234SEnji Cooperamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf.
77490be798eSDimitry Andric.It Va WITH_GNUCXX
77590be798eSDimitry AndricBuild the GNU C++ stack (g++, libstdc++).
77690be798eSDimitry AndricThis is the default on platforms where gcc is the system compiler.
77790be798eSDimitry Andric.Pp
778344e2bb9SEd MasteThis is a default setting on
77936e8c7bbSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
78036e8c7bbSEd Maste.It Va WITHOUT_GNU_DIFF
78136e8c7bbSEd MasteSet to not build GNU
78236e8c7bbSEd Maste.Xr diff 1
78336e8c7bbSEd Masteand
78436e8c7bbSEd Maste.Xr diff3 1 .
78536e8c7bbSEd Maste.It Va WITHOUT_GNU_GREP
78636e8c7bbSEd MasteSet to not build GNU
78736e8c7bbSEd Maste.Xr grep 1 .
788e9e768f7SEd Maste.It Va WITH_GNU_GREP_COMPAT
789e9e768f7SEd MasteSet this option to include GNU extensions in
790e9e768f7SEd Maste.Xr bsdgrep 1
791e9e768f7SEd Masteby linking against libgnuregex.
79290be798eSDimitry Andric.It Va WITHOUT_GPIO
79390be798eSDimitry AndricSet to not build
79490be798eSDimitry Andric.Xr gpioctl 8
79590be798eSDimitry Andricas part of the base system.
7965c021049SEnji Cooper.It Va WITHOUT_GPL_DTC
7975c021049SEnji CooperSet to build the BSD licensed version of the device tree compiler rather
7985c021049SEnji Cooperthan the GPLed one from elinux.org.
7995c021049SEnji Cooper.Pp
8005c021049SEnji CooperThis is a default setting on
80189dd2bebSBryan Dreweryamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
802fcf8f4a8SEmmanuel Vadot.It Va WITH_GPL_DTC
803fcf8f4a8SEmmanuel VadotSet to build the GPL'd version of the device tree compiler from elinux.org,
804fcf8f4a8SEmmanuel Vadotinstead of the BSD licensed one.
8055c021049SEnji Cooper.Pp
8065c021049SEnji CooperThis is a default setting on
80789dd2bebSBryan 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.
80890be798eSDimitry Andric.It Va WITHOUT_GSSAPI
80990be798eSDimitry AndricSet to not build libgssapi.
81061940879SEnji Cooper.It Va WITHOUT_HAST
81161940879SEnji CooperSet to not build
81261940879SEnji Cooper.Xr hastd 8
81361940879SEnji Cooperand related utilities.
81490be798eSDimitry Andric.It Va WITH_HESIOD
81590be798eSDimitry AndricSet to build Hesiod support.
81690be798eSDimitry Andric.It Va WITHOUT_HTML
81790be798eSDimitry AndricSet to not build HTML docs.
8182c4b4abcSXin LI.It Va WITHOUT_HYPERV
8192c4b4abcSXin LISet to not build or install HyperV utilities.
82090be798eSDimitry Andric.It Va WITHOUT_ICONV
82190be798eSDimitry AndricSet to not build iconv as part of libc.
822c5d09a87SGlen Barber.It Va WITHOUT_INCLUDES
823c5d09a87SGlen BarberSet to not install header files.
824c5d09a87SGlen BarberThis option used to be spelled
825c5d09a87SGlen Barber.Va NO_INCS .
826c5d09a87SGlen Barber.Bf -symbolic
827c5d09a87SGlen BarberThe option does not work for build targets.
828c5d09a87SGlen Barber.Ef
82990be798eSDimitry Andric.It Va WITHOUT_INET
83090be798eSDimitry AndricSet to not build programs and libraries related to IPv4 networking.
831344e2bb9SEd MasteWhen set, it enforces these options:
83290be798eSDimitry Andric.Pp
83390be798eSDimitry Andric.Bl -item -compact
83490be798eSDimitry Andric.It
83590be798eSDimitry Andric.Va WITHOUT_INET_SUPPORT
83690be798eSDimitry Andric.El
83790be798eSDimitry Andric.It Va WITHOUT_INET6
83890be798eSDimitry AndricSet to not build
83990be798eSDimitry Andricprograms and libraries related to IPv6 networking.
840344e2bb9SEd MasteWhen set, it enforces these options:
84190be798eSDimitry Andric.Pp
84290be798eSDimitry Andric.Bl -item -compact
84390be798eSDimitry Andric.It
84490be798eSDimitry Andric.Va WITHOUT_INET6_SUPPORT
84590be798eSDimitry Andric.El
84690be798eSDimitry Andric.It Va WITHOUT_INET6_SUPPORT
84790be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv6 support.
8480e0e9604SEnji Cooper.It Va WITHOUT_INETD
8490e0e9604SEnji CooperSet to not build
8500e0e9604SEnji Cooper.Xr inetd 8 .
85190be798eSDimitry Andric.It Va WITHOUT_INET_SUPPORT
85290be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv4 support.
85390be798eSDimitry Andric.It Va WITHOUT_INSTALLLIB
854344e2bb9SEd MasteSet this to not install optional libraries.
855344e2bb9SEd MasteFor example, when creating a
85690be798eSDimitry Andric.Xr nanobsd 8
85790be798eSDimitry Andricimage.
858f79bedf5SBryan Drewery.Bf -symbolic
859f79bedf5SBryan DreweryThe option does not work for build targets.
860f79bedf5SBryan Drewery.Ef
86190be798eSDimitry Andric.It Va WITH_INSTALL_AS_USER
86290be798eSDimitry AndricSet to make install targets succeed for non-root users by installing
86390be798eSDimitry Andricfiles with owner and group attributes set to that of the user running
86490be798eSDimitry Andricthe
86590be798eSDimitry Andric.Xr make 1
86690be798eSDimitry Andriccommand.
867344e2bb9SEd MasteThe user still must set the
86890be798eSDimitry Andric.Va DESTDIR
86990be798eSDimitry Andricvariable to point to a directory where the user has write permissions.
87090be798eSDimitry Andric.It Va WITHOUT_IPFILTER
87190be798eSDimitry AndricSet to not build IP Filter package.
87290be798eSDimitry Andric.It Va WITHOUT_IPFW
87390be798eSDimitry AndricSet to not build IPFW tools.
87488342134SEnji Cooper.It Va WITHOUT_IPSEC_SUPPORT
87588342134SEnji CooperSet to not build the kernel with
87688342134SEnji Cooper.Xr ipsec 4
87788342134SEnji Coopersupport.
87888342134SEnji CooperThis option is needed for
87988342134SEnji Cooper.Xr ipsec 4
88088342134SEnji Cooperand
88188342134SEnji Cooper.Xr tcpmd5 4 .
88293da8366SEnji Cooper.It Va WITHOUT_ISCSI
88393da8366SEnji CooperSet to not build
88426d6bbfaSSevan Janiyan.Xr iscsid 8
88593da8366SEnji Cooperand related utilities.
88690be798eSDimitry Andric.It Va WITHOUT_JAIL
88790be798eSDimitry AndricSet to not build tools for the support of jails; e.g.,
88890be798eSDimitry Andric.Xr jail 8 .
88990be798eSDimitry Andric.It Va WITHOUT_KDUMP
89090be798eSDimitry AndricSet to not build
89190be798eSDimitry Andric.Xr kdump 1
89290be798eSDimitry Andricand
89390be798eSDimitry Andric.Xr truss 1 .
89490be798eSDimitry Andric.It Va WITHOUT_KERBEROS
895344e2bb9SEd MasteSet this to not build Kerberos 5 (KTH Heimdal).
896344e2bb9SEd MasteWhen set, these options are also in effect:
89790be798eSDimitry Andric.Pp
89890be798eSDimitry Andric.Bl -inset -compact
89990be798eSDimitry Andric.It Va WITHOUT_GSSAPI
90090be798eSDimitry Andric(unless
90190be798eSDimitry Andric.Va WITH_GSSAPI
90290be798eSDimitry Andricis set explicitly)
903*bf64e879SBryan Drewery.It Va WITHOUT_KERBEROS_SUPPORT
904*bf64e879SBryan Drewery(unless
905*bf64e879SBryan Drewery.Va WITH_KERBEROS_SUPPORT
906*bf64e879SBryan Dreweryis set explicitly)
90790be798eSDimitry Andric.El
90890be798eSDimitry Andric.It Va WITHOUT_KERBEROS_SUPPORT
90990be798eSDimitry AndricSet to build some programs without Kerberos support, like
91090be798eSDimitry Andric.Xr ssh 1 ,
91190be798eSDimitry Andric.Xr telnet 1 ,
91290be798eSDimitry Andric.Xr sshd 8 ,
91390be798eSDimitry Andricand
91490be798eSDimitry Andric.Xr telnetd 8 .
9156f7527f0SEd Maste.It Va WITH_KERNEL_RETPOLINE
9166f7527f0SEd MasteSet to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel
9176f7527f0SEd Mastebuild.
918a0f6423bSEd Maste.It Va WITHOUT_KERNEL_SYMBOLS
919a0f6423bSEd MasteSet to not install kernel symbol files.
920a0f6423bSEd Maste.Bf -symbolic
921a0f6423bSEd MasteThis option is recommended for those people who have small root partitions.
922a0f6423bSEd Maste.Ef
92390be798eSDimitry Andric.It Va WITHOUT_KVM
92490be798eSDimitry AndricSet to not build the
92590be798eSDimitry Andric.Nm libkvm
92690be798eSDimitry Andriclibrary as a part of the base system.
92790be798eSDimitry Andric.Bf -symbolic
92890be798eSDimitry AndricThe option has no effect yet.
92990be798eSDimitry Andric.Ef
930*bf64e879SBryan DreweryWhen set, these options are also in effect:
93190be798eSDimitry Andric.Pp
932*bf64e879SBryan Drewery.Bl -inset -compact
933*bf64e879SBryan Drewery.It Va WITHOUT_KVM_SUPPORT
934*bf64e879SBryan Drewery(unless
935*bf64e879SBryan Drewery.Va WITH_KVM_SUPPORT
936*bf64e879SBryan Dreweryis set explicitly)
93790be798eSDimitry Andric.El
93890be798eSDimitry Andric.It Va WITHOUT_KVM_SUPPORT
93990be798eSDimitry AndricSet to build some programs without optional
94090be798eSDimitry Andric.Nm libkvm
94190be798eSDimitry Andricsupport.
94290be798eSDimitry Andric.It Va WITHOUT_LDNS
94390be798eSDimitry AndricSetting this variable will prevent the LDNS library from being built.
944344e2bb9SEd MasteWhen set, it enforces these options:
94590be798eSDimitry Andric.Pp
94690be798eSDimitry Andric.Bl -item -compact
94790be798eSDimitry Andric.It
94890be798eSDimitry Andric.Va WITHOUT_LDNS_UTILS
94990be798eSDimitry Andric.It
95090be798eSDimitry Andric.Va WITHOUT_UNBOUND
95190be798eSDimitry Andric.El
95290be798eSDimitry Andric.It Va WITHOUT_LDNS_UTILS
95390be798eSDimitry AndricSetting this variable will prevent building the LDNS utilities
95490be798eSDimitry Andric.Xr drill 1
95590be798eSDimitry Andricand
95690be798eSDimitry Andric.Xr host 1 .
95790be798eSDimitry Andric.It Va WITHOUT_LEGACY_CONSOLE
95890be798eSDimitry AndricSet to not build programs that support a legacy PC console; e.g.,
95923a6b49aSEdward Tomasz Napierala.Xr kbdcontrol 1
96090be798eSDimitry Andricand
96123a6b49aSEdward Tomasz Napierala.Xr vidcontrol 1 .
96290be798eSDimitry Andric.It Va WITHOUT_LIB32
963c5d09a87SGlen BarberOn 64-bit platforms, set to not build 32-bit library set and a
96490be798eSDimitry Andric.Nm ld-elf32.so.1
96590be798eSDimitry Andricruntime linker.
96690be798eSDimitry Andric.It Va WITHOUT_LIBCPLUSPLUS
96790be798eSDimitry AndricSet to avoid building libcxxrt and libc++.
96890be798eSDimitry Andric.It Va WITHOUT_LIBPTHREAD
96990be798eSDimitry AndricSet to not build the
97090be798eSDimitry Andric.Nm libpthread
97190be798eSDimitry Andricproviding library,
97290be798eSDimitry Andric.Nm libthr .
973344e2bb9SEd MasteWhen set, it enforces these options:
97490be798eSDimitry Andric.Pp
97590be798eSDimitry Andric.Bl -item -compact
97690be798eSDimitry Andric.It
97790be798eSDimitry Andric.Va WITHOUT_LIBTHR
97890be798eSDimitry Andric.El
9798a7c8ae4SBryan Drewery.It Va WITH_LIBSOFT
9808a7c8ae4SBryan DreweryOn armv6 only, set to enable soft float ABI compatibility libraries.
9818a7c8ae4SBryan DreweryThis option is for transitioning to the new hard float ABI.
98290be798eSDimitry Andric.It Va WITHOUT_LIBTHR
98390be798eSDimitry AndricSet to not build the
98490be798eSDimitry Andric.Nm libthr
98590be798eSDimitry Andric(1:1 threading)
98690be798eSDimitry Andriclibrary.
98736e8c7bbSEd Maste.It Va WITHOUT_LLD
98836e8c7bbSEd MasteSet to not build LLVM's lld linker.
98936e8c7bbSEd Maste.Pp
990344e2bb9SEd MasteThis is a default setting on
991912aad0fSKyle Evansriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
99236e8c7bbSEd Maste.It Va WITH_LLD
99336e8c7bbSEd MasteSet to build LLVM's lld linker.
99436e8c7bbSEd Maste.Pp
995344e2bb9SEd MasteThis is a default setting on
996912aad0fSKyle Evansamd64/amd64, arm/arm, arm/armeb, 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.
9971500eb21SEd Maste.It Va WITHOUT_LLDB
9981500eb21SEd MasteSet to not build the LLDB debugger.
9991500eb21SEd Maste.Pp
1000344e2bb9SEd MasteThis is a default setting on
10017c605234SEnji Cooperarm/arm, arm/armeb, 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.
100290be798eSDimitry Andric.It Va WITH_LLDB
100390be798eSDimitry AndricSet to build the LLDB debugger.
10041500eb21SEd Maste.Pp
1005344e2bb9SEd MasteThis is a default setting on
1006e5259506SEnji Cooperamd64/amd64, arm64/aarch64 and i386/i386.
10076c2b7edaSEd Maste.It Va WITHOUT_LLD_BOOTSTRAP
10086c2b7edaSEd MasteSet to not build the LLD linker during the bootstrap phase of
10096c2b7edaSEd Mastethe build.
10106c2b7edaSEd MasteTo be able to build the system, either Binutils or LLD bootstrap must be
10116c2b7edaSEd Masteenabled unless an alternate linker is provided via XLD.
10126c2b7edaSEd Maste.Pp
10136c2b7edaSEd MasteThis is a default setting on
10141383b978SEd Mastearm/arm, arm/armeb, 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, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
10156c2b7edaSEd Maste.It Va WITH_LLD_BOOTSTRAP
10166c2b7edaSEd MasteSet to build the LLD linker during the bootstrap phase of the build.
10176c2b7edaSEd Maste.Pp
10186c2b7edaSEd MasteThis is a default setting on
10191383b978SEd Masteamd64/amd64 and arm64/aarch64.
1020661cf9b6SYoshihiro Takahashi.It Va WITHOUT_LLD_IS_LD
102136e8c7bbSEd MasteSet to use GNU binutils ld as the system linker, instead of LLVM's LLD.
102236e8c7bbSEd Maste.Pp
1023344e2bb9SEd MasteThis is a default setting on
1024f4c84137SEd Mastearm/arm, arm/armeb, 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, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1025661cf9b6SYoshihiro Takahashi.It Va WITH_LLD_IS_LD
102636e8c7bbSEd MasteSet to use LLVM's LLD as the system linker, instead of GNU binutils ld.
102736e8c7bbSEd Maste.Pp
1028344e2bb9SEd MasteThis is a default setting on
1029f4c84137SEd Masteamd64/amd64 and arm64/aarch64.
10305b9c3654SEd Maste.It Va WITHOUT_LLVM_COV
10315b9c3654SEd MasteSet to not build the
10325b9c3654SEd Maste.Xr llvm-cov 1
10335b9c3654SEd Mastetool.
10345b9c3654SEd Maste.Pp
10355b9c3654SEd MasteThis is a default setting on
10365b9c3654SEd Masteriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
10375b9c3654SEd Maste.It Va WITH_LLVM_COV
10385b9c3654SEd MasteSet to build the
10395b9c3654SEd Maste.Xr llvm-cov 1
10405b9c3654SEd Mastetool.
10415b9c3654SEd Maste.Pp
10425b9c3654SEd MasteThis is a default setting on
10435b9c3654SEd Masteamd64/amd64, arm/arm, arm/armeb, 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.
10441500eb21SEd Maste.It Va WITHOUT_LLVM_LIBUNWIND
10451500eb21SEd MasteSet to use GCC's stack unwinder (instead of LLVM's libunwind).
10461500eb21SEd Maste.Pp
1047344e2bb9SEd MasteThis is a default setting on
1048912aad0fSKyle Evansarm/arm, arm/armeb, arm/armv6, arm/armv7, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
10491500eb21SEd Maste.It Va WITH_LLVM_LIBUNWIND
10501500eb21SEd MasteSet to use LLVM's libunwind stack unwinder (instead of GCC's unwinder).
10511500eb21SEd Maste.Pp
1052344e2bb9SEd MasteThis is a default setting on
1053912aad0fSKyle 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.
1054cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_AARCH64
1055cbafd263SDimitry AndricSet to not build LLVM target support for AArch64.
1056*bf64e879SBryan DreweryThe
1057*bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1058*bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1059cbafd263SDimitry Andric.Pp
1060cbafd263SDimitry AndricThis is a default setting on
1061cbafd263SDimitry Andricriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1062cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_AARCH64
1063cbafd263SDimitry AndricSet to build LLVM target support for AArch64.
1064*bf64e879SBryan DreweryThe
1065*bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1066*bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1067*bf64e879SBryan Drewery.Pp
1068*bf64e879SBryan DreweryThis is a default setting on
1069*bf64e879SBryan Dreweryamd64/amd64, arm/arm, arm/armeb, 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.
1070*bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ALL
1071*bf64e879SBryan DrewerySet to only build the required LLVM target support.
1072*bf64e879SBryan DreweryThis option is preferred to specific target support options.
1073*bf64e879SBryan Drewery.Pp
1074*bf64e879SBryan DreweryThis is a default setting on
1075*bf64e879SBryan Dreweryriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1076*bf64e879SBryan DreweryWhen set, these options are also in effect:
1077*bf64e879SBryan Drewery.Pp
1078*bf64e879SBryan Drewery.Bl -inset -compact
1079*bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_AARCH64
1080*bf64e879SBryan Drewery(unless
1081*bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_AARCH64
1082*bf64e879SBryan Dreweryis set explicitly)
1083*bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ARM
1084*bf64e879SBryan Drewery(unless
1085*bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_ARM
1086*bf64e879SBryan Dreweryis set explicitly)
1087*bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_MIPS
1088*bf64e879SBryan Drewery(unless
1089*bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_MIPS
1090*bf64e879SBryan Dreweryis set explicitly)
1091*bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_POWERPC
1092*bf64e879SBryan Drewery(unless
1093*bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_POWERPC
1094*bf64e879SBryan Dreweryis set explicitly)
1095*bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_SPARC
1096*bf64e879SBryan Drewery(unless
1097*bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_SPARC
1098*bf64e879SBryan Dreweryis set explicitly)
1099*bf64e879SBryan Drewery.El
1100*bf64e879SBryan Drewery.It Va WITH_LLVM_TARGET_ALL
1101*bf64e879SBryan DrewerySet to build support for all LLVM targets.
1102*bf64e879SBryan DreweryThis option is always applied to the bootstrap compiler for buildworld when
1103*bf64e879SBryan DreweryLLVM is used.
1104cbafd263SDimitry Andric.Pp
1105cbafd263SDimitry AndricThis is a default setting on
1106cbafd263SDimitry Andricamd64/amd64, arm/arm, arm/armeb, 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.
1107cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_ARM
1108cbafd263SDimitry AndricSet to not build LLVM target support for ARM.
1109*bf64e879SBryan DreweryThe
1110*bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1111*bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1112cbafd263SDimitry Andric.Pp
1113cbafd263SDimitry AndricThis is a default setting on
1114cbafd263SDimitry Andricriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1115cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_ARM
1116cbafd263SDimitry AndricSet to build LLVM target support for ARM.
1117*bf64e879SBryan DreweryThe
1118*bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1119*bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1120cbafd263SDimitry Andric.Pp
1121cbafd263SDimitry AndricThis is a default setting on
1122cbafd263SDimitry Andricamd64/amd64, arm/arm, arm/armeb, 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.
1123cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_MIPS
1124cbafd263SDimitry AndricSet to not build LLVM target support for MIPS.
1125*bf64e879SBryan DreweryThe
1126*bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1127*bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1128cbafd263SDimitry Andric.Pp
1129cbafd263SDimitry AndricThis is a default setting on
1130cbafd263SDimitry Andricriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1131cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_MIPS
1132cbafd263SDimitry AndricSet to build LLVM target support for MIPS.
1133*bf64e879SBryan DreweryThe
1134*bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1135*bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1136cbafd263SDimitry Andric.Pp
1137cbafd263SDimitry AndricThis is a default setting on
1138cbafd263SDimitry Andricamd64/amd64, arm/arm, arm/armeb, 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.
1139cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_POWERPC
1140cbafd263SDimitry AndricSet to not build LLVM target support for PowerPC.
1141*bf64e879SBryan DreweryThe
1142*bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1143*bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1144cbafd263SDimitry Andric.Pp
1145cbafd263SDimitry AndricThis is a default setting on
1146cbafd263SDimitry Andricriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1147cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_POWERPC
1148cbafd263SDimitry AndricSet to build LLVM target support for PowerPC.
1149*bf64e879SBryan DreweryThe
1150*bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1151*bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1152cbafd263SDimitry Andric.Pp
1153cbafd263SDimitry AndricThis is a default setting on
1154cbafd263SDimitry Andricamd64/amd64, arm/arm, arm/armeb, 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.
1155cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_SPARC
1156cbafd263SDimitry AndricSet to not build LLVM target support for SPARC.
1157*bf64e879SBryan DreweryThe
1158*bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1159*bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1160cbafd263SDimitry Andric.Pp
1161cbafd263SDimitry AndricThis is a default setting on
1162cbafd263SDimitry Andricriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1163cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_SPARC
1164cbafd263SDimitry AndricSet to build LLVM target support for SPARC.
1165*bf64e879SBryan DreweryThe
1166*bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1167*bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1168cbafd263SDimitry Andric.Pp
1169cbafd263SDimitry AndricThis is a default setting on
1170cbafd263SDimitry Andricamd64/amd64, arm/arm, arm/armeb, 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.
1171cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_X86
1172cbafd263SDimitry AndricSet to not build LLVM target support for X86.
1173*bf64e879SBryan DreweryThe
1174*bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1175*bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1176cbafd263SDimitry Andric.Pp
1177cbafd263SDimitry AndricThis is a default setting on
1178cbafd263SDimitry Andricriscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1179cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_X86
1180cbafd263SDimitry AndricSet to build LLVM target support for X86.
1181*bf64e879SBryan DreweryThe
1182*bf64e879SBryan Drewery.Va LLVM_TARGET_ALL
1183*bf64e879SBryan Dreweryoption should be used rather than this in most cases.
1184cbafd263SDimitry Andric.Pp
1185cbafd263SDimitry AndricThis is a default setting on
1186cbafd263SDimitry Andricamd64/amd64, arm/arm, arm/armeb, 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.
1187782df3edSEd Maste.It Va WITH_LOADER_FIREWIRE
1188782df3edSEd MasteEnable firewire support in /boot/loader and /boot/zfsloader on x86.
1189782df3edSEd MasteThis option is a nop on all other platforms.
1190782df3edSEd Maste.It Va WITHOUT_LOADER_GELI
1191782df3edSEd MasteDisable inclusion of GELI crypto support in the boot chain binaries.
1192b8f3641fSKyle Evans.Pp
1193b8f3641fSKyle EvansThis is a default setting on
1194b8f3641fSKyle Evansarm/arm, arm/armeb, arm/armv6, arm/armv7, arm64/aarch64, 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.
11956f7527f0SEd Maste.It Va WITH_LOADER_LUA
11966f7527f0SEd MasteSet to build LUA bindings for the boot loader.
1197b8f3641fSKyle Evans.It Va WITHOUT_LOADER_OFW
1198b8f3641fSKyle EvansDisable building of openfirmware bootloader components.
1199b8f3641fSKyle Evans.Pp
1200b8f3641fSKyle EvansThis is a default setting on
1201b8f3641fSKyle Evansamd64/amd64, arm/arm, arm/armeb, 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.
1202b8f3641fSKyle Evans.It Va WITH_LOADER_OFW
1203b8f3641fSKyle EvansSet to build openfirmware bootloader components.
1204b8f3641fSKyle Evans.Pp
1205b8f3641fSKyle EvansThis is a default setting on
1206b8f3641fSKyle Evanspowerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1207b8f3641fSKyle Evans.It Va WITHOUT_LOADER_UBOOT
1208b8f3641fSKyle EvansDisable building of ubldr.
1209b8f3641fSKyle Evans.Pp
1210b8f3641fSKyle EvansThis is a default setting on
1211b8f3641fSKyle Evansamd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1212b8f3641fSKyle Evans.It Va WITH_LOADER_UBOOT
1213b8f3641fSKyle EvansSet to build ubldr.
1214b8f3641fSKyle Evans.Pp
1215b8f3641fSKyle EvansThis is a default setting on
1216b8f3641fSKyle Evansarm/arm, arm/armeb, 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.
121790be798eSDimitry Andric.It Va WITHOUT_LOCALES
121890be798eSDimitry AndricSet to not build localization files; see
121990be798eSDimitry Andric.Xr locale 1 .
122090be798eSDimitry Andric.It Va WITHOUT_LOCATE
122190be798eSDimitry AndricSet to not build
122290be798eSDimitry Andric.Xr locate 1
122390be798eSDimitry Andricand related programs.
122490be798eSDimitry Andric.It Va WITHOUT_LPR
122590be798eSDimitry AndricSet to not build
122690be798eSDimitry Andric.Xr lpr 1
122790be798eSDimitry Andricand related programs.
122890be798eSDimitry Andric.It Va WITHOUT_LS_COLORS
122990be798eSDimitry AndricSet to build
123090be798eSDimitry Andric.Xr ls 1
123190be798eSDimitry Andricwithout support for colors to distinguish file types.
123290be798eSDimitry Andric.It Va WITHOUT_LZMA_SUPPORT
123390be798eSDimitry AndricSet to build some programs without optional lzma compression support.
123490be798eSDimitry Andric.It Va WITHOUT_MAIL
123590be798eSDimitry AndricSet to not build any mail support (MUA or MTA).
1236344e2bb9SEd MasteWhen set, it enforces these options:
123790be798eSDimitry Andric.Pp
123890be798eSDimitry Andric.Bl -item -compact
123990be798eSDimitry Andric.It
124090be798eSDimitry Andric.Va WITHOUT_DMAGENT
124190be798eSDimitry Andric.It
124290be798eSDimitry Andric.Va WITHOUT_MAILWRAPPER
124390be798eSDimitry Andric.It
124490be798eSDimitry Andric.Va WITHOUT_SENDMAIL
124590be798eSDimitry Andric.El
124690be798eSDimitry Andric.It Va WITHOUT_MAILWRAPPER
124790be798eSDimitry AndricSet to not build the
124890be798eSDimitry Andric.Xr mailwrapper 8
124990be798eSDimitry AndricMTA selector.
125090be798eSDimitry Andric.It Va WITHOUT_MAKE
125190be798eSDimitry AndricSet to not install
125290be798eSDimitry Andric.Xr make 1
125390be798eSDimitry Andricand related support files.
125474782f0eSEnji Cooper.It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
125574782f0eSEnji CooperSet to not execute
125674782f0eSEnji Cooper.Dq Li "make check"
125774782f0eSEnji Cooperin limited sandbox mode.
125874782f0eSEnji CooperThis option should be paired with
125974782f0eSEnji Cooper.Va WITH_INSTALL_AS_USER
126074782f0eSEnji Cooperif executed as an unprivileged user.
126174782f0eSEnji CooperSee
126274782f0eSEnji Cooper.Xr tests 7
126374782f0eSEnji Cooperfor more details.
126490be798eSDimitry Andric.It Va WITHOUT_MAN
126590be798eSDimitry AndricSet to not build manual pages.
1266344e2bb9SEd MasteWhen set, these options are also in effect:
126790be798eSDimitry Andric.Pp
126890be798eSDimitry Andric.Bl -inset -compact
126990be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS
127090be798eSDimitry Andric(unless
127190be798eSDimitry Andric.Va WITH_MAN_UTILS
127290be798eSDimitry Andricis set explicitly)
127390be798eSDimitry Andric.El
127490be798eSDimitry Andric.It Va WITHOUT_MANCOMPRESS
127590be798eSDimitry AndricSet to not to install compressed man pages.
127690be798eSDimitry AndricOnly the uncompressed versions will be installed.
127790be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS
127890be798eSDimitry AndricSet to not build utilities for manual pages,
127990be798eSDimitry Andric.Xr apropos 1 ,
128090be798eSDimitry Andric.Xr makewhatis 1 ,
128190be798eSDimitry Andric.Xr man 1 ,
128290be798eSDimitry Andric.Xr whatis 1 ,
128390be798eSDimitry Andric.Xr manctl 8 ,
128490be798eSDimitry Andricand related support files.
1285cc2520d2SSimon J. Gerraty.It Va WITH_META_MODE
1286344e2bb9SEd MasteCreate
1287be894451SBryan Drewery.Xr make 1
1288be894451SBryan Drewerymeta files when building, which can provide a reliable incremental build when
1289be894451SBryan Dreweryusing
1290be894451SBryan Drewery.Xr filemon 4 .
1291344e2bb9SEd MasteThe meta file is created in OBJDIR as
1292be894451SBryan Drewery.Pa target.meta .
1293344e2bb9SEd MasteThese meta files track the command that was executed, its output, and the
1294344e2bb9SEd Mastecurrent directory.
12952710e62cSBryan DreweryThe
12967f76a95cSBryan Drewery.Xr filemon 4
12972710e62cSBryan Drewerymodule is required unless
12982710e62cSBryan Drewery.Va NO_FILEMON
12992710e62cSBryan Dreweryis defined.
1300344e2bb9SEd MasteWhen the module is loaded, any files used by the commands executed are
1301344e2bb9SEd Mastetracked as dependencies for the target in its meta file.
1302344e2bb9SEd MasteThe target is considered out-of-date and rebuilt if any of these
1303344e2bb9SEd Masteconditions are true compared to the last build:
1304be894451SBryan Drewery.Bl -bullet -compact
1305be894451SBryan Drewery.It
1306be894451SBryan DreweryThe command to execute changes.
1307be894451SBryan Drewery.It
1308be894451SBryan DreweryThe current working directory changes.
1309be894451SBryan Drewery.It
1310a4a2269eSBryan DreweryThe target's meta file is missing.
1311a4a2269eSBryan Drewery.It
1312a4a2269eSBryan DreweryThe target's meta file is missing filemon data when filemon is loaded
1313a4a2269eSBryan Dreweryand a previous run did not have it loaded.
1314be894451SBryan Drewery.It
1315be894451SBryan Drewery[requires
1316be894451SBryan Drewery.Xr filemon 4 ]
1317be894451SBryan DreweryFiles read, executed or linked to are newer than the target.
1318be894451SBryan Drewery.It
1319be894451SBryan Drewery[requires
1320be894451SBryan Drewery.Xr filemon 4 ]
1321be894451SBryan DreweryFiles read, written, executed or linked are missing.
1322be894451SBryan Drewery.El
13237f76a95cSBryan DreweryThe meta files can also be useful for debugging.
13247f76a95cSBryan Drewery.Pp
1325344e2bb9SEd MasteThe build hides commands that are executed unless
13267f76a95cSBryan Drewery.Va NO_SILENT
13277f76a95cSBryan Dreweryis defined.
1328344e2bb9SEd MasteErrors cause
13292710e62cSBryan Drewery.Xr make 1
13302710e62cSBryan Dreweryto show some of its environment for further debugging.
13310a70ef02SBryan Drewery.Pp
1332be894451SBryan DreweryThe build operates as it normally would otherwise.
1333be894451SBryan DreweryThis option originally invoked a different build system but that was renamed
1334be894451SBryan Dreweryto
1335be894451SBryan Drewery.Va WITH_DIRDEPS_BUILD .
1336be894451SBryan Drewery.Pp
1337ba852870SBryan DreweryThis must be set in the environment, make command line, or
13380a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
13390a70ef02SBryan Drewerynot
13400a70ef02SBryan Drewery.Pa /etc/src.conf .
1341912aad0fSKyle Evans.It Va WITHOUT_MLX5TOOL
1342912aad0fSKyle EvansSet to not build
1343912aad0fSKyle Evans.Xr mlx5tool 8
1344912aad0fSKyle Evans.Pp
1345912aad0fSKyle EvansThis is a default setting on
1346912aad0fSKyle Evansarm/arm, arm/armeb, 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.
1347912aad0fSKyle Evans.It Va WITH_MLX5TOOL
1348912aad0fSKyle EvansSet to build
1349912aad0fSKyle Evans.Xr mlx5tool 8
1350912aad0fSKyle Evans.Pp
1351912aad0fSKyle EvansThis is a default setting on
1352912aad0fSKyle Evansamd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64.
135390be798eSDimitry Andric.It Va WITH_NAND
135490be798eSDimitry AndricSet to build the NAND Flash components.
135590be798eSDimitry Andric.It Va WITHOUT_NDIS
135690be798eSDimitry AndricSet to not build programs and libraries
135790be798eSDimitry Andricrelated to NDIS emulation support.
135890be798eSDimitry Andric.It Va WITHOUT_NETCAT
135990be798eSDimitry AndricSet to not build
136090be798eSDimitry Andric.Xr nc 1
136190be798eSDimitry Andricutility.
136290be798eSDimitry Andric.It Va WITHOUT_NETGRAPH
136390be798eSDimitry AndricSet to not build applications to support
136490be798eSDimitry Andric.Xr netgraph 4 .
1365344e2bb9SEd MasteWhen set, it enforces these options:
136690be798eSDimitry Andric.Pp
136790be798eSDimitry Andric.Bl -item -compact
136890be798eSDimitry Andric.It
136990be798eSDimitry Andric.Va WITHOUT_ATM
137090be798eSDimitry Andric.It
137190be798eSDimitry Andric.Va WITHOUT_BLUETOOTH
1372*bf64e879SBryan Drewery.El
1373*bf64e879SBryan Drewery.Pp
1374*bf64e879SBryan DreweryWhen set, these options are also in effect:
1375*bf64e879SBryan Drewery.Pp
1376*bf64e879SBryan Drewery.Bl -inset -compact
1377*bf64e879SBryan Drewery.It Va WITHOUT_NETGRAPH_SUPPORT
1378*bf64e879SBryan Drewery(unless
1379*bf64e879SBryan Drewery.Va WITH_NETGRAPH_SUPPORT
1380*bf64e879SBryan Dreweryis set explicitly)
138190be798eSDimitry Andric.El
138290be798eSDimitry Andric.It Va WITHOUT_NETGRAPH_SUPPORT
138390be798eSDimitry AndricSet to build libraries, programs, and kernel modules without netgraph support.
138490be798eSDimitry Andric.It Va WITHOUT_NIS
138590be798eSDimitry AndricSet to not build
138690be798eSDimitry Andric.Xr NIS 8
138790be798eSDimitry Andricsupport and related programs.
138890be798eSDimitry AndricIf set, you might need to adopt your
138990be798eSDimitry Andric.Xr nsswitch.conf 5
139090be798eSDimitry Andricand remove
139190be798eSDimitry Andric.Sq nis
139290be798eSDimitry Andricentries.
139390be798eSDimitry Andric.It Va WITHOUT_NLS
139490be798eSDimitry AndricSet to not build NLS catalogs.
139557a87b06SEnji CooperWhen set, it enforces these options:
139657a87b06SEnji Cooper.Pp
139757a87b06SEnji Cooper.Bl -item -compact
139857a87b06SEnji Cooper.It
139957a87b06SEnji Cooper.Va WITHOUT_NLS_CATALOGS
140057a87b06SEnji Cooper.El
140190be798eSDimitry Andric.It Va WITHOUT_NLS_CATALOGS
140290be798eSDimitry AndricSet to not build NLS catalog support for
140390be798eSDimitry Andric.Xr csh 1 .
140490be798eSDimitry Andric.It Va WITHOUT_NS_CACHING
140590be798eSDimitry AndricSet to disable name caching in the
140690be798eSDimitry Andric.Pa nsswitch
140790be798eSDimitry Andricsubsystem.
140890be798eSDimitry AndricThe generic caching daemon,
140990be798eSDimitry Andric.Xr nscd 8 ,
141090be798eSDimitry Andricwill not be built either if this option is set.
141190be798eSDimitry Andric.It Va WITHOUT_NTP
141290be798eSDimitry AndricSet to not build
141390be798eSDimitry Andric.Xr ntpd 8
141490be798eSDimitry Andricand related programs.
141590be798eSDimitry Andric.It Va WITH_OFED
141690be798eSDimitry AndricSet to build the
141790be798eSDimitry Andric.Dq "OpenFabrics Enterprise Distribution"
141890be798eSDimitry AndricInfiniband software stack.
141990be798eSDimitry Andric.It Va WITH_OPENLDAP
142090be798eSDimitry AndricEnable building openldap support for kerberos.
142190be798eSDimitry Andric.It Va WITHOUT_OPENSSH
142290be798eSDimitry AndricSet to not build OpenSSH.
142390be798eSDimitry Andric.It Va WITHOUT_OPENSSL
142490be798eSDimitry AndricSet to not build OpenSSL.
1425344e2bb9SEd MasteWhen set, it enforces these options:
142690be798eSDimitry Andric.Pp
142790be798eSDimitry Andric.Bl -item -compact
142890be798eSDimitry Andric.It
142990be798eSDimitry Andric.Va WITHOUT_KERBEROS
143090be798eSDimitry Andric.It
143190be798eSDimitry Andric.Va WITHOUT_OPENSSH
143290be798eSDimitry Andric.El
143390be798eSDimitry Andric.Pp
1434344e2bb9SEd MasteWhen set, these options are also in effect:
143590be798eSDimitry Andric.Pp
143690be798eSDimitry Andric.Bl -inset -compact
143790be798eSDimitry Andric.It Va WITHOUT_GSSAPI
143890be798eSDimitry Andric(unless
143990be798eSDimitry Andric.Va WITH_GSSAPI
144090be798eSDimitry Andricis set explicitly)
144190be798eSDimitry Andric.El
144290be798eSDimitry Andric.It Va WITHOUT_PAM
144390be798eSDimitry AndricSet to not build PAM library and modules.
144490be798eSDimitry Andric.Bf -symbolic
144590be798eSDimitry AndricThis option is deprecated and does nothing.
144690be798eSDimitry Andric.Ef
1447*bf64e879SBryan DreweryWhen set, these options are also in effect:
144890be798eSDimitry Andric.Pp
1449*bf64e879SBryan Drewery.Bl -inset -compact
1450*bf64e879SBryan Drewery.It Va WITHOUT_PAM_SUPPORT
1451*bf64e879SBryan Drewery(unless
1452*bf64e879SBryan Drewery.Va WITH_PAM_SUPPORT
1453*bf64e879SBryan Dreweryis set explicitly)
145490be798eSDimitry Andric.El
145590be798eSDimitry Andric.It Va WITHOUT_PAM_SUPPORT
145690be798eSDimitry AndricSet to build some programs without PAM support, particularly
145790be798eSDimitry Andric.Xr ftpd 8
145890be798eSDimitry Andricand
145990be798eSDimitry Andric.Xr ppp 8 .
146090be798eSDimitry Andric.It Va WITHOUT_PC_SYSINSTALL
146190be798eSDimitry AndricSet to not build
146290be798eSDimitry Andric.Xr pc-sysinstall 8
146390be798eSDimitry Andricand related programs.
146490be798eSDimitry Andric.It Va WITHOUT_PF
146590be798eSDimitry AndricSet to not build PF firewall package.
1466344e2bb9SEd MasteWhen set, it enforces these options:
146790be798eSDimitry Andric.Pp
146890be798eSDimitry Andric.Bl -item -compact
146990be798eSDimitry Andric.It
147090be798eSDimitry Andric.Va WITHOUT_AUTHPF
147190be798eSDimitry Andric.El
147290be798eSDimitry Andric.It Va WITHOUT_PKGBOOTSTRAP
147390be798eSDimitry AndricSet to not build
147490be798eSDimitry Andric.Xr pkg 7
147590be798eSDimitry Andricbootstrap tool.
147690be798eSDimitry Andric.It Va WITHOUT_PMC
147790be798eSDimitry AndricSet to not build
147890be798eSDimitry Andric.Xr pmccontrol 8
147990be798eSDimitry Andricand related programs.
148090be798eSDimitry Andric.It Va WITHOUT_PORTSNAP
148190be798eSDimitry AndricSet to not build or install
148290be798eSDimitry Andric.Xr portsnap 8
148390be798eSDimitry Andricand related files.
148445b8de2dSEd MasteWhen set, it enforces these options:
148545b8de2dSEd Maste.Pp
148645b8de2dSEd Maste.Bl -item -compact
148745b8de2dSEd Maste.It
148845b8de2dSEd Maste.Va WITHOUT_FREEBSD_UPDATE
148945b8de2dSEd Maste.El
149090be798eSDimitry Andric.It Va WITHOUT_PPP
149190be798eSDimitry AndricSet to not build
149290be798eSDimitry Andric.Xr ppp 8
149390be798eSDimitry Andricand related programs.
149490be798eSDimitry Andric.It Va WITHOUT_PROFILE
14954c033a73SEnji CooperSet to not build profiled libraries for use with
14964c033a73SEnji Cooper.Xr gprof 8 .
14970780f5c3SJohn Baldwin.Pp
14980780f5c3SJohn BaldwinThis is a default setting on
1499e5259506SEnji Coopermips/mips64el, mips/mips64, mips/mips64elhf, mips/mips64hf, riscv/riscv64 and riscv/riscv64sf.
15004c033a73SEnji Cooper.It Va WITH_PROFILE
15014c033a73SEnji CooperSet to build profiled libraries for use with
15024c033a73SEnji Cooper.Xr gprof 8 .
15034c033a73SEnji Cooper.Pp
15044c033a73SEnji CooperThis is a default setting on
15057c605234SEnji Cooperamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mipsn32, mips/mipselhf, mips/mipshf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
150690be798eSDimitry Andric.It Va WITHOUT_QUOTAS
150790be798eSDimitry AndricSet to not build
150823a6b49aSEdward Tomasz Napierala.Xr quota 1
150990be798eSDimitry Andricand related programs.
15100e0e9604SEnji Cooper.It Va WITHOUT_RADIUS_SUPPORT
15110e0e9604SEnji CooperSet to not build radius support into various applications, like
15120e0e9604SEnji Cooper.Xr pam_radius 8
15130e0e9604SEnji Cooperand
15140e0e9604SEnji Cooper.Xr ppp 8 .
151588342134SEnji Cooper.It Va WITH_RATELIMIT
151688342134SEnji CooperSet to build the system with rate limit support.
151788342134SEnji Cooper.Pp
151888342134SEnji CooperThis makes
151988342134SEnji Cooper.Dv SO_MAX_PACING_RATE
152088342134SEnji Coopereffective in
152188342134SEnji Cooper.Xr getsockopt 2 ,
152288342134SEnji Cooperand
152388342134SEnji Cooper.Ar txrlimit
152488342134SEnji Coopersupport in
152588342134SEnji Cooper.Xr ifconfig 8 ,
152688342134SEnji Cooperby proxy.
15270e0e9604SEnji Cooper.It Va WITHOUT_RBOOTD
15280e0e9604SEnji CooperSet to not build or install
15290e0e9604SEnji Cooper.Xr rbootd 8 .
15306dfa2a0aSEd Maste.It Va WITH_REPRODUCIBLE_BUILD
15316dfa2a0aSEd MasteSet to exclude build metadata (such as the build time, user, or host)
15326dfa2a0aSEd Mastefrom the kernel, boot loaders, and uname output, so that builds produce
15336dfa2a0aSEd Mastebit-for-bit identical output.
153490be798eSDimitry Andric.It Va WITHOUT_RESCUE
153590be798eSDimitry AndricSet to not build
153690be798eSDimitry Andric.Xr rescue 8 .
153790be798eSDimitry Andric.It Va WITHOUT_ROUTED
153890be798eSDimitry AndricSet to not build
153990be798eSDimitry Andric.Xr routed 8
154090be798eSDimitry Andricutility.
15414c033a73SEnji Cooper.It Va WITH_RPCBIND_WARMSTART_SUPPORT
15424c033a73SEnji CooperSet to build
15434c033a73SEnji Cooper.Xr rpcbind 8
15444c033a73SEnji Cooperwith warmstart support.
154590be798eSDimitry Andric.It Va WITHOUT_SENDMAIL
154690be798eSDimitry AndricSet to not build
154790be798eSDimitry Andric.Xr sendmail 8
154890be798eSDimitry Andricand related programs.
154990be798eSDimitry Andric.It Va WITHOUT_SETUID_LOGIN
155090be798eSDimitry AndricSet this to disable the installation of
155190be798eSDimitry Andric.Xr login 1
155290be798eSDimitry Andricas a set-user-ID root program.
155390be798eSDimitry Andric.It Va WITHOUT_SHAREDOCS
155490be798eSDimitry AndricSet to not build the
155590be798eSDimitry Andric.Bx 4.4
155690be798eSDimitry Andriclegacy docs.
155790be798eSDimitry Andric.It Va WITH_SHARED_TOOLCHAIN
155890be798eSDimitry AndricSet to build the toolchain binaries shared.
155990be798eSDimitry AndricThe set includes
156090be798eSDimitry Andric.Xr cc 1 ,
156190be798eSDimitry Andric.Xr make 1
156290be798eSDimitry Andricand necessary utilities like assembler, linker and library archive manager.
156390be798eSDimitry Andric.It Va WITH_SORT_THREADS
156490be798eSDimitry AndricSet to enable threads in
156590be798eSDimitry Andric.Xr sort 1 .
156690be798eSDimitry Andric.It Va WITHOUT_SOURCELESS
156790be798eSDimitry AndricSet to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1568344e2bb9SEd MasteWhen set, it enforces these options:
156990be798eSDimitry Andric.Pp
157090be798eSDimitry Andric.Bl -item -compact
157190be798eSDimitry Andric.It
157290be798eSDimitry Andric.Va WITHOUT_SOURCELESS_HOST
157390be798eSDimitry Andric.It
157490be798eSDimitry Andric.Va WITHOUT_SOURCELESS_UCODE
157590be798eSDimitry Andric.El
157690be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_HOST
157790be798eSDimitry AndricSet to not build kernel modules that include sourceless native code for host CPU.
157890be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_UCODE
157990be798eSDimitry AndricSet to not build kernel modules that include sourceless microcode.
158090be798eSDimitry Andric.It Va WITHOUT_SSP
158190be798eSDimitry AndricSet to not build world with propolice stack smashing protection.
1582cc68b6e5SEd Maste.Pp
1583344e2bb9SEd MasteThis is a default setting on
158436e8c7bbSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
15850cd582c8SEnji Cooper.It Va WITH_SSP
15860cd582c8SEnji CooperSet to build world with propolice stack smashing protection.
15870cd582c8SEnji Cooper.Pp
1588344e2bb9SEd MasteThis is a default setting on
15897c605234SEnji Cooperamd64/amd64, arm/arm, arm/armeb, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64.
1590cc2520d2SSimon J. Gerraty.It Va WITH_STAGING
1591cc2520d2SSimon J. GerratyEnable staging of files to a stage tree.
1592cc2520d2SSimon J. GerratyThis can be best thought of as auto-install to
1593cc2520d2SSimon J. Gerraty.Va DESTDIR
1594cc2520d2SSimon J. Gerratywith some extra meta data to ensure dependencies can be tracked.
1595cc2520d2SSimon J. GerratyDepends on
159632b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD .
1597344e2bb9SEd MasteWhen set, these options are also in effect:
1598cc2520d2SSimon J. Gerraty.Pp
1599cc2520d2SSimon J. Gerraty.Bl -inset -compact
1600cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN
1601cc2520d2SSimon J. Gerraty(unless
1602cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_MAN
1603cc2520d2SSimon J. Gerratyis set explicitly)
1604cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG
1605cc2520d2SSimon J. Gerraty(unless
1606cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_PROG
1607cc2520d2SSimon J. Gerratyis set explicitly)
1608cc2520d2SSimon J. Gerraty.El
16090a70ef02SBryan Drewery.Pp
1610ba852870SBryan DreweryThis must be set in the environment, make command line, or
16110a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
16120a70ef02SBryan Drewerynot
16130a70ef02SBryan Drewery.Pa /etc/src.conf .
1614cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN
1615344e2bb9SEd MasteEnable staging of man pages to stage tree.
1616cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG
1617cc2520d2SSimon J. GerratyEnable staging of PROGs to stage tree.
1618cc2520d2SSimon J. Gerraty.It Va WITH_STALE_STAGED
1619cc2520d2SSimon J. GerratyCheck staged files are not stale.
162090be798eSDimitry Andric.It Va WITH_SVN
162190be798eSDimitry AndricSet to install
162290be798eSDimitry Andric.Xr svnlite 1
162390be798eSDimitry Andricas
162490be798eSDimitry Andric.Xr svn 1 .
162590be798eSDimitry Andric.It Va WITHOUT_SVNLITE
162690be798eSDimitry AndricSet to not build
162790be798eSDimitry Andric.Xr svnlite 1
162890be798eSDimitry Andricand related programs.
162990be798eSDimitry Andric.It Va WITHOUT_SYMVER
163090be798eSDimitry AndricSet to disable symbol versioning when building shared libraries.
163190be798eSDimitry Andric.It Va WITHOUT_SYSCONS
163290be798eSDimitry AndricSet to not build
163390be798eSDimitry Andric.Xr syscons 4
163490be798eSDimitry Andricsupport files such as keyboard maps, fonts, and screen output maps.
1635cc2520d2SSimon J. Gerraty.It Va WITH_SYSROOT
1636cc2520d2SSimon J. GerratyEnable use of sysroot during build.
1637cc2520d2SSimon J. GerratyDepends on
163832b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD .
16390a70ef02SBryan Drewery.Pp
1640ba852870SBryan DreweryThis must be set in the environment, make command line, or
16410a70ef02SBryan Drewery.Pa /etc/src-env.conf ,
16420a70ef02SBryan Drewerynot
16430a70ef02SBryan Drewery.Pa /etc/src.conf .
16448095b3c2SBryan Drewery.It Va WITHOUT_SYSTEM_COMPILER
16458095b3c2SBryan DrewerySet to not opportunistically skip building a cross-compiler during the
1646a9da9b86SBryan Drewerybootstrap phase of the build.
16478095b3c2SBryan DreweryNormally, if the currently installed compiler matches the planned bootstrap
16488095b3c2SBryan Drewerycompiler type and revision, then it will not be built.
1649a9da9b86SBryan DreweryThis does not prevent a compiler from being built for installation though,
1650a9da9b86SBryan Dreweryonly for building one for the build itself.
1651a9da9b86SBryan DreweryThe
1652a9da9b86SBryan Drewery.Va WITHOUT_CLANG
1653a9da9b86SBryan Dreweryand
1654a9da9b86SBryan Drewery.Va WITHOUT_GCC
1655a9da9b86SBryan Dreweryoptions control those.
1656be9309deSBryan Drewery.It Va WITHOUT_SYSTEM_LINKER
1657be9309deSBryan DrewerySet to not opportunistically skip building a cross-linker during the
1658be9309deSBryan Drewerybootstrap phase of the build.
1659be9309deSBryan DreweryNormally, if the currently installed linker matches the planned bootstrap
1660be9309deSBryan Drewerylinker type and revision, then it will not be built.
1661be9309deSBryan DreweryThis does not prevent a linker from being built for installation though,
1662be9309deSBryan Dreweryonly for building one for the build itself.
1663be9309deSBryan DreweryThe
1664be9309deSBryan Drewery.Va WITHOUT_LLD
1665be9309deSBryan Dreweryand
1666be9309deSBryan Drewery.Va WITHOUT_BINUTILS
1667be9309deSBryan Dreweryoptions control those.
1668be9309deSBryan Drewery.Pp
1669be9309deSBryan DreweryThis option is only relevant when
1670be9309deSBryan Drewery.Va WITH_LLD_BOOTSTRAP
1671be9309deSBryan Dreweryis set.
167293da8366SEnji Cooper.It Va WITHOUT_TALK
167393da8366SEnji CooperSet to not build or install
167493da8366SEnji Cooper.Xr talk 1
167593da8366SEnji Cooperand
167693da8366SEnji Cooper.Xr talkd 8 .
16770e0e9604SEnji Cooper.It Va WITHOUT_TCP_WRAPPERS
16780e0e9604SEnji CooperSet to not build or install
16790e0e9604SEnji Cooper.Xr tcpd 8 ,
16800e0e9604SEnji Cooperand related utilities.
168190be798eSDimitry Andric.It Va WITHOUT_TCSH
168290be798eSDimitry AndricSet to not build and install
168390be798eSDimitry Andric.Pa /bin/csh
168490be798eSDimitry Andric(which is
168590be798eSDimitry Andric.Xr tcsh 1 ) .
168690be798eSDimitry Andric.It Va WITHOUT_TELNET
168790be798eSDimitry AndricSet to not build
168823a6b49aSEdward Tomasz Napierala.Xr telnet 1
168990be798eSDimitry Andricand related programs.
169018c6fc4cSJulio Merino.It Va WITHOUT_TESTS
169118c6fc4cSJulio MerinoSet to not build nor install the
169290be798eSDimitry Andric.Fx
169390be798eSDimitry AndricTest Suite in
169490be798eSDimitry Andric.Pa /usr/tests/ .
169590be798eSDimitry AndricSee
169690be798eSDimitry Andric.Xr tests 7
169790be798eSDimitry Andricfor more details.
169818c6fc4cSJulio MerinoThis also disables the build of all test-related dependencies, including ATF.
16990780f5c3SJohn Baldwin.Pp
17000780f5c3SJohn BaldwinThis is a default setting on
17010780f5c3SJohn Baldwinriscv/riscv64 and riscv/riscv64sf.
1702344e2bb9SEd MasteWhen set, it enforces these options:
1703c5d09a87SGlen Barber.Pp
1704c5d09a87SGlen Barber.Bl -item -compact
1705c5d09a87SGlen Barber.It
170616f3fdf5SMark Johnston.Va WITHOUT_DTRACE_TESTS
1707*bf64e879SBryan Drewery.El
1708*bf64e879SBryan Drewery.Pp
1709*bf64e879SBryan DreweryWhen set, these options are also in effect:
1710*bf64e879SBryan Drewery.Pp
1711*bf64e879SBryan Drewery.Bl -inset -compact
1712*bf64e879SBryan Drewery.It Va WITHOUT_TESTS_SUPPORT
1713*bf64e879SBryan Drewery(unless
1714*bf64e879SBryan Drewery.Va WITH_TESTS_SUPPORT
1715*bf64e879SBryan Dreweryis set explicitly)
1716c5d09a87SGlen Barber.El
1717c5d09a87SGlen Barber.It Va WITHOUT_TESTS_SUPPORT
1718c5d09a87SGlen BarberSet to disables the build of all test-related dependencies, including ATF.
17190780f5c3SJohn Baldwin.Pp
17200780f5c3SJohn BaldwinThis is a default setting on
17210780f5c3SJohn Baldwinriscv/riscv64 and riscv/riscv64sf.
172290be798eSDimitry Andric.It Va WITHOUT_TEXTPROC
172390be798eSDimitry AndricSet to not build
172490be798eSDimitry Andricprograms used for text processing.
17250e0e9604SEnji Cooper.It Va WITHOUT_TFTP
17260e0e9604SEnji CooperSet to not build or install
17270e0e9604SEnji Cooper.Xr tftp 1
17280e0e9604SEnji Cooperand
17290e0e9604SEnji Cooper.Xr tftpd 8 .
17300e0e9604SEnji Cooper.It Va WITHOUT_TIMED
17310e0e9604SEnji CooperSet to not build or install
17320e0e9604SEnji Cooper.Xr timed 8 .
173390be798eSDimitry Andric.It Va WITHOUT_TOOLCHAIN
1734148bdd15SBrooks DavisSet to not install header or
173590be798eSDimitry Andricprograms used for program development,
173690be798eSDimitry Andriccompilers, debuggers etc.
1737344e2bb9SEd MasteWhen set, it enforces these options:
173890be798eSDimitry Andric.Pp
173990be798eSDimitry Andric.Bl -item -compact
174090be798eSDimitry Andric.It
174190be798eSDimitry Andric.Va WITHOUT_BINUTILS
174290be798eSDimitry Andric.It
174390be798eSDimitry Andric.Va WITHOUT_CLANG
174490be798eSDimitry Andric.It
174590be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS
174690be798eSDimitry Andric.It
174790be798eSDimitry Andric.Va WITHOUT_CLANG_FULL
174890be798eSDimitry Andric.It
174990be798eSDimitry Andric.Va WITHOUT_GCC
175090be798eSDimitry Andric.It
175190be798eSDimitry Andric.Va WITHOUT_GDB
1752c5d09a87SGlen Barber.It
1753c5d09a87SGlen Barber.Va WITHOUT_INCLUDES
17543d02549fSBryan Drewery.It
17556c2b7edaSEd Maste.Va WITHOUT_LLD
17566c2b7edaSEd Maste.It
17573d02549fSBryan Drewery.Va WITHOUT_LLDB
17585b9c3654SEd Maste.It
17595b9c3654SEd Maste.Va WITHOUT_LLVM_COV
176090be798eSDimitry Andric.El
176190be798eSDimitry Andric.It Va WITHOUT_UNBOUND
176290be798eSDimitry AndricSet to not build
176390be798eSDimitry Andric.Xr unbound 8
176490be798eSDimitry Andricand related programs.
1765efb949a6SBryan Drewery.It Va WITHOUT_UNIFIED_OBJDIR
1766efb949a6SBryan DrewerySet to use the historical object directory format for
1767efb949a6SBryan Drewery.Xr build 7
1768efb949a6SBryan Drewerytargets.
1769efb949a6SBryan DreweryFor native-builds and builds done directly in sub-directories the format of
1770efb949a6SBryan Drewery.Pa ${MAKEOBJDIRPREFIX}/${.CURDIR}
1771efb949a6SBryan Dreweryis used,
1772efb949a6SBryan Drewerywhile for cross-builds
1773efb949a6SBryan Drewery.Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR}
1774efb949a6SBryan Dreweryis used.
1775efb949a6SBryan Drewery.Pp
1776efb949a6SBryan DreweryThis option is transitional and will be removed before the 12.0 release,
1777efb949a6SBryan Dreweryat which time
1778efb949a6SBryan Drewery.va WITH_UNIFIED_OBJDIR
1779efb949a6SBryan Drewerywill be enabled permanently.
1780efb949a6SBryan Drewery.Pp
1781efb949a6SBryan DreweryThis must be set in the environment, make command line, or
1782efb949a6SBryan Drewery.Pa /etc/src-env.conf ,
1783efb949a6SBryan Drewerynot
1784efb949a6SBryan Drewery.Pa /etc/src.conf .
178590be798eSDimitry Andric.It Va WITHOUT_USB
178690be798eSDimitry AndricSet to not build USB-related programs and libraries.
1787c5d09a87SGlen Barber.It Va WITHOUT_USB_GADGET_EXAMPLES
1788d1040cedSWarren BlockSet to not build USB gadget kernel modules.
178990be798eSDimitry Andric.It Va WITHOUT_UTMPX
179090be798eSDimitry AndricSet to not build user accounting tools such as
179190be798eSDimitry Andric.Xr last 1 ,
179290be798eSDimitry Andric.Xr users 1 ,
179390be798eSDimitry Andric.Xr who 1 ,
179490be798eSDimitry Andric.Xr ac 8 ,
179590be798eSDimitry Andric.Xr lastlogin 8
179690be798eSDimitry Andricand
179790be798eSDimitry Andric.Xr utx 8 .
179890be798eSDimitry Andric.It Va WITHOUT_VI
179990be798eSDimitry AndricSet to not build and install vi, view, ex and related programs.
180090be798eSDimitry Andric.It Va WITHOUT_VT
180190be798eSDimitry AndricSet to not build
180290be798eSDimitry Andric.Xr vt 4
180390be798eSDimitry Andricsupport files (fonts and keymaps).
180490be798eSDimitry Andric.It Va WITHOUT_WARNS
180590be798eSDimitry AndricSet this to not add warning flags to the compiler invocations.
180690be798eSDimitry AndricUseful as a temporary workaround when code enters the tree
180790be798eSDimitry Andricwhich triggers warnings in environments that differ from the
1808559f9bfcSJens Schweikhardtoriginal developer.
180990be798eSDimitry Andric.It Va WITHOUT_WIRELESS
181090be798eSDimitry AndricSet to not build programs used for 802.11 wireless networks; especially
181190be798eSDimitry Andric.Xr wpa_supplicant 8
181290be798eSDimitry Andricand
181390be798eSDimitry Andric.Xr hostapd 8 .
1814*bf64e879SBryan DreweryWhen set, these options are also in effect:
181590be798eSDimitry Andric.Pp
1816*bf64e879SBryan Drewery.Bl -inset -compact
1817*bf64e879SBryan Drewery.It Va WITHOUT_WIRELESS_SUPPORT
1818*bf64e879SBryan Drewery(unless
1819*bf64e879SBryan Drewery.Va WITH_WIRELESS_SUPPORT
1820*bf64e879SBryan Dreweryis set explicitly)
182190be798eSDimitry Andric.El
182290be798eSDimitry Andric.It Va WITHOUT_WIRELESS_SUPPORT
182390be798eSDimitry AndricSet to build libraries, programs, and kernel modules without
182490be798eSDimitry Andric802.11 wireless support.
182590be798eSDimitry Andric.It Va WITHOUT_WPA_SUPPLICANT_EAPOL
182690be798eSDimitry AndricBuild
182790be798eSDimitry Andric.Xr wpa_supplicant 8
182890be798eSDimitry Andricwithout support for the IEEE 802.1X protocol and without
182990be798eSDimitry Andricsupport for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
183090be798eSDimitry Andricprotocols (usable only via 802.1X).
183190be798eSDimitry Andric.It Va WITHOUT_ZFS
183290be798eSDimitry AndricSet to not build ZFS file system.
183390be798eSDimitry Andric.It Va WITHOUT_ZONEINFO
183490be798eSDimitry AndricSet to not build the timezone database.
18355c021049SEnji CooperWhen set, it enforces these options:
18365c021049SEnji Cooper.Pp
18375c021049SEnji Cooper.Bl -item -compact
18385c021049SEnji Cooper.It
18395c021049SEnji Cooper.Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
18405c021049SEnji Cooper.It
18415c021049SEnji Cooper.Va WITHOUT_ZONEINFO_OLD_TIMEZONES_SUPPORT
18425c021049SEnji Cooper.El
18435c021049SEnji Cooper.It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
18445c021049SEnji CooperSet to build leapsecond information in to the timezone database.
18455c021049SEnji Cooper.It Va WITH_ZONEINFO_OLD_TIMEZONES_SUPPORT
18465c021049SEnji CooperSet to build backward compatibility timezone aliases in to the timezone
18475c021049SEnji Cooperdatabase.
184890be798eSDimitry Andric.El
184990be798eSDimitry Andric.Sh FILES
185090be798eSDimitry Andric.Bl -tag -compact -width Pa
185190be798eSDimitry Andric.It Pa /etc/src.conf
18520a70ef02SBryan Drewery.It Pa /etc/src-env.conf
185390be798eSDimitry Andric.It Pa /usr/share/mk/bsd.own.mk
185490be798eSDimitry Andric.El
185590be798eSDimitry Andric.Sh SEE ALSO
185690be798eSDimitry Andric.Xr make 1 ,
185790be798eSDimitry Andric.Xr make.conf 5 ,
185890be798eSDimitry Andric.Xr build 7 ,
185990be798eSDimitry Andric.Xr ports 7
186090be798eSDimitry Andric.Sh HISTORY
186190be798eSDimitry AndricThe
186290be798eSDimitry Andric.Nm
186390be798eSDimitry Andricfile appeared in
186490be798eSDimitry Andric.Fx 7.0 .
186590be798eSDimitry Andric.Sh AUTHORS
186688342134SEnji CooperThis manual page was autogenerated by
1867a121d3a8SEnji Cooper.An tools/build/options/makeman .
1868