1b1a0e564SEitan Adler.\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman. 2fa07cb9cSRuslan Ermilov.\" $FreeBSD$ 3*fa3c36d3SEd Maste.Dd January 19, 2020 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. 10363b149ffSEd Maste.It Va WITH_AMD 1048683408cSEd MasteSet to build the legacy 1058683408cSEd Maste.Xr amd 8 1068683408cSEd Masteautomount daemon and related programs. 1078683408cSEd MasteNote that 1088683408cSEd Maste.Xr autofs 5 1098683408cSEd Masteis the preferred automount technique. 110aaa6d7ebSSam Leffler.It Va WITHOUT_APM 111aaa6d7ebSSam LefflerSet to not build 112aaa6d7ebSSam Leffler.Xr apm 8 , 113aaa6d7ebSSam Leffler.Xr apmd 8 114aaa6d7ebSSam Lefflerand related programs. 115e567b213SRuslan Ermilov.It Va WITHOUT_ASSERT_DEBUG 116e567b213SRuslan ErmilovSet to compile programs and libraries without the 117e567b213SRuslan Ermilov.Xr assert 3 118e567b213SRuslan Ermilovchecks. 119aaa6d7ebSSam Leffler.It Va WITHOUT_AT 120aaa6d7ebSSam LefflerSet to not build 121aaa6d7ebSSam Leffler.Xr at 1 122aaa6d7ebSSam Lefflerand related utilities. 123fa07cb9cSRuslan Ermilov.It Va WITHOUT_ATM 124fa07cb9cSRuslan ErmilovSet to not build 125fa07cb9cSRuslan Ermilovprograms and libraries related to ATM networking. 126fa07cb9cSRuslan Ermilov.It Va WITHOUT_AUDIT 127fa07cb9cSRuslan ErmilovSet to not build audit support into system programs. 128fa07cb9cSRuslan Ermilov.It Va WITHOUT_AUTHPF 129fa07cb9cSRuslan ErmilovSet to not build 130fa07cb9cSRuslan Ermilov.Xr authpf 8 . 13161940879SEnji Cooper.It Va WITHOUT_AUTOFS 13261940879SEnji CooperSet to not build 1334b9f77e4SEdward Tomasz Napierala.Xr autofs 5 13461940879SEnji Cooperrelated programs, libraries, and kernel modules. 135906a1c6cSBryan Drewery.It Va WITHOUT_AUTO_OBJ 136906a1c6cSBryan DreweryDisable automatic creation of objdirs. 137906a1c6cSBryan DreweryThis is enabled by default if the wanted OBJDIR is writable by the current user. 1380a70ef02SBryan Drewery.Pp 139ba852870SBryan DreweryThis must be set in the environment, make command line, or 1400a70ef02SBryan Drewery.Pa /etc/src-env.conf , 1410a70ef02SBryan Drewerynot 1420a70ef02SBryan Drewery.Pa /etc/src.conf . 143bfdf8aa9SJohn Baldwin.It Va WITH_BEARSSL 144bfdf8aa9SJohn BaldwinBuild the BearSSL library. 145bfdf8aa9SJohn Baldwin.Pp 146bfdf8aa9SJohn BaldwinBearSSL is a tiny SSL library suitable for embedded environments. 147bfdf8aa9SJohn BaldwinFor details see 148bfdf8aa9SJohn Baldwin.Lk http://www.BearSSL.org/ 149bfdf8aa9SJohn Baldwin.Pp 150bfdf8aa9SJohn BaldwinThis library is currently only used to perform 151bfdf8aa9SJohn Baldwinsignature verification and related operations 152bfdf8aa9SJohn Baldwinfor Verified Exec and 153bfdf8aa9SJohn Baldwin.Xr loader 8 . 154bfdf8aa9SJohn BaldwinWhen set, these options are also in effect: 155bfdf8aa9SJohn Baldwin.Pp 156bfdf8aa9SJohn Baldwin.Bl -inset -compact 157bfdf8aa9SJohn Baldwin.It Va WITH_LOADER_EFI_SECUREBOOT 158bfdf8aa9SJohn Baldwin(unless 159bfdf8aa9SJohn Baldwin.Va WITHOUT_LOADER_EFI_SECUREBOOT 160bfdf8aa9SJohn Baldwinis set explicitly) 161bfdf8aa9SJohn Baldwin.It Va WITH_LOADER_VERIEXEC 162bfdf8aa9SJohn Baldwin(unless 163bfdf8aa9SJohn Baldwin.Va WITHOUT_LOADER_VERIEXEC 164bfdf8aa9SJohn Baldwinis set explicitly) 165bfdf8aa9SJohn Baldwin.It Va WITH_VERIEXEC 166bfdf8aa9SJohn Baldwin(unless 167bfdf8aa9SJohn Baldwin.Va WITHOUT_VERIEXEC 168bfdf8aa9SJohn Baldwinis set explicitly) 169bfdf8aa9SJohn Baldwin.El 17061940879SEnji Cooper.It Va WITHOUT_BHYVE 17161940879SEnji CooperSet to not build or install 17261940879SEnji Cooper.Xr bhyve 8 , 17361940879SEnji Cooperassociated utilities, and examples. 17461940879SEnji Cooper.Pp 17561940879SEnji CooperThis option only affects amd64/amd64. 1761f3b049dSEd Maste.It Va WITH_BIND_NOW 1771f3b049dSEd MasteBuild all binaries with the 1781f3b049dSEd Maste.Dv DF_BIND_NOW 1791f3b049dSEd Masteflag set to indicate that the run-time loader should perform all relocation 1801f3b049dSEd Masteprocessing at process startup rather than on demand. 18190be798eSDimitry Andric.It Va WITHOUT_BINUTILS 1829f4e04c1SEd MasteDo not build or install GNU 1830179c835SEd Maste.Xr as 1 , 1849f4e04c1SEd Maste.Xr ld.bfd 1 , and 1859f4e04c1SEd Maste.Xr objdump 1 1860179c835SEd Masteas part 18790be798eSDimitry Andricof the normal system build. 1885be09b10SEd Maste.Pp 189344e2bb9SEd MasteThis is a default setting on 1904cee74dfSEd Mastearm64/aarch64, riscv/riscv64 and riscv/riscv64sf. 1915977355fSBryan Drewery.It Va WITH_BINUTILS 192*fa3c36d3SEd MasteBuild and install GNU 193*fa3c36d3SEd Maste.Xr as 1 194*fa3c36d3SEd Masteon i386 and amd64, 1950179c835SEd Maste.Xr objdump 1 , 196*fa3c36d3SEd Masteand 1970179c835SEd Maste.Xr ld.bfd 1 198*fa3c36d3SEd Masteon powerpc as part of the normal system build. 1995977355fSBryan Drewery.Pp 200344e2bb9SEd MasteThis is a default setting on 2014cee74dfSEd Masteamd64/amd64, 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 and sparc64/sparc64. 20290be798eSDimitry Andric.It Va WITHOUT_BINUTILS_BOOTSTRAP 2039f4e04c1SEd MasteDo not build binutils (as, ld.bfd, and objdump) 20490be798eSDimitry Andricas part of the bootstrap process. 2055be09b10SEd Maste.Pp 206344e2bb9SEd MasteThis is a default setting on 207*fa3c36d3SEd Mastearm/armv6, arm/armv7, arm64/aarch64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 2085977355fSBryan Drewery.It Va WITH_BINUTILS_BOOTSTRAP 209*fa3c36d3SEd MasteBuild binutils (as on i386 and amd64, objdump, and ld on powerpc) 2105977355fSBryan Dreweryas part of the bootstrap process. 2115977355fSBryan Drewery.Pp 212344e2bb9SEd MasteThis is a default setting on 213*fa3c36d3SEd Masteamd64/amd64, i386/i386, powerpc/powerpc and powerpc/powerpc64. 2140341a043SBryan Drewery.It Va WITHOUT_BLACKLIST 2154650b8aeSEnji CooperSet this if you do not want to build 2164650b8aeSEnji Cooper.Xr blacklistd 8 2174650b8aeSEnji Cooperand 2184650b8aeSEnji Cooper.Xr blacklistctl 8 . 219bf64e879SBryan DreweryWhen set, these options are also in effect: 2200341a043SBryan Drewery.Pp 221bf64e879SBryan Drewery.Bl -inset -compact 222bf64e879SBryan Drewery.It Va WITHOUT_BLACKLIST_SUPPORT 223bf64e879SBryan Drewery(unless 224bf64e879SBryan Drewery.Va WITH_BLACKLIST_SUPPORT 225bf64e879SBryan Dreweryis set explicitly) 2260341a043SBryan Drewery.El 2270341a043SBryan Drewery.It Va WITHOUT_BLACKLIST_SUPPORT 2284650b8aeSEnji CooperSet to build some programs without 2294650b8aeSEnji Cooper.Xr libblacklist 3 2304650b8aeSEnji Coopersupport, like 2310341a043SBryan Drewery.Xr fingerd 8 , 2320341a043SBryan Drewery.Xr ftpd 8 , 2330341a043SBryan Dreweryand 2340341a043SBryan Drewery.Xr sshd 8 . 23590be798eSDimitry Andric.It Va WITHOUT_BLUETOOTH 23690be798eSDimitry AndricSet to not build Bluetooth related kernel modules, programs and libraries. 23790be798eSDimitry Andric.It Va WITHOUT_BOOT 23890be798eSDimitry AndricSet to not build the boot blocks and loader. 2390e0e9604SEnji Cooper.It Va WITHOUT_BOOTPARAMD 2400e0e9604SEnji CooperSet to not build or install 2410e0e9604SEnji Cooper.Xr bootparamd 8 . 2420e0e9604SEnji Cooper.It Va WITHOUT_BOOTPD 2430e0e9604SEnji CooperSet to not build or install 2440e0e9604SEnji Cooper.Xr bootpd 8 . 24593da8366SEnji Cooper.It Va WITHOUT_BSDINSTALL 24693da8366SEnji CooperSet to not build 24793da8366SEnji Cooper.Xr bsdinstall 8 , 24893da8366SEnji Cooper.Xr sade 8 , 24993da8366SEnji Cooperand related programs. 25090be798eSDimitry Andric.It Va WITHOUT_BSD_CPIO 25190be798eSDimitry AndricSet to not build the BSD licensed version of cpio based on 25290be798eSDimitry Andric.Xr libarchive 3 . 2530179c835SEd Maste.It Va WITHOUT_BSD_CRTBEGIN 2540179c835SEd MasteDisable the BSD licensed 25582a0f53dSAndrew Turner.Pa crtbegin.o 25682a0f53dSAndrew Turnerand 25782a0f53dSAndrew Turner.Pa crtend.o . 25853fc043dSGeorge V. Neville-Neil.Pp 25953fc043dSGeorge V. Neville-NeilThis is a default setting on 2603a26da0bSEd Mastesparc64/sparc64. 26153fc043dSGeorge V. Neville-Neil.It Va WITH_BSD_CRTBEGIN 26253fc043dSGeorge V. Neville-NeilEnable the BSD licensed 26353fc043dSGeorge V. Neville-Neil.Pa crtbegin.o 26453fc043dSGeorge V. Neville-Neiland 26553fc043dSGeorge V. Neville-Neil.Pa crtend.o . 26653fc043dSGeorge V. Neville-Neil.Pp 26753fc043dSGeorge V. Neville-NeilThis is a default setting on 2684cee74dfSEd Masteamd64/amd64, 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, riscv/riscv64 and riscv/riscv64sf. 26990be798eSDimitry Andric.It Va WITH_BSD_GREP 27090be798eSDimitry AndricInstall BSD-licensed grep as '[ef]grep' instead of GNU grep. 27190be798eSDimitry Andric.It Va WITHOUT_BSNMP 27290be798eSDimitry AndricSet to not build or install 27390be798eSDimitry Andric.Xr bsnmpd 1 27490be798eSDimitry Andricand related libraries and data files. 27590be798eSDimitry Andric.It Va WITHOUT_BZIP2 27690be798eSDimitry AndricSet to not build contributed bzip2 software as a part of the base system. 27790be798eSDimitry Andric.Bf -symbolic 27890be798eSDimitry AndricThe option has no effect yet. 27990be798eSDimitry Andric.Ef 280bf64e879SBryan DreweryWhen set, these options are also in effect: 28190be798eSDimitry Andric.Pp 282bf64e879SBryan Drewery.Bl -inset -compact 283bf64e879SBryan Drewery.It Va WITHOUT_BZIP2_SUPPORT 284bf64e879SBryan Drewery(unless 285bf64e879SBryan Drewery.Va WITH_BZIP2_SUPPORT 286bf64e879SBryan Dreweryis set explicitly) 28790be798eSDimitry Andric.El 28890be798eSDimitry Andric.It Va WITHOUT_BZIP2_SUPPORT 28990be798eSDimitry AndricSet to build some programs without optional bzip2 support. 29090be798eSDimitry Andric.It Va WITHOUT_CALENDAR 29190be798eSDimitry AndricSet to not build 29290be798eSDimitry Andric.Xr calendar 1 . 29390be798eSDimitry Andric.It Va WITHOUT_CAPSICUM 29490be798eSDimitry AndricSet to not build Capsicum support into system programs. 295344e2bb9SEd MasteWhen set, it enforces these options: 296aced6942SBaptiste Daroussin.Pp 297aced6942SBaptiste Daroussin.Bl -item -compact 298aced6942SBaptiste Daroussin.It 299aced6942SBaptiste Daroussin.Va WITHOUT_CASPER 300aced6942SBaptiste Daroussin.El 301de19b521SDimitry Andric.It Va WITHOUT_CAROOT 302de19b521SDimitry AndricSet to not add the trusted certificates from the Mozilla NSS bundle to 303de19b521SDimitry Andricbase. 30490be798eSDimitry Andric.It Va WITHOUT_CASPER 30590be798eSDimitry AndricSet to not build Casper program and related libraries. 3061c01e4f8SBryan Drewery.It Va WITH_CCACHE_BUILD 3071c01e4f8SBryan DrewerySet to use 3081c01e4f8SBryan Drewery.Xr ccache 1 3091c01e4f8SBryan Dreweryfor the build. 3101c01e4f8SBryan DreweryNo configuration is required except to install the 3111c01e4f8SBryan Drewery.Sy devel/ccache 3121c01e4f8SBryan Drewerypackage. 313344e2bb9SEd MasteWhen using with 314344e2bb9SEd Maste.Xr distcc 1 , 315344e2bb9SEd Masteset 3161c01e4f8SBryan Drewery.Sy CCACHE_PREFIX=/usr/local/bin/distcc . 3171c01e4f8SBryan DreweryThe default cache directory of 3181c01e4f8SBryan Drewery.Pa $HOME/.ccache 3191c01e4f8SBryan Drewerywill be used, which can be overridden by setting 3201c01e4f8SBryan Drewery.Sy CCACHE_DIR . 3211c01e4f8SBryan DreweryThe 3221c01e4f8SBryan Drewery.Sy CCACHE_COMPILERCHECK 3231c01e4f8SBryan Dreweryoption defaults to 3241c01e4f8SBryan Drewery.Sy content 3251c01e4f8SBryan Drewerywhen using the in-tree bootstrap compiler, 3261c01e4f8SBryan Dreweryand 3271c01e4f8SBryan Drewery.Sy mtime 3281c01e4f8SBryan Drewerywhen using an external compiler. 3291c01e4f8SBryan DreweryThe 3301c01e4f8SBryan Drewery.Sy CCACHE_CPP2 3311c01e4f8SBryan Dreweryoption is used for Clang but not GCC. 3321c01e4f8SBryan Drewery.Pp 3331c01e4f8SBryan DrewerySharing a cache between multiple work directories requires using a layout 3341c01e4f8SBryan Drewerysimilar to 3351c01e4f8SBryan Drewery.Pa /some/prefix/src 3361c01e4f8SBryan Drewery.Pa /some/prefix/obj 3371c01e4f8SBryan Dreweryand an environment such as: 3381c01e4f8SBryan Drewery.Bd -literal -offset indent 3391c01e4f8SBryan DreweryCCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj' 3401c01e4f8SBryan Drewery.Ed 3411c01e4f8SBryan Drewery.Pp 3421c01e4f8SBryan DrewerySee 3431c01e4f8SBryan Drewery.Xr ccache 1 3441c01e4f8SBryan Dreweryfor more configuration options. 34593da8366SEnji Cooper.It Va WITHOUT_CCD 34693da8366SEnji CooperSet to not build 34793da8366SEnji Cooper.Xr geom_ccd 4 34893da8366SEnji Cooperand related utilities. 34990be798eSDimitry Andric.It Va WITHOUT_CDDL 35090be798eSDimitry AndricSet to not build code licensed under Sun's CDDL. 351344e2bb9SEd MasteWhen set, it enforces these options: 35290be798eSDimitry Andric.Pp 35390be798eSDimitry Andric.Bl -item -compact 35490be798eSDimitry Andric.It 35590be798eSDimitry Andric.Va WITHOUT_CTF 35690be798eSDimitry Andric.It 3571f7d1483SEd Maste.Va WITHOUT_LOADER_ZFS 3581f7d1483SEd Maste.It 35990be798eSDimitry Andric.Va WITHOUT_ZFS 36090be798eSDimitry Andric.El 36190be798eSDimitry Andric.It Va WITHOUT_CLANG 36290be798eSDimitry AndricSet to not build the Clang C/C++ compiler during the regular phase of the build. 36390be798eSDimitry Andric.Pp 364344e2bb9SEd MasteThis is a default setting on 365f3cdc622SEd Mastesparc64/sparc64. 366344e2bb9SEd MasteWhen set, it enforces these options: 36790be798eSDimitry Andric.Pp 36890be798eSDimitry Andric.Bl -item -compact 36990be798eSDimitry Andric.It 37090be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS 37190be798eSDimitry Andric.It 37290be798eSDimitry Andric.Va WITHOUT_CLANG_FULL 3735b9c3654SEd Maste.It 3745b9c3654SEd Maste.Va WITHOUT_LLVM_COV 37590be798eSDimitry Andric.El 37690be798eSDimitry Andric.It Va WITH_CLANG 37790be798eSDimitry AndricSet to build the Clang C/C++ compiler during the normal phase of the build. 37890be798eSDimitry Andric.Pp 379344e2bb9SEd MasteThis is a default setting on 3804cee74dfSEd Masteamd64/amd64, 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, riscv/riscv64 and riscv/riscv64sf. 38190be798eSDimitry Andric.It Va WITHOUT_CLANG_BOOTSTRAP 382344e2bb9SEd MasteSet to not build the Clang C/C++ compiler during the bootstrap phase of 383344e2bb9SEd Mastethe build. 384344e2bb9SEd MasteTo be able to build the system, either gcc or clang bootstrap must be 385344e2bb9SEd Masteenabled unless an alternate compiler is provided via XCC. 38690be798eSDimitry Andric.Pp 387344e2bb9SEd MasteThis is a default setting on 3884cee74dfSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64. 38990be798eSDimitry Andric.It Va WITH_CLANG_BOOTSTRAP 39090be798eSDimitry AndricSet to build the Clang C/C++ compiler during the bootstrap phase of the build. 39190be798eSDimitry Andric.Pp 392344e2bb9SEd MasteThis is a default setting on 3934cee74dfSEd Masteamd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf. 39490be798eSDimitry Andric.It Va WITH_CLANG_EXTRAS 395b3a27c81SEd MasteSet to build additional clang and llvm tools, such as bugpoint and 396b3a27c81SEd Masteclang-format. 39790be798eSDimitry Andric.It Va WITHOUT_CLANG_FULL 39890be798eSDimitry AndricSet to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of 39990be798eSDimitry Andricthe Clang C/C++ compiler. 40090be798eSDimitry Andric.Pp 401344e2bb9SEd MasteThis is a default setting on 402f3cdc622SEd Mastesparc64/sparc64. 40390be798eSDimitry Andric.It Va WITH_CLANG_FULL 40490be798eSDimitry AndricSet to build the ARCMigrate, Rewriter and StaticAnalyzer components of the 40590be798eSDimitry AndricClang C/C++ compiler. 40690be798eSDimitry Andric.Pp 407344e2bb9SEd MasteThis is a default setting on 4084cee74dfSEd Masteamd64/amd64, 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, riscv/riscv64 and riscv/riscv64sf. 40990be798eSDimitry Andric.It Va WITHOUT_CLANG_IS_CC 4108683408cSEd MasteDo not install links to the Clang C/C++ compiler as 41190be798eSDimitry Andric.Pa /usr/bin/cc , 41290be798eSDimitry Andric.Pa /usr/bin/c++ 41390be798eSDimitry Andricand 41490be798eSDimitry Andric.Pa /usr/bin/cpp . 4158683408cSEd MasteIf 4168683408cSEd Maste.Va WITH_GCC 4178683408cSEd Masteis set then links to the GCC C/C++ compiler will be installed instead. 41890be798eSDimitry Andric.Pp 419344e2bb9SEd MasteThis is a default setting on 4204cee74dfSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and sparc64/sparc64. 42190be798eSDimitry Andric.It Va WITH_CLANG_IS_CC 4228683408cSEd MasteInstall links to the Clang C/C++ compiler as 42390be798eSDimitry Andric.Pa /usr/bin/cc , 42490be798eSDimitry Andric.Pa /usr/bin/c++ 42590be798eSDimitry Andricand 42690be798eSDimitry Andric.Pa /usr/bin/cpp . 42790be798eSDimitry Andric.Pp 428344e2bb9SEd MasteThis is a default setting on 4294cee74dfSEd Masteamd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf. 43090be798eSDimitry Andric.It Va WITHOUT_CPP 43190be798eSDimitry AndricSet to not build 43290be798eSDimitry Andric.Xr cpp 1 . 43390be798eSDimitry Andric.It Va WITHOUT_CROSS_COMPILER 43490be798eSDimitry AndricSet to not build any cross compiler in the cross-tools stage of buildworld. 435344e2bb9SEd MasteWhen compiling a different version of 43690be798eSDimitry Andric.Fx 437344e2bb9SEd Mastethan what is installed on the system, provide an alternate 43890be798eSDimitry Andriccompiler with XCC to ensure success. 439344e2bb9SEd MasteWhen compiling with an identical version of 44090be798eSDimitry Andric.Fx 44190be798eSDimitry Andricto the host, this option may be safely used. 44290be798eSDimitry AndricThis option may also be safe when the host version of 44390be798eSDimitry Andric.Fx 44490be798eSDimitry Andricis close to the sources being built, but all bets are off if there have 44590be798eSDimitry Andricbeen any changes to the toolchain between the versions. 446344e2bb9SEd MasteWhen set, it enforces these options: 44790be798eSDimitry Andric.Pp 44890be798eSDimitry Andric.Bl -item -compact 44990be798eSDimitry Andric.It 45090be798eSDimitry Andric.Va WITHOUT_BINUTILS_BOOTSTRAP 45190be798eSDimitry Andric.It 45290be798eSDimitry Andric.Va WITHOUT_CLANG_BOOTSTRAP 45390be798eSDimitry Andric.It 454f972b8a4SBryan Drewery.Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP 455f972b8a4SBryan Drewery.It 45690be798eSDimitry Andric.Va WITHOUT_GCC_BOOTSTRAP 45728f52545SEd Maste.It 45828f52545SEd Maste.Va WITHOUT_LLD_BOOTSTRAP 45990be798eSDimitry Andric.El 46090be798eSDimitry Andric.It Va WITHOUT_CRYPT 46190be798eSDimitry AndricSet to not build any crypto code. 462344e2bb9SEd MasteWhen set, it enforces these options: 46390be798eSDimitry Andric.Pp 46490be798eSDimitry Andric.Bl -item -compact 46590be798eSDimitry Andric.It 4669f4e04c1SEd Maste.Va WITHOUT_DMAGENT 4679f4e04c1SEd Maste.It 46890be798eSDimitry Andric.Va WITHOUT_KERBEROS 46990be798eSDimitry Andric.It 470fb27d7aeSEd Maste.Va WITHOUT_KERBEROS_SUPPORT 471fb27d7aeSEd Maste.It 472da39b3adSEd Maste.Va WITHOUT_LDNS 473da39b3adSEd Maste.It 474da39b3adSEd Maste.Va WITHOUT_LDNS_UTILS 475da39b3adSEd Maste.It 47690be798eSDimitry Andric.Va WITHOUT_OPENSSH 47790be798eSDimitry Andric.It 47890be798eSDimitry Andric.Va WITHOUT_OPENSSL 479da39b3adSEd Maste.It 480da39b3adSEd Maste.Va WITHOUT_UNBOUND 48190be798eSDimitry Andric.El 48290be798eSDimitry Andric.Pp 483344e2bb9SEd MasteWhen set, these options are also in effect: 48490be798eSDimitry Andric.Pp 48590be798eSDimitry Andric.Bl -inset -compact 48690be798eSDimitry Andric.It Va WITHOUT_GSSAPI 48790be798eSDimitry Andric(unless 48890be798eSDimitry Andric.Va WITH_GSSAPI 48990be798eSDimitry Andricis set explicitly) 49090be798eSDimitry Andric.El 49190be798eSDimitry Andric.It Va WITH_CTF 49290be798eSDimitry AndricSet to compile with CTF (Compact C Type Format) data. 49390be798eSDimitry AndricCTF data encapsulates a reduced form of debugging information 49490be798eSDimitry Andricsimilar to DWARF and the venerable stabs and is required for DTrace. 49554d8c5d5SBryan Drewery.It Va WITHOUT_CUSE 49654d8c5d5SBryan DrewerySet to not build CUSE-related programs and libraries. 4979cf76983SNavdeep Parhar.It Va WITHOUT_CXGBETOOL 4989cf76983SNavdeep ParharSet to not build 4999cf76983SNavdeep Parhar.Xr cxgbetool 8 5009cf76983SNavdeep Parhar.Pp 5019cf76983SNavdeep ParharThis is a default setting on 5024cee74dfSEd Mastearm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf. 5039cf76983SNavdeep Parhar.It Va WITH_CXGBETOOL 5049cf76983SNavdeep ParharSet to build 5059cf76983SNavdeep Parhar.Xr cxgbetool 8 5069cf76983SNavdeep Parhar.Pp 5079cf76983SNavdeep ParharThis is a default setting on 508f8783225SEd Masteamd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64. 50990be798eSDimitry Andric.It Va WITHOUT_CXX 51090be798eSDimitry AndricSet to not build 5114a62dc3aSBryan Drewery.Xr c++ 1 51290be798eSDimitry Andricand related libraries. 51390be798eSDimitry AndricIt will also prevent building of 51490be798eSDimitry Andric.Xr gperf 1 51590be798eSDimitry Andricand 51690be798eSDimitry Andric.Xr devd 8 . 517344e2bb9SEd MasteWhen set, it enforces these options: 51890be798eSDimitry Andric.Pp 51990be798eSDimitry Andric.Bl -item -compact 52090be798eSDimitry Andric.It 52190be798eSDimitry Andric.Va WITHOUT_CLANG 52290be798eSDimitry Andric.It 52390be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS 52490be798eSDimitry Andric.It 52590be798eSDimitry Andric.Va WITHOUT_CLANG_FULL 52690be798eSDimitry Andric.It 527051ea717SEd Maste.Va WITHOUT_DTRACE_TESTS 528051ea717SEd Maste.It 52918c6fc4cSJulio Merino.Va WITHOUT_GNUCXX 53018c6fc4cSJulio Merino.It 531770379b9SEd Maste.Va WITHOUT_GOOGLETEST 532770379b9SEd Maste.It 5335b9c3654SEd Maste.Va WITHOUT_LLVM_COV 5345b9c3654SEd Maste.It 535051ea717SEd Maste.Va WITHOUT_TESTS 53690be798eSDimitry Andric.El 5374a5e4462SEd Maste.It Va WITHOUT_DEBUG_FILES 5384a5e4462SEd MasteSet to avoid building or installing standalone debug files for each 5394a5e4462SEd Masteexecutable binary and shared library. 540cc68b6e5SEd Maste.It Va WITHOUT_DIALOG 541344e2bb9SEd MasteSet to not build 542344e2bb9SEd Maste.Xr dialog 1 , 543344e2bb9SEd Maste.Xr dialog 3 , 544344e2bb9SEd Maste.Xr dpv 1 , 545344e2bb9SEd Masteand 546344e2bb9SEd Maste.Xr dpv 3 . 547344e2bb9SEd MasteWhen set, it enforces these options: 548cc68b6e5SEd Maste.Pp 549cc68b6e5SEd Maste.Bl -item -compact 550cc68b6e5SEd Maste.It 551cc68b6e5SEd Maste.Va WITHOUT_BSDINSTALL 552cc68b6e5SEd Maste.El 55390be798eSDimitry Andric.It Va WITHOUT_DICT 55490be798eSDimitry AndricSet to not build the Webster dictionary files. 55532b5dc9aSSimon J. Gerraty.It Va WITH_DIRDEPS_BUILD 556be894451SBryan DreweryThis is an experimental build system. 55732b5dc9aSSimon J. GerratyFor details see 55832b5dc9aSSimon J. Gerratyhttp://www.crufty.net/sjg/docs/freebsd-meta-mode.htm. 559be894451SBryan DreweryBuild commands can be seen from the top-level with: 560be894451SBryan Drewery.Dl make show-valid-targets 56132b5dc9aSSimon J. GerratyThe build is driven by dirdeps.mk using 56232b5dc9aSSimon J. Gerraty.Va DIRDEPS 56332b5dc9aSSimon J. Gerratystored in 56432b5dc9aSSimon J. GerratyMakefile.depend files found in each directory. 56532b5dc9aSSimon J. Gerraty.Pp 56632b5dc9aSSimon J. GerratyThe build can be started from anywhere, and behaves the same. 56732b5dc9aSSimon J. GerratyThe initial instance of 56832b5dc9aSSimon J. Gerraty.Xr make 1 56932b5dc9aSSimon J. Gerratyrecursively reads 57032b5dc9aSSimon J. Gerraty.Va DIRDEPS 571344e2bb9SEd Mastefrom 572344e2bb9SEd Maste.Pa Makefile.depend , 57332b5dc9aSSimon J. Gerratycomputing a graph of tree dependencies from the current origin. 57432b5dc9aSSimon J. GerratySetting 57532b5dc9aSSimon J. Gerraty.Va NO_DIRDEPS 576344e2bb9SEd Masteskips checking dirdep dependencies and will only build in the current 5777f76a95cSBryan Dreweryand child directories. 5787f76a95cSBryan Drewery.Va NO_DIRDEPS_BELOW 579344e2bb9SEd Masteskips building any dirdeps and only build the current directory. 58032b5dc9aSSimon J. Gerraty.Pp 581be894451SBryan DreweryThis also utilizes the 582be894451SBryan Drewery.Va WITH_META_MODE 583be894451SBryan Drewerylogic for incremental builds. 58432b5dc9aSSimon J. Gerraty.Pp 585344e2bb9SEd MasteThe build hides commands executed unless 58632b5dc9aSSimon J. Gerraty.Va NO_SILENT 58732b5dc9aSSimon J. Gerratyis defined. 58832b5dc9aSSimon J. Gerraty.Pp 589be894451SBryan DreweryNote that there is currently no mass install feature for this. 590be894451SBryan Drewery.Pp 591344e2bb9SEd MasteWhen set, it enforces these options: 59232b5dc9aSSimon J. Gerraty.Pp 59332b5dc9aSSimon J. Gerraty.Bl -item -compact 59432b5dc9aSSimon J. Gerraty.It 59532b5dc9aSSimon J. Gerraty.Va WITH_INSTALL_AS_USER 59632b5dc9aSSimon J. Gerraty.El 59732b5dc9aSSimon J. Gerraty.Pp 598344e2bb9SEd MasteWhen set, these options are also in effect: 59932b5dc9aSSimon J. Gerraty.Pp 60032b5dc9aSSimon J. Gerraty.Bl -inset -compact 60126b79d5bSHajimu UMEMOTO.It Va WITH_META_MODE 60226b79d5bSHajimu UMEMOTO(unless 60326b79d5bSHajimu UMEMOTO.Va WITHOUT_META_MODE 60426b79d5bSHajimu UMEMOTOis set explicitly) 60532b5dc9aSSimon J. Gerraty.It Va WITH_STAGING 60632b5dc9aSSimon J. Gerraty(unless 60732b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING 60832b5dc9aSSimon J. Gerratyis set explicitly) 60932b5dc9aSSimon J. Gerraty.It Va WITH_STAGING_MAN 61032b5dc9aSSimon J. Gerraty(unless 61132b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING_MAN 61232b5dc9aSSimon J. Gerratyis set explicitly) 61332b5dc9aSSimon J. Gerraty.It Va WITH_STAGING_PROG 61432b5dc9aSSimon J. Gerraty(unless 61532b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING_PROG 61632b5dc9aSSimon J. Gerratyis set explicitly) 61732b5dc9aSSimon J. Gerraty.It Va WITH_SYSROOT 61832b5dc9aSSimon J. Gerraty(unless 61932b5dc9aSSimon J. Gerraty.Va WITHOUT_SYSROOT 62032b5dc9aSSimon J. Gerratyis set explicitly) 62132b5dc9aSSimon J. Gerraty.El 62232b5dc9aSSimon J. Gerraty.Pp 62332b5dc9aSSimon J. GerratyThis must be set in the environment, make command line, or 62432b5dc9aSSimon J. Gerraty.Pa /etc/src-env.conf , 62532b5dc9aSSimon J. Gerratynot 62632b5dc9aSSimon J. Gerraty.Pa /etc/src.conf . 627cc2520d2SSimon J. Gerraty.It Va WITH_DIRDEPS_CACHE 628cc2520d2SSimon J. GerratyCache result of dirdeps.mk which can save significant time 629cc2520d2SSimon J. Gerratyfor subsequent builds. 630cc2520d2SSimon J. GerratyDepends on 63132b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD . 6320a70ef02SBryan Drewery.Pp 633ba852870SBryan DreweryThis must be set in the environment, make command line, or 6340a70ef02SBryan Drewery.Pa /etc/src-env.conf , 6350a70ef02SBryan Drewerynot 6360a70ef02SBryan Drewery.Pa /etc/src.conf . 63790be798eSDimitry Andric.It Va WITHOUT_DMAGENT 638344e2bb9SEd MasteSet to not build dma Mail Transport Agent. 63990be798eSDimitry Andric.It Va WITHOUT_DOCCOMPRESS 640344e2bb9SEd MasteSet to not install compressed system documentation. 64190be798eSDimitry AndricOnly the uncompressed version will be installed. 64216f3fdf5SMark Johnston.It Va WITH_DTRACE_TESTS 64316f3fdf5SMark JohnstonSet to build and install the DTrace test suite in 64416f3fdf5SMark Johnston.Pa /usr/tests/cddl/usr.sbin/dtrace . 64516f3fdf5SMark JohnstonThis test suite is considered experimental on architectures other than 64616f3fdf5SMark Johnstonamd64/amd64 and running it may cause system instability. 64790be798eSDimitry Andric.It Va WITHOUT_DYNAMICROOT 64890be798eSDimitry AndricSet this if you do not want to link 64990be798eSDimitry Andric.Pa /bin 65090be798eSDimitry Andricand 65190be798eSDimitry Andric.Pa /sbin 65290be798eSDimitry Andricdynamically. 65393da8366SEnji Cooper.It Va WITHOUT_EE 65493da8366SEnji CooperSet to not build and install 65593da8366SEnji Cooper.Xr edit 1 , 65693da8366SEnji Cooper.Xr ee 1 , 65793da8366SEnji Cooperand related programs. 6580cd582c8SEnji Cooper.It Va WITHOUT_EFI 6590cd582c8SEnji CooperSet not to build 6600cd582c8SEnji Cooper.Xr efivar 3 6610cd582c8SEnji Cooperand 6620cd582c8SEnji Cooper.Xr efivar 8 . 6630cd582c8SEnji Cooper.Pp 664344e2bb9SEd MasteThis is a default setting on 6654cee74dfSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 6660cd582c8SEnji Cooper.It Va WITH_EFI 6670cd582c8SEnji CooperSet to build 6680cd582c8SEnji Cooper.Xr efivar 3 6690cd582c8SEnji Cooperand 6700cd582c8SEnji Cooper.Xr efivar 8 . 6710cd582c8SEnji Cooper.Pp 672344e2bb9SEd MasteThis is a default setting on 673f3cdc622SEd Masteamd64/amd64, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386. 6745977355fSBryan Drewery.It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP 6755977355fSBryan DrewerySet to not build ELF Tool Chain tools 6765977355fSBryan Drewery(addr2line, nm, size, strings and strip) 6775977355fSBryan Dreweryas part of the bootstrap process. 6785977355fSBryan Drewery.Bf -symbolic 6795977355fSBryan DreweryAn alternate bootstrap tool chain must be provided. 6805977355fSBryan Drewery.Ef 68190be798eSDimitry Andric.It Va WITHOUT_EXAMPLES 68290be798eSDimitry AndricSet to avoid installing examples to 68390be798eSDimitry Andric.Pa /usr/share/examples/ . 68443f75d57SBjoern A. Zeeb.It Va WITH_EXPERIMENTAL 68543f75d57SBjoern A. ZeebSet to include experimental features in the build. 686d5a2667bSJonathan T. Looney.It Va WITH_EXTRA_TCP_STACKS 687d5a2667bSJonathan T. LooneySet to build extra TCP stack modules. 68890be798eSDimitry Andric.It Va WITHOUT_FDT 68990be798eSDimitry AndricSet to not build Flattened Device Tree support as part of the base system. 69090be798eSDimitry AndricThis includes the device tree compiler (dtc) and libfdt support library. 6910e0e9604SEnji Cooper.It Va WITHOUT_FILE 6920e0e9604SEnji CooperSet to not build 6930e0e9604SEnji Cooper.Xr file 1 6940e0e9604SEnji Cooperand related programs. 695770379b9SEd MasteWhen set, it enforces these options: 696770379b9SEd Maste.Pp 697770379b9SEd Maste.Bl -item -compact 698770379b9SEd Maste.It 699770379b9SEd Maste.Va WITHOUT_SVNLITE 700770379b9SEd Maste.El 7010e0e9604SEnji Cooper.It Va WITHOUT_FINGER 7020e0e9604SEnji CooperSet to not build or install 7030e0e9604SEnji Cooper.Xr finger 1 7040e0e9604SEnji Cooperand 7050e0e9604SEnji Cooper.Xr fingerd 8 . 70690be798eSDimitry Andric.It Va WITHOUT_FLOPPY 70790be798eSDimitry AndricSet to not build or install programs 70890be798eSDimitry Andricfor operating floppy disk driver. 70990be798eSDimitry Andric.It Va WITHOUT_FMTREE 71090be798eSDimitry AndricSet to not build and install 71190be798eSDimitry Andric.Pa /usr/sbin/fmtree . 712a0f6423bSEd Maste.It Va WITHOUT_FORMAT_EXTENSIONS 713a0f6423bSEd MasteSet to not enable 714a0f6423bSEd Maste.Fl fformat-extensions 715a0f6423bSEd Mastewhen compiling the kernel. 716a0f6423bSEd MasteAlso disables all format checking. 71790be798eSDimitry Andric.It Va WITHOUT_FORTH 71890be798eSDimitry AndricSet to build bootloaders without Forth support. 71990be798eSDimitry Andric.It Va WITHOUT_FP_LIBC 72090be798eSDimitry AndricSet to build 72190be798eSDimitry Andric.Nm libc 72290be798eSDimitry Andricwithout floating-point support. 72390be798eSDimitry Andric.It Va WITHOUT_FREEBSD_UPDATE 72490be798eSDimitry AndricSet to not build 72590be798eSDimitry Andric.Xr freebsd-update 8 . 7260e0e9604SEnji Cooper.It Va WITHOUT_FTP 7270e0e9604SEnji CooperSet to not build or install 7280e0e9604SEnji Cooper.Xr ftp 1 7290e0e9604SEnji Cooperand 7300e0e9604SEnji Cooper.Xr ftpd 8 . 73190be798eSDimitry Andric.It Va WITHOUT_GAMES 73290be798eSDimitry AndricSet to not build games. 73390be798eSDimitry Andric.It Va WITH_GCC 73490be798eSDimitry AndricSet to build and install gcc and g++. 735a01517e5SEd MasteThis option is deprecated and will be removed before 736a01517e5SEd Maste.Fx 13 . 73790be798eSDimitry Andric.It Va WITH_GCC_BOOTSTRAP 73890be798eSDimitry AndricSet to build gcc and g++ as part of the bootstrap process. 739a01517e5SEd MasteThis option is deprecated and will be removed before 740a01517e5SEd Maste.Fx 13 . 74190be798eSDimitry Andric.It Va WITHOUT_GCOV 74290be798eSDimitry AndricSet to not build the 74390be798eSDimitry Andric.Xr gcov 1 74490be798eSDimitry Andrictool. 74590be798eSDimitry Andric.It Va WITHOUT_GDB 74690be798eSDimitry AndricSet to not build 74790be798eSDimitry Andric.Xr gdb 1 . 7485be09b10SEd Maste.Pp 749344e2bb9SEd MasteThis is a default setting on 7504cee74dfSEd Mastearm64/aarch64, riscv/riscv64 and riscv/riscv64sf. 7515977355fSBryan Drewery.It Va WITH_GDB 7525977355fSBryan DrewerySet to build 7535977355fSBryan Drewery.Xr gdb 1 . 7545977355fSBryan Drewery.Pp 755344e2bb9SEd MasteThis is a default setting on 7564cee74dfSEd Masteamd64/amd64, 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 and sparc64/sparc64. 7574650b8aeSEnji Cooper.It Va WITHOUT_GDB_LIBEXEC 7584650b8aeSEnji CooperSet to install 7594650b8aeSEnji Cooper.Xr gdb 1 7604650b8aeSEnji Cooperinto 7614650b8aeSEnji Cooper.Pa /usr/bin . 7624650b8aeSEnji Cooper.Pp 7634650b8aeSEnji CooperThis is a default setting on 764513fdd50SJohn Baldwinsparc64/sparc64. 7654650b8aeSEnji Cooper.It Va WITH_GDB_LIBEXEC 7664650b8aeSEnji CooperSet to install 7674650b8aeSEnji Cooper.Xr gdb 1 7684650b8aeSEnji Cooperinto 7694650b8aeSEnji Cooper.Pa /usr/libexec . 7704650b8aeSEnji CooperThis permits 7714650b8aeSEnji Cooper.Xr gdb 1 7724650b8aeSEnji Cooperto be used as a fallback for 7734650b8aeSEnji Cooper.Xr crashinfo 8 7744650b8aeSEnji Cooperif a newer version is not installed. 7754650b8aeSEnji Cooper.Pp 7764650b8aeSEnji CooperThis is a default setting on 7774cee74dfSEd Masteamd64/amd64, 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, riscv/riscv64 and riscv/riscv64sf. 77890be798eSDimitry Andric.It Va WITH_GNUCXX 77990be798eSDimitry AndricBuild the GNU C++ stack (g++, libstdc++). 780a01517e5SEd MasteThis option is deprecated and will be removed before 781a01517e5SEd Maste.Fx 13 . 78236e8c7bbSEd Maste.It Va WITHOUT_GNU_DIFF 78336e8c7bbSEd MasteSet to not build GNU 78436e8c7bbSEd Maste.Xr diff 1 78536e8c7bbSEd Masteand 78636e8c7bbSEd Maste.Xr diff3 1 . 78736e8c7bbSEd Maste.It Va WITHOUT_GNU_GREP 78836e8c7bbSEd MasteSet to not build GNU 78936e8c7bbSEd Maste.Xr grep 1 . 790e9e768f7SEd Maste.It Va WITH_GNU_GREP_COMPAT 791e9e768f7SEd MasteSet this option to include GNU extensions in 792e9e768f7SEd Maste.Xr bsdgrep 1 793e9e768f7SEd Masteby linking against libgnuregex. 7947840b63aSEnji Cooper.It Va WITHOUT_GOOGLETEST 7957840b63aSEnji CooperSet to neither build nor install 7967840b63aSEnji Cooper.Lb libgmock , 7977840b63aSEnji Cooper.Lb libgtest , 7987840b63aSEnji Cooperand dependent tests. 79990be798eSDimitry Andric.It Va WITHOUT_GPIO 80090be798eSDimitry AndricSet to not build 80190be798eSDimitry Andric.Xr gpioctl 8 80290be798eSDimitry Andricas part of the base system. 803fcf8f4a8SEmmanuel Vadot.It Va WITH_GPL_DTC 804fcf8f4a8SEmmanuel VadotSet to build the GPL'd version of the device tree compiler from elinux.org, 805fcf8f4a8SEmmanuel Vadotinstead of the BSD licensed one. 80690be798eSDimitry Andric.It Va WITHOUT_GSSAPI 80790be798eSDimitry AndricSet to not build libgssapi. 80861940879SEnji Cooper.It Va WITHOUT_HAST 80961940879SEnji CooperSet to not build 81061940879SEnji Cooper.Xr hastd 8 81161940879SEnji Cooperand related utilities. 81290be798eSDimitry Andric.It Va WITH_HESIOD 81390be798eSDimitry AndricSet to build Hesiod support. 81490be798eSDimitry Andric.It Va WITHOUT_HTML 81590be798eSDimitry AndricSet to not build HTML docs. 81601a0b1a4SKyle Evans.It Va WITH_HTTPD 817d8fa5602SKyle EvansSet to build and install simple_httpd 8182c4b4abcSXin LI.It Va WITHOUT_HYPERV 8192c4b4abcSXin LISet to not build or install HyperV utilities. 8200543ade3SBrooks Davis.Pp 8210543ade3SBrooks DavisThis is a default setting on 8224cee74dfSEd Mastearm/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, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 8230543ade3SBrooks Davis.It Va WITH_HYPERV 8240543ade3SBrooks DavisSet to build or install HyperV utilities. 8250543ade3SBrooks Davis.Pp 8260543ade3SBrooks DavisThis is a default setting on 8270543ade3SBrooks Davisamd64/amd64 and i386/i386. 82890be798eSDimitry Andric.It Va WITHOUT_ICONV 82990be798eSDimitry AndricSet to not build iconv as part of libc. 830c5d09a87SGlen Barber.It Va WITHOUT_INCLUDES 831c5d09a87SGlen BarberSet to not install header files. 832c5d09a87SGlen BarberThis option used to be spelled 833c5d09a87SGlen Barber.Va NO_INCS . 834c5d09a87SGlen Barber.Bf -symbolic 835c5d09a87SGlen BarberThe option does not work for build targets. 836c5d09a87SGlen Barber.Ef 83790be798eSDimitry Andric.It Va WITHOUT_INET 83890be798eSDimitry AndricSet to not build programs and libraries related to IPv4 networking. 839344e2bb9SEd MasteWhen set, it enforces these options: 84090be798eSDimitry Andric.Pp 84190be798eSDimitry Andric.Bl -item -compact 84290be798eSDimitry Andric.It 84390be798eSDimitry Andric.Va WITHOUT_INET_SUPPORT 84490be798eSDimitry Andric.El 84590be798eSDimitry Andric.It Va WITHOUT_INET6 84690be798eSDimitry AndricSet to not build 84790be798eSDimitry Andricprograms and libraries related to IPv6 networking. 848344e2bb9SEd MasteWhen set, it enforces these options: 84990be798eSDimitry Andric.Pp 85090be798eSDimitry Andric.Bl -item -compact 85190be798eSDimitry Andric.It 85290be798eSDimitry Andric.Va WITHOUT_INET6_SUPPORT 85390be798eSDimitry Andric.El 85490be798eSDimitry Andric.It Va WITHOUT_INET6_SUPPORT 85590be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv6 support. 8560e0e9604SEnji Cooper.It Va WITHOUT_INETD 8570e0e9604SEnji CooperSet to not build 8580e0e9604SEnji Cooper.Xr inetd 8 . 85990be798eSDimitry Andric.It Va WITHOUT_INET_SUPPORT 86090be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv4 support. 86190be798eSDimitry Andric.It Va WITHOUT_INSTALLLIB 862344e2bb9SEd MasteSet this to not install optional libraries. 863344e2bb9SEd MasteFor example, when creating a 86490be798eSDimitry Andric.Xr nanobsd 8 86590be798eSDimitry Andricimage. 866f79bedf5SBryan Drewery.Bf -symbolic 867f79bedf5SBryan DreweryThe option does not work for build targets. 868f79bedf5SBryan Drewery.Ef 86990be798eSDimitry Andric.It Va WITH_INSTALL_AS_USER 87090be798eSDimitry AndricSet to make install targets succeed for non-root users by installing 87190be798eSDimitry Andricfiles with owner and group attributes set to that of the user running 87290be798eSDimitry Andricthe 87390be798eSDimitry Andric.Xr make 1 87490be798eSDimitry Andriccommand. 875344e2bb9SEd MasteThe user still must set the 87690be798eSDimitry Andric.Va DESTDIR 87790be798eSDimitry Andricvariable to point to a directory where the user has write permissions. 87890be798eSDimitry Andric.It Va WITHOUT_IPFILTER 87990be798eSDimitry AndricSet to not build IP Filter package. 88090be798eSDimitry Andric.It Va WITHOUT_IPFW 88190be798eSDimitry AndricSet to not build IPFW tools. 88288342134SEnji Cooper.It Va WITHOUT_IPSEC_SUPPORT 88388342134SEnji CooperSet to not build the kernel with 88488342134SEnji Cooper.Xr ipsec 4 88588342134SEnji Coopersupport. 88688342134SEnji CooperThis option is needed for 88788342134SEnji Cooper.Xr ipsec 4 88888342134SEnji Cooperand 88988342134SEnji Cooper.Xr tcpmd5 4 . 89093da8366SEnji Cooper.It Va WITHOUT_ISCSI 89193da8366SEnji CooperSet to not build 89226d6bbfaSSevan Janiyan.Xr iscsid 8 89393da8366SEnji Cooperand related utilities. 89490be798eSDimitry Andric.It Va WITHOUT_JAIL 89590be798eSDimitry AndricSet to not build tools for the support of jails; e.g., 89690be798eSDimitry Andric.Xr jail 8 . 89790be798eSDimitry Andric.It Va WITHOUT_KDUMP 89890be798eSDimitry AndricSet to not build 89990be798eSDimitry Andric.Xr kdump 1 90090be798eSDimitry Andricand 90190be798eSDimitry Andric.Xr truss 1 . 90290be798eSDimitry Andric.It Va WITHOUT_KERBEROS 903344e2bb9SEd MasteSet this to not build Kerberos 5 (KTH Heimdal). 904344e2bb9SEd MasteWhen set, these options are also in effect: 90590be798eSDimitry Andric.Pp 90690be798eSDimitry Andric.Bl -inset -compact 90790be798eSDimitry Andric.It Va WITHOUT_GSSAPI 90890be798eSDimitry Andric(unless 90990be798eSDimitry Andric.Va WITH_GSSAPI 91090be798eSDimitry Andricis set explicitly) 911bf64e879SBryan Drewery.It Va WITHOUT_KERBEROS_SUPPORT 912bf64e879SBryan Drewery(unless 913bf64e879SBryan Drewery.Va WITH_KERBEROS_SUPPORT 914bf64e879SBryan Dreweryis set explicitly) 91590be798eSDimitry Andric.El 91690be798eSDimitry Andric.It Va WITHOUT_KERBEROS_SUPPORT 91790be798eSDimitry AndricSet to build some programs without Kerberos support, like 91890be798eSDimitry Andric.Xr ssh 1 , 91990be798eSDimitry Andric.Xr telnet 1 , 92090be798eSDimitry Andric.Xr sshd 8 , 92190be798eSDimitry Andricand 92290be798eSDimitry Andric.Xr telnetd 8 . 9236f7527f0SEd Maste.It Va WITH_KERNEL_RETPOLINE 9246f7527f0SEd MasteSet to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel 9256f7527f0SEd Mastebuild. 926a0f6423bSEd Maste.It Va WITHOUT_KERNEL_SYMBOLS 927a0f6423bSEd MasteSet to not install kernel symbol files. 928a0f6423bSEd Maste.Bf -symbolic 929a0f6423bSEd MasteThis option is recommended for those people who have small root partitions. 930a0f6423bSEd Maste.Ef 93190be798eSDimitry Andric.It Va WITHOUT_KVM 93290be798eSDimitry AndricSet to not build the 93390be798eSDimitry Andric.Nm libkvm 93490be798eSDimitry Andriclibrary as a part of the base system. 93590be798eSDimitry Andric.Bf -symbolic 93690be798eSDimitry AndricThe option has no effect yet. 93790be798eSDimitry Andric.Ef 938bf64e879SBryan DreweryWhen set, these options are also in effect: 93990be798eSDimitry Andric.Pp 940bf64e879SBryan Drewery.Bl -inset -compact 941bf64e879SBryan Drewery.It Va WITHOUT_KVM_SUPPORT 942bf64e879SBryan Drewery(unless 943bf64e879SBryan Drewery.Va WITH_KVM_SUPPORT 944bf64e879SBryan Dreweryis set explicitly) 94590be798eSDimitry Andric.El 94690be798eSDimitry Andric.It Va WITHOUT_KVM_SUPPORT 94790be798eSDimitry AndricSet to build some programs without optional 94890be798eSDimitry Andric.Nm libkvm 94990be798eSDimitry Andricsupport. 95090be798eSDimitry Andric.It Va WITHOUT_LDNS 95190be798eSDimitry AndricSetting this variable will prevent the LDNS library from being built. 952344e2bb9SEd MasteWhen set, it enforces these options: 95390be798eSDimitry Andric.Pp 95490be798eSDimitry Andric.Bl -item -compact 95590be798eSDimitry Andric.It 95690be798eSDimitry Andric.Va WITHOUT_LDNS_UTILS 95790be798eSDimitry Andric.It 95890be798eSDimitry Andric.Va WITHOUT_UNBOUND 95990be798eSDimitry Andric.El 96090be798eSDimitry Andric.It Va WITHOUT_LDNS_UTILS 96190be798eSDimitry AndricSetting this variable will prevent building the LDNS utilities 96290be798eSDimitry Andric.Xr drill 1 96390be798eSDimitry Andricand 96490be798eSDimitry Andric.Xr host 1 . 96590be798eSDimitry Andric.It Va WITHOUT_LEGACY_CONSOLE 96690be798eSDimitry AndricSet to not build programs that support a legacy PC console; e.g., 96723a6b49aSEdward Tomasz Napierala.Xr kbdcontrol 1 96890be798eSDimitry Andricand 96923a6b49aSEdward Tomasz Napierala.Xr vidcontrol 1 . 97090be798eSDimitry Andric.It Va WITHOUT_LIB32 971c5d09a87SGlen BarberOn 64-bit platforms, set to not build 32-bit library set and a 97290be798eSDimitry Andric.Nm ld-elf32.so.1 97390be798eSDimitry Andricruntime linker. 974f3cdc622SEd Maste.Pp 975f3cdc622SEd MasteThis is a default setting on 9764cee74dfSEd Mastearm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mipsn32, mips/mipselhf, mips/mipshf, powerpc/powerpc, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 97790be798eSDimitry Andric.It Va WITHOUT_LIBCPLUSPLUS 97890be798eSDimitry AndricSet to avoid building libcxxrt and libc++. 97990be798eSDimitry Andric.It Va WITHOUT_LIBPTHREAD 98090be798eSDimitry AndricSet to not build the 98190be798eSDimitry Andric.Nm libpthread 98290be798eSDimitry Andricproviding library, 98390be798eSDimitry Andric.Nm libthr . 984344e2bb9SEd MasteWhen set, it enforces these options: 98590be798eSDimitry Andric.Pp 98690be798eSDimitry Andric.Bl -item -compact 98790be798eSDimitry Andric.It 98890be798eSDimitry Andric.Va WITHOUT_LIBTHR 98990be798eSDimitry Andric.El 9908a7c8ae4SBryan Drewery.It Va WITH_LIBSOFT 9918a7c8ae4SBryan DreweryOn armv6 only, set to enable soft float ABI compatibility libraries. 9928a7c8ae4SBryan DreweryThis option is for transitioning to the new hard float ABI. 99390be798eSDimitry Andric.It Va WITHOUT_LIBTHR 99490be798eSDimitry AndricSet to not build the 99590be798eSDimitry Andric.Nm libthr 99690be798eSDimitry Andric(1:1 threading) 99790be798eSDimitry Andriclibrary. 99836e8c7bbSEd Maste.It Va WITHOUT_LLD 99936e8c7bbSEd MasteSet to not build LLVM's lld linker. 100036e8c7bbSEd Maste.Pp 1001344e2bb9SEd MasteThis is a default setting on 1002f3cdc622SEd Mastesparc64/sparc64. 100336e8c7bbSEd Maste.It Va WITH_LLD 100436e8c7bbSEd MasteSet to build LLVM's lld linker. 100536e8c7bbSEd Maste.Pp 1006344e2bb9SEd MasteThis is a default setting on 10074cee74dfSEd Masteamd64/amd64, 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, riscv/riscv64 and riscv/riscv64sf. 10081500eb21SEd Maste.It Va WITHOUT_LLDB 10091500eb21SEd MasteSet to not build the LLDB debugger. 10101500eb21SEd Maste.Pp 1011344e2bb9SEd MasteThis is a default setting on 10124cee74dfSEd Mastearm/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, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 101390be798eSDimitry Andric.It Va WITH_LLDB 101490be798eSDimitry AndricSet to build the LLDB debugger. 10151500eb21SEd Maste.Pp 1016344e2bb9SEd MasteThis is a default setting on 1017e5259506SEnji Cooperamd64/amd64, arm64/aarch64 and i386/i386. 10186c2b7edaSEd Maste.It Va WITHOUT_LLD_BOOTSTRAP 10196c2b7edaSEd MasteSet to not build the LLD linker during the bootstrap phase of 10206c2b7edaSEd Mastethe build. 10216c2b7edaSEd MasteTo be able to build the system, either Binutils or LLD bootstrap must be 10226c2b7edaSEd Masteenabled unless an alternate linker is provided via XLD. 10236c2b7edaSEd Maste.Pp 10246c2b7edaSEd MasteThis is a default setting on 10254cee74dfSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc and sparc64/sparc64. 10266c2b7edaSEd Maste.It Va WITH_LLD_BOOTSTRAP 102718655ca2SEd MasteSet to build the LLD linker during the bootstrap phase of the build, 102818655ca2SEd Masteand use it during buildworld and buildkernel. 10296c2b7edaSEd Maste.Pp 10306c2b7edaSEd MasteThis is a default setting on 10314cee74dfSEd Masteamd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf. 1032661cf9b6SYoshihiro Takahashi.It Va WITHOUT_LLD_IS_LD 103336e8c7bbSEd MasteSet to use GNU binutils ld as the system linker, instead of LLVM's LLD. 103436e8c7bbSEd Maste.Pp 1035344e2bb9SEd MasteThis is a default setting on 10364cee74dfSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc and sparc64/sparc64. 1037661cf9b6SYoshihiro Takahashi.It Va WITH_LLD_IS_LD 103836e8c7bbSEd MasteSet to use LLVM's LLD as the system linker, instead of GNU binutils ld. 103936e8c7bbSEd Maste.Pp 1040344e2bb9SEd MasteThis is a default setting on 10414cee74dfSEd Masteamd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc64, riscv/riscv64 and riscv/riscv64sf. 10425b9c3654SEd Maste.It Va WITHOUT_LLVM_COV 10435b9c3654SEd MasteSet to not build the 10445b9c3654SEd Maste.Xr llvm-cov 1 10455b9c3654SEd Mastetool. 10465b9c3654SEd Maste.Pp 10475b9c3654SEd MasteThis is a default setting on 1048f3cdc622SEd Mastesparc64/sparc64. 10495b9c3654SEd Maste.It Va WITH_LLVM_COV 10505b9c3654SEd MasteSet to build the 10515b9c3654SEd Maste.Xr llvm-cov 1 10525b9c3654SEd Mastetool. 10535b9c3654SEd Maste.Pp 10545b9c3654SEd MasteThis is a default setting on 10554cee74dfSEd Masteamd64/amd64, 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, riscv/riscv64 and riscv/riscv64sf. 10561500eb21SEd Maste.It Va WITHOUT_LLVM_LIBUNWIND 10571500eb21SEd MasteSet to use GCC's stack unwinder (instead of LLVM's libunwind). 10581500eb21SEd Maste.Pp 1059344e2bb9SEd MasteThis is a default setting on 10604cee74dfSEd Mastesparc64/sparc64. 10611500eb21SEd Maste.It Va WITH_LLVM_LIBUNWIND 10621500eb21SEd MasteSet to use LLVM's libunwind stack unwinder (instead of GCC's unwinder). 10631500eb21SEd Maste.Pp 1064344e2bb9SEd MasteThis is a default setting on 10654cee74dfSEd Masteamd64/amd64, 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, riscv/riscv64 and riscv/riscv64sf. 1066cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_AARCH64 1067cbafd263SDimitry AndricSet to not build LLVM target support for AArch64. 1068bf64e879SBryan DreweryThe 1069bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1070bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1071bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ALL 1072bf64e879SBryan DrewerySet to only build the required LLVM target support. 1073bf64e879SBryan DreweryThis option is preferred to specific target support options. 1074bf64e879SBryan DreweryWhen set, these options are also in effect: 1075bf64e879SBryan Drewery.Pp 1076bf64e879SBryan Drewery.Bl -inset -compact 1077bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_AARCH64 1078bf64e879SBryan Drewery(unless 1079bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_AARCH64 1080bf64e879SBryan Dreweryis set explicitly) 1081bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ARM 1082bf64e879SBryan Drewery(unless 1083bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_ARM 1084bf64e879SBryan Dreweryis set explicitly) 1085bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_MIPS 1086bf64e879SBryan Drewery(unless 1087bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_MIPS 1088bf64e879SBryan Dreweryis set explicitly) 1089bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_POWERPC 1090bf64e879SBryan Drewery(unless 1091bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_POWERPC 1092bf64e879SBryan Dreweryis set explicitly) 1093f3cdc622SEd Maste.It Va WITHOUT_LLVM_TARGET_RISCV 1094f3cdc622SEd Maste(unless 1095f3cdc622SEd Maste.Va WITH_LLVM_TARGET_RISCV 1096f3cdc622SEd Masteis set explicitly) 1097bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_SPARC 1098bf64e879SBryan Drewery(unless 1099bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_SPARC 1100bf64e879SBryan Dreweryis set explicitly) 1101bf64e879SBryan Drewery.El 1102cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_ARM 1103cbafd263SDimitry AndricSet to not build LLVM target support for ARM. 1104bf64e879SBryan DreweryThe 1105bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1106bf64e879SBryan Dreweryoption should be used rather than this in most cases. 110789edb881SDimitry Andric.It Va WITH_LLVM_TARGET_BPF 110889edb881SDimitry AndricSet to build LLVM target support for BPF. 110989edb881SDimitry AndricThe 111089edb881SDimitry Andric.Va LLVM_TARGET_ALL 111189edb881SDimitry Andricoption should be used rather than this in most cases. 1112cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_MIPS 1113cbafd263SDimitry AndricSet to not build LLVM target support for MIPS. 1114bf64e879SBryan DreweryThe 1115bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1116bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1117cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_POWERPC 1118cbafd263SDimitry AndricSet to not build LLVM target support for PowerPC. 1119bf64e879SBryan DreweryThe 1120bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1121bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1122f3cdc622SEd Maste.It Va WITHOUT_LLVM_TARGET_RISCV 1123f3cdc622SEd MasteSet to not build LLVM target support for RISC-V. 1124f3cdc622SEd MasteThe 1125f3cdc622SEd Maste.Va LLVM_TARGET_ALL 1126f3cdc622SEd Masteoption should be used rather than this in most cases. 1127cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_SPARC 1128cbafd263SDimitry AndricSet to not build LLVM target support for SPARC. 1129bf64e879SBryan DreweryThe 1130bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1131bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1132cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_X86 1133cbafd263SDimitry AndricSet to not build LLVM target support for X86. 1134bf64e879SBryan DreweryThe 1135bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1136bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1137bfdf8aa9SJohn Baldwin.It Va WITH_LOADER_EFI_SECUREBOOT 1138bfdf8aa9SJohn BaldwinEnable building 1139bfdf8aa9SJohn Baldwin.Xr loader 8 1140bfdf8aa9SJohn Baldwinwith support for verification based on certificates obtained from UEFI. 1141bfdf8aa9SJohn Baldwin.Pp 1142782df3edSEd Maste.It Va WITH_LOADER_FIREWIRE 1143e8788097SKonstantin BelousovEnable firewire support in /boot/loader on x86. This option is a nop 1144e8788097SKonstantin Belousovon all other platforms. 11458edab9cdSWarner Losh.It Va WITH_LOADER_FORCE_LE 11468edab9cdSWarner LoshSet to force the powerpc boot loader to launch the kernel in little 11478edab9cdSWarner Loshendian mode. 1148782df3edSEd Maste.It Va WITHOUT_LOADER_GELI 1149782df3edSEd MasteDisable inclusion of GELI crypto support in the boot chain binaries. 115030323356SWarner Losh.Pp 115130323356SWarner LoshThis is a default setting on 1152f8783225SEd Mastepowerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64. 11538edab9cdSWarner Losh.It Va WITH_LOADER_GELI 11548edab9cdSWarner LoshSet to build GELI bootloader support. 11558edab9cdSWarner Losh.Pp 11568edab9cdSWarner LoshThis is a default setting on 11574cee74dfSEd Masteamd64/amd64, 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. 11588edab9cdSWarner Losh.It Va WITHOUT_LOADER_LUA 11598edab9cdSWarner LoshSet to not build LUA bindings for the boot loader. 11608edab9cdSWarner Losh.Pp 11618edab9cdSWarner LoshThis is a default setting on 1162f8783225SEd Mastepowerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64. 11636f7527f0SEd Maste.It Va WITH_LOADER_LUA 11646f7527f0SEd MasteSet to build LUA bindings for the boot loader. 116530323356SWarner Losh.Pp 116630323356SWarner LoshThis is a default setting on 11674cee74dfSEd Masteamd64/amd64, 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. 1168b8f3641fSKyle Evans.It Va WITHOUT_LOADER_OFW 1169b8f3641fSKyle EvansDisable building of openfirmware bootloader components. 1170b8f3641fSKyle Evans.Pp 1171b8f3641fSKyle EvansThis is a default setting on 11724cee74dfSEd Masteamd64/amd64, 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. 1173b8f3641fSKyle Evans.It Va WITH_LOADER_OFW 1174b8f3641fSKyle EvansSet to build openfirmware bootloader components. 1175b8f3641fSKyle Evans.Pp 1176b8f3641fSKyle EvansThis is a default setting on 1177f8783225SEd Mastepowerpc/powerpc, powerpc/powerpc64 and sparc64/sparc64. 1178b8f3641fSKyle Evans.It Va WITHOUT_LOADER_UBOOT 1179b8f3641fSKyle EvansDisable building of ubldr. 1180b8f3641fSKyle Evans.Pp 1181b8f3641fSKyle EvansThis is a default setting on 11824cee74dfSEd Masteamd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 1183b8f3641fSKyle Evans.It Va WITH_LOADER_UBOOT 1184b8f3641fSKyle EvansSet to build ubldr. 1185b8f3641fSKyle Evans.Pp 1186b8f3641fSKyle EvansThis is a default setting on 11874cee74dfSEd Mastearm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc and powerpc/powerpc64. 11881f7d1483SEd Maste.It Va WITH_LOADER_VERBOSE 11891f7d1483SEd MasteSet to build with extra verbose debugging in the loader. 11901f7d1483SEd MasteMay explode already nearly too large loader over the limit. 11911f7d1483SEd MasteUse with care. 11921f7d1483SEd Maste 1193bfdf8aa9SJohn Baldwin.It Va WITH_LOADER_VERIEXEC 1194bfdf8aa9SJohn BaldwinEnable building 1195bfdf8aa9SJohn Baldwin.Xr loader 8 1196de19b521SDimitry Andricwith support for verification similar to Verified Exec. 1197bfdf8aa9SJohn Baldwin.Pp 1198de19b521SDimitry AndricDepends on 1199de19b521SDimitry Andric.Va WITH_BEARSSL . 1200bfdf8aa9SJohn BaldwinWhen set, these options are also in effect: 1201bfdf8aa9SJohn Baldwin.Pp 1202bfdf8aa9SJohn Baldwin.Bl -inset -compact 1203bfdf8aa9SJohn Baldwin.It Va WITH_LOADER_EFI_SECUREBOOT 1204bfdf8aa9SJohn Baldwin(unless 1205bfdf8aa9SJohn Baldwin.Va WITHOUT_LOADER_EFI_SECUREBOOT 1206bfdf8aa9SJohn Baldwinis set explicitly) 1207bfdf8aa9SJohn Baldwin.El 1208de19b521SDimitry Andric.It Va WITH_LOADER_VERIEXEC_PASS_MANIFEST 1209de19b521SDimitry AndricEnable building 1210de19b521SDimitry Andric.Xr loader 8 1211de19b521SDimitry Andricwith support to pass a verified manifest to the kernel. 1212de19b521SDimitry AndricThe kernel has to be built with a module to parse the manifest. 1213de19b521SDimitry Andric.Pp 1214de19b521SDimitry AndricDepends on 1215de19b521SDimitry Andric.Va WITH_LOADER_VERIEXEC . 12161f7d1483SEd Maste.It Va WITHOUT_LOADER_ZFS 12171f7d1483SEd MasteSet to not build ZFS file system boot loader support. 121890be798eSDimitry Andric.It Va WITHOUT_LOCALES 121990be798eSDimitry AndricSet to not build localization files; see 122090be798eSDimitry Andric.Xr locale 1 . 122190be798eSDimitry Andric.It Va WITHOUT_LOCATE 122290be798eSDimitry AndricSet to not build 122390be798eSDimitry Andric.Xr locate 1 122490be798eSDimitry Andricand related programs. 122590be798eSDimitry Andric.It Va WITHOUT_LPR 122690be798eSDimitry AndricSet to not build 122790be798eSDimitry Andric.Xr lpr 1 122890be798eSDimitry Andricand related programs. 122990be798eSDimitry Andric.It Va WITHOUT_LS_COLORS 123090be798eSDimitry AndricSet to build 123190be798eSDimitry Andric.Xr ls 1 123290be798eSDimitry Andricwithout support for colors to distinguish file types. 123390be798eSDimitry Andric.It Va WITHOUT_LZMA_SUPPORT 123490be798eSDimitry AndricSet to build some programs without optional lzma compression support. 123590be798eSDimitry Andric.It Va WITHOUT_MAIL 123690be798eSDimitry AndricSet to not build any mail support (MUA or MTA). 1237344e2bb9SEd MasteWhen set, it enforces these options: 123890be798eSDimitry Andric.Pp 123990be798eSDimitry Andric.Bl -item -compact 124090be798eSDimitry Andric.It 124190be798eSDimitry Andric.Va WITHOUT_DMAGENT 124290be798eSDimitry Andric.It 124390be798eSDimitry Andric.Va WITHOUT_MAILWRAPPER 124490be798eSDimitry Andric.It 124590be798eSDimitry Andric.Va WITHOUT_SENDMAIL 124690be798eSDimitry Andric.El 124790be798eSDimitry Andric.It Va WITHOUT_MAILWRAPPER 124890be798eSDimitry AndricSet to not build the 124990be798eSDimitry Andric.Xr mailwrapper 8 125090be798eSDimitry AndricMTA selector. 125190be798eSDimitry Andric.It Va WITHOUT_MAKE 125290be798eSDimitry AndricSet to not install 125390be798eSDimitry Andric.Xr make 1 125490be798eSDimitry Andricand related support files. 125574782f0eSEnji Cooper.It Va WITHOUT_MAKE_CHECK_USE_SANDBOX 125674782f0eSEnji CooperSet to not execute 125774782f0eSEnji Cooper.Dq Li "make check" 125874782f0eSEnji Cooperin limited sandbox mode. 125974782f0eSEnji CooperThis option should be paired with 126074782f0eSEnji Cooper.Va WITH_INSTALL_AS_USER 126174782f0eSEnji Cooperif executed as an unprivileged user. 126274782f0eSEnji CooperSee 126374782f0eSEnji Cooper.Xr tests 7 126474782f0eSEnji Cooperfor more details. 126590be798eSDimitry Andric.It Va WITHOUT_MAN 126690be798eSDimitry AndricSet to not build manual pages. 1267344e2bb9SEd MasteWhen set, these options are also in effect: 126890be798eSDimitry Andric.Pp 126990be798eSDimitry Andric.Bl -inset -compact 127090be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS 127190be798eSDimitry Andric(unless 127290be798eSDimitry Andric.Va WITH_MAN_UTILS 127390be798eSDimitry Andricis set explicitly) 127490be798eSDimitry Andric.El 127590be798eSDimitry Andric.It Va WITHOUT_MANCOMPRESS 127690be798eSDimitry AndricSet to not to install compressed man pages. 127790be798eSDimitry AndricOnly the uncompressed versions will be installed. 127890be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS 127990be798eSDimitry AndricSet to not build utilities for manual pages, 128090be798eSDimitry Andric.Xr apropos 1 , 128190be798eSDimitry Andric.Xr makewhatis 1 , 128290be798eSDimitry Andric.Xr man 1 , 128390be798eSDimitry Andric.Xr whatis 1 , 128490be798eSDimitry Andric.Xr manctl 8 , 128590be798eSDimitry Andricand related support files. 1286cc2520d2SSimon J. Gerraty.It Va WITH_META_MODE 1287344e2bb9SEd MasteCreate 1288be894451SBryan Drewery.Xr make 1 1289be894451SBryan Drewerymeta files when building, which can provide a reliable incremental build when 1290be894451SBryan Dreweryusing 1291be894451SBryan Drewery.Xr filemon 4 . 1292344e2bb9SEd MasteThe meta file is created in OBJDIR as 1293be894451SBryan Drewery.Pa target.meta . 1294344e2bb9SEd MasteThese meta files track the command that was executed, its output, and the 1295344e2bb9SEd Mastecurrent directory. 12962710e62cSBryan DreweryThe 12977f76a95cSBryan Drewery.Xr filemon 4 12982710e62cSBryan Drewerymodule is required unless 12992710e62cSBryan Drewery.Va NO_FILEMON 13002710e62cSBryan Dreweryis defined. 1301344e2bb9SEd MasteWhen the module is loaded, any files used by the commands executed are 1302344e2bb9SEd Mastetracked as dependencies for the target in its meta file. 1303344e2bb9SEd MasteThe target is considered out-of-date and rebuilt if any of these 1304344e2bb9SEd Masteconditions are true compared to the last build: 1305be894451SBryan Drewery.Bl -bullet -compact 1306be894451SBryan Drewery.It 1307be894451SBryan DreweryThe command to execute changes. 1308be894451SBryan Drewery.It 1309be894451SBryan DreweryThe current working directory changes. 1310be894451SBryan Drewery.It 1311a4a2269eSBryan DreweryThe target's meta file is missing. 1312a4a2269eSBryan Drewery.It 1313a4a2269eSBryan DreweryThe target's meta file is missing filemon data when filemon is loaded 1314a4a2269eSBryan Dreweryand a previous run did not have it loaded. 1315be894451SBryan Drewery.It 1316be894451SBryan Drewery[requires 1317be894451SBryan Drewery.Xr filemon 4 ] 1318be894451SBryan DreweryFiles read, executed or linked to are newer than the target. 1319be894451SBryan Drewery.It 1320be894451SBryan Drewery[requires 1321be894451SBryan Drewery.Xr filemon 4 ] 1322be894451SBryan DreweryFiles read, written, executed or linked are missing. 1323be894451SBryan Drewery.El 13247f76a95cSBryan DreweryThe meta files can also be useful for debugging. 13257f76a95cSBryan Drewery.Pp 1326344e2bb9SEd MasteThe build hides commands that are executed unless 13277f76a95cSBryan Drewery.Va NO_SILENT 13287f76a95cSBryan Dreweryis defined. 1329344e2bb9SEd MasteErrors cause 13302710e62cSBryan Drewery.Xr make 1 13312710e62cSBryan Dreweryto show some of its environment for further debugging. 13320a70ef02SBryan Drewery.Pp 1333be894451SBryan DreweryThe build operates as it normally would otherwise. 1334be894451SBryan DreweryThis option originally invoked a different build system but that was renamed 1335be894451SBryan Dreweryto 1336be894451SBryan Drewery.Va WITH_DIRDEPS_BUILD . 1337be894451SBryan Drewery.Pp 1338ba852870SBryan DreweryThis must be set in the environment, make command line, or 13390a70ef02SBryan Drewery.Pa /etc/src-env.conf , 13400a70ef02SBryan Drewerynot 13410a70ef02SBryan Drewery.Pa /etc/src.conf . 1342912aad0fSKyle Evans.It Va WITHOUT_MLX5TOOL 1343912aad0fSKyle EvansSet to not build 1344912aad0fSKyle Evans.Xr mlx5tool 8 1345912aad0fSKyle Evans.Pp 1346912aad0fSKyle EvansThis is a default setting on 13474cee74dfSEd Mastearm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, riscv/riscv64 and riscv/riscv64sf. 1348912aad0fSKyle Evans.It Va WITH_MLX5TOOL 1349912aad0fSKyle EvansSet to build 1350912aad0fSKyle Evans.Xr mlx5tool 8 1351912aad0fSKyle Evans.Pp 1352912aad0fSKyle EvansThis is a default setting on 1353f8783225SEd Masteamd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64. 135490be798eSDimitry Andric.It Va WITHOUT_NDIS 135590be798eSDimitry AndricSet to not build programs and libraries 135690be798eSDimitry Andricrelated to NDIS emulation support. 135790be798eSDimitry Andric.It Va WITHOUT_NETCAT 135890be798eSDimitry AndricSet to not build 135990be798eSDimitry Andric.Xr nc 1 136090be798eSDimitry Andricutility. 136190be798eSDimitry Andric.It Va WITHOUT_NETGRAPH 136290be798eSDimitry AndricSet to not build applications to support 136390be798eSDimitry Andric.Xr netgraph 4 . 1364344e2bb9SEd MasteWhen set, it enforces these options: 136590be798eSDimitry Andric.Pp 136690be798eSDimitry Andric.Bl -item -compact 136790be798eSDimitry Andric.It 136890be798eSDimitry Andric.Va WITHOUT_ATM 136990be798eSDimitry Andric.It 137090be798eSDimitry Andric.Va WITHOUT_BLUETOOTH 1371bf64e879SBryan Drewery.El 1372bf64e879SBryan Drewery.Pp 1373bf64e879SBryan DreweryWhen set, these options are also in effect: 1374bf64e879SBryan Drewery.Pp 1375bf64e879SBryan Drewery.Bl -inset -compact 1376bf64e879SBryan Drewery.It Va WITHOUT_NETGRAPH_SUPPORT 1377bf64e879SBryan Drewery(unless 1378bf64e879SBryan Drewery.Va WITH_NETGRAPH_SUPPORT 1379bf64e879SBryan Dreweryis set explicitly) 138090be798eSDimitry Andric.El 138190be798eSDimitry Andric.It Va WITHOUT_NETGRAPH_SUPPORT 138290be798eSDimitry AndricSet to build libraries, programs, and kernel modules without netgraph support. 138390be798eSDimitry Andric.It Va WITHOUT_NIS 138490be798eSDimitry AndricSet to not build 138590be798eSDimitry Andric.Xr NIS 8 138690be798eSDimitry Andricsupport and related programs. 138790be798eSDimitry AndricIf set, you might need to adopt your 138890be798eSDimitry Andric.Xr nsswitch.conf 5 138990be798eSDimitry Andricand remove 139090be798eSDimitry Andric.Sq nis 139190be798eSDimitry Andricentries. 139290be798eSDimitry Andric.It Va WITHOUT_NLS 139390be798eSDimitry AndricSet to not build NLS catalogs. 139457a87b06SEnji CooperWhen set, it enforces these options: 139557a87b06SEnji Cooper.Pp 139657a87b06SEnji Cooper.Bl -item -compact 139757a87b06SEnji Cooper.It 139857a87b06SEnji Cooper.Va WITHOUT_NLS_CATALOGS 139957a87b06SEnji Cooper.El 140090be798eSDimitry Andric.It Va WITHOUT_NLS_CATALOGS 140190be798eSDimitry AndricSet to not build NLS catalog support for 140290be798eSDimitry Andric.Xr csh 1 . 140390be798eSDimitry Andric.It Va WITHOUT_NS_CACHING 140490be798eSDimitry AndricSet to disable name caching in the 140590be798eSDimitry Andric.Pa nsswitch 140690be798eSDimitry Andricsubsystem. 140790be798eSDimitry AndricThe generic caching daemon, 140890be798eSDimitry Andric.Xr nscd 8 , 140990be798eSDimitry Andricwill not be built either if this option is set. 141090be798eSDimitry Andric.It Va WITHOUT_NTP 141190be798eSDimitry AndricSet to not build 141290be798eSDimitry Andric.Xr ntpd 8 141390be798eSDimitry Andricand related programs. 14148edab9cdSWarner Losh.It Va WITHOUT_NVME 14158edab9cdSWarner LoshSet to not build nvme related tools and kernel modules. 14168edab9cdSWarner Losh.Pp 14178edab9cdSWarner LoshThis is a default setting on 14184cee74dfSEd Mastearm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 14198edab9cdSWarner Losh.It Va WITH_NVME 14208edab9cdSWarner LoshSet to build nvme related tools and kernel modules. 14218edab9cdSWarner Losh 14228edab9cdSWarner Losh.Pp 14238edab9cdSWarner LoshThis is a default setting on 1424f8783225SEd Masteamd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64. 142590be798eSDimitry Andric.It Va WITH_OFED 142690be798eSDimitry AndricSet to build the 142790be798eSDimitry Andric.Dq "OpenFabrics Enterprise Distribution" 142890be798eSDimitry AndricInfiniband software stack. 14294a3caf80SKonstantin Belousov.It Va WITH_OFED_EXTRA 14304a3caf80SKonstantin BelousovSet to build the non-essential components of the 14314a3caf80SKonstantin Belousov.Dq "OpenFabrics Enterprise Distribution" 14324a3caf80SKonstantin BelousovInfiniband software stack, mostly examples. 143390be798eSDimitry Andric.It Va WITH_OPENLDAP 143490be798eSDimitry AndricEnable building openldap support for kerberos. 1435b0840a28SDimitry Andric.It Va WITHOUT_OPENMP 1436b0840a28SDimitry AndricSet to not build LLVM's OpenMP runtime. 1437b0840a28SDimitry Andric.Pp 1438b0840a28SDimitry AndricThis is a default setting on 14394cee74dfSEd Mastearm/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, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 1440b0840a28SDimitry Andric.It Va WITH_OPENMP 1441b0840a28SDimitry AndricSet to build LLVM's OpenMP runtime. 1442b0840a28SDimitry Andric.Pp 1443b0840a28SDimitry AndricThis is a default setting on 1444f8783225SEd Masteamd64/amd64, i386/i386 and powerpc/powerpc64. 144590be798eSDimitry Andric.It Va WITHOUT_OPENSSH 144690be798eSDimitry AndricSet to not build OpenSSH. 144790be798eSDimitry Andric.It Va WITHOUT_OPENSSL 144890be798eSDimitry AndricSet to not build OpenSSL. 1449344e2bb9SEd MasteWhen set, it enforces these options: 145090be798eSDimitry Andric.Pp 145190be798eSDimitry Andric.Bl -item -compact 145290be798eSDimitry Andric.It 14539f4e04c1SEd Maste.Va WITHOUT_DMAGENT 14549f4e04c1SEd Maste.It 145590be798eSDimitry Andric.Va WITHOUT_KERBEROS 145690be798eSDimitry Andric.It 1457fb27d7aeSEd Maste.Va WITHOUT_KERBEROS_SUPPORT 1458fb27d7aeSEd Maste.It 1459da39b3adSEd Maste.Va WITHOUT_LDNS 1460da39b3adSEd Maste.It 1461da39b3adSEd Maste.Va WITHOUT_LDNS_UTILS 1462da39b3adSEd Maste.It 146390be798eSDimitry Andric.Va WITHOUT_OPENSSH 1464da39b3adSEd Maste.It 1465da39b3adSEd Maste.Va WITHOUT_UNBOUND 146690be798eSDimitry Andric.El 146790be798eSDimitry Andric.Pp 1468344e2bb9SEd MasteWhen set, these options are also in effect: 146990be798eSDimitry Andric.Pp 147090be798eSDimitry Andric.Bl -inset -compact 147190be798eSDimitry Andric.It Va WITHOUT_GSSAPI 147290be798eSDimitry Andric(unless 147390be798eSDimitry Andric.Va WITH_GSSAPI 147490be798eSDimitry Andricis set explicitly) 147590be798eSDimitry Andric.El 147690be798eSDimitry Andric.It Va WITHOUT_PAM 147790be798eSDimitry AndricSet to not build PAM library and modules. 147890be798eSDimitry Andric.Bf -symbolic 147990be798eSDimitry AndricThis option is deprecated and does nothing. 148090be798eSDimitry Andric.Ef 1481bf64e879SBryan DreweryWhen set, these options are also in effect: 148290be798eSDimitry Andric.Pp 1483bf64e879SBryan Drewery.Bl -inset -compact 1484bf64e879SBryan Drewery.It Va WITHOUT_PAM_SUPPORT 1485bf64e879SBryan Drewery(unless 1486bf64e879SBryan Drewery.Va WITH_PAM_SUPPORT 1487bf64e879SBryan Dreweryis set explicitly) 148890be798eSDimitry Andric.El 148990be798eSDimitry Andric.It Va WITHOUT_PAM_SUPPORT 149090be798eSDimitry AndricSet to build some programs without PAM support, particularly 149190be798eSDimitry Andric.Xr ftpd 8 149290be798eSDimitry Andricand 149390be798eSDimitry Andric.Xr ppp 8 . 149490be798eSDimitry Andric.It Va WITHOUT_PF 149590be798eSDimitry AndricSet to not build PF firewall package. 1496344e2bb9SEd MasteWhen set, it enforces these options: 149790be798eSDimitry Andric.Pp 149890be798eSDimitry Andric.Bl -item -compact 149990be798eSDimitry Andric.It 150090be798eSDimitry Andric.Va WITHOUT_AUTHPF 150190be798eSDimitry Andric.El 1502b3a27c81SEd Maste.It Va WITH_PIE 1503b3a27c81SEd MasteBuild dynamically linked binaries as 1504b3a27c81SEd MastePosition-Independent Executable (PIE). 150590be798eSDimitry Andric.It Va WITHOUT_PKGBOOTSTRAP 150690be798eSDimitry AndricSet to not build 150790be798eSDimitry Andric.Xr pkg 7 150890be798eSDimitry Andricbootstrap tool. 150990be798eSDimitry Andric.It Va WITHOUT_PMC 151090be798eSDimitry AndricSet to not build 151190be798eSDimitry Andric.Xr pmccontrol 8 151290be798eSDimitry Andricand related programs. 151390be798eSDimitry Andric.It Va WITHOUT_PORTSNAP 151490be798eSDimitry AndricSet to not build or install 151590be798eSDimitry Andric.Xr portsnap 8 151690be798eSDimitry Andricand related files. 151745b8de2dSEd MasteWhen set, it enforces these options: 151845b8de2dSEd Maste.Pp 151945b8de2dSEd Maste.Bl -item -compact 152045b8de2dSEd Maste.It 152145b8de2dSEd Maste.Va WITHOUT_FREEBSD_UPDATE 152245b8de2dSEd Maste.El 152390be798eSDimitry Andric.It Va WITHOUT_PPP 152490be798eSDimitry AndricSet to not build 152590be798eSDimitry Andric.Xr ppp 8 152690be798eSDimitry Andricand related programs. 152790be798eSDimitry Andric.It Va WITHOUT_PROFILE 15284c033a73SEnji CooperSet to not build profiled libraries for use with 15294c033a73SEnji Cooper.Xr gprof 8 . 15300780f5c3SJohn Baldwin.Pp 15310780f5c3SJohn BaldwinThis is a default setting on 1532e8788097SKonstantin Belousovmips/mips64el, mips/mips64, mips/mips64elhf and mips/mips64hf. 15334c033a73SEnji Cooper.It Va WITH_PROFILE 15344c033a73SEnji CooperSet to build profiled libraries for use with 15354c033a73SEnji Cooper.Xr gprof 8 . 15364c033a73SEnji Cooper.Pp 15374c033a73SEnji CooperThis is a default setting on 15384cee74dfSEd Masteamd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mipsn32, mips/mipselhf, mips/mipshf, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 153990be798eSDimitry Andric.It Va WITHOUT_QUOTAS 154090be798eSDimitry AndricSet to not build 154123a6b49aSEdward Tomasz Napierala.Xr quota 1 154290be798eSDimitry Andricand related programs. 15430e0e9604SEnji Cooper.It Va WITHOUT_RADIUS_SUPPORT 15440e0e9604SEnji CooperSet to not build radius support into various applications, like 15450e0e9604SEnji Cooper.Xr pam_radius 8 15460e0e9604SEnji Cooperand 15470e0e9604SEnji Cooper.Xr ppp 8 . 154888342134SEnji Cooper.It Va WITH_RATELIMIT 154988342134SEnji CooperSet to build the system with rate limit support. 155088342134SEnji Cooper.Pp 155188342134SEnji CooperThis makes 155288342134SEnji Cooper.Dv SO_MAX_PACING_RATE 155388342134SEnji Coopereffective in 155488342134SEnji Cooper.Xr getsockopt 2 , 155588342134SEnji Cooperand 155688342134SEnji Cooper.Ar txrlimit 155788342134SEnji Coopersupport in 155888342134SEnji Cooper.Xr ifconfig 8 , 155988342134SEnji Cooperby proxy. 15600e0e9604SEnji Cooper.It Va WITHOUT_RBOOTD 15610e0e9604SEnji CooperSet to not build or install 15620e0e9604SEnji Cooper.Xr rbootd 8 . 156385d55309SEd Maste.It Va WITH_REPRODUCIBLE_BUILD 156485d55309SEd MasteSet to exclude build metadata (such as the build time, user, or host) 156585d55309SEd Mastefrom the kernel, boot loaders, and uname output, so that builds produce 156685d55309SEd Mastebit-for-bit identical output. 156790be798eSDimitry Andric.It Va WITHOUT_RESCUE 156890be798eSDimitry AndricSet to not build 156990be798eSDimitry Andric.Xr rescue 8 . 15708ccac680SEd Maste.It Va WITH_RETPOLINE 15718ccac680SEd MasteSet to build the base system with the retpoline speculative execution 15728ccac680SEd Mastevulnerability mitigation for CVE-2017-5715. 157390be798eSDimitry Andric.It Va WITHOUT_ROUTED 157490be798eSDimitry AndricSet to not build 157590be798eSDimitry Andric.Xr routed 8 157690be798eSDimitry Andricutility. 15774c033a73SEnji Cooper.It Va WITH_RPCBIND_WARMSTART_SUPPORT 15784c033a73SEnji CooperSet to build 15794c033a73SEnji Cooper.Xr rpcbind 8 15804c033a73SEnji Cooperwith warmstart support. 158190be798eSDimitry Andric.It Va WITHOUT_SENDMAIL 158290be798eSDimitry AndricSet to not build 158390be798eSDimitry Andric.Xr sendmail 8 158490be798eSDimitry Andricand related programs. 1585e8788097SKonstantin Belousov.It Va WITHOUT_SERVICESDB 1586e8788097SKonstantin BelousovSet to not install 1587e8788097SKonstantin Belousov.Pa /var/db/services.db . 158890be798eSDimitry Andric.It Va WITHOUT_SETUID_LOGIN 158990be798eSDimitry AndricSet this to disable the installation of 159090be798eSDimitry Andric.Xr login 1 159190be798eSDimitry Andricas a set-user-ID root program. 159290be798eSDimitry Andric.It Va WITHOUT_SHAREDOCS 159390be798eSDimitry AndricSet to not build the 159490be798eSDimitry Andric.Bx 4.4 159590be798eSDimitry Andriclegacy docs. 15966ab18ea6SDimitry Andric.It Va WITHOUT_SHARED_TOOLCHAIN 15976ab18ea6SDimitry AndricSet to build the toolchain binaries as statically linked executables. 159890be798eSDimitry AndricThe set includes 159990be798eSDimitry Andric.Xr cc 1 , 160090be798eSDimitry Andric.Xr make 1 160190be798eSDimitry Andricand necessary utilities like assembler, linker and library archive manager. 160290be798eSDimitry Andric.It Va WITH_SORT_THREADS 160390be798eSDimitry AndricSet to enable threads in 160490be798eSDimitry Andric.Xr sort 1 . 160590be798eSDimitry Andric.It Va WITHOUT_SOURCELESS 160690be798eSDimitry AndricSet to not build kernel modules that include sourceless code (either microcode or native code for host CPU). 1607344e2bb9SEd MasteWhen set, it enforces these options: 160890be798eSDimitry Andric.Pp 160990be798eSDimitry Andric.Bl -item -compact 161090be798eSDimitry Andric.It 161190be798eSDimitry Andric.Va WITHOUT_SOURCELESS_HOST 161290be798eSDimitry Andric.It 161390be798eSDimitry Andric.Va WITHOUT_SOURCELESS_UCODE 161490be798eSDimitry Andric.El 161590be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_HOST 161690be798eSDimitry AndricSet to not build kernel modules that include sourceless native code for host CPU. 161790be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_UCODE 161890be798eSDimitry AndricSet to not build kernel modules that include sourceless microcode. 161990be798eSDimitry Andric.It Va WITHOUT_SSP 162090be798eSDimitry AndricSet to not build world with propolice stack smashing protection. 1621cc68b6e5SEd Maste.Pp 1622344e2bb9SEd MasteThis is a default setting on 162336e8c7bbSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf. 16240cd582c8SEnji Cooper.It Va WITH_SSP 16250cd582c8SEnji CooperSet to build world with propolice stack smashing protection. 16260cd582c8SEnji Cooper.Pp 1627344e2bb9SEd MasteThis is a default setting on 16284cee74dfSEd Masteamd64/amd64, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 1629cc2520d2SSimon J. Gerraty.It Va WITH_STAGING 1630cc2520d2SSimon J. GerratyEnable staging of files to a stage tree. 1631cc2520d2SSimon J. GerratyThis can be best thought of as auto-install to 1632cc2520d2SSimon J. Gerraty.Va DESTDIR 1633cc2520d2SSimon J. Gerratywith some extra meta data to ensure dependencies can be tracked. 1634cc2520d2SSimon J. GerratyDepends on 163532b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD . 1636344e2bb9SEd MasteWhen set, these options are also in effect: 1637cc2520d2SSimon J. Gerraty.Pp 1638cc2520d2SSimon J. Gerraty.Bl -inset -compact 1639cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN 1640cc2520d2SSimon J. Gerraty(unless 1641cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_MAN 1642cc2520d2SSimon J. Gerratyis set explicitly) 1643cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG 1644cc2520d2SSimon J. Gerraty(unless 1645cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_PROG 1646cc2520d2SSimon J. Gerratyis set explicitly) 1647cc2520d2SSimon J. Gerraty.El 16480a70ef02SBryan Drewery.Pp 1649ba852870SBryan DreweryThis must be set in the environment, make command line, or 16500a70ef02SBryan Drewery.Pa /etc/src-env.conf , 16510a70ef02SBryan Drewerynot 16520a70ef02SBryan Drewery.Pa /etc/src.conf . 1653cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN 1654344e2bb9SEd MasteEnable staging of man pages to stage tree. 1655cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG 1656cc2520d2SSimon J. GerratyEnable staging of PROGs to stage tree. 1657cc2520d2SSimon J. Gerraty.It Va WITH_STALE_STAGED 1658cc2520d2SSimon J. GerratyCheck staged files are not stale. 1659de19b521SDimitry Andric.It Va WITHOUT_STATS 1660de19b521SDimitry AndricSet to neither build nor install 1661de19b521SDimitry Andric.Lb libstats 1662de19b521SDimitry Andricand dependent binaries. 166390be798eSDimitry Andric.It Va WITH_SVN 166490be798eSDimitry AndricSet to install 166590be798eSDimitry Andric.Xr svnlite 1 166690be798eSDimitry Andricas 166790be798eSDimitry Andric.Xr svn 1 . 166890be798eSDimitry Andric.It Va WITHOUT_SVNLITE 166990be798eSDimitry AndricSet to not build 167090be798eSDimitry Andric.Xr svnlite 1 167190be798eSDimitry Andricand related programs. 167290be798eSDimitry Andric.It Va WITHOUT_SYMVER 167390be798eSDimitry AndricSet to disable symbol versioning when building shared libraries. 167490be798eSDimitry Andric.It Va WITHOUT_SYSCONS 167590be798eSDimitry AndricSet to not build 167690be798eSDimitry Andric.Xr syscons 4 167790be798eSDimitry Andricsupport files such as keyboard maps, fonts, and screen output maps. 1678cc2520d2SSimon J. Gerraty.It Va WITH_SYSROOT 1679cc2520d2SSimon J. GerratyEnable use of sysroot during build. 1680cc2520d2SSimon J. GerratyDepends on 168132b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD . 16820a70ef02SBryan Drewery.Pp 1683ba852870SBryan DreweryThis must be set in the environment, make command line, or 16840a70ef02SBryan Drewery.Pa /etc/src-env.conf , 16850a70ef02SBryan Drewerynot 16860a70ef02SBryan Drewery.Pa /etc/src.conf . 16878095b3c2SBryan Drewery.It Va WITHOUT_SYSTEM_COMPILER 16888095b3c2SBryan DrewerySet to not opportunistically skip building a cross-compiler during the 1689a9da9b86SBryan Drewerybootstrap phase of the build. 16908095b3c2SBryan DreweryNormally, if the currently installed compiler matches the planned bootstrap 16918095b3c2SBryan Drewerycompiler type and revision, then it will not be built. 1692a9da9b86SBryan DreweryThis does not prevent a compiler from being built for installation though, 1693a9da9b86SBryan Dreweryonly for building one for the build itself. 1694a9da9b86SBryan DreweryThe 1695a9da9b86SBryan Drewery.Va WITHOUT_CLANG 1696a9da9b86SBryan Dreweryand 1697a9da9b86SBryan Drewery.Va WITHOUT_GCC 1698a9da9b86SBryan Dreweryoptions control those. 1699be9309deSBryan Drewery.It Va WITHOUT_SYSTEM_LINKER 1700be9309deSBryan DrewerySet to not opportunistically skip building a cross-linker during the 1701be9309deSBryan Drewerybootstrap phase of the build. 1702be9309deSBryan DreweryNormally, if the currently installed linker matches the planned bootstrap 1703be9309deSBryan Drewerylinker type and revision, then it will not be built. 1704be9309deSBryan DreweryThis does not prevent a linker from being built for installation though, 1705be9309deSBryan Dreweryonly for building one for the build itself. 1706be9309deSBryan DreweryThe 1707be9309deSBryan Drewery.Va WITHOUT_LLD 1708be9309deSBryan Dreweryand 1709be9309deSBryan Drewery.Va WITHOUT_BINUTILS 1710be9309deSBryan Dreweryoptions control those. 1711be9309deSBryan Drewery.Pp 1712be9309deSBryan DreweryThis option is only relevant when 1713be9309deSBryan Drewery.Va WITH_LLD_BOOTSTRAP 1714be9309deSBryan Dreweryis set. 171593da8366SEnji Cooper.It Va WITHOUT_TALK 171693da8366SEnji CooperSet to not build or install 171793da8366SEnji Cooper.Xr talk 1 171893da8366SEnji Cooperand 171993da8366SEnji Cooper.Xr talkd 8 . 17200e0e9604SEnji Cooper.It Va WITHOUT_TCP_WRAPPERS 17210e0e9604SEnji CooperSet to not build or install 17220e0e9604SEnji Cooper.Xr tcpd 8 , 17230e0e9604SEnji Cooperand related utilities. 172490be798eSDimitry Andric.It Va WITHOUT_TCSH 172590be798eSDimitry AndricSet to not build and install 172690be798eSDimitry Andric.Pa /bin/csh 172790be798eSDimitry Andric(which is 172890be798eSDimitry Andric.Xr tcsh 1 ) . 172990be798eSDimitry Andric.It Va WITHOUT_TELNET 173090be798eSDimitry AndricSet to not build 173123a6b49aSEdward Tomasz Napierala.Xr telnet 1 173290be798eSDimitry Andricand related programs. 173318c6fc4cSJulio Merino.It Va WITHOUT_TESTS 173418c6fc4cSJulio MerinoSet to not build nor install the 173590be798eSDimitry Andric.Fx 173690be798eSDimitry AndricTest Suite in 173790be798eSDimitry Andric.Pa /usr/tests/ . 173890be798eSDimitry AndricSee 173990be798eSDimitry Andric.Xr tests 7 174090be798eSDimitry Andricfor more details. 174118c6fc4cSJulio MerinoThis also disables the build of all test-related dependencies, including ATF. 1742344e2bb9SEd MasteWhen set, it enforces these options: 1743c5d09a87SGlen Barber.Pp 1744c5d09a87SGlen Barber.Bl -item -compact 1745c5d09a87SGlen Barber.It 174616f3fdf5SMark Johnston.Va WITHOUT_DTRACE_TESTS 1747bf64e879SBryan Drewery.El 1748bf64e879SBryan Drewery.Pp 1749bf64e879SBryan DreweryWhen set, these options are also in effect: 1750bf64e879SBryan Drewery.Pp 1751bf64e879SBryan Drewery.Bl -inset -compact 17527840b63aSEnji Cooper.It Va WITHOUT_GOOGLETEST 17537840b63aSEnji Cooper(unless 17547840b63aSEnji Cooper.Va WITH_GOOGLETEST 17557840b63aSEnji Cooperis set explicitly) 1756bf64e879SBryan Drewery.It Va WITHOUT_TESTS_SUPPORT 1757bf64e879SBryan Drewery(unless 1758bf64e879SBryan Drewery.Va WITH_TESTS_SUPPORT 1759bf64e879SBryan Dreweryis set explicitly) 1760c5d09a87SGlen Barber.El 1761c5d09a87SGlen Barber.It Va WITHOUT_TESTS_SUPPORT 1762c5d09a87SGlen BarberSet to disables the build of all test-related dependencies, including ATF. 17637840b63aSEnji CooperWhen set, it enforces these options: 17647840b63aSEnji Cooper.Pp 17657840b63aSEnji Cooper.Bl -item -compact 17667840b63aSEnji Cooper.It 17677840b63aSEnji Cooper.Va WITHOUT_GOOGLETEST 17687840b63aSEnji Cooper.El 176990be798eSDimitry Andric.It Va WITHOUT_TEXTPROC 177090be798eSDimitry AndricSet to not build 177190be798eSDimitry Andricprograms used for text processing. 17720e0e9604SEnji Cooper.It Va WITHOUT_TFTP 17730e0e9604SEnji CooperSet to not build or install 17740e0e9604SEnji Cooper.Xr tftp 1 17750e0e9604SEnji Cooperand 17760e0e9604SEnji Cooper.Xr tftpd 8 . 177790be798eSDimitry Andric.It Va WITHOUT_TOOLCHAIN 1778148bdd15SBrooks DavisSet to not install header or 177990be798eSDimitry Andricprograms used for program development, 178090be798eSDimitry Andriccompilers, debuggers etc. 1781344e2bb9SEd MasteWhen set, it enforces these options: 178290be798eSDimitry Andric.Pp 178390be798eSDimitry Andric.Bl -item -compact 178490be798eSDimitry Andric.It 178590be798eSDimitry Andric.Va WITHOUT_BINUTILS 178690be798eSDimitry Andric.It 178790be798eSDimitry Andric.Va WITHOUT_CLANG 178890be798eSDimitry Andric.It 178990be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS 179090be798eSDimitry Andric.It 179190be798eSDimitry Andric.Va WITHOUT_CLANG_FULL 179290be798eSDimitry Andric.It 179390be798eSDimitry Andric.Va WITHOUT_GCC 179490be798eSDimitry Andric.It 179590be798eSDimitry Andric.Va WITHOUT_GDB 1796c5d09a87SGlen Barber.It 1797c5d09a87SGlen Barber.Va WITHOUT_INCLUDES 17983d02549fSBryan Drewery.It 17996c2b7edaSEd Maste.Va WITHOUT_LLD 18006c2b7edaSEd Maste.It 18013d02549fSBryan Drewery.Va WITHOUT_LLDB 18025b9c3654SEd Maste.It 18035b9c3654SEd Maste.Va WITHOUT_LLVM_COV 180490be798eSDimitry Andric.El 180590be798eSDimitry Andric.It Va WITHOUT_UNBOUND 180690be798eSDimitry AndricSet to not build 180790be798eSDimitry Andric.Xr unbound 8 180890be798eSDimitry Andricand related programs. 1809efb949a6SBryan Drewery.It Va WITHOUT_UNIFIED_OBJDIR 1810efb949a6SBryan DrewerySet to use the historical object directory format for 1811efb949a6SBryan Drewery.Xr build 7 1812efb949a6SBryan Drewerytargets. 1813efb949a6SBryan DreweryFor native-builds and builds done directly in sub-directories the format of 1814efb949a6SBryan Drewery.Pa ${MAKEOBJDIRPREFIX}/${.CURDIR} 1815efb949a6SBryan Dreweryis used, 1816efb949a6SBryan Drewerywhile for cross-builds 1817efb949a6SBryan Drewery.Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR} 1818efb949a6SBryan Dreweryis used. 1819efb949a6SBryan Drewery.Pp 1820efb949a6SBryan DreweryThis option is transitional and will be removed before the 12.0 release, 1821efb949a6SBryan Dreweryat which time 1822efb949a6SBryan Drewery.va WITH_UNIFIED_OBJDIR 1823efb949a6SBryan Drewerywill be enabled permanently. 1824efb949a6SBryan Drewery.Pp 1825efb949a6SBryan DreweryThis must be set in the environment, make command line, or 1826efb949a6SBryan Drewery.Pa /etc/src-env.conf , 1827efb949a6SBryan Drewerynot 1828efb949a6SBryan Drewery.Pa /etc/src.conf . 182990be798eSDimitry Andric.It Va WITHOUT_USB 183090be798eSDimitry AndricSet to not build USB-related programs and libraries. 1831c5d09a87SGlen Barber.It Va WITHOUT_USB_GADGET_EXAMPLES 1832d1040cedSWarren BlockSet to not build USB gadget kernel modules. 183390be798eSDimitry Andric.It Va WITHOUT_UTMPX 183490be798eSDimitry AndricSet to not build user accounting tools such as 183590be798eSDimitry Andric.Xr last 1 , 183690be798eSDimitry Andric.Xr users 1 , 183790be798eSDimitry Andric.Xr who 1 , 183890be798eSDimitry Andric.Xr ac 8 , 183990be798eSDimitry Andric.Xr lastlogin 8 184090be798eSDimitry Andricand 184190be798eSDimitry Andric.Xr utx 8 . 1842bfdf8aa9SJohn Baldwin.It Va WITH_VERIEXEC 1843bfdf8aa9SJohn BaldwinEnable building 1844bfdf8aa9SJohn Baldwin.Xr veriexec 8 1845bfdf8aa9SJohn Baldwinwhich loads the contents of verified manifests into the kernel 1846bfdf8aa9SJohn Baldwinfor use by 1847bfdf8aa9SJohn Baldwin.Xr mac_veriexec 4 1848bfdf8aa9SJohn Baldwin.Pp 1849de19b521SDimitry AndricDepends on 1850de19b521SDimitry Andric.Va WITH_BEARSSL . 185190be798eSDimitry Andric.It Va WITHOUT_VI 185290be798eSDimitry AndricSet to not build and install vi, view, ex and related programs. 185390be798eSDimitry Andric.It Va WITHOUT_VT 185490be798eSDimitry AndricSet to not build 185590be798eSDimitry Andric.Xr vt 4 185690be798eSDimitry Andricsupport files (fonts and keymaps). 185790be798eSDimitry Andric.It Va WITHOUT_WARNS 185890be798eSDimitry AndricSet this to not add warning flags to the compiler invocations. 185990be798eSDimitry AndricUseful as a temporary workaround when code enters the tree 186090be798eSDimitry Andricwhich triggers warnings in environments that differ from the 1861559f9bfcSJens Schweikhardtoriginal developer. 186290be798eSDimitry Andric.It Va WITHOUT_WIRELESS 186390be798eSDimitry AndricSet to not build programs used for 802.11 wireless networks; especially 186490be798eSDimitry Andric.Xr wpa_supplicant 8 186590be798eSDimitry Andricand 186690be798eSDimitry Andric.Xr hostapd 8 . 1867bf64e879SBryan DreweryWhen set, these options are also in effect: 186890be798eSDimitry Andric.Pp 1869bf64e879SBryan Drewery.Bl -inset -compact 1870bf64e879SBryan Drewery.It Va WITHOUT_WIRELESS_SUPPORT 1871bf64e879SBryan Drewery(unless 1872bf64e879SBryan Drewery.Va WITH_WIRELESS_SUPPORT 1873bf64e879SBryan Dreweryis set explicitly) 187490be798eSDimitry Andric.El 187590be798eSDimitry Andric.It Va WITHOUT_WIRELESS_SUPPORT 187690be798eSDimitry AndricSet to build libraries, programs, and kernel modules without 187790be798eSDimitry Andric802.11 wireless support. 187890be798eSDimitry Andric.It Va WITHOUT_WPA_SUPPLICANT_EAPOL 187990be798eSDimitry AndricBuild 188090be798eSDimitry Andric.Xr wpa_supplicant 8 188190be798eSDimitry Andricwithout support for the IEEE 802.1X protocol and without 188290be798eSDimitry Andricsupport for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS 188390be798eSDimitry Andricprotocols (usable only via 802.1X). 188490be798eSDimitry Andric.It Va WITHOUT_ZFS 18851f7d1483SEd MasteSet to not build ZFS file system kernel module, libraries, and user commands. 188690be798eSDimitry Andric.It Va WITHOUT_ZONEINFO 188790be798eSDimitry AndricSet to not build the timezone database. 18885c021049SEnji CooperWhen set, it enforces these options: 18895c021049SEnji Cooper.Pp 18905c021049SEnji Cooper.Bl -item -compact 18915c021049SEnji Cooper.It 18925c021049SEnji Cooper.Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT 18935c021049SEnji Cooper.It 18945c021049SEnji Cooper.Va WITHOUT_ZONEINFO_OLD_TIMEZONES_SUPPORT 18955c021049SEnji Cooper.El 18965c021049SEnji Cooper.It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT 18975c021049SEnji CooperSet to build leapsecond information in to the timezone database. 18985c021049SEnji Cooper.It Va WITH_ZONEINFO_OLD_TIMEZONES_SUPPORT 18995c021049SEnji CooperSet to build backward compatibility timezone aliases in to the timezone 19005c021049SEnji Cooperdatabase. 190190be798eSDimitry Andric.El 190290be798eSDimitry Andric.Sh FILES 190390be798eSDimitry Andric.Bl -tag -compact -width Pa 190490be798eSDimitry Andric.It Pa /etc/src.conf 19050a70ef02SBryan Drewery.It Pa /etc/src-env.conf 190690be798eSDimitry Andric.It Pa /usr/share/mk/bsd.own.mk 190790be798eSDimitry Andric.El 190890be798eSDimitry Andric.Sh SEE ALSO 190990be798eSDimitry Andric.Xr make 1 , 191090be798eSDimitry Andric.Xr make.conf 5 , 191190be798eSDimitry Andric.Xr build 7 , 191290be798eSDimitry Andric.Xr ports 7 191390be798eSDimitry Andric.Sh HISTORY 191490be798eSDimitry AndricThe 191590be798eSDimitry Andric.Nm 191690be798eSDimitry Andricfile appeared in 191790be798eSDimitry Andric.Fx 7.0 . 191890be798eSDimitry Andric.Sh AUTHORS 191988342134SEnji CooperThis manual page was autogenerated by 1920a121d3a8SEnji Cooper.An tools/build/options/makeman . 1921