1b1a0e564SEitan Adler.\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman. 2fa07cb9cSRuslan Ermilov.\" $FreeBSD$ 3*85d55309SEd Maste.Dd August 13, 2019 4fa07cb9cSRuslan Ermilov.Dt SRC.CONF 5 5fa07cb9cSRuslan Ermilov.Os 6fa07cb9cSRuslan Ermilov.Sh NAME 7fa07cb9cSRuslan Ermilov.Nm src.conf 816f2e711SYaroslav Tykhiy.Nd "source build options" 9fa07cb9cSRuslan Ermilov.Sh DESCRIPTION 10fa07cb9cSRuslan ErmilovThe 11fa07cb9cSRuslan Ermilov.Nm 12fa07cb9cSRuslan Ermilovfile contains settings that will apply to every build involving the 13fa07cb9cSRuslan Ermilov.Fx 14fa07cb9cSRuslan Ermilovsource tree; see 15fa07cb9cSRuslan Ermilov.Xr build 7 . 16fa07cb9cSRuslan Ermilov.Pp 17fa07cb9cSRuslan ErmilovThe 18fa07cb9cSRuslan Ermilov.Nm 19fa07cb9cSRuslan Ermilovfile uses the standard makefile syntax. 20fa07cb9cSRuslan ErmilovHowever, 21fa07cb9cSRuslan Ermilov.Nm 22fa07cb9cSRuslan Ermilovshould not specify any dependencies to 23fa07cb9cSRuslan Ermilov.Xr make 1 . 24fa07cb9cSRuslan ErmilovInstead, 25fa07cb9cSRuslan Ermilov.Nm 26fa07cb9cSRuslan Ermilovis to set 27fa07cb9cSRuslan Ermilov.Xr make 1 28fa07cb9cSRuslan Ermilovvariables that control the aspects of how the system builds. 29fa07cb9cSRuslan Ermilov.Pp 30fa07cb9cSRuslan ErmilovThe default location of 31fa07cb9cSRuslan Ermilov.Nm 32fa07cb9cSRuslan Ermilovis 33fa07cb9cSRuslan Ermilov.Pa /etc/src.conf , 34fa07cb9cSRuslan Ermilovthough an alternative location can be specified in the 35fa07cb9cSRuslan Ermilov.Xr make 1 36fa07cb9cSRuslan Ermilovvariable 37fa07cb9cSRuslan Ermilov.Va SRCCONF . 38fa07cb9cSRuslan ErmilovOverriding the location of 39fa07cb9cSRuslan Ermilov.Nm 40fa07cb9cSRuslan Ermilovmay be necessary if the system-wide settings are not suitable 41fa07cb9cSRuslan Ermilovfor a particular build. 42fa07cb9cSRuslan ErmilovFor instance, setting 43fa07cb9cSRuslan Ermilov.Va SRCCONF 44fa07cb9cSRuslan Ermilovto 45fa07cb9cSRuslan Ermilov.Pa /dev/null 46fa07cb9cSRuslan Ermiloveffectively resets all build controls to their defaults. 47fa07cb9cSRuslan Ermilov.Pp 48fa07cb9cSRuslan ErmilovThe only purpose of 49fa07cb9cSRuslan Ermilov.Nm 50fa07cb9cSRuslan Ermilovis to control the compilation of the 51fa07cb9cSRuslan Ermilov.Fx 5216f2e711SYaroslav Tykhiysource code, which is usually located in 53fa07cb9cSRuslan Ermilov.Pa /usr/src . 54fa07cb9cSRuslan ErmilovAs a rule, the system administrator creates 55fa07cb9cSRuslan Ermilov.Nm 56fa07cb9cSRuslan Ermilovwhen the values of certain control variables need to be changed 57fa07cb9cSRuslan Ermilovfrom their defaults. 58fa07cb9cSRuslan Ermilov.Pp 59fa07cb9cSRuslan ErmilovIn addition, control variables can be specified 60fa07cb9cSRuslan Ermilovfor a particular build via the 61fa07cb9cSRuslan Ermilov.Fl D 62fa07cb9cSRuslan Ermilovoption of 63fa07cb9cSRuslan Ermilov.Xr make 1 6472735687SMike Makonnenor in its environment; see 65fa07cb9cSRuslan Ermilov.Xr environ 7 . 66fa07cb9cSRuslan Ermilov.Pp 670a70ef02SBryan DreweryThe environment of 680a70ef02SBryan Drewery.Xr make 1 690a70ef02SBryan Dreweryfor the build can be controlled via the 700a70ef02SBryan Drewery.Va SRC_ENV_CONF 710a70ef02SBryan Dreweryvariable, which defaults to 720a70ef02SBryan Drewery.Pa /etc/src-env.conf . 730a70ef02SBryan DrewerySome examples that may only be set in this file are 7432b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD , 750a70ef02SBryan Dreweryand 76efb949a6SBryan Drewery.Va WITH_META_MODE , 77efb949a6SBryan Dreweryand 787df4050dSBryan Drewery.Va MAKEOBJDIRPREFIX 79efb949a6SBryan Dreweryas they are environment-only variables. 800a70ef02SBryan Drewery.Pp 8116f2e711SYaroslav TykhiyThe values of variables are ignored regardless of their setting; 8216f2e711SYaroslav Tykhiyeven if they would be set to 83fa07cb9cSRuslan Ermilov.Dq Li FALSE 84fa07cb9cSRuslan Ermilovor 8516f2e711SYaroslav Tykhiy.Dq Li NO . 86344e2bb9SEd MasteThe presence of an option causes 87344e2bb9SEd Masteit to be honored by 8816f2e711SYaroslav Tykhiy.Xr make 1 . 89fa07cb9cSRuslan Ermilov.Pp 90344e2bb9SEd MasteThis list provides a name and short description for variables 91fa07cb9cSRuslan Ermilovthat can be used for source builds. 92fa07cb9cSRuslan Ermilov.Bl -tag -width indent 93aaa6d7ebSSam Leffler.It Va WITHOUT_ACCT 94aaa6d7ebSSam LefflerSet to not build process accounting tools such as 950ea27d02SEd Schouten.Xr accton 8 96aaa6d7ebSSam Lefflerand 970ea27d02SEd Schouten.Xr sa 8 . 98fa07cb9cSRuslan Ermilov.It Va WITHOUT_ACPI 99fa07cb9cSRuslan ErmilovSet to not build 100fa07cb9cSRuslan Ermilov.Xr acpiconf 8 , 101fa07cb9cSRuslan Ermilov.Xr acpidump 8 102fa07cb9cSRuslan Ermilovand related programs. 103aaa6d7ebSSam Leffler.It Va WITHOUT_AMD 104aaa6d7ebSSam LefflerSet to not build 105aaa6d7ebSSam Leffler.Xr amd 8 , 106aaa6d7ebSSam Lefflerand related programs. 107aaa6d7ebSSam Leffler.It Va WITHOUT_APM 108aaa6d7ebSSam LefflerSet to not build 109aaa6d7ebSSam Leffler.Xr apm 8 , 110aaa6d7ebSSam Leffler.Xr apmd 8 111aaa6d7ebSSam Lefflerand related programs. 112e567b213SRuslan Ermilov.It Va WITHOUT_ASSERT_DEBUG 113e567b213SRuslan ErmilovSet to compile programs and libraries without the 114e567b213SRuslan Ermilov.Xr assert 3 115e567b213SRuslan Ermilovchecks. 116aaa6d7ebSSam Leffler.It Va WITHOUT_AT 117aaa6d7ebSSam LefflerSet to not build 118aaa6d7ebSSam Leffler.Xr at 1 119aaa6d7ebSSam Lefflerand related utilities. 120fa07cb9cSRuslan Ermilov.It Va WITHOUT_ATM 121fa07cb9cSRuslan ErmilovSet to not build 122fa07cb9cSRuslan Ermilovprograms and libraries related to ATM networking. 123fa07cb9cSRuslan Ermilov.It Va WITHOUT_AUDIT 124fa07cb9cSRuslan ErmilovSet to not build audit support into system programs. 125fa07cb9cSRuslan Ermilov.It Va WITHOUT_AUTHPF 126fa07cb9cSRuslan ErmilovSet to not build 127fa07cb9cSRuslan Ermilov.Xr authpf 8 . 12861940879SEnji Cooper.It Va WITHOUT_AUTOFS 12961940879SEnji CooperSet to not build 1304b9f77e4SEdward Tomasz Napierala.Xr autofs 5 13161940879SEnji Cooperrelated programs, libraries, and kernel modules. 132906a1c6cSBryan Drewery.It Va WITHOUT_AUTO_OBJ 133906a1c6cSBryan DreweryDisable automatic creation of objdirs. 134906a1c6cSBryan DreweryThis is enabled by default if the wanted OBJDIR is writable by the current user. 1350a70ef02SBryan Drewery.Pp 136ba852870SBryan DreweryThis must be set in the environment, make command line, or 1370a70ef02SBryan Drewery.Pa /etc/src-env.conf , 1380a70ef02SBryan Drewerynot 1390a70ef02SBryan Drewery.Pa /etc/src.conf . 140bfdf8aa9SJohn Baldwin.It Va WITH_BEARSSL 141bfdf8aa9SJohn BaldwinBuild the BearSSL library. 142bfdf8aa9SJohn Baldwin.Pp 143bfdf8aa9SJohn BaldwinBearSSL is a tiny SSL library suitable for embedded environments. 144bfdf8aa9SJohn BaldwinFor details see 145bfdf8aa9SJohn Baldwin.Lk http://www.BearSSL.org/ 146bfdf8aa9SJohn Baldwin.Pp 147bfdf8aa9SJohn BaldwinThis library is currently only used to perform 148bfdf8aa9SJohn Baldwinsignature verification and related operations 149bfdf8aa9SJohn Baldwinfor Verified Exec and 150bfdf8aa9SJohn Baldwin.Xr loader 8 . 151bfdf8aa9SJohn BaldwinWhen set, these options are also in effect: 152bfdf8aa9SJohn Baldwin.Pp 153bfdf8aa9SJohn Baldwin.Bl -inset -compact 154bfdf8aa9SJohn Baldwin.It Va WITH_LOADER_EFI_SECUREBOOT 155bfdf8aa9SJohn Baldwin(unless 156bfdf8aa9SJohn Baldwin.Va WITHOUT_LOADER_EFI_SECUREBOOT 157bfdf8aa9SJohn Baldwinis set explicitly) 158bfdf8aa9SJohn Baldwin.It Va WITH_LOADER_VERIEXEC 159bfdf8aa9SJohn Baldwin(unless 160bfdf8aa9SJohn Baldwin.Va WITHOUT_LOADER_VERIEXEC 161bfdf8aa9SJohn Baldwinis set explicitly) 162bfdf8aa9SJohn Baldwin.It Va WITH_VERIEXEC 163bfdf8aa9SJohn Baldwin(unless 164bfdf8aa9SJohn Baldwin.Va WITHOUT_VERIEXEC 165bfdf8aa9SJohn Baldwinis set explicitly) 166bfdf8aa9SJohn Baldwin.El 16761940879SEnji Cooper.It Va WITHOUT_BHYVE 16861940879SEnji CooperSet to not build or install 16961940879SEnji Cooper.Xr bhyve 8 , 17061940879SEnji Cooperassociated utilities, and examples. 17161940879SEnji Cooper.Pp 17261940879SEnji CooperThis option only affects amd64/amd64. 1731f3b049dSEd Maste.It Va WITH_BIND_NOW 1741f3b049dSEd MasteBuild all binaries with the 1751f3b049dSEd Maste.Dv DF_BIND_NOW 1761f3b049dSEd Masteflag set to indicate that the run-time loader should perform all relocation 1771f3b049dSEd Masteprocessing at process startup rather than on demand. 17890be798eSDimitry Andric.It Va WITHOUT_BINUTILS 1790179c835SEd MasteSet to not build or install GNU 1800179c835SEd Maste.Xr as 1 , 1810179c835SEd Maste.Xr objdump 1 , 1820179c835SEd Masteand for some CPU architectures 1830179c835SEd Maste.Xr ld.bfd 1 1840179c835SEd Masteas part 18590be798eSDimitry Andricof the normal system build. 18690be798eSDimitry AndricThe resulting system cannot build programs from source. 1875be09b10SEd Maste.Pp 188344e2bb9SEd MasteThis is a default setting on 1898ccac680SEd Mastearm64/aarch64 and riscv/riscv64. 1905977355fSBryan Drewery.It Va WITH_BINUTILS 1910179c835SEd MasteSet to build and install GNU 1920179c835SEd Maste.Xr as 1 , 1930179c835SEd Maste.Xr objdump 1 , 1940179c835SEd Masteand for some CPU architectures 1950179c835SEd Maste.Xr ld.bfd 1 1960179c835SEd Masteas part 1975977355fSBryan Dreweryof the normal system build. 1985977355fSBryan Drewery.Pp 199344e2bb9SEd MasteThis is a default setting on 200e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 20190be798eSDimitry Andric.It Va WITHOUT_BINUTILS_BOOTSTRAP 202e2d98a24SEd MasteSet to not build binutils (as, ld, and objdump) 20390be798eSDimitry Andricas part of the bootstrap process. 20490be798eSDimitry Andric.Bf -symbolic 20590be798eSDimitry AndricThe option does not work for build targets unless some alternative 20690be798eSDimitry Andrictoolchain is provided. 20790be798eSDimitry Andric.Ef 2085be09b10SEd Maste.Pp 209344e2bb9SEd MasteThis is a default setting on 2108ccac680SEd Mastearm64/aarch64 and riscv/riscv64. 2115977355fSBryan Drewery.It Va WITH_BINUTILS_BOOTSTRAP 212e2d98a24SEd MasteSet build binutils (as, ld, and objdump) 2135977355fSBryan Dreweryas part of the bootstrap process. 2145977355fSBryan Drewery.Pp 215344e2bb9SEd MasteThis is a default setting on 216e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 2170341a043SBryan Drewery.It Va WITHOUT_BLACKLIST 2184650b8aeSEnji CooperSet this if you do not want to build 2194650b8aeSEnji Cooper.Xr blacklistd 8 2204650b8aeSEnji Cooperand 2214650b8aeSEnji Cooper.Xr blacklistctl 8 . 222bf64e879SBryan DreweryWhen set, these options are also in effect: 2230341a043SBryan Drewery.Pp 224bf64e879SBryan Drewery.Bl -inset -compact 225bf64e879SBryan Drewery.It Va WITHOUT_BLACKLIST_SUPPORT 226bf64e879SBryan Drewery(unless 227bf64e879SBryan Drewery.Va WITH_BLACKLIST_SUPPORT 228bf64e879SBryan Dreweryis set explicitly) 2290341a043SBryan Drewery.El 2300341a043SBryan Drewery.It Va WITHOUT_BLACKLIST_SUPPORT 2314650b8aeSEnji CooperSet to build some programs without 2324650b8aeSEnji Cooper.Xr libblacklist 3 2334650b8aeSEnji Coopersupport, like 2340341a043SBryan Drewery.Xr fingerd 8 , 2350341a043SBryan Drewery.Xr ftpd 8 , 2360341a043SBryan Dreweryand 2370341a043SBryan Drewery.Xr sshd 8 . 23890be798eSDimitry Andric.It Va WITHOUT_BLUETOOTH 23990be798eSDimitry AndricSet to not build Bluetooth related kernel modules, programs and libraries. 24090be798eSDimitry Andric.It Va WITHOUT_BOOT 24190be798eSDimitry AndricSet to not build the boot blocks and loader. 2420e0e9604SEnji Cooper.It Va WITHOUT_BOOTPARAMD 2430e0e9604SEnji CooperSet to not build or install 2440e0e9604SEnji Cooper.Xr bootparamd 8 . 2450e0e9604SEnji Cooper.It Va WITHOUT_BOOTPD 2460e0e9604SEnji CooperSet to not build or install 2470e0e9604SEnji Cooper.Xr bootpd 8 . 24893da8366SEnji Cooper.It Va WITHOUT_BSDINSTALL 24993da8366SEnji CooperSet to not build 25093da8366SEnji Cooper.Xr bsdinstall 8 , 25193da8366SEnji Cooper.Xr sade 8 , 25293da8366SEnji Cooperand related programs. 25390be798eSDimitry Andric.It Va WITHOUT_BSD_CPIO 25490be798eSDimitry AndricSet to not build the BSD licensed version of cpio based on 25590be798eSDimitry Andric.Xr libarchive 3 . 2560179c835SEd Maste.It Va WITHOUT_BSD_CRTBEGIN 2570179c835SEd MasteDisable the BSD licensed 25882a0f53dSAndrew Turner.Pa crtbegin.o 25982a0f53dSAndrew Turnerand 26082a0f53dSAndrew Turner.Pa crtend.o . 26153fc043dSGeorge V. Neville-Neil.Pp 26253fc043dSGeorge V. Neville-NeilThis is a default setting on 26353fc043dSGeorge V. Neville-Neilpowerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 26453fc043dSGeorge V. Neville-Neil.It Va WITH_BSD_CRTBEGIN 26553fc043dSGeorge V. Neville-NeilEnable the BSD licensed 26653fc043dSGeorge V. Neville-Neil.Pa crtbegin.o 26753fc043dSGeorge V. Neville-Neiland 26853fc043dSGeorge V. Neville-Neil.Pa crtend.o . 26953fc043dSGeorge V. Neville-Neil.Pp 27053fc043dSGeorge V. Neville-NeilThis is a default setting on 27153fc043dSGeorge V. Neville-Neilamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and riscv/riscv64. 27290be798eSDimitry Andric.It Va WITH_BSD_GREP 27390be798eSDimitry AndricInstall BSD-licensed grep as '[ef]grep' instead of GNU grep. 27490be798eSDimitry Andric.It Va WITHOUT_BSNMP 27590be798eSDimitry AndricSet to not build or install 27690be798eSDimitry Andric.Xr bsnmpd 1 27790be798eSDimitry Andricand related libraries and data files. 27890be798eSDimitry Andric.It Va WITHOUT_BZIP2 27990be798eSDimitry AndricSet to not build contributed bzip2 software as a part of the base system. 28090be798eSDimitry Andric.Bf -symbolic 28190be798eSDimitry AndricThe option has no effect yet. 28290be798eSDimitry Andric.Ef 283bf64e879SBryan DreweryWhen set, these options are also in effect: 28490be798eSDimitry Andric.Pp 285bf64e879SBryan Drewery.Bl -inset -compact 286bf64e879SBryan Drewery.It Va WITHOUT_BZIP2_SUPPORT 287bf64e879SBryan Drewery(unless 288bf64e879SBryan Drewery.Va WITH_BZIP2_SUPPORT 289bf64e879SBryan Dreweryis set explicitly) 29090be798eSDimitry Andric.El 29190be798eSDimitry Andric.It Va WITHOUT_BZIP2_SUPPORT 29290be798eSDimitry AndricSet to build some programs without optional bzip2 support. 29390be798eSDimitry Andric.It Va WITHOUT_CALENDAR 29490be798eSDimitry AndricSet to not build 29590be798eSDimitry Andric.Xr calendar 1 . 29690be798eSDimitry Andric.It Va WITHOUT_CAPSICUM 29790be798eSDimitry AndricSet to not build Capsicum support into system programs. 298344e2bb9SEd MasteWhen set, it enforces these options: 299aced6942SBaptiste Daroussin.Pp 300aced6942SBaptiste Daroussin.Bl -item -compact 301aced6942SBaptiste Daroussin.It 302aced6942SBaptiste Daroussin.Va WITHOUT_CASPER 303aced6942SBaptiste Daroussin.El 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 3658ccac680SEd Masteriscv/riscv64 and sparc64/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 376bf64e879SBryan Drewery.Pp 377bf64e879SBryan DreweryWhen set, these options are also in effect: 378bf64e879SBryan Drewery.Pp 379bf64e879SBryan Drewery.Bl -inset -compact 380bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_AARCH64 381bf64e879SBryan Drewery(unless 382bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_AARCH64 383bf64e879SBryan Dreweryis set explicitly) 384bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ALL 385bf64e879SBryan Drewery(unless 386bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_ALL 387bf64e879SBryan Dreweryis set explicitly) 388bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ARM 389bf64e879SBryan Drewery(unless 390bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_ARM 391bf64e879SBryan Dreweryis set explicitly) 392bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_MIPS 393bf64e879SBryan Drewery(unless 394bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_MIPS 395bf64e879SBryan Dreweryis set explicitly) 396bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_POWERPC 397bf64e879SBryan Drewery(unless 398bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_POWERPC 399bf64e879SBryan Dreweryis set explicitly) 400bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_SPARC 401bf64e879SBryan Drewery(unless 402bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_SPARC 403bf64e879SBryan Dreweryis set explicitly) 404bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_X86 405bf64e879SBryan Drewery(unless 406bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_X86 407bf64e879SBryan Dreweryis set explicitly) 408bf64e879SBryan Drewery.El 40990be798eSDimitry Andric.It Va WITH_CLANG 41090be798eSDimitry AndricSet to build the Clang C/C++ compiler during the normal phase of the build. 41190be798eSDimitry Andric.Pp 412344e2bb9SEd MasteThis is a default setting on 413e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 41490be798eSDimitry Andric.It Va WITHOUT_CLANG_BOOTSTRAP 415344e2bb9SEd MasteSet to not build the Clang C/C++ compiler during the bootstrap phase of 416344e2bb9SEd Mastethe build. 417344e2bb9SEd MasteTo be able to build the system, either gcc or clang bootstrap must be 418344e2bb9SEd Masteenabled unless an alternate compiler is provided via XCC. 41990be798eSDimitry Andric.Pp 420344e2bb9SEd MasteThis is a default setting on 4218ccac680SEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 42290be798eSDimitry Andric.It Va WITH_CLANG_BOOTSTRAP 42390be798eSDimitry AndricSet to build the Clang C/C++ compiler during the bootstrap phase of the build. 42490be798eSDimitry Andric.Pp 425344e2bb9SEd MasteThis is a default setting on 426e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386. 42790be798eSDimitry Andric.It Va WITH_CLANG_EXTRAS 428b3a27c81SEd MasteSet to build additional clang and llvm tools, such as bugpoint and 429b3a27c81SEd Masteclang-format. 43090be798eSDimitry Andric.It Va WITHOUT_CLANG_FULL 43190be798eSDimitry AndricSet to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of 43290be798eSDimitry Andricthe Clang C/C++ compiler. 43390be798eSDimitry Andric.Pp 434344e2bb9SEd MasteThis is a default setting on 4358ccac680SEd Masteriscv/riscv64 and sparc64/sparc64. 43690be798eSDimitry Andric.It Va WITH_CLANG_FULL 43790be798eSDimitry AndricSet to build the ARCMigrate, Rewriter and StaticAnalyzer components of the 43890be798eSDimitry AndricClang C/C++ compiler. 43990be798eSDimitry Andric.Pp 440344e2bb9SEd MasteThis is a default setting on 441e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 44290be798eSDimitry Andric.It Va WITHOUT_CLANG_IS_CC 44390be798eSDimitry AndricSet to install the GCC compiler as 44490be798eSDimitry Andric.Pa /usr/bin/cc , 44590be798eSDimitry Andric.Pa /usr/bin/c++ 44690be798eSDimitry Andricand 44790be798eSDimitry Andric.Pa /usr/bin/cpp . 44890be798eSDimitry Andric.Pp 449344e2bb9SEd MasteThis is a default setting on 4508ccac680SEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 45190be798eSDimitry Andric.It Va WITH_CLANG_IS_CC 45290be798eSDimitry AndricSet to install the Clang C/C++ compiler as 45390be798eSDimitry Andric.Pa /usr/bin/cc , 45490be798eSDimitry Andric.Pa /usr/bin/c++ 45590be798eSDimitry Andricand 45690be798eSDimitry Andric.Pa /usr/bin/cpp . 45790be798eSDimitry Andric.Pp 458344e2bb9SEd MasteThis is a default setting on 459e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386. 46090be798eSDimitry Andric.It Va WITHOUT_CPP 46190be798eSDimitry AndricSet to not build 46290be798eSDimitry Andric.Xr cpp 1 . 46390be798eSDimitry Andric.It Va WITHOUT_CROSS_COMPILER 46490be798eSDimitry AndricSet to not build any cross compiler in the cross-tools stage of buildworld. 465344e2bb9SEd MasteWhen compiling a different version of 46690be798eSDimitry Andric.Fx 467344e2bb9SEd Mastethan what is installed on the system, provide an alternate 46890be798eSDimitry Andriccompiler with XCC to ensure success. 469344e2bb9SEd MasteWhen compiling with an identical version of 47090be798eSDimitry Andric.Fx 47190be798eSDimitry Andricto the host, this option may be safely used. 47290be798eSDimitry AndricThis option may also be safe when the host version of 47390be798eSDimitry Andric.Fx 47490be798eSDimitry Andricis close to the sources being built, but all bets are off if there have 47590be798eSDimitry Andricbeen any changes to the toolchain between the versions. 476344e2bb9SEd MasteWhen set, it enforces these options: 47790be798eSDimitry Andric.Pp 47890be798eSDimitry Andric.Bl -item -compact 47990be798eSDimitry Andric.It 48090be798eSDimitry Andric.Va WITHOUT_BINUTILS_BOOTSTRAP 48190be798eSDimitry Andric.It 48290be798eSDimitry Andric.Va WITHOUT_CLANG_BOOTSTRAP 48390be798eSDimitry Andric.It 484f972b8a4SBryan Drewery.Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP 485f972b8a4SBryan Drewery.It 48690be798eSDimitry Andric.Va WITHOUT_GCC_BOOTSTRAP 48728f52545SEd Maste.It 48828f52545SEd Maste.Va WITHOUT_LLD_BOOTSTRAP 48990be798eSDimitry Andric.El 49090be798eSDimitry Andric.It Va WITHOUT_CRYPT 49190be798eSDimitry AndricSet to not build any crypto code. 492344e2bb9SEd MasteWhen set, it enforces these options: 49390be798eSDimitry Andric.Pp 49490be798eSDimitry Andric.Bl -item -compact 49590be798eSDimitry Andric.It 49690be798eSDimitry Andric.Va WITHOUT_KERBEROS 49790be798eSDimitry Andric.It 49890be798eSDimitry Andric.Va WITHOUT_OPENSSH 49990be798eSDimitry Andric.It 50090be798eSDimitry Andric.Va WITHOUT_OPENSSL 50190be798eSDimitry Andric.El 50290be798eSDimitry Andric.Pp 503344e2bb9SEd MasteWhen set, these options are also in effect: 50490be798eSDimitry Andric.Pp 50590be798eSDimitry Andric.Bl -inset -compact 50690be798eSDimitry Andric.It Va WITHOUT_GSSAPI 50790be798eSDimitry Andric(unless 50890be798eSDimitry Andric.Va WITH_GSSAPI 50990be798eSDimitry Andricis set explicitly) 51090be798eSDimitry Andric.El 51190be798eSDimitry Andric.It Va WITH_CTF 51290be798eSDimitry AndricSet to compile with CTF (Compact C Type Format) data. 51390be798eSDimitry AndricCTF data encapsulates a reduced form of debugging information 51490be798eSDimitry Andricsimilar to DWARF and the venerable stabs and is required for DTrace. 51554d8c5d5SBryan Drewery.It Va WITHOUT_CUSE 51654d8c5d5SBryan DrewerySet to not build CUSE-related programs and libraries. 5179cf76983SNavdeep Parhar.It Va WITHOUT_CXGBETOOL 5189cf76983SNavdeep ParharSet to not build 5199cf76983SNavdeep Parhar.Xr cxgbetool 8 5209cf76983SNavdeep Parhar.Pp 5219cf76983SNavdeep ParharThis is a default setting on 5228ccac680SEd Mastearm/arm, arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpcspe and riscv/riscv64. 5239cf76983SNavdeep Parhar.It Va WITH_CXGBETOOL 5249cf76983SNavdeep ParharSet to build 5259cf76983SNavdeep Parhar.Xr cxgbetool 8 5269cf76983SNavdeep Parhar.Pp 5279cf76983SNavdeep ParharThis is a default setting on 5289cf76983SNavdeep Parharamd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64. 52990be798eSDimitry Andric.It Va WITHOUT_CXX 53090be798eSDimitry AndricSet to not build 5314a62dc3aSBryan Drewery.Xr c++ 1 53290be798eSDimitry Andricand related libraries. 53390be798eSDimitry AndricIt will also prevent building of 53490be798eSDimitry Andric.Xr gperf 1 53590be798eSDimitry Andricand 53690be798eSDimitry Andric.Xr devd 8 . 537344e2bb9SEd MasteWhen set, it enforces these options: 53890be798eSDimitry Andric.Pp 53990be798eSDimitry Andric.Bl -item -compact 54090be798eSDimitry Andric.It 54190be798eSDimitry Andric.Va WITHOUT_CLANG 54290be798eSDimitry Andric.It 54390be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS 54490be798eSDimitry Andric.It 54590be798eSDimitry Andric.Va WITHOUT_CLANG_FULL 54690be798eSDimitry Andric.It 547051ea717SEd Maste.Va WITHOUT_DTRACE_TESTS 548051ea717SEd Maste.It 54918c6fc4cSJulio Merino.Va WITHOUT_GNUCXX 55018c6fc4cSJulio Merino.It 5515b9c3654SEd Maste.Va WITHOUT_LLVM_COV 5525b9c3654SEd Maste.It 553051ea717SEd Maste.Va WITHOUT_TESTS 55490be798eSDimitry Andric.El 5554a5e4462SEd Maste.It Va WITHOUT_DEBUG_FILES 5564a5e4462SEd MasteSet to avoid building or installing standalone debug files for each 5574a5e4462SEd Masteexecutable binary and shared library. 558cc68b6e5SEd Maste.It Va WITHOUT_DIALOG 559344e2bb9SEd MasteSet to not build 560344e2bb9SEd Maste.Xr dialog 1 , 561344e2bb9SEd Maste.Xr dialog 3 , 562344e2bb9SEd Maste.Xr dpv 1 , 563344e2bb9SEd Masteand 564344e2bb9SEd Maste.Xr dpv 3 . 565344e2bb9SEd MasteWhen set, it enforces these options: 566cc68b6e5SEd Maste.Pp 567cc68b6e5SEd Maste.Bl -item -compact 568cc68b6e5SEd Maste.It 569cc68b6e5SEd Maste.Va WITHOUT_BSDINSTALL 570cc68b6e5SEd Maste.El 57190be798eSDimitry Andric.It Va WITHOUT_DICT 57290be798eSDimitry AndricSet to not build the Webster dictionary files. 57332b5dc9aSSimon J. Gerraty.It Va WITH_DIRDEPS_BUILD 574be894451SBryan DreweryThis is an experimental build system. 57532b5dc9aSSimon J. GerratyFor details see 57632b5dc9aSSimon J. Gerratyhttp://www.crufty.net/sjg/docs/freebsd-meta-mode.htm. 577be894451SBryan DreweryBuild commands can be seen from the top-level with: 578be894451SBryan Drewery.Dl make show-valid-targets 57932b5dc9aSSimon J. GerratyThe build is driven by dirdeps.mk using 58032b5dc9aSSimon J. Gerraty.Va DIRDEPS 58132b5dc9aSSimon J. Gerratystored in 58232b5dc9aSSimon J. GerratyMakefile.depend files found in each directory. 58332b5dc9aSSimon J. Gerraty.Pp 58432b5dc9aSSimon J. GerratyThe build can be started from anywhere, and behaves the same. 58532b5dc9aSSimon J. GerratyThe initial instance of 58632b5dc9aSSimon J. Gerraty.Xr make 1 58732b5dc9aSSimon J. Gerratyrecursively reads 58832b5dc9aSSimon J. Gerraty.Va DIRDEPS 589344e2bb9SEd Mastefrom 590344e2bb9SEd Maste.Pa Makefile.depend , 59132b5dc9aSSimon J. Gerratycomputing a graph of tree dependencies from the current origin. 59232b5dc9aSSimon J. GerratySetting 59332b5dc9aSSimon J. Gerraty.Va NO_DIRDEPS 594344e2bb9SEd Masteskips checking dirdep dependencies and will only build in the current 5957f76a95cSBryan Dreweryand child directories. 5967f76a95cSBryan Drewery.Va NO_DIRDEPS_BELOW 597344e2bb9SEd Masteskips building any dirdeps and only build the current directory. 59832b5dc9aSSimon J. Gerraty.Pp 599be894451SBryan DreweryThis also utilizes the 600be894451SBryan Drewery.Va WITH_META_MODE 601be894451SBryan Drewerylogic for incremental builds. 60232b5dc9aSSimon J. Gerraty.Pp 603344e2bb9SEd MasteThe build hides commands executed unless 60432b5dc9aSSimon J. Gerraty.Va NO_SILENT 60532b5dc9aSSimon J. Gerratyis defined. 60632b5dc9aSSimon J. Gerraty.Pp 607be894451SBryan DreweryNote that there is currently no mass install feature for this. 608be894451SBryan Drewery.Pp 609344e2bb9SEd MasteWhen set, it enforces these options: 61032b5dc9aSSimon J. Gerraty.Pp 61132b5dc9aSSimon J. Gerraty.Bl -item -compact 61232b5dc9aSSimon J. Gerraty.It 61332b5dc9aSSimon J. Gerraty.Va WITH_INSTALL_AS_USER 61432b5dc9aSSimon J. Gerraty.El 61532b5dc9aSSimon J. Gerraty.Pp 616344e2bb9SEd MasteWhen set, these options are also in effect: 61732b5dc9aSSimon J. Gerraty.Pp 61832b5dc9aSSimon J. Gerraty.Bl -inset -compact 61926b79d5bSHajimu UMEMOTO.It Va WITH_META_MODE 62026b79d5bSHajimu UMEMOTO(unless 62126b79d5bSHajimu UMEMOTO.Va WITHOUT_META_MODE 62226b79d5bSHajimu UMEMOTOis set explicitly) 62332b5dc9aSSimon J. Gerraty.It Va WITH_STAGING 62432b5dc9aSSimon J. Gerraty(unless 62532b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING 62632b5dc9aSSimon J. Gerratyis set explicitly) 62732b5dc9aSSimon J. Gerraty.It Va WITH_STAGING_MAN 62832b5dc9aSSimon J. Gerraty(unless 62932b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING_MAN 63032b5dc9aSSimon J. Gerratyis set explicitly) 63132b5dc9aSSimon J. Gerraty.It Va WITH_STAGING_PROG 63232b5dc9aSSimon J. Gerraty(unless 63332b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING_PROG 63432b5dc9aSSimon J. Gerratyis set explicitly) 63532b5dc9aSSimon J. Gerraty.It Va WITH_SYSROOT 63632b5dc9aSSimon J. Gerraty(unless 63732b5dc9aSSimon J. Gerraty.Va WITHOUT_SYSROOT 63832b5dc9aSSimon J. Gerratyis set explicitly) 63932b5dc9aSSimon J. Gerraty.El 64032b5dc9aSSimon J. Gerraty.Pp 64132b5dc9aSSimon J. GerratyThis must be set in the environment, make command line, or 64232b5dc9aSSimon J. Gerraty.Pa /etc/src-env.conf , 64332b5dc9aSSimon J. Gerratynot 64432b5dc9aSSimon J. Gerraty.Pa /etc/src.conf . 645cc2520d2SSimon J. Gerraty.It Va WITH_DIRDEPS_CACHE 646cc2520d2SSimon J. GerratyCache result of dirdeps.mk which can save significant time 647cc2520d2SSimon J. Gerratyfor subsequent builds. 648cc2520d2SSimon J. GerratyDepends on 64932b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD . 6500a70ef02SBryan Drewery.Pp 651ba852870SBryan DreweryThis must be set in the environment, make command line, or 6520a70ef02SBryan Drewery.Pa /etc/src-env.conf , 6530a70ef02SBryan Drewerynot 6540a70ef02SBryan Drewery.Pa /etc/src.conf . 65590be798eSDimitry Andric.It Va WITHOUT_DMAGENT 656344e2bb9SEd MasteSet to not build dma Mail Transport Agent. 65790be798eSDimitry Andric.It Va WITHOUT_DOCCOMPRESS 658344e2bb9SEd MasteSet to not install compressed system documentation. 65990be798eSDimitry AndricOnly the uncompressed version will be installed. 66016f3fdf5SMark Johnston.It Va WITH_DTRACE_TESTS 66116f3fdf5SMark JohnstonSet to build and install the DTrace test suite in 66216f3fdf5SMark Johnston.Pa /usr/tests/cddl/usr.sbin/dtrace . 66316f3fdf5SMark JohnstonThis test suite is considered experimental on architectures other than 66416f3fdf5SMark Johnstonamd64/amd64 and running it may cause system instability. 66590be798eSDimitry Andric.It Va WITHOUT_DYNAMICROOT 66690be798eSDimitry AndricSet this if you do not want to link 66790be798eSDimitry Andric.Pa /bin 66890be798eSDimitry Andricand 66990be798eSDimitry Andric.Pa /sbin 67090be798eSDimitry Andricdynamically. 67193da8366SEnji Cooper.It Va WITHOUT_EE 67293da8366SEnji CooperSet to not build and install 67393da8366SEnji Cooper.Xr edit 1 , 67493da8366SEnji Cooper.Xr ee 1 , 67593da8366SEnji Cooperand related programs. 6760cd582c8SEnji Cooper.It Va WITHOUT_EFI 6770cd582c8SEnji CooperSet not to build 6780cd582c8SEnji Cooper.Xr efivar 3 6790cd582c8SEnji Cooperand 6800cd582c8SEnji Cooper.Xr efivar 8 . 6810cd582c8SEnji Cooper.Pp 682344e2bb9SEd MasteThis is a default setting on 6838ccac680SEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 6840cd582c8SEnji Cooper.It Va WITH_EFI 6850cd582c8SEnji CooperSet to build 6860cd582c8SEnji Cooper.Xr efivar 3 6870cd582c8SEnji Cooperand 6880cd582c8SEnji Cooper.Xr efivar 8 . 6890cd582c8SEnji Cooper.Pp 690344e2bb9SEd MasteThis is a default setting on 691e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386. 6925977355fSBryan Drewery.It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP 6935977355fSBryan DrewerySet to not build ELF Tool Chain tools 6945977355fSBryan Drewery(addr2line, nm, size, strings and strip) 6955977355fSBryan Dreweryas part of the bootstrap process. 6965977355fSBryan Drewery.Bf -symbolic 6975977355fSBryan DreweryAn alternate bootstrap tool chain must be provided. 6985977355fSBryan Drewery.Ef 69990be798eSDimitry Andric.It Va WITHOUT_EXAMPLES 70090be798eSDimitry AndricSet to avoid installing examples to 70190be798eSDimitry Andric.Pa /usr/share/examples/ . 70243f75d57SBjoern A. Zeeb.It Va WITH_EXPERIMENTAL 70343f75d57SBjoern A. ZeebSet to include experimental features in the build. 704d5a2667bSJonathan T. Looney.It Va WITH_EXTRA_TCP_STACKS 705d5a2667bSJonathan T. LooneySet to build extra TCP stack modules. 70690be798eSDimitry Andric.It Va WITHOUT_FDT 70790be798eSDimitry AndricSet to not build Flattened Device Tree support as part of the base system. 70890be798eSDimitry AndricThis includes the device tree compiler (dtc) and libfdt support library. 7090e0e9604SEnji Cooper.It Va WITHOUT_FILE 7100e0e9604SEnji CooperSet to not build 7110e0e9604SEnji Cooper.Xr file 1 7120e0e9604SEnji Cooperand related programs. 7130e0e9604SEnji Cooper.It Va WITHOUT_FINGER 7140e0e9604SEnji CooperSet to not build or install 7150e0e9604SEnji Cooper.Xr finger 1 7160e0e9604SEnji Cooperand 7170e0e9604SEnji Cooper.Xr fingerd 8 . 71890be798eSDimitry Andric.It Va WITHOUT_FLOPPY 71990be798eSDimitry AndricSet to not build or install programs 72090be798eSDimitry Andricfor operating floppy disk driver. 72190be798eSDimitry Andric.It Va WITHOUT_FMTREE 72290be798eSDimitry AndricSet to not build and install 72390be798eSDimitry Andric.Pa /usr/sbin/fmtree . 724a0f6423bSEd Maste.It Va WITHOUT_FORMAT_EXTENSIONS 725a0f6423bSEd MasteSet to not enable 726a0f6423bSEd Maste.Fl fformat-extensions 727a0f6423bSEd Mastewhen compiling the kernel. 728a0f6423bSEd MasteAlso disables all format checking. 72990be798eSDimitry Andric.It Va WITHOUT_FORTH 73090be798eSDimitry AndricSet to build bootloaders without Forth support. 73190be798eSDimitry Andric.It Va WITHOUT_FP_LIBC 73290be798eSDimitry AndricSet to build 73390be798eSDimitry Andric.Nm libc 73490be798eSDimitry Andricwithout floating-point support. 73590be798eSDimitry Andric.It Va WITHOUT_FREEBSD_UPDATE 73690be798eSDimitry AndricSet to not build 73790be798eSDimitry Andric.Xr freebsd-update 8 . 7380e0e9604SEnji Cooper.It Va WITHOUT_FTP 7390e0e9604SEnji CooperSet to not build or install 7400e0e9604SEnji Cooper.Xr ftp 1 7410e0e9604SEnji Cooperand 7420e0e9604SEnji Cooper.Xr ftpd 8 . 74390be798eSDimitry Andric.It Va WITHOUT_GAMES 74490be798eSDimitry AndricSet to not build games. 74590be798eSDimitry Andric.It Va WITHOUT_GCC 74690be798eSDimitry AndricSet to not build and install gcc and g++ as part of the normal build process. 74790be798eSDimitry Andric.Pp 748344e2bb9SEd MasteThis is a default setting on 7498ccac680SEd Masteamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386 and riscv/riscv64. 75090be798eSDimitry Andric.It Va WITH_GCC 75190be798eSDimitry AndricSet to build and install gcc and g++. 75290be798eSDimitry Andric.Pp 753344e2bb9SEd MasteThis is a default setting on 75436e8c7bbSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 75590be798eSDimitry Andric.It Va WITHOUT_GCC_BOOTSTRAP 75690be798eSDimitry AndricSet to not build gcc and g++ as part of the bootstrap process. 757a0f6423bSEd MasteYou must enable either gcc or clang bootstrap to be able to build the system, 758a0f6423bSEd Masteunless an alternative compiler is provided via 75990be798eSDimitry AndricXCC. 76090be798eSDimitry Andric.Pp 761344e2bb9SEd MasteThis is a default setting on 7628ccac680SEd Masteamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386 and riscv/riscv64. 76390be798eSDimitry Andric.It Va WITH_GCC_BOOTSTRAP 76490be798eSDimitry AndricSet to build gcc and g++ as part of the bootstrap process. 76590be798eSDimitry Andric.Pp 766344e2bb9SEd MasteThis is a default setting on 76736e8c7bbSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 76890be798eSDimitry Andric.It Va WITHOUT_GCOV 76990be798eSDimitry AndricSet to not build the 77090be798eSDimitry Andric.Xr gcov 1 77190be798eSDimitry Andrictool. 77290be798eSDimitry Andric.It Va WITHOUT_GDB 77390be798eSDimitry AndricSet to not build 77490be798eSDimitry Andric.Xr gdb 1 . 7755be09b10SEd Maste.Pp 776344e2bb9SEd MasteThis is a default setting on 7778ccac680SEd Mastearm64/aarch64 and riscv/riscv64. 7785977355fSBryan Drewery.It Va WITH_GDB 7795977355fSBryan DrewerySet to build 7805977355fSBryan Drewery.Xr gdb 1 . 7815977355fSBryan Drewery.Pp 782344e2bb9SEd MasteThis is a default setting on 783e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 7844650b8aeSEnji Cooper.It Va WITHOUT_GDB_LIBEXEC 7854650b8aeSEnji CooperSet to install 7864650b8aeSEnji Cooper.Xr gdb 1 7874650b8aeSEnji Cooperinto 7884650b8aeSEnji Cooper.Pa /usr/bin . 7894650b8aeSEnji Cooper.Pp 7904650b8aeSEnji CooperThis is a default setting on 791513fdd50SJohn Baldwinsparc64/sparc64. 7924650b8aeSEnji Cooper.It Va WITH_GDB_LIBEXEC 7934650b8aeSEnji CooperSet to install 7944650b8aeSEnji Cooper.Xr gdb 1 7954650b8aeSEnji Cooperinto 7964650b8aeSEnji Cooper.Pa /usr/libexec . 7974650b8aeSEnji CooperThis permits 7984650b8aeSEnji Cooper.Xr gdb 1 7994650b8aeSEnji Cooperto be used as a fallback for 8004650b8aeSEnji Cooper.Xr crashinfo 8 8014650b8aeSEnji Cooperif a newer version is not installed. 8024650b8aeSEnji Cooper.Pp 8034650b8aeSEnji CooperThis is a default setting on 8048ccac680SEd Masteamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and riscv/riscv64. 80590be798eSDimitry Andric.It Va WITHOUT_GNUCXX 80690be798eSDimitry AndricDo not build the GNU C++ stack (g++, libstdc++). 80790be798eSDimitry AndricThis is the default on platforms where clang is the system compiler. 80890be798eSDimitry Andric.Pp 809344e2bb9SEd MasteThis is a default setting on 810e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386. 81190be798eSDimitry Andric.It Va WITH_GNUCXX 81290be798eSDimitry AndricBuild the GNU C++ stack (g++, libstdc++). 81390be798eSDimitry AndricThis is the default on platforms where gcc is the system compiler. 81490be798eSDimitry Andric.Pp 815344e2bb9SEd MasteThis is a default setting on 8168ccac680SEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 81736e8c7bbSEd Maste.It Va WITHOUT_GNU_DIFF 81836e8c7bbSEd MasteSet to not build GNU 81936e8c7bbSEd Maste.Xr diff 1 82036e8c7bbSEd Masteand 82136e8c7bbSEd Maste.Xr diff3 1 . 82236e8c7bbSEd Maste.It Va WITHOUT_GNU_GREP 82336e8c7bbSEd MasteSet to not build GNU 82436e8c7bbSEd Maste.Xr grep 1 . 825e9e768f7SEd Maste.It Va WITH_GNU_GREP_COMPAT 826e9e768f7SEd MasteSet this option to include GNU extensions in 827e9e768f7SEd Maste.Xr bsdgrep 1 828e9e768f7SEd Masteby linking against libgnuregex. 8297840b63aSEnji Cooper.It Va WITHOUT_GOOGLETEST 8307840b63aSEnji CooperSet to neither build nor install 8317840b63aSEnji Cooper.Lb libgmock , 8327840b63aSEnji Cooper.Lb libgtest , 8337840b63aSEnji Cooperand dependent tests. 83490be798eSDimitry Andric.It Va WITHOUT_GPIO 83590be798eSDimitry AndricSet to not build 83690be798eSDimitry Andric.Xr gpioctl 8 83790be798eSDimitry Andricas part of the base system. 8385c021049SEnji Cooper.It Va WITHOUT_GPL_DTC 8395c021049SEnji CooperSet to build the BSD licensed version of the device tree compiler rather 8405c021049SEnji Cooperthan the GPLed one from elinux.org. 8415c021049SEnji Cooper.Pp 8425c021049SEnji CooperThis is a default setting on 843e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386. 844fcf8f4a8SEmmanuel Vadot.It Va WITH_GPL_DTC 845fcf8f4a8SEmmanuel VadotSet to build the GPL'd version of the device tree compiler from elinux.org, 846fcf8f4a8SEmmanuel Vadotinstead of the BSD licensed one. 8475c021049SEnji Cooper.Pp 8485c021049SEnji CooperThis is a default setting on 8498ccac680SEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 85090be798eSDimitry Andric.It Va WITHOUT_GSSAPI 85190be798eSDimitry AndricSet to not build libgssapi. 85261940879SEnji Cooper.It Va WITHOUT_HAST 85361940879SEnji CooperSet to not build 85461940879SEnji Cooper.Xr hastd 8 85561940879SEnji Cooperand related utilities. 85690be798eSDimitry Andric.It Va WITH_HESIOD 85790be798eSDimitry AndricSet to build Hesiod support. 85890be798eSDimitry Andric.It Va WITHOUT_HTML 85990be798eSDimitry AndricSet to not build HTML docs. 8602c4b4abcSXin LI.It Va WITHOUT_HYPERV 8612c4b4abcSXin LISet to not build or install HyperV utilities. 8620543ade3SBrooks Davis.Pp 8630543ade3SBrooks DavisThis is a default setting on 8648ccac680SEd Mastearm/arm, arm/armv6, arm/armv7, arm64/aarch64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 8650543ade3SBrooks Davis.It Va WITH_HYPERV 8660543ade3SBrooks DavisSet to build or install HyperV utilities. 8670543ade3SBrooks Davis.Pp 8680543ade3SBrooks DavisThis is a default setting on 8690543ade3SBrooks Davisamd64/amd64 and i386/i386. 87090be798eSDimitry Andric.It Va WITHOUT_ICONV 87190be798eSDimitry AndricSet to not build iconv as part of libc. 872c5d09a87SGlen Barber.It Va WITHOUT_INCLUDES 873c5d09a87SGlen BarberSet to not install header files. 874c5d09a87SGlen BarberThis option used to be spelled 875c5d09a87SGlen Barber.Va NO_INCS . 876c5d09a87SGlen Barber.Bf -symbolic 877c5d09a87SGlen BarberThe option does not work for build targets. 878c5d09a87SGlen Barber.Ef 87990be798eSDimitry Andric.It Va WITHOUT_INET 88090be798eSDimitry AndricSet to not build programs and libraries related to IPv4 networking. 881344e2bb9SEd MasteWhen set, it enforces these options: 88290be798eSDimitry Andric.Pp 88390be798eSDimitry Andric.Bl -item -compact 88490be798eSDimitry Andric.It 88590be798eSDimitry Andric.Va WITHOUT_INET_SUPPORT 88690be798eSDimitry Andric.El 88790be798eSDimitry Andric.It Va WITHOUT_INET6 88890be798eSDimitry AndricSet to not build 88990be798eSDimitry Andricprograms and libraries related to IPv6 networking. 890344e2bb9SEd MasteWhen set, it enforces these options: 89190be798eSDimitry Andric.Pp 89290be798eSDimitry Andric.Bl -item -compact 89390be798eSDimitry Andric.It 89490be798eSDimitry Andric.Va WITHOUT_INET6_SUPPORT 89590be798eSDimitry Andric.El 89690be798eSDimitry Andric.It Va WITHOUT_INET6_SUPPORT 89790be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv6 support. 8980e0e9604SEnji Cooper.It Va WITHOUT_INETD 8990e0e9604SEnji CooperSet to not build 9000e0e9604SEnji Cooper.Xr inetd 8 . 90190be798eSDimitry Andric.It Va WITHOUT_INET_SUPPORT 90290be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv4 support. 90390be798eSDimitry Andric.It Va WITHOUT_INSTALLLIB 904344e2bb9SEd MasteSet this to not install optional libraries. 905344e2bb9SEd MasteFor example, when creating a 90690be798eSDimitry Andric.Xr nanobsd 8 90790be798eSDimitry Andricimage. 908f79bedf5SBryan Drewery.Bf -symbolic 909f79bedf5SBryan DreweryThe option does not work for build targets. 910f79bedf5SBryan Drewery.Ef 91190be798eSDimitry Andric.It Va WITH_INSTALL_AS_USER 91290be798eSDimitry AndricSet to make install targets succeed for non-root users by installing 91390be798eSDimitry Andricfiles with owner and group attributes set to that of the user running 91490be798eSDimitry Andricthe 91590be798eSDimitry Andric.Xr make 1 91690be798eSDimitry Andriccommand. 917344e2bb9SEd MasteThe user still must set the 91890be798eSDimitry Andric.Va DESTDIR 91990be798eSDimitry Andricvariable to point to a directory where the user has write permissions. 92090be798eSDimitry Andric.It Va WITHOUT_IPFILTER 92190be798eSDimitry AndricSet to not build IP Filter package. 92290be798eSDimitry Andric.It Va WITHOUT_IPFW 92390be798eSDimitry AndricSet to not build IPFW tools. 92488342134SEnji Cooper.It Va WITHOUT_IPSEC_SUPPORT 92588342134SEnji CooperSet to not build the kernel with 92688342134SEnji Cooper.Xr ipsec 4 92788342134SEnji Coopersupport. 92888342134SEnji CooperThis option is needed for 92988342134SEnji Cooper.Xr ipsec 4 93088342134SEnji Cooperand 93188342134SEnji Cooper.Xr tcpmd5 4 . 93293da8366SEnji Cooper.It Va WITHOUT_ISCSI 93393da8366SEnji CooperSet to not build 93426d6bbfaSSevan Janiyan.Xr iscsid 8 93593da8366SEnji Cooperand related utilities. 93690be798eSDimitry Andric.It Va WITHOUT_JAIL 93790be798eSDimitry AndricSet to not build tools for the support of jails; e.g., 93890be798eSDimitry Andric.Xr jail 8 . 93990be798eSDimitry Andric.It Va WITHOUT_KDUMP 94090be798eSDimitry AndricSet to not build 94190be798eSDimitry Andric.Xr kdump 1 94290be798eSDimitry Andricand 94390be798eSDimitry Andric.Xr truss 1 . 94490be798eSDimitry Andric.It Va WITHOUT_KERBEROS 945344e2bb9SEd MasteSet this to not build Kerberos 5 (KTH Heimdal). 946344e2bb9SEd MasteWhen set, these options are also in effect: 94790be798eSDimitry Andric.Pp 94890be798eSDimitry Andric.Bl -inset -compact 94990be798eSDimitry Andric.It Va WITHOUT_GSSAPI 95090be798eSDimitry Andric(unless 95190be798eSDimitry Andric.Va WITH_GSSAPI 95290be798eSDimitry Andricis set explicitly) 953bf64e879SBryan Drewery.It Va WITHOUT_KERBEROS_SUPPORT 954bf64e879SBryan Drewery(unless 955bf64e879SBryan Drewery.Va WITH_KERBEROS_SUPPORT 956bf64e879SBryan Dreweryis set explicitly) 95790be798eSDimitry Andric.El 95890be798eSDimitry Andric.It Va WITHOUT_KERBEROS_SUPPORT 95990be798eSDimitry AndricSet to build some programs without Kerberos support, like 96090be798eSDimitry Andric.Xr ssh 1 , 96190be798eSDimitry Andric.Xr telnet 1 , 96290be798eSDimitry Andric.Xr sshd 8 , 96390be798eSDimitry Andricand 96490be798eSDimitry Andric.Xr telnetd 8 . 9656f7527f0SEd Maste.It Va WITH_KERNEL_RETPOLINE 9666f7527f0SEd MasteSet to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel 9676f7527f0SEd Mastebuild. 968a0f6423bSEd Maste.It Va WITHOUT_KERNEL_SYMBOLS 969a0f6423bSEd MasteSet to not install kernel symbol files. 970a0f6423bSEd Maste.Bf -symbolic 971a0f6423bSEd MasteThis option is recommended for those people who have small root partitions. 972a0f6423bSEd Maste.Ef 97390be798eSDimitry Andric.It Va WITHOUT_KVM 97490be798eSDimitry AndricSet to not build the 97590be798eSDimitry Andric.Nm libkvm 97690be798eSDimitry Andriclibrary as a part of the base system. 97790be798eSDimitry Andric.Bf -symbolic 97890be798eSDimitry AndricThe option has no effect yet. 97990be798eSDimitry Andric.Ef 980bf64e879SBryan DreweryWhen set, these options are also in effect: 98190be798eSDimitry Andric.Pp 982bf64e879SBryan Drewery.Bl -inset -compact 983bf64e879SBryan Drewery.It Va WITHOUT_KVM_SUPPORT 984bf64e879SBryan Drewery(unless 985bf64e879SBryan Drewery.Va WITH_KVM_SUPPORT 986bf64e879SBryan Dreweryis set explicitly) 98790be798eSDimitry Andric.El 98890be798eSDimitry Andric.It Va WITHOUT_KVM_SUPPORT 98990be798eSDimitry AndricSet to build some programs without optional 99090be798eSDimitry Andric.Nm libkvm 99190be798eSDimitry Andricsupport. 99290be798eSDimitry Andric.It Va WITHOUT_LDNS 99390be798eSDimitry AndricSetting this variable will prevent the LDNS library from being built. 994344e2bb9SEd MasteWhen set, it enforces these options: 99590be798eSDimitry Andric.Pp 99690be798eSDimitry Andric.Bl -item -compact 99790be798eSDimitry Andric.It 99890be798eSDimitry Andric.Va WITHOUT_LDNS_UTILS 99990be798eSDimitry Andric.It 100090be798eSDimitry Andric.Va WITHOUT_UNBOUND 100190be798eSDimitry Andric.El 100290be798eSDimitry Andric.It Va WITHOUT_LDNS_UTILS 100390be798eSDimitry AndricSetting this variable will prevent building the LDNS utilities 100490be798eSDimitry Andric.Xr drill 1 100590be798eSDimitry Andricand 100690be798eSDimitry Andric.Xr host 1 . 100790be798eSDimitry Andric.It Va WITHOUT_LEGACY_CONSOLE 100890be798eSDimitry AndricSet to not build programs that support a legacy PC console; e.g., 100923a6b49aSEdward Tomasz Napierala.Xr kbdcontrol 1 101090be798eSDimitry Andricand 101123a6b49aSEdward Tomasz Napierala.Xr vidcontrol 1 . 101290be798eSDimitry Andric.It Va WITHOUT_LIB32 1013c5d09a87SGlen BarberOn 64-bit platforms, set to not build 32-bit library set and a 101490be798eSDimitry Andric.Nm ld-elf32.so.1 101590be798eSDimitry Andricruntime linker. 101690be798eSDimitry Andric.It Va WITHOUT_LIBCPLUSPLUS 101790be798eSDimitry AndricSet to avoid building libcxxrt and libc++. 101890be798eSDimitry Andric.It Va WITHOUT_LIBPTHREAD 101990be798eSDimitry AndricSet to not build the 102090be798eSDimitry Andric.Nm libpthread 102190be798eSDimitry Andricproviding library, 102290be798eSDimitry Andric.Nm libthr . 1023344e2bb9SEd MasteWhen set, it enforces these options: 102490be798eSDimitry Andric.Pp 102590be798eSDimitry Andric.Bl -item -compact 102690be798eSDimitry Andric.It 102790be798eSDimitry Andric.Va WITHOUT_LIBTHR 102890be798eSDimitry Andric.El 10298a7c8ae4SBryan Drewery.It Va WITH_LIBSOFT 10308a7c8ae4SBryan DreweryOn armv6 only, set to enable soft float ABI compatibility libraries. 10318a7c8ae4SBryan DreweryThis option is for transitioning to the new hard float ABI. 103290be798eSDimitry Andric.It Va WITHOUT_LIBTHR 103390be798eSDimitry AndricSet to not build the 103490be798eSDimitry Andric.Nm libthr 103590be798eSDimitry Andric(1:1 threading) 103690be798eSDimitry Andriclibrary. 103736e8c7bbSEd Maste.It Va WITHOUT_LLD 103836e8c7bbSEd MasteSet to not build LLVM's lld linker. 103936e8c7bbSEd Maste.Pp 1040344e2bb9SEd MasteThis is a default setting on 10418ccac680SEd Masteriscv/riscv64 and sparc64/sparc64. 104236e8c7bbSEd Maste.It Va WITH_LLD 104336e8c7bbSEd MasteSet to build LLVM's lld linker. 104436e8c7bbSEd Maste.Pp 1045344e2bb9SEd MasteThis is a default setting on 1046e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 10471500eb21SEd Maste.It Va WITHOUT_LLDB 10481500eb21SEd MasteSet to not build the LLDB debugger. 10491500eb21SEd Maste.Pp 1050344e2bb9SEd MasteThis is a default setting on 10518ccac680SEd Mastearm/arm, arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 105290be798eSDimitry Andric.It Va WITH_LLDB 105390be798eSDimitry AndricSet to build the LLDB debugger. 10541500eb21SEd Maste.Pp 1055344e2bb9SEd MasteThis is a default setting on 1056e5259506SEnji Cooperamd64/amd64, arm64/aarch64 and i386/i386. 10576c2b7edaSEd Maste.It Va WITHOUT_LLD_BOOTSTRAP 10586c2b7edaSEd MasteSet to not build the LLD linker during the bootstrap phase of 10596c2b7edaSEd Mastethe build. 10606c2b7edaSEd MasteTo be able to build the system, either Binutils or LLD bootstrap must be 10616c2b7edaSEd Masteenabled unless an alternate linker is provided via XLD. 10626c2b7edaSEd Maste.Pp 10636c2b7edaSEd MasteThis is a default setting on 10648ccac680SEd Mastearm/arm, arm/armv6, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 10656c2b7edaSEd Maste.It Va WITH_LLD_BOOTSTRAP 106618655ca2SEd MasteSet to build the LLD linker during the bootstrap phase of the build, 106718655ca2SEd Masteand use it during buildworld and buildkernel. 10686c2b7edaSEd Maste.Pp 10696c2b7edaSEd MasteThis is a default setting on 10707a9e13ddSEd Masteamd64/amd64, arm/armv7, arm64/aarch64 and i386/i386. 1071661cf9b6SYoshihiro Takahashi.It Va WITHOUT_LLD_IS_LD 107236e8c7bbSEd MasteSet to use GNU binutils ld as the system linker, instead of LLVM's LLD. 107336e8c7bbSEd Maste.Pp 1074344e2bb9SEd MasteThis is a default setting on 10751f7d1483SEd Mastearm/arm, arm/armv6, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 1076661cf9b6SYoshihiro Takahashi.It Va WITH_LLD_IS_LD 107736e8c7bbSEd MasteSet to use LLVM's LLD as the system linker, instead of GNU binutils ld. 107836e8c7bbSEd Maste.Pp 1079344e2bb9SEd MasteThis is a default setting on 10801f7d1483SEd Masteamd64/amd64, arm/armv7, arm64/aarch64 and i386/i386. 10815b9c3654SEd Maste.It Va WITHOUT_LLVM_COV 10825b9c3654SEd MasteSet to not build the 10835b9c3654SEd Maste.Xr llvm-cov 1 10845b9c3654SEd Mastetool. 10855b9c3654SEd Maste.Pp 10865b9c3654SEd MasteThis is a default setting on 10878ccac680SEd Masteriscv/riscv64 and sparc64/sparc64. 10885b9c3654SEd Maste.It Va WITH_LLVM_COV 10895b9c3654SEd MasteSet to build the 10905b9c3654SEd Maste.Xr llvm-cov 1 10915b9c3654SEd Mastetool. 10925b9c3654SEd Maste.Pp 10935b9c3654SEd MasteThis is a default setting on 1094e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 10951500eb21SEd Maste.It Va WITHOUT_LLVM_LIBUNWIND 10961500eb21SEd MasteSet to use GCC's stack unwinder (instead of LLVM's libunwind). 10971500eb21SEd Maste.Pp 1098344e2bb9SEd MasteThis is a default setting on 1099e8788097SKonstantin Belousovarm/arm, arm/armv6, arm/armv7, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 11001500eb21SEd Maste.It Va WITH_LLVM_LIBUNWIND 11011500eb21SEd MasteSet to use LLVM's libunwind stack unwinder (instead of GCC's unwinder). 11021500eb21SEd Maste.Pp 1103344e2bb9SEd MasteThis is a default setting on 11048ccac680SEd Masteamd64/amd64, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and riscv/riscv64. 1105cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_AARCH64 1106cbafd263SDimitry AndricSet to not build LLVM target support for AArch64. 1107bf64e879SBryan DreweryThe 1108bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1109bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1110cbafd263SDimitry Andric.Pp 1111cbafd263SDimitry AndricThis is a default setting on 11121f7d1483SEd Mastearm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64. 1113cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_AARCH64 1114cbafd263SDimitry AndricSet to build LLVM target support for AArch64. 1115bf64e879SBryan DreweryThe 1116bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1117bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1118bf64e879SBryan Drewery.Pp 1119bf64e879SBryan DreweryThis is a default setting on 11201f7d1483SEd Masteamd64/amd64, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 1121bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ALL 1122bf64e879SBryan DrewerySet to only build the required LLVM target support. 1123bf64e879SBryan DreweryThis option is preferred to specific target support options. 1124bf64e879SBryan Drewery.Pp 1125bf64e879SBryan DreweryThis is a default setting on 11268ccac680SEd Masteriscv/riscv64 and sparc64/sparc64. 1127bf64e879SBryan DreweryWhen set, these options are also in effect: 1128bf64e879SBryan Drewery.Pp 1129bf64e879SBryan Drewery.Bl -inset -compact 1130bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_AARCH64 1131bf64e879SBryan Drewery(unless 1132bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_AARCH64 1133bf64e879SBryan Dreweryis set explicitly) 1134bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ARM 1135bf64e879SBryan Drewery(unless 1136bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_ARM 1137bf64e879SBryan Dreweryis set explicitly) 1138bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_MIPS 1139bf64e879SBryan Drewery(unless 1140bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_MIPS 1141bf64e879SBryan Dreweryis set explicitly) 1142bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_POWERPC 1143bf64e879SBryan Drewery(unless 1144bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_POWERPC 1145bf64e879SBryan Dreweryis set explicitly) 1146bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_SPARC 1147bf64e879SBryan Drewery(unless 1148bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_SPARC 1149bf64e879SBryan Dreweryis set explicitly) 1150bf64e879SBryan Drewery.El 1151bf64e879SBryan Drewery.It Va WITH_LLVM_TARGET_ALL 1152bf64e879SBryan DrewerySet to build support for all LLVM targets. 1153bf64e879SBryan DreweryThis option is always applied to the bootstrap compiler for buildworld when 1154bf64e879SBryan DreweryLLVM is used. 1155cbafd263SDimitry Andric.Pp 1156cbafd263SDimitry AndricThis is a default setting on 1157e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 1158cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_ARM 1159cbafd263SDimitry AndricSet to not build LLVM target support for ARM. 1160bf64e879SBryan DreweryThe 1161bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1162bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1163cbafd263SDimitry Andric.Pp 1164cbafd263SDimitry AndricThis is a default setting on 11658ccac680SEd Masteriscv/riscv64 and sparc64/sparc64. 1166cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_ARM 1167cbafd263SDimitry AndricSet to build LLVM target support for ARM. 1168bf64e879SBryan DreweryThe 1169bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1170bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1171cbafd263SDimitry Andric.Pp 1172cbafd263SDimitry AndricThis is a default setting on 1173e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 117489edb881SDimitry Andric.It Va WITH_LLVM_TARGET_BPF 117589edb881SDimitry AndricSet to build LLVM target support for BPF. 117689edb881SDimitry AndricThe 117789edb881SDimitry Andric.Va LLVM_TARGET_ALL 117889edb881SDimitry Andricoption should be used rather than this in most cases. 1179cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_MIPS 1180cbafd263SDimitry AndricSet to not build LLVM target support for MIPS. 1181bf64e879SBryan DreweryThe 1182bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1183bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1184cbafd263SDimitry Andric.Pp 1185cbafd263SDimitry AndricThis is a default setting on 11861f7d1483SEd Mastearm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64. 1187cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_MIPS 1188cbafd263SDimitry AndricSet to build LLVM target support for MIPS. 1189bf64e879SBryan DreweryThe 1190bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1191bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1192cbafd263SDimitry Andric.Pp 1193cbafd263SDimitry AndricThis is a default setting on 11941f7d1483SEd Masteamd64/amd64, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 1195cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_POWERPC 1196cbafd263SDimitry AndricSet to not build LLVM target support for PowerPC. 1197bf64e879SBryan DreweryThe 1198bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1199bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1200cbafd263SDimitry Andric.Pp 1201cbafd263SDimitry AndricThis is a default setting on 12021f7d1483SEd Mastearm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64. 1203cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_POWERPC 1204cbafd263SDimitry AndricSet to build LLVM target support for PowerPC. 1205bf64e879SBryan DreweryThe 1206bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1207bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1208cbafd263SDimitry Andric.Pp 1209cbafd263SDimitry AndricThis is a default setting on 12101f7d1483SEd Masteamd64/amd64, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 1211b2689b12SMitchell Horne.It Va WITH_LLVM_TARGET_RISCV 1212b2689b12SMitchell HorneSet to build LLVM target support for RISC-V. 1213b2689b12SMitchell HorneThe 1214b2689b12SMitchell Horne.Va LLVM_TARGET_ALL 1215b2689b12SMitchell Horneoption should be used rather than this in most cases. 1216cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_SPARC 1217cbafd263SDimitry AndricSet to not build LLVM target support for SPARC. 1218bf64e879SBryan DreweryThe 1219bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1220bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1221cbafd263SDimitry Andric.Pp 1222cbafd263SDimitry AndricThis is a default setting on 12231f7d1483SEd Mastearm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64. 1224cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_SPARC 1225cbafd263SDimitry AndricSet to build LLVM target support for SPARC. 1226bf64e879SBryan DreweryThe 1227bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1228bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1229cbafd263SDimitry Andric.Pp 1230cbafd263SDimitry AndricThis is a default setting on 12311f7d1483SEd Masteamd64/amd64, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 1232cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_X86 1233cbafd263SDimitry AndricSet to not build LLVM target support for X86. 1234bf64e879SBryan DreweryThe 1235bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1236bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1237cbafd263SDimitry Andric.Pp 1238cbafd263SDimitry AndricThis is a default setting on 12391f7d1483SEd Mastearm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64. 1240cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_X86 1241cbafd263SDimitry AndricSet to build LLVM target support for X86. 1242bf64e879SBryan DreweryThe 1243bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1244bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1245cbafd263SDimitry Andric.Pp 1246cbafd263SDimitry AndricThis is a default setting on 12471f7d1483SEd Masteamd64/amd64, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 1248bfdf8aa9SJohn Baldwin.It Va WITH_LOADER_EFI_SECUREBOOT 1249bfdf8aa9SJohn BaldwinEnable building 1250bfdf8aa9SJohn Baldwin.Xr loader 8 1251bfdf8aa9SJohn Baldwinwith support for verification based on certificates obtained from UEFI. 1252bfdf8aa9SJohn Baldwin.Pp 1253782df3edSEd Maste.It Va WITH_LOADER_FIREWIRE 1254e8788097SKonstantin BelousovEnable firewire support in /boot/loader on x86. This option is a nop 1255e8788097SKonstantin Belousovon all other platforms. 12568edab9cdSWarner Losh.It Va WITH_LOADER_FORCE_LE 12578edab9cdSWarner LoshSet to force the powerpc boot loader to launch the kernel in little 12588edab9cdSWarner Loshendian mode. 1259782df3edSEd Maste.It Va WITHOUT_LOADER_GELI 1260782df3edSEd MasteDisable inclusion of GELI crypto support in the boot chain binaries. 126130323356SWarner Losh.Pp 126230323356SWarner LoshThis is a default setting on 12638ccac680SEd Mastepowerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 12648edab9cdSWarner Losh.It Va WITH_LOADER_GELI 12658edab9cdSWarner LoshSet to build GELI bootloader support. 12668edab9cdSWarner Losh.Pp 12678edab9cdSWarner LoshThis is a default setting on 12688edab9cdSWarner Loshamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and riscv/riscv64. 12698edab9cdSWarner Losh.It Va WITHOUT_LOADER_LUA 12708edab9cdSWarner LoshSet to not build LUA bindings for the boot loader. 12718edab9cdSWarner Losh.Pp 12728edab9cdSWarner LoshThis is a default setting on 12738edab9cdSWarner Loshpowerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 12746f7527f0SEd Maste.It Va WITH_LOADER_LUA 12756f7527f0SEd MasteSet to build LUA bindings for the boot loader. 127630323356SWarner Losh.Pp 127730323356SWarner LoshThis is a default setting on 12788ccac680SEd Masteamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and riscv/riscv64. 1279b8f3641fSKyle Evans.It Va WITHOUT_LOADER_OFW 1280b8f3641fSKyle EvansDisable building of openfirmware bootloader components. 1281b8f3641fSKyle Evans.Pp 1282b8f3641fSKyle EvansThis is a default setting on 12838ccac680SEd Masteamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and riscv/riscv64. 1284b8f3641fSKyle Evans.It Va WITH_LOADER_OFW 1285b8f3641fSKyle EvansSet to build openfirmware bootloader components. 1286b8f3641fSKyle Evans.Pp 1287b8f3641fSKyle EvansThis is a default setting on 1288b8f3641fSKyle Evanspowerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 1289b8f3641fSKyle Evans.It Va WITHOUT_LOADER_UBOOT 1290b8f3641fSKyle EvansDisable building of ubldr. 1291b8f3641fSKyle Evans.Pp 1292b8f3641fSKyle EvansThis is a default setting on 12938ccac680SEd Masteamd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and sparc64/sparc64. 1294b8f3641fSKyle Evans.It Va WITH_LOADER_UBOOT 1295b8f3641fSKyle EvansSet to build ubldr. 1296b8f3641fSKyle Evans.Pp 1297b8f3641fSKyle EvansThis is a default setting on 1298e8788097SKonstantin Belousovarm/arm, arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 12991f7d1483SEd Maste.It Va WITH_LOADER_VERBOSE 13001f7d1483SEd MasteSet to build with extra verbose debugging in the loader. 13011f7d1483SEd MasteMay explode already nearly too large loader over the limit. 13021f7d1483SEd MasteUse with care. 13031f7d1483SEd Maste 1304bfdf8aa9SJohn Baldwin.It Va WITH_LOADER_VERIEXEC 1305bfdf8aa9SJohn BaldwinEnable building 1306bfdf8aa9SJohn Baldwin.Xr loader 8 1307bfdf8aa9SJohn Baldwinwith support for verifcation similar to Verified Exec. 1308bfdf8aa9SJohn Baldwin.Pp 1309bfdf8aa9SJohn BaldwinIt depends on 1310bfdf8aa9SJohn Baldwin.Va WITH_BEARSSL 1311bfdf8aa9SJohn BaldwinWhen set, these options are also in effect: 1312bfdf8aa9SJohn Baldwin.Pp 1313bfdf8aa9SJohn Baldwin.Bl -inset -compact 1314bfdf8aa9SJohn Baldwin.It Va WITH_LOADER_EFI_SECUREBOOT 1315bfdf8aa9SJohn Baldwin(unless 1316bfdf8aa9SJohn Baldwin.Va WITHOUT_LOADER_EFI_SECUREBOOT 1317bfdf8aa9SJohn Baldwinis set explicitly) 1318bfdf8aa9SJohn Baldwin.El 13191f7d1483SEd Maste.It Va WITHOUT_LOADER_ZFS 13201f7d1483SEd MasteSet to not build ZFS file system boot loader support. 132190be798eSDimitry Andric.It Va WITHOUT_LOCALES 132290be798eSDimitry AndricSet to not build localization files; see 132390be798eSDimitry Andric.Xr locale 1 . 132490be798eSDimitry Andric.It Va WITHOUT_LOCATE 132590be798eSDimitry AndricSet to not build 132690be798eSDimitry Andric.Xr locate 1 132790be798eSDimitry Andricand related programs. 132890be798eSDimitry Andric.It Va WITHOUT_LPR 132990be798eSDimitry AndricSet to not build 133090be798eSDimitry Andric.Xr lpr 1 133190be798eSDimitry Andricand related programs. 133290be798eSDimitry Andric.It Va WITHOUT_LS_COLORS 133390be798eSDimitry AndricSet to build 133490be798eSDimitry Andric.Xr ls 1 133590be798eSDimitry Andricwithout support for colors to distinguish file types. 133690be798eSDimitry Andric.It Va WITHOUT_LZMA_SUPPORT 133790be798eSDimitry AndricSet to build some programs without optional lzma compression support. 133890be798eSDimitry Andric.It Va WITHOUT_MAIL 133990be798eSDimitry AndricSet to not build any mail support (MUA or MTA). 1340344e2bb9SEd MasteWhen set, it enforces these options: 134190be798eSDimitry Andric.Pp 134290be798eSDimitry Andric.Bl -item -compact 134390be798eSDimitry Andric.It 134490be798eSDimitry Andric.Va WITHOUT_DMAGENT 134590be798eSDimitry Andric.It 134690be798eSDimitry Andric.Va WITHOUT_MAILWRAPPER 134790be798eSDimitry Andric.It 134890be798eSDimitry Andric.Va WITHOUT_SENDMAIL 134990be798eSDimitry Andric.El 135090be798eSDimitry Andric.It Va WITHOUT_MAILWRAPPER 135190be798eSDimitry AndricSet to not build the 135290be798eSDimitry Andric.Xr mailwrapper 8 135390be798eSDimitry AndricMTA selector. 135490be798eSDimitry Andric.It Va WITHOUT_MAKE 135590be798eSDimitry AndricSet to not install 135690be798eSDimitry Andric.Xr make 1 135790be798eSDimitry Andricand related support files. 135874782f0eSEnji Cooper.It Va WITHOUT_MAKE_CHECK_USE_SANDBOX 135974782f0eSEnji CooperSet to not execute 136074782f0eSEnji Cooper.Dq Li "make check" 136174782f0eSEnji Cooperin limited sandbox mode. 136274782f0eSEnji CooperThis option should be paired with 136374782f0eSEnji Cooper.Va WITH_INSTALL_AS_USER 136474782f0eSEnji Cooperif executed as an unprivileged user. 136574782f0eSEnji CooperSee 136674782f0eSEnji Cooper.Xr tests 7 136774782f0eSEnji Cooperfor more details. 136890be798eSDimitry Andric.It Va WITHOUT_MAN 136990be798eSDimitry AndricSet to not build manual pages. 1370344e2bb9SEd MasteWhen set, these options are also in effect: 137190be798eSDimitry Andric.Pp 137290be798eSDimitry Andric.Bl -inset -compact 137390be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS 137490be798eSDimitry Andric(unless 137590be798eSDimitry Andric.Va WITH_MAN_UTILS 137690be798eSDimitry Andricis set explicitly) 137790be798eSDimitry Andric.El 137890be798eSDimitry Andric.It Va WITHOUT_MANCOMPRESS 137990be798eSDimitry AndricSet to not to install compressed man pages. 138090be798eSDimitry AndricOnly the uncompressed versions will be installed. 138190be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS 138290be798eSDimitry AndricSet to not build utilities for manual pages, 138390be798eSDimitry Andric.Xr apropos 1 , 138490be798eSDimitry Andric.Xr makewhatis 1 , 138590be798eSDimitry Andric.Xr man 1 , 138690be798eSDimitry Andric.Xr whatis 1 , 138790be798eSDimitry Andric.Xr manctl 8 , 138890be798eSDimitry Andricand related support files. 1389cc2520d2SSimon J. Gerraty.It Va WITH_META_MODE 1390344e2bb9SEd MasteCreate 1391be894451SBryan Drewery.Xr make 1 1392be894451SBryan Drewerymeta files when building, which can provide a reliable incremental build when 1393be894451SBryan Dreweryusing 1394be894451SBryan Drewery.Xr filemon 4 . 1395344e2bb9SEd MasteThe meta file is created in OBJDIR as 1396be894451SBryan Drewery.Pa target.meta . 1397344e2bb9SEd MasteThese meta files track the command that was executed, its output, and the 1398344e2bb9SEd Mastecurrent directory. 13992710e62cSBryan DreweryThe 14007f76a95cSBryan Drewery.Xr filemon 4 14012710e62cSBryan Drewerymodule is required unless 14022710e62cSBryan Drewery.Va NO_FILEMON 14032710e62cSBryan Dreweryis defined. 1404344e2bb9SEd MasteWhen the module is loaded, any files used by the commands executed are 1405344e2bb9SEd Mastetracked as dependencies for the target in its meta file. 1406344e2bb9SEd MasteThe target is considered out-of-date and rebuilt if any of these 1407344e2bb9SEd Masteconditions are true compared to the last build: 1408be894451SBryan Drewery.Bl -bullet -compact 1409be894451SBryan Drewery.It 1410be894451SBryan DreweryThe command to execute changes. 1411be894451SBryan Drewery.It 1412be894451SBryan DreweryThe current working directory changes. 1413be894451SBryan Drewery.It 1414a4a2269eSBryan DreweryThe target's meta file is missing. 1415a4a2269eSBryan Drewery.It 1416a4a2269eSBryan DreweryThe target's meta file is missing filemon data when filemon is loaded 1417a4a2269eSBryan Dreweryand a previous run did not have it loaded. 1418be894451SBryan Drewery.It 1419be894451SBryan Drewery[requires 1420be894451SBryan Drewery.Xr filemon 4 ] 1421be894451SBryan DreweryFiles read, executed or linked to are newer than the target. 1422be894451SBryan Drewery.It 1423be894451SBryan Drewery[requires 1424be894451SBryan Drewery.Xr filemon 4 ] 1425be894451SBryan DreweryFiles read, written, executed or linked are missing. 1426be894451SBryan Drewery.El 14277f76a95cSBryan DreweryThe meta files can also be useful for debugging. 14287f76a95cSBryan Drewery.Pp 1429344e2bb9SEd MasteThe build hides commands that are executed unless 14307f76a95cSBryan Drewery.Va NO_SILENT 14317f76a95cSBryan Dreweryis defined. 1432344e2bb9SEd MasteErrors cause 14332710e62cSBryan Drewery.Xr make 1 14342710e62cSBryan Dreweryto show some of its environment for further debugging. 14350a70ef02SBryan Drewery.Pp 1436be894451SBryan DreweryThe build operates as it normally would otherwise. 1437be894451SBryan DreweryThis option originally invoked a different build system but that was renamed 1438be894451SBryan Dreweryto 1439be894451SBryan Drewery.Va WITH_DIRDEPS_BUILD . 1440be894451SBryan Drewery.Pp 1441ba852870SBryan DreweryThis must be set in the environment, make command line, or 14420a70ef02SBryan Drewery.Pa /etc/src-env.conf , 14430a70ef02SBryan Drewerynot 14440a70ef02SBryan Drewery.Pa /etc/src.conf . 1445912aad0fSKyle Evans.It Va WITHOUT_MLX5TOOL 1446912aad0fSKyle EvansSet to not build 1447912aad0fSKyle Evans.Xr mlx5tool 8 1448912aad0fSKyle Evans.Pp 1449912aad0fSKyle EvansThis is a default setting on 14508ccac680SEd Mastearm/arm, arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpcspe and riscv/riscv64. 1451912aad0fSKyle Evans.It Va WITH_MLX5TOOL 1452912aad0fSKyle EvansSet to build 1453912aad0fSKyle Evans.Xr mlx5tool 8 1454912aad0fSKyle Evans.Pp 1455912aad0fSKyle EvansThis is a default setting on 1456912aad0fSKyle Evansamd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64. 145790be798eSDimitry Andric.It Va WITHOUT_NDIS 145890be798eSDimitry AndricSet to not build programs and libraries 145990be798eSDimitry Andricrelated to NDIS emulation support. 146090be798eSDimitry Andric.It Va WITHOUT_NETCAT 146190be798eSDimitry AndricSet to not build 146290be798eSDimitry Andric.Xr nc 1 146390be798eSDimitry Andricutility. 146490be798eSDimitry Andric.It Va WITHOUT_NETGRAPH 146590be798eSDimitry AndricSet to not build applications to support 146690be798eSDimitry Andric.Xr netgraph 4 . 1467344e2bb9SEd MasteWhen set, it enforces these options: 146890be798eSDimitry Andric.Pp 146990be798eSDimitry Andric.Bl -item -compact 147090be798eSDimitry Andric.It 147190be798eSDimitry Andric.Va WITHOUT_ATM 147290be798eSDimitry Andric.It 147390be798eSDimitry Andric.Va WITHOUT_BLUETOOTH 1474bf64e879SBryan Drewery.El 1475bf64e879SBryan Drewery.Pp 1476bf64e879SBryan DreweryWhen set, these options are also in effect: 1477bf64e879SBryan Drewery.Pp 1478bf64e879SBryan Drewery.Bl -inset -compact 1479bf64e879SBryan Drewery.It Va WITHOUT_NETGRAPH_SUPPORT 1480bf64e879SBryan Drewery(unless 1481bf64e879SBryan Drewery.Va WITH_NETGRAPH_SUPPORT 1482bf64e879SBryan Dreweryis set explicitly) 148390be798eSDimitry Andric.El 148490be798eSDimitry Andric.It Va WITHOUT_NETGRAPH_SUPPORT 148590be798eSDimitry AndricSet to build libraries, programs, and kernel modules without netgraph support. 148690be798eSDimitry Andric.It Va WITHOUT_NIS 148790be798eSDimitry AndricSet to not build 148890be798eSDimitry Andric.Xr NIS 8 148990be798eSDimitry Andricsupport and related programs. 149090be798eSDimitry AndricIf set, you might need to adopt your 149190be798eSDimitry Andric.Xr nsswitch.conf 5 149290be798eSDimitry Andricand remove 149390be798eSDimitry Andric.Sq nis 149490be798eSDimitry Andricentries. 149590be798eSDimitry Andric.It Va WITHOUT_NLS 149690be798eSDimitry AndricSet to not build NLS catalogs. 149757a87b06SEnji CooperWhen set, it enforces these options: 149857a87b06SEnji Cooper.Pp 149957a87b06SEnji Cooper.Bl -item -compact 150057a87b06SEnji Cooper.It 150157a87b06SEnji Cooper.Va WITHOUT_NLS_CATALOGS 150257a87b06SEnji Cooper.El 150390be798eSDimitry Andric.It Va WITHOUT_NLS_CATALOGS 150490be798eSDimitry AndricSet to not build NLS catalog support for 150590be798eSDimitry Andric.Xr csh 1 . 150690be798eSDimitry Andric.It Va WITHOUT_NS_CACHING 150790be798eSDimitry AndricSet to disable name caching in the 150890be798eSDimitry Andric.Pa nsswitch 150990be798eSDimitry Andricsubsystem. 151090be798eSDimitry AndricThe generic caching daemon, 151190be798eSDimitry Andric.Xr nscd 8 , 151290be798eSDimitry Andricwill not be built either if this option is set. 151390be798eSDimitry Andric.It Va WITHOUT_NTP 151490be798eSDimitry AndricSet to not build 151590be798eSDimitry Andric.Xr ntpd 8 151690be798eSDimitry Andricand related programs. 15178edab9cdSWarner Losh.It Va WITHOUT_NVME 15188edab9cdSWarner LoshSet to not build nvme related tools and kernel modules. 15198edab9cdSWarner Losh.Pp 15208edab9cdSWarner LoshThis is a default setting on 1521*85d55309SEd Mastearm/arm, arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 15228edab9cdSWarner Losh.It Va WITH_NVME 15238edab9cdSWarner LoshSet to build nvme related tools and kernel modules. 15248edab9cdSWarner Losh 15258edab9cdSWarner Losh.Pp 15268edab9cdSWarner LoshThis is a default setting on 1527*85d55309SEd Masteamd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64. 152890be798eSDimitry Andric.It Va WITH_OFED 152990be798eSDimitry AndricSet to build the 153090be798eSDimitry Andric.Dq "OpenFabrics Enterprise Distribution" 153190be798eSDimitry AndricInfiniband software stack. 15324a3caf80SKonstantin Belousov.It Va WITH_OFED_EXTRA 15334a3caf80SKonstantin BelousovSet to build the non-essential components of the 15344a3caf80SKonstantin Belousov.Dq "OpenFabrics Enterprise Distribution" 15354a3caf80SKonstantin BelousovInfiniband software stack, mostly examples. 153690be798eSDimitry Andric.It Va WITH_OPENLDAP 153790be798eSDimitry AndricEnable building openldap support for kerberos. 1538b0840a28SDimitry Andric.It Va WITHOUT_OPENMP 1539b0840a28SDimitry AndricSet to not build LLVM's OpenMP runtime. 1540b0840a28SDimitry Andric.Pp 1541b0840a28SDimitry AndricThis is a default setting on 1542*85d55309SEd Mastearm/arm, arm/armv6, arm/armv7, arm64/aarch64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 1543b0840a28SDimitry Andric.It Va WITH_OPENMP 1544b0840a28SDimitry AndricSet to build LLVM's OpenMP runtime. 1545b0840a28SDimitry Andric.Pp 1546b0840a28SDimitry AndricThis is a default setting on 1547*85d55309SEd Masteamd64/amd64 and i386/i386. 154890be798eSDimitry Andric.It Va WITHOUT_OPENSSH 154990be798eSDimitry AndricSet to not build OpenSSH. 155090be798eSDimitry Andric.It Va WITHOUT_OPENSSL 155190be798eSDimitry AndricSet to not build OpenSSL. 1552344e2bb9SEd MasteWhen set, it enforces these options: 155390be798eSDimitry Andric.Pp 155490be798eSDimitry Andric.Bl -item -compact 155590be798eSDimitry Andric.It 155690be798eSDimitry Andric.Va WITHOUT_KERBEROS 155790be798eSDimitry Andric.It 155890be798eSDimitry Andric.Va WITHOUT_OPENSSH 155990be798eSDimitry Andric.El 156090be798eSDimitry Andric.Pp 1561344e2bb9SEd MasteWhen set, these options are also in effect: 156290be798eSDimitry Andric.Pp 156390be798eSDimitry Andric.Bl -inset -compact 156490be798eSDimitry Andric.It Va WITHOUT_GSSAPI 156590be798eSDimitry Andric(unless 156690be798eSDimitry Andric.Va WITH_GSSAPI 156790be798eSDimitry Andricis set explicitly) 156890be798eSDimitry Andric.El 156990be798eSDimitry Andric.It Va WITHOUT_PAM 157090be798eSDimitry AndricSet to not build PAM library and modules. 157190be798eSDimitry Andric.Bf -symbolic 157290be798eSDimitry AndricThis option is deprecated and does nothing. 157390be798eSDimitry Andric.Ef 1574bf64e879SBryan DreweryWhen set, these options are also in effect: 157590be798eSDimitry Andric.Pp 1576bf64e879SBryan Drewery.Bl -inset -compact 1577bf64e879SBryan Drewery.It Va WITHOUT_PAM_SUPPORT 1578bf64e879SBryan Drewery(unless 1579bf64e879SBryan Drewery.Va WITH_PAM_SUPPORT 1580bf64e879SBryan Dreweryis set explicitly) 158190be798eSDimitry Andric.El 158290be798eSDimitry Andric.It Va WITHOUT_PAM_SUPPORT 158390be798eSDimitry AndricSet to build some programs without PAM support, particularly 158490be798eSDimitry Andric.Xr ftpd 8 158590be798eSDimitry Andricand 158690be798eSDimitry Andric.Xr ppp 8 . 158790be798eSDimitry Andric.It Va WITHOUT_PC_SYSINSTALL 158890be798eSDimitry AndricSet to not build 158990be798eSDimitry Andric.Xr pc-sysinstall 8 159090be798eSDimitry Andricand related programs. 159190be798eSDimitry Andric.It Va WITHOUT_PF 159290be798eSDimitry AndricSet to not build PF firewall package. 1593344e2bb9SEd MasteWhen set, it enforces these options: 159490be798eSDimitry Andric.Pp 159590be798eSDimitry Andric.Bl -item -compact 159690be798eSDimitry Andric.It 159790be798eSDimitry Andric.Va WITHOUT_AUTHPF 159890be798eSDimitry Andric.El 1599b3a27c81SEd Maste.It Va WITH_PIE 1600b3a27c81SEd MasteBuild dynamically linked binaries as 1601b3a27c81SEd MastePosition-Independent Executable (PIE). 160290be798eSDimitry Andric.It Va WITHOUT_PKGBOOTSTRAP 160390be798eSDimitry AndricSet to not build 160490be798eSDimitry Andric.Xr pkg 7 160590be798eSDimitry Andricbootstrap tool. 160690be798eSDimitry Andric.It Va WITHOUT_PMC 160790be798eSDimitry AndricSet to not build 160890be798eSDimitry Andric.Xr pmccontrol 8 160990be798eSDimitry Andricand related programs. 161090be798eSDimitry Andric.It Va WITHOUT_PORTSNAP 161190be798eSDimitry AndricSet to not build or install 161290be798eSDimitry Andric.Xr portsnap 8 161390be798eSDimitry Andricand related files. 161445b8de2dSEd MasteWhen set, it enforces these options: 161545b8de2dSEd Maste.Pp 161645b8de2dSEd Maste.Bl -item -compact 161745b8de2dSEd Maste.It 161845b8de2dSEd Maste.Va WITHOUT_FREEBSD_UPDATE 161945b8de2dSEd Maste.El 162090be798eSDimitry Andric.It Va WITHOUT_PPP 162190be798eSDimitry AndricSet to not build 162290be798eSDimitry Andric.Xr ppp 8 162390be798eSDimitry Andricand related programs. 162490be798eSDimitry Andric.It Va WITHOUT_PROFILE 16254c033a73SEnji CooperSet to not build profiled libraries for use with 16264c033a73SEnji Cooper.Xr gprof 8 . 16270780f5c3SJohn Baldwin.Pp 16280780f5c3SJohn BaldwinThis is a default setting on 1629e8788097SKonstantin Belousovmips/mips64el, mips/mips64, mips/mips64elhf and mips/mips64hf. 16304c033a73SEnji Cooper.It Va WITH_PROFILE 16314c033a73SEnji CooperSet to build profiled libraries for use with 16324c033a73SEnji Cooper.Xr gprof 8 . 16334c033a73SEnji Cooper.Pp 16344c033a73SEnji CooperThis is a default setting on 16358ccac680SEd Masteamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mipsn32, mips/mipselhf, mips/mipshf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 163690be798eSDimitry Andric.It Va WITHOUT_QUOTAS 163790be798eSDimitry AndricSet to not build 163823a6b49aSEdward Tomasz Napierala.Xr quota 1 163990be798eSDimitry Andricand related programs. 16400e0e9604SEnji Cooper.It Va WITHOUT_RADIUS_SUPPORT 16410e0e9604SEnji CooperSet to not build radius support into various applications, like 16420e0e9604SEnji Cooper.Xr pam_radius 8 16430e0e9604SEnji Cooperand 16440e0e9604SEnji Cooper.Xr ppp 8 . 164588342134SEnji Cooper.It Va WITH_RATELIMIT 164688342134SEnji CooperSet to build the system with rate limit support. 164788342134SEnji Cooper.Pp 164888342134SEnji CooperThis makes 164988342134SEnji Cooper.Dv SO_MAX_PACING_RATE 165088342134SEnji Coopereffective in 165188342134SEnji Cooper.Xr getsockopt 2 , 165288342134SEnji Cooperand 165388342134SEnji Cooper.Ar txrlimit 165488342134SEnji Coopersupport in 165588342134SEnji Cooper.Xr ifconfig 8 , 165688342134SEnji Cooperby proxy. 16570e0e9604SEnji Cooper.It Va WITHOUT_RBOOTD 16580e0e9604SEnji CooperSet to not build or install 16590e0e9604SEnji Cooper.Xr rbootd 8 . 1660*85d55309SEd Maste.It Va WITH_REPRODUCIBLE_BUILD 1661*85d55309SEd MasteSet to exclude build metadata (such as the build time, user, or host) 1662*85d55309SEd Mastefrom the kernel, boot loaders, and uname output, so that builds produce 1663*85d55309SEd Mastebit-for-bit identical output. 166490be798eSDimitry Andric.It Va WITHOUT_RESCUE 166590be798eSDimitry AndricSet to not build 166690be798eSDimitry Andric.Xr rescue 8 . 16678ccac680SEd Maste.It Va WITH_RETPOLINE 16688ccac680SEd MasteSet to build the base system with the retpoline speculative execution 16698ccac680SEd Mastevulnerability mitigation for CVE-2017-5715. 167090be798eSDimitry Andric.It Va WITHOUT_ROUTED 167190be798eSDimitry AndricSet to not build 167290be798eSDimitry Andric.Xr routed 8 167390be798eSDimitry Andricutility. 16744c033a73SEnji Cooper.It Va WITH_RPCBIND_WARMSTART_SUPPORT 16754c033a73SEnji CooperSet to build 16764c033a73SEnji Cooper.Xr rpcbind 8 16774c033a73SEnji Cooperwith warmstart support. 167890be798eSDimitry Andric.It Va WITHOUT_SENDMAIL 167990be798eSDimitry AndricSet to not build 168090be798eSDimitry Andric.Xr sendmail 8 168190be798eSDimitry Andricand related programs. 1682e8788097SKonstantin Belousov.It Va WITHOUT_SERVICESDB 1683e8788097SKonstantin BelousovSet to not install 1684e8788097SKonstantin Belousov.Pa /var/db/services.db . 168590be798eSDimitry Andric.It Va WITHOUT_SETUID_LOGIN 168690be798eSDimitry AndricSet this to disable the installation of 168790be798eSDimitry Andric.Xr login 1 168890be798eSDimitry Andricas a set-user-ID root program. 168990be798eSDimitry Andric.It Va WITHOUT_SHAREDOCS 169090be798eSDimitry AndricSet to not build the 169190be798eSDimitry Andric.Bx 4.4 169290be798eSDimitry Andriclegacy docs. 169390be798eSDimitry Andric.It Va WITH_SHARED_TOOLCHAIN 169490be798eSDimitry AndricSet to build the toolchain binaries shared. 169590be798eSDimitry AndricThe set includes 169690be798eSDimitry Andric.Xr cc 1 , 169790be798eSDimitry Andric.Xr make 1 169890be798eSDimitry Andricand necessary utilities like assembler, linker and library archive manager. 169990be798eSDimitry Andric.It Va WITH_SORT_THREADS 170090be798eSDimitry AndricSet to enable threads in 170190be798eSDimitry Andric.Xr sort 1 . 170290be798eSDimitry Andric.It Va WITHOUT_SOURCELESS 170390be798eSDimitry AndricSet to not build kernel modules that include sourceless code (either microcode or native code for host CPU). 1704344e2bb9SEd MasteWhen set, it enforces these options: 170590be798eSDimitry Andric.Pp 170690be798eSDimitry Andric.Bl -item -compact 170790be798eSDimitry Andric.It 170890be798eSDimitry Andric.Va WITHOUT_SOURCELESS_HOST 170990be798eSDimitry Andric.It 171090be798eSDimitry Andric.Va WITHOUT_SOURCELESS_UCODE 171190be798eSDimitry Andric.El 171290be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_HOST 171390be798eSDimitry AndricSet to not build kernel modules that include sourceless native code for host CPU. 171490be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_UCODE 171590be798eSDimitry AndricSet to not build kernel modules that include sourceless microcode. 171690be798eSDimitry Andric.It Va WITHOUT_SSP 171790be798eSDimitry AndricSet to not build world with propolice stack smashing protection. 1718cc68b6e5SEd Maste.Pp 1719344e2bb9SEd MasteThis is a default setting on 172036e8c7bbSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf. 17210cd582c8SEnji Cooper.It Va WITH_SSP 17220cd582c8SEnji CooperSet to build world with propolice stack smashing protection. 17230cd582c8SEnji Cooper.Pp 1724344e2bb9SEd MasteThis is a default setting on 17258ccac680SEd Masteamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 1726cc2520d2SSimon J. Gerraty.It Va WITH_STAGING 1727cc2520d2SSimon J. GerratyEnable staging of files to a stage tree. 1728cc2520d2SSimon J. GerratyThis can be best thought of as auto-install to 1729cc2520d2SSimon J. Gerraty.Va DESTDIR 1730cc2520d2SSimon J. Gerratywith some extra meta data to ensure dependencies can be tracked. 1731cc2520d2SSimon J. GerratyDepends on 173232b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD . 1733344e2bb9SEd MasteWhen set, these options are also in effect: 1734cc2520d2SSimon J. Gerraty.Pp 1735cc2520d2SSimon J. Gerraty.Bl -inset -compact 1736cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN 1737cc2520d2SSimon J. Gerraty(unless 1738cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_MAN 1739cc2520d2SSimon J. Gerratyis set explicitly) 1740cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG 1741cc2520d2SSimon J. Gerraty(unless 1742cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_PROG 1743cc2520d2SSimon J. Gerratyis set explicitly) 1744cc2520d2SSimon J. Gerraty.El 17450a70ef02SBryan Drewery.Pp 1746ba852870SBryan DreweryThis must be set in the environment, make command line, or 17470a70ef02SBryan Drewery.Pa /etc/src-env.conf , 17480a70ef02SBryan Drewerynot 17490a70ef02SBryan Drewery.Pa /etc/src.conf . 1750cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN 1751344e2bb9SEd MasteEnable staging of man pages to stage tree. 1752cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG 1753cc2520d2SSimon J. GerratyEnable staging of PROGs to stage tree. 1754cc2520d2SSimon J. Gerraty.It Va WITH_STALE_STAGED 1755cc2520d2SSimon J. GerratyCheck staged files are not stale. 175690be798eSDimitry Andric.It Va WITH_SVN 175790be798eSDimitry AndricSet to install 175890be798eSDimitry Andric.Xr svnlite 1 175990be798eSDimitry Andricas 176090be798eSDimitry Andric.Xr svn 1 . 176190be798eSDimitry Andric.It Va WITHOUT_SVNLITE 176290be798eSDimitry AndricSet to not build 176390be798eSDimitry Andric.Xr svnlite 1 176490be798eSDimitry Andricand related programs. 176590be798eSDimitry Andric.It Va WITHOUT_SYMVER 176690be798eSDimitry AndricSet to disable symbol versioning when building shared libraries. 176790be798eSDimitry Andric.It Va WITHOUT_SYSCONS 176890be798eSDimitry AndricSet to not build 176990be798eSDimitry Andric.Xr syscons 4 177090be798eSDimitry Andricsupport files such as keyboard maps, fonts, and screen output maps. 1771cc2520d2SSimon J. Gerraty.It Va WITH_SYSROOT 1772cc2520d2SSimon J. GerratyEnable use of sysroot during build. 1773cc2520d2SSimon J. GerratyDepends on 177432b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD . 17750a70ef02SBryan Drewery.Pp 1776ba852870SBryan DreweryThis must be set in the environment, make command line, or 17770a70ef02SBryan Drewery.Pa /etc/src-env.conf , 17780a70ef02SBryan Drewerynot 17790a70ef02SBryan Drewery.Pa /etc/src.conf . 17808095b3c2SBryan Drewery.It Va WITHOUT_SYSTEM_COMPILER 17818095b3c2SBryan DrewerySet to not opportunistically skip building a cross-compiler during the 1782a9da9b86SBryan Drewerybootstrap phase of the build. 17838095b3c2SBryan DreweryNormally, if the currently installed compiler matches the planned bootstrap 17848095b3c2SBryan Drewerycompiler type and revision, then it will not be built. 1785a9da9b86SBryan DreweryThis does not prevent a compiler from being built for installation though, 1786a9da9b86SBryan Dreweryonly for building one for the build itself. 1787a9da9b86SBryan DreweryThe 1788a9da9b86SBryan Drewery.Va WITHOUT_CLANG 1789a9da9b86SBryan Dreweryand 1790a9da9b86SBryan Drewery.Va WITHOUT_GCC 1791a9da9b86SBryan Dreweryoptions control those. 1792be9309deSBryan Drewery.It Va WITHOUT_SYSTEM_LINKER 1793be9309deSBryan DrewerySet to not opportunistically skip building a cross-linker during the 1794be9309deSBryan Drewerybootstrap phase of the build. 1795be9309deSBryan DreweryNormally, if the currently installed linker matches the planned bootstrap 1796be9309deSBryan Drewerylinker type and revision, then it will not be built. 1797be9309deSBryan DreweryThis does not prevent a linker from being built for installation though, 1798be9309deSBryan Dreweryonly for building one for the build itself. 1799be9309deSBryan DreweryThe 1800be9309deSBryan Drewery.Va WITHOUT_LLD 1801be9309deSBryan Dreweryand 1802be9309deSBryan Drewery.Va WITHOUT_BINUTILS 1803be9309deSBryan Dreweryoptions control those. 1804be9309deSBryan Drewery.Pp 1805be9309deSBryan DreweryThis option is only relevant when 1806be9309deSBryan Drewery.Va WITH_LLD_BOOTSTRAP 1807be9309deSBryan Dreweryis set. 180893da8366SEnji Cooper.It Va WITHOUT_TALK 180993da8366SEnji CooperSet to not build or install 181093da8366SEnji Cooper.Xr talk 1 181193da8366SEnji Cooperand 181293da8366SEnji Cooper.Xr talkd 8 . 18130e0e9604SEnji Cooper.It Va WITHOUT_TCP_WRAPPERS 18140e0e9604SEnji CooperSet to not build or install 18150e0e9604SEnji Cooper.Xr tcpd 8 , 18160e0e9604SEnji Cooperand related utilities. 181790be798eSDimitry Andric.It Va WITHOUT_TCSH 181890be798eSDimitry AndricSet to not build and install 181990be798eSDimitry Andric.Pa /bin/csh 182090be798eSDimitry Andric(which is 182190be798eSDimitry Andric.Xr tcsh 1 ) . 182290be798eSDimitry Andric.It Va WITHOUT_TELNET 182390be798eSDimitry AndricSet to not build 182423a6b49aSEdward Tomasz Napierala.Xr telnet 1 182590be798eSDimitry Andricand related programs. 182618c6fc4cSJulio Merino.It Va WITHOUT_TESTS 182718c6fc4cSJulio MerinoSet to not build nor install the 182890be798eSDimitry Andric.Fx 182990be798eSDimitry AndricTest Suite in 183090be798eSDimitry Andric.Pa /usr/tests/ . 183190be798eSDimitry AndricSee 183290be798eSDimitry Andric.Xr tests 7 183390be798eSDimitry Andricfor more details. 183418c6fc4cSJulio MerinoThis also disables the build of all test-related dependencies, including ATF. 1835344e2bb9SEd MasteWhen set, it enforces these options: 1836c5d09a87SGlen Barber.Pp 1837c5d09a87SGlen Barber.Bl -item -compact 1838c5d09a87SGlen Barber.It 183916f3fdf5SMark Johnston.Va WITHOUT_DTRACE_TESTS 1840bf64e879SBryan Drewery.El 1841bf64e879SBryan Drewery.Pp 1842bf64e879SBryan DreweryWhen set, these options are also in effect: 1843bf64e879SBryan Drewery.Pp 1844bf64e879SBryan Drewery.Bl -inset -compact 18457840b63aSEnji Cooper.It Va WITHOUT_GOOGLETEST 18467840b63aSEnji Cooper(unless 18477840b63aSEnji Cooper.Va WITH_GOOGLETEST 18487840b63aSEnji Cooperis set explicitly) 1849bf64e879SBryan Drewery.It Va WITHOUT_TESTS_SUPPORT 1850bf64e879SBryan Drewery(unless 1851bf64e879SBryan Drewery.Va WITH_TESTS_SUPPORT 1852bf64e879SBryan Dreweryis set explicitly) 1853c5d09a87SGlen Barber.El 1854c5d09a87SGlen Barber.It Va WITHOUT_TESTS_SUPPORT 1855c5d09a87SGlen BarberSet to disables the build of all test-related dependencies, including ATF. 18567840b63aSEnji CooperWhen set, it enforces these options: 18577840b63aSEnji Cooper.Pp 18587840b63aSEnji Cooper.Bl -item -compact 18597840b63aSEnji Cooper.It 18607840b63aSEnji Cooper.Va WITHOUT_GOOGLETEST 18617840b63aSEnji Cooper.El 186290be798eSDimitry Andric.It Va WITHOUT_TEXTPROC 186390be798eSDimitry AndricSet to not build 186490be798eSDimitry Andricprograms used for text processing. 18650e0e9604SEnji Cooper.It Va WITHOUT_TFTP 18660e0e9604SEnji CooperSet to not build or install 18670e0e9604SEnji Cooper.Xr tftp 1 18680e0e9604SEnji Cooperand 18690e0e9604SEnji Cooper.Xr tftpd 8 . 187090be798eSDimitry Andric.It Va WITHOUT_TOOLCHAIN 1871148bdd15SBrooks DavisSet to not install header or 187290be798eSDimitry Andricprograms used for program development, 187390be798eSDimitry Andriccompilers, debuggers etc. 1874344e2bb9SEd MasteWhen set, it enforces these options: 187590be798eSDimitry Andric.Pp 187690be798eSDimitry Andric.Bl -item -compact 187790be798eSDimitry Andric.It 187890be798eSDimitry Andric.Va WITHOUT_BINUTILS 187990be798eSDimitry Andric.It 188090be798eSDimitry Andric.Va WITHOUT_CLANG 188190be798eSDimitry Andric.It 188290be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS 188390be798eSDimitry Andric.It 188490be798eSDimitry Andric.Va WITHOUT_CLANG_FULL 188590be798eSDimitry Andric.It 188690be798eSDimitry Andric.Va WITHOUT_GCC 188790be798eSDimitry Andric.It 188890be798eSDimitry Andric.Va WITHOUT_GDB 1889c5d09a87SGlen Barber.It 1890c5d09a87SGlen Barber.Va WITHOUT_INCLUDES 18913d02549fSBryan Drewery.It 18926c2b7edaSEd Maste.Va WITHOUT_LLD 18936c2b7edaSEd Maste.It 18943d02549fSBryan Drewery.Va WITHOUT_LLDB 18955b9c3654SEd Maste.It 18965b9c3654SEd Maste.Va WITHOUT_LLVM_COV 189790be798eSDimitry Andric.El 189890be798eSDimitry Andric.It Va WITHOUT_UNBOUND 189990be798eSDimitry AndricSet to not build 190090be798eSDimitry Andric.Xr unbound 8 190190be798eSDimitry Andricand related programs. 1902efb949a6SBryan Drewery.It Va WITHOUT_UNIFIED_OBJDIR 1903efb949a6SBryan DrewerySet to use the historical object directory format for 1904efb949a6SBryan Drewery.Xr build 7 1905efb949a6SBryan Drewerytargets. 1906efb949a6SBryan DreweryFor native-builds and builds done directly in sub-directories the format of 1907efb949a6SBryan Drewery.Pa ${MAKEOBJDIRPREFIX}/${.CURDIR} 1908efb949a6SBryan Dreweryis used, 1909efb949a6SBryan Drewerywhile for cross-builds 1910efb949a6SBryan Drewery.Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR} 1911efb949a6SBryan Dreweryis used. 1912efb949a6SBryan Drewery.Pp 1913efb949a6SBryan DreweryThis option is transitional and will be removed before the 12.0 release, 1914efb949a6SBryan Dreweryat which time 1915efb949a6SBryan Drewery.va WITH_UNIFIED_OBJDIR 1916efb949a6SBryan Drewerywill be enabled permanently. 1917efb949a6SBryan Drewery.Pp 1918efb949a6SBryan DreweryThis must be set in the environment, make command line, or 1919efb949a6SBryan Drewery.Pa /etc/src-env.conf , 1920efb949a6SBryan Drewerynot 1921efb949a6SBryan Drewery.Pa /etc/src.conf . 192290be798eSDimitry Andric.It Va WITHOUT_USB 192390be798eSDimitry AndricSet to not build USB-related programs and libraries. 1924c5d09a87SGlen Barber.It Va WITHOUT_USB_GADGET_EXAMPLES 1925d1040cedSWarren BlockSet to not build USB gadget kernel modules. 192690be798eSDimitry Andric.It Va WITHOUT_UTMPX 192790be798eSDimitry AndricSet to not build user accounting tools such as 192890be798eSDimitry Andric.Xr last 1 , 192990be798eSDimitry Andric.Xr users 1 , 193090be798eSDimitry Andric.Xr who 1 , 193190be798eSDimitry Andric.Xr ac 8 , 193290be798eSDimitry Andric.Xr lastlogin 8 193390be798eSDimitry Andricand 193490be798eSDimitry Andric.Xr utx 8 . 1935bfdf8aa9SJohn Baldwin.It Va WITH_VERIEXEC 1936bfdf8aa9SJohn BaldwinEnable building 1937bfdf8aa9SJohn Baldwin.Xr veriexec 8 1938bfdf8aa9SJohn Baldwinwhich loads the contents of verified manifests into the kernel 1939bfdf8aa9SJohn Baldwinfor use by 1940bfdf8aa9SJohn Baldwin.Xr mac_veriexec 4 1941bfdf8aa9SJohn Baldwin.Pp 1942bfdf8aa9SJohn BaldwinIt depends on 1943bfdf8aa9SJohn Baldwin.Va WITH_BEARSSL 194490be798eSDimitry Andric.It Va WITHOUT_VI 194590be798eSDimitry AndricSet to not build and install vi, view, ex and related programs. 194690be798eSDimitry Andric.It Va WITHOUT_VT 194790be798eSDimitry AndricSet to not build 194890be798eSDimitry Andric.Xr vt 4 194990be798eSDimitry Andricsupport files (fonts and keymaps). 195090be798eSDimitry Andric.It Va WITHOUT_WARNS 195190be798eSDimitry AndricSet this to not add warning flags to the compiler invocations. 195290be798eSDimitry AndricUseful as a temporary workaround when code enters the tree 195390be798eSDimitry Andricwhich triggers warnings in environments that differ from the 1954559f9bfcSJens Schweikhardtoriginal developer. 195590be798eSDimitry Andric.It Va WITHOUT_WIRELESS 195690be798eSDimitry AndricSet to not build programs used for 802.11 wireless networks; especially 195790be798eSDimitry Andric.Xr wpa_supplicant 8 195890be798eSDimitry Andricand 195990be798eSDimitry Andric.Xr hostapd 8 . 1960bf64e879SBryan DreweryWhen set, these options are also in effect: 196190be798eSDimitry Andric.Pp 1962bf64e879SBryan Drewery.Bl -inset -compact 1963bf64e879SBryan Drewery.It Va WITHOUT_WIRELESS_SUPPORT 1964bf64e879SBryan Drewery(unless 1965bf64e879SBryan Drewery.Va WITH_WIRELESS_SUPPORT 1966bf64e879SBryan Dreweryis set explicitly) 196790be798eSDimitry Andric.El 196890be798eSDimitry Andric.It Va WITHOUT_WIRELESS_SUPPORT 196990be798eSDimitry AndricSet to build libraries, programs, and kernel modules without 197090be798eSDimitry Andric802.11 wireless support. 197190be798eSDimitry Andric.It Va WITHOUT_WPA_SUPPLICANT_EAPOL 197290be798eSDimitry AndricBuild 197390be798eSDimitry Andric.Xr wpa_supplicant 8 197490be798eSDimitry Andricwithout support for the IEEE 802.1X protocol and without 197590be798eSDimitry Andricsupport for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS 197690be798eSDimitry Andricprotocols (usable only via 802.1X). 197790be798eSDimitry Andric.It Va WITHOUT_ZFS 19781f7d1483SEd MasteSet to not build ZFS file system kernel module, libraries, and user commands. 197990be798eSDimitry Andric.It Va WITHOUT_ZONEINFO 198090be798eSDimitry AndricSet to not build the timezone database. 19815c021049SEnji CooperWhen set, it enforces these options: 19825c021049SEnji Cooper.Pp 19835c021049SEnji Cooper.Bl -item -compact 19845c021049SEnji Cooper.It 19855c021049SEnji Cooper.Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT 19865c021049SEnji Cooper.It 19875c021049SEnji Cooper.Va WITHOUT_ZONEINFO_OLD_TIMEZONES_SUPPORT 19885c021049SEnji Cooper.El 19895c021049SEnji Cooper.It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT 19905c021049SEnji CooperSet to build leapsecond information in to the timezone database. 19915c021049SEnji Cooper.It Va WITH_ZONEINFO_OLD_TIMEZONES_SUPPORT 19925c021049SEnji CooperSet to build backward compatibility timezone aliases in to the timezone 19935c021049SEnji Cooperdatabase. 199490be798eSDimitry Andric.El 199590be798eSDimitry Andric.Sh FILES 199690be798eSDimitry Andric.Bl -tag -compact -width Pa 199790be798eSDimitry Andric.It Pa /etc/src.conf 19980a70ef02SBryan Drewery.It Pa /etc/src-env.conf 199990be798eSDimitry Andric.It Pa /usr/share/mk/bsd.own.mk 200090be798eSDimitry Andric.El 200190be798eSDimitry Andric.Sh SEE ALSO 200290be798eSDimitry Andric.Xr make 1 , 200390be798eSDimitry Andric.Xr make.conf 5 , 200490be798eSDimitry Andric.Xr build 7 , 200590be798eSDimitry Andric.Xr ports 7 200690be798eSDimitry Andric.Sh HISTORY 200790be798eSDimitry AndricThe 200890be798eSDimitry Andric.Nm 200990be798eSDimitry Andricfile appeared in 201090be798eSDimitry Andric.Fx 7.0 . 201190be798eSDimitry Andric.Sh AUTHORS 201288342134SEnji CooperThis manual page was autogenerated by 2013a121d3a8SEnji Cooper.An tools/build/options/makeman . 2014