1b1a0e564SEitan Adler.\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman. 2fa07cb9cSRuslan Ermilov.\" $FreeBSD$ 3*89edb881SDimitry Andric.Dd August 9, 2018 4fa07cb9cSRuslan Ermilov.Dt SRC.CONF 5 5fa07cb9cSRuslan Ermilov.Os 6fa07cb9cSRuslan Ermilov.Sh NAME 7fa07cb9cSRuslan Ermilov.Nm src.conf 816f2e711SYaroslav Tykhiy.Nd "source build options" 9fa07cb9cSRuslan Ermilov.Sh DESCRIPTION 10fa07cb9cSRuslan ErmilovThe 11fa07cb9cSRuslan Ermilov.Nm 12fa07cb9cSRuslan Ermilovfile contains settings that will apply to every build involving the 13fa07cb9cSRuslan Ermilov.Fx 14fa07cb9cSRuslan Ermilovsource tree; see 15fa07cb9cSRuslan Ermilov.Xr build 7 . 16fa07cb9cSRuslan Ermilov.Pp 17fa07cb9cSRuslan ErmilovThe 18fa07cb9cSRuslan Ermilov.Nm 19fa07cb9cSRuslan Ermilovfile uses the standard makefile syntax. 20fa07cb9cSRuslan ErmilovHowever, 21fa07cb9cSRuslan Ermilov.Nm 22fa07cb9cSRuslan Ermilovshould not specify any dependencies to 23fa07cb9cSRuslan Ermilov.Xr make 1 . 24fa07cb9cSRuslan ErmilovInstead, 25fa07cb9cSRuslan Ermilov.Nm 26fa07cb9cSRuslan Ermilovis to set 27fa07cb9cSRuslan Ermilov.Xr make 1 28fa07cb9cSRuslan Ermilovvariables that control the aspects of how the system builds. 29fa07cb9cSRuslan Ermilov.Pp 30fa07cb9cSRuslan ErmilovThe default location of 31fa07cb9cSRuslan Ermilov.Nm 32fa07cb9cSRuslan Ermilovis 33fa07cb9cSRuslan Ermilov.Pa /etc/src.conf , 34fa07cb9cSRuslan Ermilovthough an alternative location can be specified in the 35fa07cb9cSRuslan Ermilov.Xr make 1 36fa07cb9cSRuslan Ermilovvariable 37fa07cb9cSRuslan Ermilov.Va SRCCONF . 38fa07cb9cSRuslan ErmilovOverriding the location of 39fa07cb9cSRuslan Ermilov.Nm 40fa07cb9cSRuslan Ermilovmay be necessary if the system-wide settings are not suitable 41fa07cb9cSRuslan Ermilovfor a particular build. 42fa07cb9cSRuslan ErmilovFor instance, setting 43fa07cb9cSRuslan Ermilov.Va SRCCONF 44fa07cb9cSRuslan Ermilovto 45fa07cb9cSRuslan Ermilov.Pa /dev/null 46fa07cb9cSRuslan Ermiloveffectively resets all build controls to their defaults. 47fa07cb9cSRuslan Ermilov.Pp 48fa07cb9cSRuslan ErmilovThe only purpose of 49fa07cb9cSRuslan Ermilov.Nm 50fa07cb9cSRuslan Ermilovis to control the compilation of the 51fa07cb9cSRuslan Ermilov.Fx 5216f2e711SYaroslav Tykhiysource code, which is usually located in 53fa07cb9cSRuslan Ermilov.Pa /usr/src . 54fa07cb9cSRuslan ErmilovAs a rule, the system administrator creates 55fa07cb9cSRuslan Ermilov.Nm 56fa07cb9cSRuslan Ermilovwhen the values of certain control variables need to be changed 57fa07cb9cSRuslan Ermilovfrom their defaults. 58fa07cb9cSRuslan Ermilov.Pp 59fa07cb9cSRuslan ErmilovIn addition, control variables can be specified 60fa07cb9cSRuslan Ermilovfor a particular build via the 61fa07cb9cSRuslan Ermilov.Fl D 62fa07cb9cSRuslan Ermilovoption of 63fa07cb9cSRuslan Ermilov.Xr make 1 6472735687SMike Makonnenor in its environment; see 65fa07cb9cSRuslan Ermilov.Xr environ 7 . 66fa07cb9cSRuslan Ermilov.Pp 670a70ef02SBryan DreweryThe environment of 680a70ef02SBryan Drewery.Xr make 1 690a70ef02SBryan Dreweryfor the build can be controlled via the 700a70ef02SBryan Drewery.Va SRC_ENV_CONF 710a70ef02SBryan Dreweryvariable, which defaults to 720a70ef02SBryan Drewery.Pa /etc/src-env.conf . 730a70ef02SBryan DrewerySome examples that may only be set in this file are 7432b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD , 750a70ef02SBryan Dreweryand 76efb949a6SBryan Drewery.Va WITH_META_MODE , 77efb949a6SBryan Dreweryand 787df4050dSBryan Drewery.Va MAKEOBJDIRPREFIX 79efb949a6SBryan Dreweryas they are environment-only variables. 800a70ef02SBryan Drewery.Pp 8116f2e711SYaroslav TykhiyThe values of variables are ignored regardless of their setting; 8216f2e711SYaroslav Tykhiyeven if they would be set to 83fa07cb9cSRuslan Ermilov.Dq Li FALSE 84fa07cb9cSRuslan Ermilovor 8516f2e711SYaroslav Tykhiy.Dq Li NO . 86344e2bb9SEd MasteThe presence of an option causes 87344e2bb9SEd Masteit to be honored by 8816f2e711SYaroslav Tykhiy.Xr make 1 . 89fa07cb9cSRuslan Ermilov.Pp 90344e2bb9SEd MasteThis list provides a name and short description for variables 91fa07cb9cSRuslan Ermilovthat can be used for source builds. 92fa07cb9cSRuslan Ermilov.Bl -tag -width indent 93aaa6d7ebSSam Leffler.It Va WITHOUT_ACCT 94aaa6d7ebSSam LefflerSet to not build process accounting tools such as 950ea27d02SEd Schouten.Xr accton 8 96aaa6d7ebSSam Lefflerand 970ea27d02SEd Schouten.Xr sa 8 . 98fa07cb9cSRuslan Ermilov.It Va WITHOUT_ACPI 99fa07cb9cSRuslan ErmilovSet to not build 100fa07cb9cSRuslan Ermilov.Xr acpiconf 8 , 101fa07cb9cSRuslan Ermilov.Xr acpidump 8 102fa07cb9cSRuslan Ermilovand related programs. 103aaa6d7ebSSam Leffler.It Va WITHOUT_AMD 104aaa6d7ebSSam LefflerSet to not build 105aaa6d7ebSSam Leffler.Xr amd 8 , 106aaa6d7ebSSam Lefflerand related programs. 107aaa6d7ebSSam Leffler.It Va WITHOUT_APM 108aaa6d7ebSSam LefflerSet to not build 109aaa6d7ebSSam Leffler.Xr apm 8 , 110aaa6d7ebSSam Leffler.Xr apmd 8 111aaa6d7ebSSam Lefflerand related programs. 112e567b213SRuslan Ermilov.It Va WITHOUT_ASSERT_DEBUG 113e567b213SRuslan ErmilovSet to compile programs and libraries without the 114e567b213SRuslan Ermilov.Xr assert 3 115e567b213SRuslan Ermilovchecks. 116aaa6d7ebSSam Leffler.It Va WITHOUT_AT 117aaa6d7ebSSam LefflerSet to not build 118aaa6d7ebSSam Leffler.Xr at 1 119aaa6d7ebSSam Lefflerand related utilities. 120fa07cb9cSRuslan Ermilov.It Va WITHOUT_ATM 121fa07cb9cSRuslan ErmilovSet to not build 122fa07cb9cSRuslan Ermilovprograms and libraries related to ATM networking. 123fa07cb9cSRuslan Ermilov.It Va WITHOUT_AUDIT 124fa07cb9cSRuslan ErmilovSet to not build audit support into system programs. 125fa07cb9cSRuslan Ermilov.It Va WITHOUT_AUTHPF 126fa07cb9cSRuslan ErmilovSet to not build 127fa07cb9cSRuslan Ermilov.Xr authpf 8 . 12861940879SEnji Cooper.It Va WITHOUT_AUTOFS 12961940879SEnji CooperSet to not build 1304b9f77e4SEdward Tomasz Napierala.Xr autofs 5 13161940879SEnji Cooperrelated programs, libraries, and kernel modules. 132906a1c6cSBryan Drewery.It Va WITHOUT_AUTO_OBJ 133906a1c6cSBryan DreweryDisable automatic creation of objdirs. 134906a1c6cSBryan DreweryThis is enabled by default if the wanted OBJDIR is writable by the current user. 1350a70ef02SBryan Drewery.Pp 136ba852870SBryan DreweryThis must be set in the environment, make command line, or 1370a70ef02SBryan Drewery.Pa /etc/src-env.conf , 1380a70ef02SBryan Drewerynot 1390a70ef02SBryan Drewery.Pa /etc/src.conf . 14061940879SEnji Cooper.It Va WITHOUT_BHYVE 14161940879SEnji CooperSet to not build or install 14261940879SEnji Cooper.Xr bhyve 8 , 14361940879SEnji Cooperassociated utilities, and examples. 14461940879SEnji Cooper.Pp 14561940879SEnji CooperThis option only affects amd64/amd64. 14690be798eSDimitry Andric.It Va WITHOUT_BINUTILS 147e2d98a24SEd MasteSet to not build or install binutils (as, ld, and objdump) as part 14890be798eSDimitry Andricof the normal system build. 14990be798eSDimitry AndricThe resulting system cannot build programs from source. 1505be09b10SEd Maste.Pp 151344e2bb9SEd MasteThis is a default setting on 1520780f5c3SJohn Baldwinarm64/aarch64, riscv/riscv64 and riscv/riscv64sf. 153344e2bb9SEd MasteWhen set, it enforces these options: 15436e8c7bbSEd Maste.Pp 15536e8c7bbSEd Maste.Bl -item -compact 15636e8c7bbSEd Maste.It 15736e8c7bbSEd Maste.Va WITHOUT_GDB 15836e8c7bbSEd Maste.El 1595977355fSBryan Drewery.It Va WITH_BINUTILS 160e2d98a24SEd MasteSet to build and install binutils (as, ld, and objdump) as part 1615977355fSBryan Dreweryof the normal system build. 1625977355fSBryan Drewery.Pp 163344e2bb9SEd MasteThis is a default setting on 164e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 16590be798eSDimitry Andric.It Va WITHOUT_BINUTILS_BOOTSTRAP 166e2d98a24SEd MasteSet to not build binutils (as, ld, and objdump) 16790be798eSDimitry Andricas part of the bootstrap process. 16890be798eSDimitry Andric.Bf -symbolic 16990be798eSDimitry AndricThe option does not work for build targets unless some alternative 17090be798eSDimitry Andrictoolchain is provided. 17190be798eSDimitry Andric.Ef 1725be09b10SEd Maste.Pp 173344e2bb9SEd MasteThis is a default setting on 1740780f5c3SJohn Baldwinarm64/aarch64, riscv/riscv64 and riscv/riscv64sf. 1755977355fSBryan Drewery.It Va WITH_BINUTILS_BOOTSTRAP 176e2d98a24SEd MasteSet build binutils (as, ld, and objdump) 1775977355fSBryan Dreweryas part of the bootstrap process. 1785977355fSBryan Drewery.Pp 179344e2bb9SEd MasteThis is a default setting on 180e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 1810341a043SBryan Drewery.It Va WITHOUT_BLACKLIST 1824650b8aeSEnji CooperSet this if you do not want to build 1834650b8aeSEnji Cooper.Xr blacklistd 8 1844650b8aeSEnji Cooperand 1854650b8aeSEnji Cooper.Xr blacklistctl 8 . 186bf64e879SBryan DreweryWhen set, these options are also in effect: 1870341a043SBryan Drewery.Pp 188bf64e879SBryan Drewery.Bl -inset -compact 189bf64e879SBryan Drewery.It Va WITHOUT_BLACKLIST_SUPPORT 190bf64e879SBryan Drewery(unless 191bf64e879SBryan Drewery.Va WITH_BLACKLIST_SUPPORT 192bf64e879SBryan Dreweryis set explicitly) 1930341a043SBryan Drewery.El 1940341a043SBryan Drewery.It Va WITHOUT_BLACKLIST_SUPPORT 1954650b8aeSEnji CooperSet to build some programs without 1964650b8aeSEnji Cooper.Xr libblacklist 3 1974650b8aeSEnji Coopersupport, like 1980341a043SBryan Drewery.Xr fingerd 8 , 1990341a043SBryan Drewery.Xr ftpd 8 , 2000341a043SBryan Drewery.Xr rlogind 8 , 2010341a043SBryan Drewery.Xr rshd 8 , 2020341a043SBryan Dreweryand 2030341a043SBryan Drewery.Xr sshd 8 . 20490be798eSDimitry Andric.It Va WITHOUT_BLUETOOTH 20590be798eSDimitry AndricSet to not build Bluetooth related kernel modules, programs and libraries. 20690be798eSDimitry Andric.It Va WITHOUT_BOOT 20790be798eSDimitry AndricSet to not build the boot blocks and loader. 2080e0e9604SEnji Cooper.It Va WITHOUT_BOOTPARAMD 2090e0e9604SEnji CooperSet to not build or install 2100e0e9604SEnji Cooper.Xr bootparamd 8 . 2110e0e9604SEnji Cooper.It Va WITHOUT_BOOTPD 2120e0e9604SEnji CooperSet to not build or install 2130e0e9604SEnji Cooper.Xr bootpd 8 . 21493da8366SEnji Cooper.It Va WITHOUT_BSDINSTALL 21593da8366SEnji CooperSet to not build 21693da8366SEnji Cooper.Xr bsdinstall 8 , 21793da8366SEnji Cooper.Xr sade 8 , 21893da8366SEnji Cooperand related programs. 21990be798eSDimitry Andric.It Va WITHOUT_BSD_CPIO 22090be798eSDimitry AndricSet to not build the BSD licensed version of cpio based on 22190be798eSDimitry Andric.Xr libarchive 3 . 22290be798eSDimitry Andric.It Va WITH_BSD_GREP 22390be798eSDimitry AndricInstall BSD-licensed grep as '[ef]grep' instead of GNU grep. 22490be798eSDimitry Andric.It Va WITHOUT_BSNMP 22590be798eSDimitry AndricSet to not build or install 22690be798eSDimitry Andric.Xr bsnmpd 1 22790be798eSDimitry Andricand related libraries and data files. 22890be798eSDimitry Andric.It Va WITHOUT_BZIP2 22990be798eSDimitry AndricSet to not build contributed bzip2 software as a part of the base system. 23090be798eSDimitry Andric.Bf -symbolic 23190be798eSDimitry AndricThe option has no effect yet. 23290be798eSDimitry Andric.Ef 233bf64e879SBryan DreweryWhen set, these options are also in effect: 23490be798eSDimitry Andric.Pp 235bf64e879SBryan Drewery.Bl -inset -compact 236bf64e879SBryan Drewery.It Va WITHOUT_BZIP2_SUPPORT 237bf64e879SBryan Drewery(unless 238bf64e879SBryan Drewery.Va WITH_BZIP2_SUPPORT 239bf64e879SBryan Dreweryis set explicitly) 24090be798eSDimitry Andric.El 24190be798eSDimitry Andric.It Va WITHOUT_BZIP2_SUPPORT 24290be798eSDimitry AndricSet to build some programs without optional bzip2 support. 24390be798eSDimitry Andric.It Va WITHOUT_CALENDAR 24490be798eSDimitry AndricSet to not build 24590be798eSDimitry Andric.Xr calendar 1 . 24690be798eSDimitry Andric.It Va WITHOUT_CAPSICUM 24790be798eSDimitry AndricSet to not build Capsicum support into system programs. 248344e2bb9SEd MasteWhen set, it enforces these options: 249aced6942SBaptiste Daroussin.Pp 250aced6942SBaptiste Daroussin.Bl -item -compact 251aced6942SBaptiste Daroussin.It 252aced6942SBaptiste Daroussin.Va WITHOUT_CASPER 253aced6942SBaptiste Daroussin.El 25490be798eSDimitry Andric.It Va WITHOUT_CASPER 25590be798eSDimitry AndricSet to not build Casper program and related libraries. 2561c01e4f8SBryan Drewery.It Va WITH_CCACHE_BUILD 2571c01e4f8SBryan DrewerySet to use 2581c01e4f8SBryan Drewery.Xr ccache 1 2591c01e4f8SBryan Dreweryfor the build. 2601c01e4f8SBryan DreweryNo configuration is required except to install the 2611c01e4f8SBryan Drewery.Sy devel/ccache 2621c01e4f8SBryan Drewerypackage. 263344e2bb9SEd MasteWhen using with 264344e2bb9SEd Maste.Xr distcc 1 , 265344e2bb9SEd Masteset 2661c01e4f8SBryan Drewery.Sy CCACHE_PREFIX=/usr/local/bin/distcc . 2671c01e4f8SBryan DreweryThe default cache directory of 2681c01e4f8SBryan Drewery.Pa $HOME/.ccache 2691c01e4f8SBryan Drewerywill be used, which can be overridden by setting 2701c01e4f8SBryan Drewery.Sy CCACHE_DIR . 2711c01e4f8SBryan DreweryThe 2721c01e4f8SBryan Drewery.Sy CCACHE_COMPILERCHECK 2731c01e4f8SBryan Dreweryoption defaults to 2741c01e4f8SBryan Drewery.Sy content 2751c01e4f8SBryan Drewerywhen using the in-tree bootstrap compiler, 2761c01e4f8SBryan Dreweryand 2771c01e4f8SBryan Drewery.Sy mtime 2781c01e4f8SBryan Drewerywhen using an external compiler. 2791c01e4f8SBryan DreweryThe 2801c01e4f8SBryan Drewery.Sy CCACHE_CPP2 2811c01e4f8SBryan Dreweryoption is used for Clang but not GCC. 2821c01e4f8SBryan Drewery.Pp 2831c01e4f8SBryan DrewerySharing a cache between multiple work directories requires using a layout 2841c01e4f8SBryan Drewerysimilar to 2851c01e4f8SBryan Drewery.Pa /some/prefix/src 2861c01e4f8SBryan Drewery.Pa /some/prefix/obj 2871c01e4f8SBryan Dreweryand an environment such as: 2881c01e4f8SBryan Drewery.Bd -literal -offset indent 2891c01e4f8SBryan DreweryCCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj' 2901c01e4f8SBryan Drewery.Ed 2911c01e4f8SBryan Drewery.Pp 2921c01e4f8SBryan DrewerySee 2931c01e4f8SBryan Drewery.Xr ccache 1 2941c01e4f8SBryan Dreweryfor more configuration options. 29593da8366SEnji Cooper.It Va WITHOUT_CCD 29693da8366SEnji CooperSet to not build 29793da8366SEnji Cooper.Xr geom_ccd 4 29893da8366SEnji Cooperand related utilities. 29990be798eSDimitry Andric.It Va WITHOUT_CDDL 30090be798eSDimitry AndricSet to not build code licensed under Sun's CDDL. 301344e2bb9SEd MasteWhen set, it enforces these options: 30290be798eSDimitry Andric.Pp 30390be798eSDimitry Andric.Bl -item -compact 30490be798eSDimitry Andric.It 30590be798eSDimitry Andric.Va WITHOUT_CTF 30690be798eSDimitry Andric.It 30790be798eSDimitry Andric.Va WITHOUT_ZFS 30890be798eSDimitry Andric.El 30990be798eSDimitry Andric.It Va WITHOUT_CLANG 31090be798eSDimitry AndricSet to not build the Clang C/C++ compiler during the regular phase of the build. 31190be798eSDimitry Andric.Pp 312344e2bb9SEd MasteThis is a default setting on 3130780f5c3SJohn Baldwinriscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 314344e2bb9SEd MasteWhen set, it enforces these options: 31590be798eSDimitry Andric.Pp 31690be798eSDimitry Andric.Bl -item -compact 31790be798eSDimitry Andric.It 31890be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS 31990be798eSDimitry Andric.It 32090be798eSDimitry Andric.Va WITHOUT_CLANG_FULL 3215b9c3654SEd Maste.It 3225b9c3654SEd Maste.Va WITHOUT_LLVM_COV 32390be798eSDimitry Andric.El 324bf64e879SBryan Drewery.Pp 325bf64e879SBryan DreweryWhen set, these options are also in effect: 326bf64e879SBryan Drewery.Pp 327bf64e879SBryan Drewery.Bl -inset -compact 328bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_AARCH64 329bf64e879SBryan Drewery(unless 330bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_AARCH64 331bf64e879SBryan Dreweryis set explicitly) 332bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ALL 333bf64e879SBryan Drewery(unless 334bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_ALL 335bf64e879SBryan Dreweryis set explicitly) 336bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ARM 337bf64e879SBryan Drewery(unless 338bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_ARM 339bf64e879SBryan Dreweryis set explicitly) 340bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_MIPS 341bf64e879SBryan Drewery(unless 342bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_MIPS 343bf64e879SBryan Dreweryis set explicitly) 344bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_POWERPC 345bf64e879SBryan Drewery(unless 346bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_POWERPC 347bf64e879SBryan Dreweryis set explicitly) 348bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_SPARC 349bf64e879SBryan Drewery(unless 350bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_SPARC 351bf64e879SBryan Dreweryis set explicitly) 352bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_X86 353bf64e879SBryan Drewery(unless 354bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_X86 355bf64e879SBryan Dreweryis set explicitly) 356bf64e879SBryan Drewery.El 35790be798eSDimitry Andric.It Va WITH_CLANG 35890be798eSDimitry AndricSet to build the Clang C/C++ compiler during the normal phase of the build. 35990be798eSDimitry Andric.Pp 360344e2bb9SEd MasteThis is a default setting on 361e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 36290be798eSDimitry Andric.It Va WITHOUT_CLANG_BOOTSTRAP 363344e2bb9SEd MasteSet to not build the Clang C/C++ compiler during the bootstrap phase of 364344e2bb9SEd Mastethe build. 365344e2bb9SEd MasteTo be able to build the system, either gcc or clang bootstrap must be 366344e2bb9SEd Masteenabled unless an alternate compiler is provided via XCC. 36790be798eSDimitry Andric.Pp 368344e2bb9SEd MasteThis is a default setting on 3690780f5c3SJohn Baldwinmips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 37090be798eSDimitry Andric.It Va WITH_CLANG_BOOTSTRAP 37190be798eSDimitry AndricSet to build the Clang C/C++ compiler during the bootstrap phase of the build. 37290be798eSDimitry Andric.Pp 373344e2bb9SEd MasteThis is a default setting on 374e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386. 37590be798eSDimitry Andric.It Va WITH_CLANG_EXTRAS 37690be798eSDimitry AndricSet to build additional clang and llvm tools, such as bugpoint. 37790be798eSDimitry Andric.It Va WITHOUT_CLANG_FULL 37890be798eSDimitry AndricSet to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of 37990be798eSDimitry Andricthe Clang C/C++ compiler. 38090be798eSDimitry Andric.Pp 381344e2bb9SEd MasteThis is a default setting on 3820780f5c3SJohn Baldwinriscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 38390be798eSDimitry Andric.It Va WITH_CLANG_FULL 38490be798eSDimitry AndricSet to build the ARCMigrate, Rewriter and StaticAnalyzer components of the 38590be798eSDimitry AndricClang C/C++ compiler. 38690be798eSDimitry Andric.Pp 387344e2bb9SEd MasteThis is a default setting on 388e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 38990be798eSDimitry Andric.It Va WITHOUT_CLANG_IS_CC 39090be798eSDimitry AndricSet to install the GCC compiler as 39190be798eSDimitry Andric.Pa /usr/bin/cc , 39290be798eSDimitry Andric.Pa /usr/bin/c++ 39390be798eSDimitry Andricand 39490be798eSDimitry Andric.Pa /usr/bin/cpp . 39590be798eSDimitry Andric.Pp 396344e2bb9SEd MasteThis is a default setting on 3970780f5c3SJohn Baldwinmips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 39890be798eSDimitry Andric.It Va WITH_CLANG_IS_CC 39990be798eSDimitry AndricSet to install the Clang C/C++ compiler as 40090be798eSDimitry Andric.Pa /usr/bin/cc , 40190be798eSDimitry Andric.Pa /usr/bin/c++ 40290be798eSDimitry Andricand 40390be798eSDimitry Andric.Pa /usr/bin/cpp . 40490be798eSDimitry Andric.Pp 405344e2bb9SEd MasteThis is a default setting on 406e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386. 40790be798eSDimitry Andric.It Va WITHOUT_CPP 40890be798eSDimitry AndricSet to not build 40990be798eSDimitry Andric.Xr cpp 1 . 41090be798eSDimitry Andric.It Va WITHOUT_CROSS_COMPILER 41190be798eSDimitry AndricSet to not build any cross compiler in the cross-tools stage of buildworld. 412344e2bb9SEd MasteWhen compiling a different version of 41390be798eSDimitry Andric.Fx 414344e2bb9SEd Mastethan what is installed on the system, provide an alternate 41590be798eSDimitry Andriccompiler with XCC to ensure success. 416344e2bb9SEd MasteWhen compiling with an identical version of 41790be798eSDimitry Andric.Fx 41890be798eSDimitry Andricto the host, this option may be safely used. 41990be798eSDimitry AndricThis option may also be safe when the host version of 42090be798eSDimitry Andric.Fx 42190be798eSDimitry Andricis close to the sources being built, but all bets are off if there have 42290be798eSDimitry Andricbeen any changes to the toolchain between the versions. 423344e2bb9SEd MasteWhen set, it enforces these options: 42490be798eSDimitry Andric.Pp 42590be798eSDimitry Andric.Bl -item -compact 42690be798eSDimitry Andric.It 42790be798eSDimitry Andric.Va WITHOUT_BINUTILS_BOOTSTRAP 42890be798eSDimitry Andric.It 42990be798eSDimitry Andric.Va WITHOUT_CLANG_BOOTSTRAP 43090be798eSDimitry Andric.It 431f972b8a4SBryan Drewery.Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP 432f972b8a4SBryan Drewery.It 43390be798eSDimitry Andric.Va WITHOUT_GCC_BOOTSTRAP 43428f52545SEd Maste.It 43528f52545SEd Maste.Va WITHOUT_LLD_BOOTSTRAP 43690be798eSDimitry Andric.El 43790be798eSDimitry Andric.It Va WITHOUT_CRYPT 43890be798eSDimitry AndricSet to not build any crypto code. 439344e2bb9SEd MasteWhen set, it enforces these options: 44090be798eSDimitry Andric.Pp 44190be798eSDimitry Andric.Bl -item -compact 44290be798eSDimitry Andric.It 44390be798eSDimitry Andric.Va WITHOUT_KERBEROS 44490be798eSDimitry Andric.It 44590be798eSDimitry Andric.Va WITHOUT_OPENSSH 44690be798eSDimitry Andric.It 44790be798eSDimitry Andric.Va WITHOUT_OPENSSL 44890be798eSDimitry Andric.El 44990be798eSDimitry Andric.Pp 450344e2bb9SEd MasteWhen set, these options are also in effect: 45190be798eSDimitry Andric.Pp 45290be798eSDimitry Andric.Bl -inset -compact 45390be798eSDimitry Andric.It Va WITHOUT_GSSAPI 45490be798eSDimitry Andric(unless 45590be798eSDimitry Andric.Va WITH_GSSAPI 45690be798eSDimitry Andricis set explicitly) 45790be798eSDimitry Andric.El 45890be798eSDimitry Andric.It Va WITH_CTF 45990be798eSDimitry AndricSet to compile with CTF (Compact C Type Format) data. 46090be798eSDimitry AndricCTF data encapsulates a reduced form of debugging information 46190be798eSDimitry Andricsimilar to DWARF and the venerable stabs and is required for DTrace. 46290be798eSDimitry Andric.It Va WITHOUT_CTM 46390be798eSDimitry AndricSet to not build 46490be798eSDimitry Andric.Xr ctm 1 46590be798eSDimitry Andricand related utilities. 46654d8c5d5SBryan Drewery.It Va WITHOUT_CUSE 46754d8c5d5SBryan DrewerySet to not build CUSE-related programs and libraries. 4689cf76983SNavdeep Parhar.It Va WITHOUT_CXGBETOOL 4699cf76983SNavdeep ParharSet to not build 4709cf76983SNavdeep Parhar.Xr cxgbetool 8 4719cf76983SNavdeep Parhar.Pp 4729cf76983SNavdeep ParharThis is a default setting on 473e8788097SKonstantin Belousovarm/arm, arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpcspe, riscv/riscv64 and riscv/riscv64sf. 4749cf76983SNavdeep Parhar.It Va WITH_CXGBETOOL 4759cf76983SNavdeep ParharSet to build 4769cf76983SNavdeep Parhar.Xr cxgbetool 8 4779cf76983SNavdeep Parhar.Pp 4789cf76983SNavdeep ParharThis is a default setting on 4799cf76983SNavdeep Parharamd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64. 48090be798eSDimitry Andric.It Va WITHOUT_CXX 48190be798eSDimitry AndricSet to not build 4824a62dc3aSBryan Drewery.Xr c++ 1 48390be798eSDimitry Andricand related libraries. 48490be798eSDimitry AndricIt will also prevent building of 48590be798eSDimitry Andric.Xr gperf 1 48690be798eSDimitry Andricand 48790be798eSDimitry Andric.Xr devd 8 . 488344e2bb9SEd MasteWhen set, it enforces these options: 48990be798eSDimitry Andric.Pp 49090be798eSDimitry Andric.Bl -item -compact 49190be798eSDimitry Andric.It 49290be798eSDimitry Andric.Va WITHOUT_CLANG 49390be798eSDimitry Andric.It 49490be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS 49590be798eSDimitry Andric.It 49690be798eSDimitry Andric.Va WITHOUT_CLANG_FULL 49790be798eSDimitry Andric.It 498051ea717SEd Maste.Va WITHOUT_DTRACE_TESTS 499051ea717SEd Maste.It 50018c6fc4cSJulio Merino.Va WITHOUT_GNUCXX 50118c6fc4cSJulio Merino.It 5025b9c3654SEd Maste.Va WITHOUT_LLVM_COV 5035b9c3654SEd Maste.It 504051ea717SEd Maste.Va WITHOUT_TESTS 50590be798eSDimitry Andric.El 5064a5e4462SEd Maste.It Va WITHOUT_DEBUG_FILES 5074a5e4462SEd MasteSet to avoid building or installing standalone debug files for each 5084a5e4462SEd Masteexecutable binary and shared library. 509cc68b6e5SEd Maste.It Va WITHOUT_DIALOG 510344e2bb9SEd MasteSet to not build 511344e2bb9SEd Maste.Xr dialog 1 , 512344e2bb9SEd Maste.Xr dialog 3 , 513344e2bb9SEd Maste.Xr dpv 1 , 514344e2bb9SEd Masteand 515344e2bb9SEd Maste.Xr dpv 3 . 516344e2bb9SEd MasteWhen set, it enforces these options: 517cc68b6e5SEd Maste.Pp 518cc68b6e5SEd Maste.Bl -item -compact 519cc68b6e5SEd Maste.It 520cc68b6e5SEd Maste.Va WITHOUT_BSDINSTALL 521cc68b6e5SEd Maste.El 52290be798eSDimitry Andric.It Va WITHOUT_DICT 52390be798eSDimitry AndricSet to not build the Webster dictionary files. 52432b5dc9aSSimon J. Gerraty.It Va WITH_DIRDEPS_BUILD 525be894451SBryan DreweryThis is an experimental build system. 52632b5dc9aSSimon J. GerratyFor details see 52732b5dc9aSSimon J. Gerratyhttp://www.crufty.net/sjg/docs/freebsd-meta-mode.htm. 528be894451SBryan DreweryBuild commands can be seen from the top-level with: 529be894451SBryan Drewery.Dl make show-valid-targets 53032b5dc9aSSimon J. GerratyThe build is driven by dirdeps.mk using 53132b5dc9aSSimon J. Gerraty.Va DIRDEPS 53232b5dc9aSSimon J. Gerratystored in 53332b5dc9aSSimon J. GerratyMakefile.depend files found in each directory. 53432b5dc9aSSimon J. Gerraty.Pp 53532b5dc9aSSimon J. GerratyThe build can be started from anywhere, and behaves the same. 53632b5dc9aSSimon J. GerratyThe initial instance of 53732b5dc9aSSimon J. Gerraty.Xr make 1 53832b5dc9aSSimon J. Gerratyrecursively reads 53932b5dc9aSSimon J. Gerraty.Va DIRDEPS 540344e2bb9SEd Mastefrom 541344e2bb9SEd Maste.Pa Makefile.depend , 54232b5dc9aSSimon J. Gerratycomputing a graph of tree dependencies from the current origin. 54332b5dc9aSSimon J. GerratySetting 54432b5dc9aSSimon J. Gerraty.Va NO_DIRDEPS 545344e2bb9SEd Masteskips checking dirdep dependencies and will only build in the current 5467f76a95cSBryan Dreweryand child directories. 5477f76a95cSBryan Drewery.Va NO_DIRDEPS_BELOW 548344e2bb9SEd Masteskips building any dirdeps and only build the current directory. 54932b5dc9aSSimon J. Gerraty.Pp 550be894451SBryan DreweryThis also utilizes the 551be894451SBryan Drewery.Va WITH_META_MODE 552be894451SBryan Drewerylogic for incremental builds. 55332b5dc9aSSimon J. Gerraty.Pp 554344e2bb9SEd MasteThe build hides commands executed unless 55532b5dc9aSSimon J. Gerraty.Va NO_SILENT 55632b5dc9aSSimon J. Gerratyis defined. 55732b5dc9aSSimon J. Gerraty.Pp 558be894451SBryan DreweryNote that there is currently no mass install feature for this. 559be894451SBryan Drewery.Pp 560344e2bb9SEd MasteWhen set, it enforces these options: 56132b5dc9aSSimon J. Gerraty.Pp 56232b5dc9aSSimon J. Gerraty.Bl -item -compact 56332b5dc9aSSimon J. Gerraty.It 56432b5dc9aSSimon J. Gerraty.Va WITH_INSTALL_AS_USER 56532b5dc9aSSimon J. Gerraty.El 56632b5dc9aSSimon J. Gerraty.Pp 567344e2bb9SEd MasteWhen set, these options are also in effect: 56832b5dc9aSSimon J. Gerraty.Pp 56932b5dc9aSSimon J. Gerraty.Bl -inset -compact 57026b79d5bSHajimu UMEMOTO.It Va WITH_META_MODE 57126b79d5bSHajimu UMEMOTO(unless 57226b79d5bSHajimu UMEMOTO.Va WITHOUT_META_MODE 57326b79d5bSHajimu UMEMOTOis set explicitly) 57432b5dc9aSSimon J. Gerraty.It Va WITH_STAGING 57532b5dc9aSSimon J. Gerraty(unless 57632b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING 57732b5dc9aSSimon J. Gerratyis set explicitly) 57832b5dc9aSSimon J. Gerraty.It Va WITH_STAGING_MAN 57932b5dc9aSSimon J. Gerraty(unless 58032b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING_MAN 58132b5dc9aSSimon J. Gerratyis set explicitly) 58232b5dc9aSSimon J. Gerraty.It Va WITH_STAGING_PROG 58332b5dc9aSSimon J. Gerraty(unless 58432b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING_PROG 58532b5dc9aSSimon J. Gerratyis set explicitly) 58632b5dc9aSSimon J. Gerraty.It Va WITH_SYSROOT 58732b5dc9aSSimon J. Gerraty(unless 58832b5dc9aSSimon J. Gerraty.Va WITHOUT_SYSROOT 58932b5dc9aSSimon J. Gerratyis set explicitly) 59032b5dc9aSSimon J. Gerraty.El 59132b5dc9aSSimon J. Gerraty.Pp 59232b5dc9aSSimon J. GerratyThis must be set in the environment, make command line, or 59332b5dc9aSSimon J. Gerraty.Pa /etc/src-env.conf , 59432b5dc9aSSimon J. Gerratynot 59532b5dc9aSSimon J. Gerraty.Pa /etc/src.conf . 596cc2520d2SSimon J. Gerraty.It Va WITH_DIRDEPS_CACHE 597cc2520d2SSimon J. GerratyCache result of dirdeps.mk which can save significant time 598cc2520d2SSimon J. Gerratyfor subsequent builds. 599cc2520d2SSimon J. GerratyDepends on 60032b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD . 6010a70ef02SBryan Drewery.Pp 602ba852870SBryan DreweryThis must be set in the environment, make command line, or 6030a70ef02SBryan Drewery.Pa /etc/src-env.conf , 6040a70ef02SBryan Drewerynot 6050a70ef02SBryan Drewery.Pa /etc/src.conf . 60690be798eSDimitry Andric.It Va WITHOUT_DMAGENT 607344e2bb9SEd MasteSet to not build dma Mail Transport Agent. 60890be798eSDimitry Andric.It Va WITHOUT_DOCCOMPRESS 609344e2bb9SEd MasteSet to not install compressed system documentation. 61090be798eSDimitry AndricOnly the uncompressed version will be installed. 61116f3fdf5SMark Johnston.It Va WITH_DTRACE_TESTS 61216f3fdf5SMark JohnstonSet to build and install the DTrace test suite in 61316f3fdf5SMark Johnston.Pa /usr/tests/cddl/usr.sbin/dtrace . 61416f3fdf5SMark JohnstonThis test suite is considered experimental on architectures other than 61516f3fdf5SMark Johnstonamd64/amd64 and running it may cause system instability. 61690be798eSDimitry Andric.It Va WITHOUT_DYNAMICROOT 61790be798eSDimitry AndricSet this if you do not want to link 61890be798eSDimitry Andric.Pa /bin 61990be798eSDimitry Andricand 62090be798eSDimitry Andric.Pa /sbin 62190be798eSDimitry Andricdynamically. 62290be798eSDimitry Andric.It Va WITHOUT_ED_CRYPTO 62390be798eSDimitry AndricSet to build 62490be798eSDimitry Andric.Xr ed 1 62590be798eSDimitry Andricwithout support for encryption/decryption. 62693da8366SEnji Cooper.It Va WITHOUT_EE 62793da8366SEnji CooperSet to not build and install 62893da8366SEnji Cooper.Xr edit 1 , 62993da8366SEnji Cooper.Xr ee 1 , 63093da8366SEnji Cooperand related programs. 6310cd582c8SEnji Cooper.It Va WITHOUT_EFI 6320cd582c8SEnji CooperSet not to build 6330cd582c8SEnji Cooper.Xr efivar 3 6340cd582c8SEnji Cooperand 6350cd582c8SEnji Cooper.Xr efivar 8 . 6360cd582c8SEnji Cooper.Pp 637344e2bb9SEd MasteThis is a default setting on 6380780f5c3SJohn Baldwinmips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 6390cd582c8SEnji Cooper.It Va WITH_EFI 6400cd582c8SEnji CooperSet to build 6410cd582c8SEnji Cooper.Xr efivar 3 6420cd582c8SEnji Cooperand 6430cd582c8SEnji Cooper.Xr efivar 8 . 6440cd582c8SEnji Cooper.Pp 645344e2bb9SEd MasteThis is a default setting on 646e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386. 6475977355fSBryan Drewery.It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP 6485977355fSBryan DrewerySet to not build ELF Tool Chain tools 6495977355fSBryan Drewery(addr2line, nm, size, strings and strip) 6505977355fSBryan Dreweryas part of the bootstrap process. 6515977355fSBryan Drewery.Bf -symbolic 6525977355fSBryan DreweryAn alternate bootstrap tool chain must be provided. 6535977355fSBryan Drewery.Ef 65490be798eSDimitry Andric.It Va WITHOUT_EXAMPLES 65590be798eSDimitry AndricSet to avoid installing examples to 65690be798eSDimitry Andric.Pa /usr/share/examples/ . 657d5a2667bSJonathan T. Looney.It Va WITH_EXTRA_TCP_STACKS 658d5a2667bSJonathan T. LooneySet to build extra TCP stack modules. 65990be798eSDimitry Andric.It Va WITHOUT_FDT 66090be798eSDimitry AndricSet to not build Flattened Device Tree support as part of the base system. 66190be798eSDimitry AndricThis includes the device tree compiler (dtc) and libfdt support library. 6620e0e9604SEnji Cooper.It Va WITHOUT_FILE 6630e0e9604SEnji CooperSet to not build 6640e0e9604SEnji Cooper.Xr file 1 6650e0e9604SEnji Cooperand related programs. 6660e0e9604SEnji Cooper.It Va WITHOUT_FINGER 6670e0e9604SEnji CooperSet to not build or install 6680e0e9604SEnji Cooper.Xr finger 1 6690e0e9604SEnji Cooperand 6700e0e9604SEnji Cooper.Xr fingerd 8 . 67190be798eSDimitry Andric.It Va WITHOUT_FLOPPY 67290be798eSDimitry AndricSet to not build or install programs 67390be798eSDimitry Andricfor operating floppy disk driver. 67490be798eSDimitry Andric.It Va WITHOUT_FMTREE 67590be798eSDimitry AndricSet to not build and install 67690be798eSDimitry Andric.Pa /usr/sbin/fmtree . 677a0f6423bSEd Maste.It Va WITHOUT_FORMAT_EXTENSIONS 678a0f6423bSEd MasteSet to not enable 679a0f6423bSEd Maste.Fl fformat-extensions 680a0f6423bSEd Mastewhen compiling the kernel. 681a0f6423bSEd MasteAlso disables all format checking. 68290be798eSDimitry Andric.It Va WITHOUT_FORTH 68390be798eSDimitry AndricSet to build bootloaders without Forth support. 68490be798eSDimitry Andric.It Va WITHOUT_FP_LIBC 68590be798eSDimitry AndricSet to build 68690be798eSDimitry Andric.Nm libc 68790be798eSDimitry Andricwithout floating-point support. 68890be798eSDimitry Andric.It Va WITHOUT_FREEBSD_UPDATE 68990be798eSDimitry AndricSet to not build 69090be798eSDimitry Andric.Xr freebsd-update 8 . 6910e0e9604SEnji Cooper.It Va WITHOUT_FTP 6920e0e9604SEnji CooperSet to not build or install 6930e0e9604SEnji Cooper.Xr ftp 1 6940e0e9604SEnji Cooperand 6950e0e9604SEnji Cooper.Xr ftpd 8 . 69690be798eSDimitry Andric.It Va WITHOUT_GAMES 69790be798eSDimitry AndricSet to not build games. 69890be798eSDimitry Andric.It Va WITHOUT_GCC 69990be798eSDimitry AndricSet to not build and install gcc and g++ as part of the normal build process. 70090be798eSDimitry Andric.Pp 701344e2bb9SEd MasteThis is a default setting on 702e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf. 70390be798eSDimitry Andric.It Va WITH_GCC 70490be798eSDimitry AndricSet to build and install gcc and g++. 70590be798eSDimitry Andric.Pp 706344e2bb9SEd MasteThis is a default setting on 70736e8c7bbSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 70890be798eSDimitry Andric.It Va WITHOUT_GCC_BOOTSTRAP 70990be798eSDimitry AndricSet to not build gcc and g++ as part of the bootstrap process. 710a0f6423bSEd MasteYou must enable either gcc or clang bootstrap to be able to build the system, 711a0f6423bSEd Masteunless an alternative compiler is provided via 71290be798eSDimitry AndricXCC. 71390be798eSDimitry Andric.Pp 714344e2bb9SEd MasteThis is a default setting on 715e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, riscv/riscv64 and riscv/riscv64sf. 71690be798eSDimitry Andric.It Va WITH_GCC_BOOTSTRAP 71790be798eSDimitry AndricSet to build gcc and g++ as part of the bootstrap process. 71890be798eSDimitry Andric.Pp 719344e2bb9SEd MasteThis is a default setting on 72036e8c7bbSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 72190be798eSDimitry Andric.It Va WITHOUT_GCOV 72290be798eSDimitry AndricSet to not build the 72390be798eSDimitry Andric.Xr gcov 1 72490be798eSDimitry Andrictool. 72590be798eSDimitry Andric.It Va WITHOUT_GDB 72690be798eSDimitry AndricSet to not build 72790be798eSDimitry Andric.Xr gdb 1 . 7285be09b10SEd Maste.Pp 729344e2bb9SEd MasteThis is a default setting on 7304650b8aeSEnji Cooperarm64/aarch64, riscv/riscv64 and riscv/riscv64sf. 7315977355fSBryan Drewery.It Va WITH_GDB 7325977355fSBryan DrewerySet to build 7335977355fSBryan Drewery.Xr gdb 1 . 7345977355fSBryan Drewery.Pp 735344e2bb9SEd MasteThis is a default setting on 736e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 7374650b8aeSEnji Cooper.It Va WITHOUT_GDB_LIBEXEC 7384650b8aeSEnji CooperSet to install 7394650b8aeSEnji Cooper.Xr gdb 1 7404650b8aeSEnji Cooperinto 7414650b8aeSEnji Cooper.Pa /usr/bin . 7424650b8aeSEnji Cooper.Pp 7434650b8aeSEnji CooperThis is a default setting on 744513fdd50SJohn Baldwinsparc64/sparc64. 7454650b8aeSEnji Cooper.It Va WITH_GDB_LIBEXEC 7464650b8aeSEnji CooperSet to install 7474650b8aeSEnji Cooper.Xr gdb 1 7484650b8aeSEnji Cooperinto 7494650b8aeSEnji Cooper.Pa /usr/libexec . 7504650b8aeSEnji CooperThis permits 7514650b8aeSEnji Cooper.Xr gdb 1 7524650b8aeSEnji Cooperto be used as a fallback for 7534650b8aeSEnji Cooper.Xr crashinfo 8 7544650b8aeSEnji Cooperif a newer version is not installed. 7554650b8aeSEnji Cooper.Pp 7564650b8aeSEnji CooperThis is a default setting on 757513fdd50SJohn Baldwinamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and riscv/riscv64sf. 75890be798eSDimitry Andric.It Va WITHOUT_GNUCXX 75990be798eSDimitry AndricDo not build the GNU C++ stack (g++, libstdc++). 76090be798eSDimitry AndricThis is the default on platforms where clang is the system compiler. 76190be798eSDimitry Andric.Pp 762344e2bb9SEd MasteThis is a default setting on 763e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386. 76490be798eSDimitry Andric.It Va WITH_GNUCXX 76590be798eSDimitry AndricBuild the GNU C++ stack (g++, libstdc++). 76690be798eSDimitry AndricThis is the default on platforms where gcc is the system compiler. 76790be798eSDimitry Andric.Pp 768344e2bb9SEd MasteThis is a default setting on 769e8788097SKonstantin Belousovmips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 77036e8c7bbSEd Maste.It Va WITHOUT_GNU_DIFF 77136e8c7bbSEd MasteSet to not build GNU 77236e8c7bbSEd Maste.Xr diff 1 77336e8c7bbSEd Masteand 77436e8c7bbSEd Maste.Xr diff3 1 . 77536e8c7bbSEd Maste.It Va WITHOUT_GNU_GREP 77636e8c7bbSEd MasteSet to not build GNU 77736e8c7bbSEd Maste.Xr grep 1 . 778e9e768f7SEd Maste.It Va WITH_GNU_GREP_COMPAT 779e9e768f7SEd MasteSet this option to include GNU extensions in 780e9e768f7SEd Maste.Xr bsdgrep 1 781e9e768f7SEd Masteby linking against libgnuregex. 78290be798eSDimitry Andric.It Va WITHOUT_GPIO 78390be798eSDimitry AndricSet to not build 78490be798eSDimitry Andric.Xr gpioctl 8 78590be798eSDimitry Andricas part of the base system. 7865c021049SEnji Cooper.It Va WITHOUT_GPL_DTC 7875c021049SEnji CooperSet to build the BSD licensed version of the device tree compiler rather 7885c021049SEnji Cooperthan the GPLed one from elinux.org. 7895c021049SEnji Cooper.Pp 7905c021049SEnji CooperThis is a default setting on 791e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386. 792fcf8f4a8SEmmanuel Vadot.It Va WITH_GPL_DTC 793fcf8f4a8SEmmanuel VadotSet to build the GPL'd version of the device tree compiler from elinux.org, 794fcf8f4a8SEmmanuel Vadotinstead of the BSD licensed one. 7955c021049SEnji Cooper.Pp 7965c021049SEnji CooperThis is a default setting on 79789dd2bebSBryan Drewerymips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 79890be798eSDimitry Andric.It Va WITHOUT_GSSAPI 79990be798eSDimitry AndricSet to not build libgssapi. 80061940879SEnji Cooper.It Va WITHOUT_HAST 80161940879SEnji CooperSet to not build 80261940879SEnji Cooper.Xr hastd 8 80361940879SEnji Cooperand related utilities. 80490be798eSDimitry Andric.It Va WITH_HESIOD 80590be798eSDimitry AndricSet to build Hesiod support. 80690be798eSDimitry Andric.It Va WITHOUT_HTML 80790be798eSDimitry AndricSet to not build HTML docs. 8082c4b4abcSXin LI.It Va WITHOUT_HYPERV 8092c4b4abcSXin LISet to not build or install HyperV utilities. 81090be798eSDimitry Andric.It Va WITHOUT_ICONV 81190be798eSDimitry AndricSet to not build iconv as part of libc. 812c5d09a87SGlen Barber.It Va WITHOUT_INCLUDES 813c5d09a87SGlen BarberSet to not install header files. 814c5d09a87SGlen BarberThis option used to be spelled 815c5d09a87SGlen Barber.Va NO_INCS . 816c5d09a87SGlen Barber.Bf -symbolic 817c5d09a87SGlen BarberThe option does not work for build targets. 818c5d09a87SGlen Barber.Ef 81990be798eSDimitry Andric.It Va WITHOUT_INET 82090be798eSDimitry AndricSet to not build programs and libraries related to IPv4 networking. 821344e2bb9SEd MasteWhen set, it enforces these options: 82290be798eSDimitry Andric.Pp 82390be798eSDimitry Andric.Bl -item -compact 82490be798eSDimitry Andric.It 82590be798eSDimitry Andric.Va WITHOUT_INET_SUPPORT 82690be798eSDimitry Andric.El 82790be798eSDimitry Andric.It Va WITHOUT_INET6 82890be798eSDimitry AndricSet to not build 82990be798eSDimitry Andricprograms and libraries related to IPv6 networking. 830344e2bb9SEd MasteWhen set, it enforces these options: 83190be798eSDimitry Andric.Pp 83290be798eSDimitry Andric.Bl -item -compact 83390be798eSDimitry Andric.It 83490be798eSDimitry Andric.Va WITHOUT_INET6_SUPPORT 83590be798eSDimitry Andric.El 83690be798eSDimitry Andric.It Va WITHOUT_INET6_SUPPORT 83790be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv6 support. 8380e0e9604SEnji Cooper.It Va WITHOUT_INETD 8390e0e9604SEnji CooperSet to not build 8400e0e9604SEnji Cooper.Xr inetd 8 . 84190be798eSDimitry Andric.It Va WITHOUT_INET_SUPPORT 84290be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv4 support. 84390be798eSDimitry Andric.It Va WITHOUT_INSTALLLIB 844344e2bb9SEd MasteSet this to not install optional libraries. 845344e2bb9SEd MasteFor example, when creating a 84690be798eSDimitry Andric.Xr nanobsd 8 84790be798eSDimitry Andricimage. 848f79bedf5SBryan Drewery.Bf -symbolic 849f79bedf5SBryan DreweryThe option does not work for build targets. 850f79bedf5SBryan Drewery.Ef 85190be798eSDimitry Andric.It Va WITH_INSTALL_AS_USER 85290be798eSDimitry AndricSet to make install targets succeed for non-root users by installing 85390be798eSDimitry Andricfiles with owner and group attributes set to that of the user running 85490be798eSDimitry Andricthe 85590be798eSDimitry Andric.Xr make 1 85690be798eSDimitry Andriccommand. 857344e2bb9SEd MasteThe user still must set the 85890be798eSDimitry Andric.Va DESTDIR 85990be798eSDimitry Andricvariable to point to a directory where the user has write permissions. 86090be798eSDimitry Andric.It Va WITHOUT_IPFILTER 86190be798eSDimitry AndricSet to not build IP Filter package. 86290be798eSDimitry Andric.It Va WITHOUT_IPFW 86390be798eSDimitry AndricSet to not build IPFW tools. 86488342134SEnji Cooper.It Va WITHOUT_IPSEC_SUPPORT 86588342134SEnji CooperSet to not build the kernel with 86688342134SEnji Cooper.Xr ipsec 4 86788342134SEnji Coopersupport. 86888342134SEnji CooperThis option is needed for 86988342134SEnji Cooper.Xr ipsec 4 87088342134SEnji Cooperand 87188342134SEnji Cooper.Xr tcpmd5 4 . 87293da8366SEnji Cooper.It Va WITHOUT_ISCSI 87393da8366SEnji CooperSet to not build 87426d6bbfaSSevan Janiyan.Xr iscsid 8 87593da8366SEnji Cooperand related utilities. 87690be798eSDimitry Andric.It Va WITHOUT_JAIL 87790be798eSDimitry AndricSet to not build tools for the support of jails; e.g., 87890be798eSDimitry Andric.Xr jail 8 . 87990be798eSDimitry Andric.It Va WITHOUT_KDUMP 88090be798eSDimitry AndricSet to not build 88190be798eSDimitry Andric.Xr kdump 1 88290be798eSDimitry Andricand 88390be798eSDimitry Andric.Xr truss 1 . 88490be798eSDimitry Andric.It Va WITHOUT_KERBEROS 885344e2bb9SEd MasteSet this to not build Kerberos 5 (KTH Heimdal). 886344e2bb9SEd MasteWhen set, these options are also in effect: 88790be798eSDimitry Andric.Pp 88890be798eSDimitry Andric.Bl -inset -compact 88990be798eSDimitry Andric.It Va WITHOUT_GSSAPI 89090be798eSDimitry Andric(unless 89190be798eSDimitry Andric.Va WITH_GSSAPI 89290be798eSDimitry Andricis set explicitly) 893bf64e879SBryan Drewery.It Va WITHOUT_KERBEROS_SUPPORT 894bf64e879SBryan Drewery(unless 895bf64e879SBryan Drewery.Va WITH_KERBEROS_SUPPORT 896bf64e879SBryan Dreweryis set explicitly) 89790be798eSDimitry Andric.El 89890be798eSDimitry Andric.It Va WITHOUT_KERBEROS_SUPPORT 89990be798eSDimitry AndricSet to build some programs without Kerberos support, like 90090be798eSDimitry Andric.Xr ssh 1 , 90190be798eSDimitry Andric.Xr telnet 1 , 90290be798eSDimitry Andric.Xr sshd 8 , 90390be798eSDimitry Andricand 90490be798eSDimitry Andric.Xr telnetd 8 . 9056f7527f0SEd Maste.It Va WITH_KERNEL_RETPOLINE 9066f7527f0SEd MasteSet to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel 9076f7527f0SEd Mastebuild. 908a0f6423bSEd Maste.It Va WITHOUT_KERNEL_SYMBOLS 909a0f6423bSEd MasteSet to not install kernel symbol files. 910a0f6423bSEd Maste.Bf -symbolic 911a0f6423bSEd MasteThis option is recommended for those people who have small root partitions. 912a0f6423bSEd Maste.Ef 91390be798eSDimitry Andric.It Va WITHOUT_KVM 91490be798eSDimitry AndricSet to not build the 91590be798eSDimitry Andric.Nm libkvm 91690be798eSDimitry Andriclibrary as a part of the base system. 91790be798eSDimitry Andric.Bf -symbolic 91890be798eSDimitry AndricThe option has no effect yet. 91990be798eSDimitry Andric.Ef 920bf64e879SBryan DreweryWhen set, these options are also in effect: 92190be798eSDimitry Andric.Pp 922bf64e879SBryan Drewery.Bl -inset -compact 923bf64e879SBryan Drewery.It Va WITHOUT_KVM_SUPPORT 924bf64e879SBryan Drewery(unless 925bf64e879SBryan Drewery.Va WITH_KVM_SUPPORT 926bf64e879SBryan Dreweryis set explicitly) 92790be798eSDimitry Andric.El 92890be798eSDimitry Andric.It Va WITHOUT_KVM_SUPPORT 92990be798eSDimitry AndricSet to build some programs without optional 93090be798eSDimitry Andric.Nm libkvm 93190be798eSDimitry Andricsupport. 93290be798eSDimitry Andric.It Va WITHOUT_LDNS 93390be798eSDimitry AndricSetting this variable will prevent the LDNS library from being built. 934344e2bb9SEd MasteWhen set, it enforces these options: 93590be798eSDimitry Andric.Pp 93690be798eSDimitry Andric.Bl -item -compact 93790be798eSDimitry Andric.It 93890be798eSDimitry Andric.Va WITHOUT_LDNS_UTILS 93990be798eSDimitry Andric.It 94090be798eSDimitry Andric.Va WITHOUT_UNBOUND 94190be798eSDimitry Andric.El 94290be798eSDimitry Andric.It Va WITHOUT_LDNS_UTILS 94390be798eSDimitry AndricSetting this variable will prevent building the LDNS utilities 94490be798eSDimitry Andric.Xr drill 1 94590be798eSDimitry Andricand 94690be798eSDimitry Andric.Xr host 1 . 94790be798eSDimitry Andric.It Va WITHOUT_LEGACY_CONSOLE 94890be798eSDimitry AndricSet to not build programs that support a legacy PC console; e.g., 94923a6b49aSEdward Tomasz Napierala.Xr kbdcontrol 1 95090be798eSDimitry Andricand 95123a6b49aSEdward Tomasz Napierala.Xr vidcontrol 1 . 95290be798eSDimitry Andric.It Va WITHOUT_LIB32 953c5d09a87SGlen BarberOn 64-bit platforms, set to not build 32-bit library set and a 95490be798eSDimitry Andric.Nm ld-elf32.so.1 95590be798eSDimitry Andricruntime linker. 95690be798eSDimitry Andric.It Va WITHOUT_LIBCPLUSPLUS 95790be798eSDimitry AndricSet to avoid building libcxxrt and libc++. 95890be798eSDimitry Andric.It Va WITHOUT_LIBPTHREAD 95990be798eSDimitry AndricSet to not build the 96090be798eSDimitry Andric.Nm libpthread 96190be798eSDimitry Andricproviding library, 96290be798eSDimitry Andric.Nm libthr . 963344e2bb9SEd MasteWhen set, it enforces these options: 96490be798eSDimitry Andric.Pp 96590be798eSDimitry Andric.Bl -item -compact 96690be798eSDimitry Andric.It 96790be798eSDimitry Andric.Va WITHOUT_LIBTHR 96890be798eSDimitry Andric.El 9698a7c8ae4SBryan Drewery.It Va WITH_LIBSOFT 9708a7c8ae4SBryan DreweryOn armv6 only, set to enable soft float ABI compatibility libraries. 9718a7c8ae4SBryan DreweryThis option is for transitioning to the new hard float ABI. 97290be798eSDimitry Andric.It Va WITHOUT_LIBTHR 97390be798eSDimitry AndricSet to not build the 97490be798eSDimitry Andric.Nm libthr 97590be798eSDimitry Andric(1:1 threading) 97690be798eSDimitry Andriclibrary. 97736e8c7bbSEd Maste.It Va WITHOUT_LLD 97836e8c7bbSEd MasteSet to not build LLVM's lld linker. 97936e8c7bbSEd Maste.Pp 980344e2bb9SEd MasteThis is a default setting on 981912aad0fSKyle Evansriscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 98236e8c7bbSEd Maste.It Va WITH_LLD 98336e8c7bbSEd MasteSet to build LLVM's lld linker. 98436e8c7bbSEd Maste.Pp 985344e2bb9SEd MasteThis is a default setting on 986e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 9871500eb21SEd Maste.It Va WITHOUT_LLDB 9881500eb21SEd MasteSet to not build the LLDB debugger. 9891500eb21SEd Maste.Pp 990344e2bb9SEd MasteThis is a default setting on 991e8788097SKonstantin Belousovarm/arm, arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 99290be798eSDimitry Andric.It Va WITH_LLDB 99390be798eSDimitry AndricSet to build the LLDB debugger. 9941500eb21SEd Maste.Pp 995344e2bb9SEd MasteThis is a default setting on 996e5259506SEnji Cooperamd64/amd64, arm64/aarch64 and i386/i386. 9976c2b7edaSEd Maste.It Va WITHOUT_LLD_BOOTSTRAP 9986c2b7edaSEd MasteSet to not build the LLD linker during the bootstrap phase of 9996c2b7edaSEd Mastethe build. 10006c2b7edaSEd MasteTo be able to build the system, either Binutils or LLD bootstrap must be 10016c2b7edaSEd Masteenabled unless an alternate linker is provided via XLD. 10026c2b7edaSEd Maste.Pp 10036c2b7edaSEd MasteThis is a default setting on 10047a9e13ddSEd Mastearm/arm, arm/armv6, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 10056c2b7edaSEd Maste.It Va WITH_LLD_BOOTSTRAP 10066c2b7edaSEd MasteSet to build the LLD linker during the bootstrap phase of the build. 10076c2b7edaSEd Maste.Pp 10086c2b7edaSEd MasteThis is a default setting on 10097a9e13ddSEd Masteamd64/amd64, arm/armv7, arm64/aarch64 and i386/i386. 1010661cf9b6SYoshihiro Takahashi.It Va WITHOUT_LLD_IS_LD 101136e8c7bbSEd MasteSet to use GNU binutils ld as the system linker, instead of LLVM's LLD. 101236e8c7bbSEd Maste.Pp 1013344e2bb9SEd MasteThis is a default setting on 1014e8788097SKonstantin Belousovarm/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, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 1015661cf9b6SYoshihiro Takahashi.It Va WITH_LLD_IS_LD 101636e8c7bbSEd MasteSet to use LLVM's LLD as the system linker, instead of GNU binutils ld. 101736e8c7bbSEd Maste.Pp 1018344e2bb9SEd MasteThis is a default setting on 1019f4c84137SEd Masteamd64/amd64 and arm64/aarch64. 10205b9c3654SEd Maste.It Va WITHOUT_LLVM_COV 10215b9c3654SEd MasteSet to not build the 10225b9c3654SEd Maste.Xr llvm-cov 1 10235b9c3654SEd Mastetool. 10245b9c3654SEd Maste.Pp 10255b9c3654SEd MasteThis is a default setting on 10265b9c3654SEd Masteriscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 10275b9c3654SEd Maste.It Va WITH_LLVM_COV 10285b9c3654SEd MasteSet to build the 10295b9c3654SEd Maste.Xr llvm-cov 1 10305b9c3654SEd Mastetool. 10315b9c3654SEd Maste.Pp 10325b9c3654SEd MasteThis is a default setting on 1033e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 10341500eb21SEd Maste.It Va WITHOUT_LLVM_LIBUNWIND 10351500eb21SEd MasteSet to use GCC's stack unwinder (instead of LLVM's libunwind). 10361500eb21SEd Maste.Pp 1037344e2bb9SEd MasteThis is a default setting on 1038e8788097SKonstantin Belousovarm/arm, arm/armv6, arm/armv7, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 10391500eb21SEd Maste.It Va WITH_LLVM_LIBUNWIND 10401500eb21SEd MasteSet to use LLVM's libunwind stack unwinder (instead of GCC's unwinder). 10411500eb21SEd Maste.Pp 1042344e2bb9SEd MasteThis is a default setting on 1043912aad0fSKyle Evansamd64/amd64, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, riscv/riscv64 and riscv/riscv64sf. 1044cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_AARCH64 1045cbafd263SDimitry AndricSet to not build LLVM target support for AArch64. 1046bf64e879SBryan DreweryThe 1047bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1048bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1049cbafd263SDimitry Andric.Pp 1050cbafd263SDimitry AndricThis is a default setting on 1051cbafd263SDimitry Andricriscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 1052cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_AARCH64 1053cbafd263SDimitry AndricSet to build LLVM target support for AArch64. 1054bf64e879SBryan DreweryThe 1055bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1056bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1057bf64e879SBryan Drewery.Pp 1058bf64e879SBryan DreweryThis is a default setting on 1059e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 1060bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ALL 1061bf64e879SBryan DrewerySet to only build the required LLVM target support. 1062bf64e879SBryan DreweryThis option is preferred to specific target support options. 1063bf64e879SBryan Drewery.Pp 1064bf64e879SBryan DreweryThis is a default setting on 1065bf64e879SBryan Dreweryriscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 1066bf64e879SBryan DreweryWhen set, these options are also in effect: 1067bf64e879SBryan Drewery.Pp 1068bf64e879SBryan Drewery.Bl -inset -compact 1069bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_AARCH64 1070bf64e879SBryan Drewery(unless 1071bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_AARCH64 1072bf64e879SBryan Dreweryis set explicitly) 1073bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ARM 1074bf64e879SBryan Drewery(unless 1075bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_ARM 1076bf64e879SBryan Dreweryis set explicitly) 1077bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_MIPS 1078bf64e879SBryan Drewery(unless 1079bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_MIPS 1080bf64e879SBryan Dreweryis set explicitly) 1081bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_POWERPC 1082bf64e879SBryan Drewery(unless 1083bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_POWERPC 1084bf64e879SBryan Dreweryis set explicitly) 1085bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_SPARC 1086bf64e879SBryan Drewery(unless 1087bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_SPARC 1088bf64e879SBryan Dreweryis set explicitly) 1089bf64e879SBryan Drewery.El 1090bf64e879SBryan Drewery.It Va WITH_LLVM_TARGET_ALL 1091bf64e879SBryan DrewerySet to build support for all LLVM targets. 1092bf64e879SBryan DreweryThis option is always applied to the bootstrap compiler for buildworld when 1093bf64e879SBryan DreweryLLVM is used. 1094cbafd263SDimitry Andric.Pp 1095cbafd263SDimitry AndricThis is a default setting on 1096e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 1097cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_ARM 1098cbafd263SDimitry AndricSet to not build LLVM target support for ARM. 1099bf64e879SBryan DreweryThe 1100bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1101bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1102cbafd263SDimitry Andric.Pp 1103cbafd263SDimitry AndricThis is a default setting on 1104cbafd263SDimitry Andricriscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 1105cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_ARM 1106cbafd263SDimitry AndricSet to build LLVM target support for ARM. 1107bf64e879SBryan DreweryThe 1108bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1109bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1110cbafd263SDimitry Andric.Pp 1111cbafd263SDimitry AndricThis is a default setting on 1112e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 1113*89edb881SDimitry Andric.It Va WITH_LLVM_TARGET_BPF 1114*89edb881SDimitry AndricSet to build LLVM target support for BPF. 1115*89edb881SDimitry AndricThe 1116*89edb881SDimitry Andric.Va LLVM_TARGET_ALL 1117*89edb881SDimitry Andricoption should be used rather than this in most cases. 1118cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_MIPS 1119cbafd263SDimitry AndricSet to not build LLVM target support for MIPS. 1120bf64e879SBryan DreweryThe 1121bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1122bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1123cbafd263SDimitry Andric.Pp 1124cbafd263SDimitry AndricThis is a default setting on 1125cbafd263SDimitry Andricriscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 1126cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_MIPS 1127cbafd263SDimitry AndricSet to build LLVM target support for MIPS. 1128bf64e879SBryan DreweryThe 1129bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1130bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1131cbafd263SDimitry Andric.Pp 1132cbafd263SDimitry AndricThis is a default setting on 1133e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 1134cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_POWERPC 1135cbafd263SDimitry AndricSet to not build LLVM target support for PowerPC. 1136bf64e879SBryan DreweryThe 1137bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1138bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1139cbafd263SDimitry Andric.Pp 1140cbafd263SDimitry AndricThis is a default setting on 1141cbafd263SDimitry Andricriscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 1142cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_POWERPC 1143cbafd263SDimitry AndricSet to build LLVM target support for PowerPC. 1144bf64e879SBryan DreweryThe 1145bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1146bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1147cbafd263SDimitry Andric.Pp 1148cbafd263SDimitry AndricThis is a default setting on 1149e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 1150cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_SPARC 1151cbafd263SDimitry AndricSet to not build LLVM target support for SPARC. 1152bf64e879SBryan DreweryThe 1153bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1154bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1155cbafd263SDimitry Andric.Pp 1156cbafd263SDimitry AndricThis is a default setting on 1157cbafd263SDimitry Andricriscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 1158cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_SPARC 1159cbafd263SDimitry AndricSet to build LLVM target support for SPARC. 1160bf64e879SBryan DreweryThe 1161bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1162bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1163cbafd263SDimitry Andric.Pp 1164cbafd263SDimitry AndricThis is a default setting on 1165e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 1166cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_X86 1167cbafd263SDimitry AndricSet to not build LLVM target support for X86. 1168bf64e879SBryan DreweryThe 1169bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1170bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1171cbafd263SDimitry Andric.Pp 1172cbafd263SDimitry AndricThis is a default setting on 1173cbafd263SDimitry Andricriscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 1174cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_X86 1175cbafd263SDimitry AndricSet to build LLVM target support for X86. 1176bf64e879SBryan DreweryThe 1177bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1178bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1179cbafd263SDimitry Andric.Pp 1180cbafd263SDimitry AndricThis is a default setting on 1181e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 1182782df3edSEd Maste.It Va WITH_LOADER_FIREWIRE 1183e8788097SKonstantin BelousovEnable firewire support in /boot/loader on x86. This option is a nop 1184e8788097SKonstantin Belousovon all other platforms. 1185782df3edSEd Maste.It Va WITHOUT_LOADER_GELI 1186782df3edSEd MasteDisable inclusion of GELI crypto support in the boot chain binaries. 11876f7527f0SEd Maste.It Va WITH_LOADER_LUA 11886f7527f0SEd MasteSet to build LUA bindings for the boot loader. 1189b8f3641fSKyle Evans.It Va WITHOUT_LOADER_OFW 1190b8f3641fSKyle EvansDisable building of openfirmware bootloader components. 1191b8f3641fSKyle Evans.Pp 1192b8f3641fSKyle EvansThis is a default setting on 1193e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, riscv/riscv64 and riscv/riscv64sf. 1194b8f3641fSKyle Evans.It Va WITH_LOADER_OFW 1195b8f3641fSKyle EvansSet to build openfirmware bootloader components. 1196b8f3641fSKyle Evans.Pp 1197b8f3641fSKyle EvansThis is a default setting on 1198b8f3641fSKyle Evanspowerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 1199b8f3641fSKyle Evans.It Va WITHOUT_LOADER_UBOOT 1200b8f3641fSKyle EvansDisable building of ubldr. 1201b8f3641fSKyle Evans.Pp 1202b8f3641fSKyle EvansThis is a default setting on 1203b8f3641fSKyle Evansamd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 1204b8f3641fSKyle Evans.It Va WITH_LOADER_UBOOT 1205b8f3641fSKyle EvansSet to build ubldr. 1206b8f3641fSKyle Evans.Pp 1207b8f3641fSKyle EvansThis is a default setting on 1208e8788097SKonstantin 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. 120990be798eSDimitry Andric.It Va WITHOUT_LOCALES 121090be798eSDimitry AndricSet to not build localization files; see 121190be798eSDimitry Andric.Xr locale 1 . 121290be798eSDimitry Andric.It Va WITHOUT_LOCATE 121390be798eSDimitry AndricSet to not build 121490be798eSDimitry Andric.Xr locate 1 121590be798eSDimitry Andricand related programs. 121690be798eSDimitry Andric.It Va WITHOUT_LPR 121790be798eSDimitry AndricSet to not build 121890be798eSDimitry Andric.Xr lpr 1 121990be798eSDimitry Andricand related programs. 122090be798eSDimitry Andric.It Va WITHOUT_LS_COLORS 122190be798eSDimitry AndricSet to build 122290be798eSDimitry Andric.Xr ls 1 122390be798eSDimitry Andricwithout support for colors to distinguish file types. 122490be798eSDimitry Andric.It Va WITHOUT_LZMA_SUPPORT 122590be798eSDimitry AndricSet to build some programs without optional lzma compression support. 122690be798eSDimitry Andric.It Va WITHOUT_MAIL 122790be798eSDimitry AndricSet to not build any mail support (MUA or MTA). 1228344e2bb9SEd MasteWhen set, it enforces these options: 122990be798eSDimitry Andric.Pp 123090be798eSDimitry Andric.Bl -item -compact 123190be798eSDimitry Andric.It 123290be798eSDimitry Andric.Va WITHOUT_DMAGENT 123390be798eSDimitry Andric.It 123490be798eSDimitry Andric.Va WITHOUT_MAILWRAPPER 123590be798eSDimitry Andric.It 123690be798eSDimitry Andric.Va WITHOUT_SENDMAIL 123790be798eSDimitry Andric.El 123890be798eSDimitry Andric.It Va WITHOUT_MAILWRAPPER 123990be798eSDimitry AndricSet to not build the 124090be798eSDimitry Andric.Xr mailwrapper 8 124190be798eSDimitry AndricMTA selector. 124290be798eSDimitry Andric.It Va WITHOUT_MAKE 124390be798eSDimitry AndricSet to not install 124490be798eSDimitry Andric.Xr make 1 124590be798eSDimitry Andricand related support files. 124674782f0eSEnji Cooper.It Va WITHOUT_MAKE_CHECK_USE_SANDBOX 124774782f0eSEnji CooperSet to not execute 124874782f0eSEnji Cooper.Dq Li "make check" 124974782f0eSEnji Cooperin limited sandbox mode. 125074782f0eSEnji CooperThis option should be paired with 125174782f0eSEnji Cooper.Va WITH_INSTALL_AS_USER 125274782f0eSEnji Cooperif executed as an unprivileged user. 125374782f0eSEnji CooperSee 125474782f0eSEnji Cooper.Xr tests 7 125574782f0eSEnji Cooperfor more details. 125690be798eSDimitry Andric.It Va WITHOUT_MAN 125790be798eSDimitry AndricSet to not build manual pages. 1258344e2bb9SEd MasteWhen set, these options are also in effect: 125990be798eSDimitry Andric.Pp 126090be798eSDimitry Andric.Bl -inset -compact 126190be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS 126290be798eSDimitry Andric(unless 126390be798eSDimitry Andric.Va WITH_MAN_UTILS 126490be798eSDimitry Andricis set explicitly) 126590be798eSDimitry Andric.El 126690be798eSDimitry Andric.It Va WITHOUT_MANCOMPRESS 126790be798eSDimitry AndricSet to not to install compressed man pages. 126890be798eSDimitry AndricOnly the uncompressed versions will be installed. 126990be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS 127090be798eSDimitry AndricSet to not build utilities for manual pages, 127190be798eSDimitry Andric.Xr apropos 1 , 127290be798eSDimitry Andric.Xr makewhatis 1 , 127390be798eSDimitry Andric.Xr man 1 , 127490be798eSDimitry Andric.Xr whatis 1 , 127590be798eSDimitry Andric.Xr manctl 8 , 127690be798eSDimitry Andricand related support files. 1277cc2520d2SSimon J. Gerraty.It Va WITH_META_MODE 1278344e2bb9SEd MasteCreate 1279be894451SBryan Drewery.Xr make 1 1280be894451SBryan Drewerymeta files when building, which can provide a reliable incremental build when 1281be894451SBryan Dreweryusing 1282be894451SBryan Drewery.Xr filemon 4 . 1283344e2bb9SEd MasteThe meta file is created in OBJDIR as 1284be894451SBryan Drewery.Pa target.meta . 1285344e2bb9SEd MasteThese meta files track the command that was executed, its output, and the 1286344e2bb9SEd Mastecurrent directory. 12872710e62cSBryan DreweryThe 12887f76a95cSBryan Drewery.Xr filemon 4 12892710e62cSBryan Drewerymodule is required unless 12902710e62cSBryan Drewery.Va NO_FILEMON 12912710e62cSBryan Dreweryis defined. 1292344e2bb9SEd MasteWhen the module is loaded, any files used by the commands executed are 1293344e2bb9SEd Mastetracked as dependencies for the target in its meta file. 1294344e2bb9SEd MasteThe target is considered out-of-date and rebuilt if any of these 1295344e2bb9SEd Masteconditions are true compared to the last build: 1296be894451SBryan Drewery.Bl -bullet -compact 1297be894451SBryan Drewery.It 1298be894451SBryan DreweryThe command to execute changes. 1299be894451SBryan Drewery.It 1300be894451SBryan DreweryThe current working directory changes. 1301be894451SBryan Drewery.It 1302a4a2269eSBryan DreweryThe target's meta file is missing. 1303a4a2269eSBryan Drewery.It 1304a4a2269eSBryan DreweryThe target's meta file is missing filemon data when filemon is loaded 1305a4a2269eSBryan Dreweryand a previous run did not have it loaded. 1306be894451SBryan Drewery.It 1307be894451SBryan Drewery[requires 1308be894451SBryan Drewery.Xr filemon 4 ] 1309be894451SBryan DreweryFiles read, executed or linked to are newer than the target. 1310be894451SBryan Drewery.It 1311be894451SBryan Drewery[requires 1312be894451SBryan Drewery.Xr filemon 4 ] 1313be894451SBryan DreweryFiles read, written, executed or linked are missing. 1314be894451SBryan Drewery.El 13157f76a95cSBryan DreweryThe meta files can also be useful for debugging. 13167f76a95cSBryan Drewery.Pp 1317344e2bb9SEd MasteThe build hides commands that are executed unless 13187f76a95cSBryan Drewery.Va NO_SILENT 13197f76a95cSBryan Dreweryis defined. 1320344e2bb9SEd MasteErrors cause 13212710e62cSBryan Drewery.Xr make 1 13222710e62cSBryan Dreweryto show some of its environment for further debugging. 13230a70ef02SBryan Drewery.Pp 1324be894451SBryan DreweryThe build operates as it normally would otherwise. 1325be894451SBryan DreweryThis option originally invoked a different build system but that was renamed 1326be894451SBryan Dreweryto 1327be894451SBryan Drewery.Va WITH_DIRDEPS_BUILD . 1328be894451SBryan Drewery.Pp 1329ba852870SBryan DreweryThis must be set in the environment, make command line, or 13300a70ef02SBryan Drewery.Pa /etc/src-env.conf , 13310a70ef02SBryan Drewerynot 13320a70ef02SBryan Drewery.Pa /etc/src.conf . 1333912aad0fSKyle Evans.It Va WITHOUT_MLX5TOOL 1334912aad0fSKyle EvansSet to not build 1335912aad0fSKyle Evans.Xr mlx5tool 8 1336912aad0fSKyle Evans.Pp 1337912aad0fSKyle EvansThis is a default setting on 1338e8788097SKonstantin Belousovarm/arm, arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpcspe, riscv/riscv64 and riscv/riscv64sf. 1339912aad0fSKyle Evans.It Va WITH_MLX5TOOL 1340912aad0fSKyle EvansSet to build 1341912aad0fSKyle Evans.Xr mlx5tool 8 1342912aad0fSKyle Evans.Pp 1343912aad0fSKyle EvansThis is a default setting on 1344912aad0fSKyle Evansamd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64. 134590be798eSDimitry Andric.It Va WITH_NAND 134690be798eSDimitry AndricSet to build the NAND Flash components. 134790be798eSDimitry Andric.It Va WITHOUT_NDIS 134890be798eSDimitry AndricSet to not build programs and libraries 134990be798eSDimitry Andricrelated to NDIS emulation support. 135090be798eSDimitry Andric.It Va WITHOUT_NETCAT 135190be798eSDimitry AndricSet to not build 135290be798eSDimitry Andric.Xr nc 1 135390be798eSDimitry Andricutility. 135490be798eSDimitry Andric.It Va WITHOUT_NETGRAPH 135590be798eSDimitry AndricSet to not build applications to support 135690be798eSDimitry Andric.Xr netgraph 4 . 1357344e2bb9SEd MasteWhen set, it enforces these options: 135890be798eSDimitry Andric.Pp 135990be798eSDimitry Andric.Bl -item -compact 136090be798eSDimitry Andric.It 136190be798eSDimitry Andric.Va WITHOUT_ATM 136290be798eSDimitry Andric.It 136390be798eSDimitry Andric.Va WITHOUT_BLUETOOTH 1364bf64e879SBryan Drewery.El 1365bf64e879SBryan Drewery.Pp 1366bf64e879SBryan DreweryWhen set, these options are also in effect: 1367bf64e879SBryan Drewery.Pp 1368bf64e879SBryan Drewery.Bl -inset -compact 1369bf64e879SBryan Drewery.It Va WITHOUT_NETGRAPH_SUPPORT 1370bf64e879SBryan Drewery(unless 1371bf64e879SBryan Drewery.Va WITH_NETGRAPH_SUPPORT 1372bf64e879SBryan Dreweryis set explicitly) 137390be798eSDimitry Andric.El 137490be798eSDimitry Andric.It Va WITHOUT_NETGRAPH_SUPPORT 137590be798eSDimitry AndricSet to build libraries, programs, and kernel modules without netgraph support. 137690be798eSDimitry Andric.It Va WITHOUT_NIS 137790be798eSDimitry AndricSet to not build 137890be798eSDimitry Andric.Xr NIS 8 137990be798eSDimitry Andricsupport and related programs. 138090be798eSDimitry AndricIf set, you might need to adopt your 138190be798eSDimitry Andric.Xr nsswitch.conf 5 138290be798eSDimitry Andricand remove 138390be798eSDimitry Andric.Sq nis 138490be798eSDimitry Andricentries. 138590be798eSDimitry Andric.It Va WITHOUT_NLS 138690be798eSDimitry AndricSet to not build NLS catalogs. 138757a87b06SEnji CooperWhen set, it enforces these options: 138857a87b06SEnji Cooper.Pp 138957a87b06SEnji Cooper.Bl -item -compact 139057a87b06SEnji Cooper.It 139157a87b06SEnji Cooper.Va WITHOUT_NLS_CATALOGS 139257a87b06SEnji Cooper.El 139390be798eSDimitry Andric.It Va WITHOUT_NLS_CATALOGS 139490be798eSDimitry AndricSet to not build NLS catalog support for 139590be798eSDimitry Andric.Xr csh 1 . 139690be798eSDimitry Andric.It Va WITHOUT_NS_CACHING 139790be798eSDimitry AndricSet to disable name caching in the 139890be798eSDimitry Andric.Pa nsswitch 139990be798eSDimitry Andricsubsystem. 140090be798eSDimitry AndricThe generic caching daemon, 140190be798eSDimitry Andric.Xr nscd 8 , 140290be798eSDimitry Andricwill not be built either if this option is set. 140390be798eSDimitry Andric.It Va WITHOUT_NTP 140490be798eSDimitry AndricSet to not build 140590be798eSDimitry Andric.Xr ntpd 8 140690be798eSDimitry Andricand related programs. 140790be798eSDimitry Andric.It Va WITH_OFED 140890be798eSDimitry AndricSet to build the 140990be798eSDimitry Andric.Dq "OpenFabrics Enterprise Distribution" 141090be798eSDimitry AndricInfiniband software stack. 14114a3caf80SKonstantin Belousov.It Va WITH_OFED_EXTRA 14124a3caf80SKonstantin BelousovSet to build the non-essential components of the 14134a3caf80SKonstantin Belousov.Dq "OpenFabrics Enterprise Distribution" 14144a3caf80SKonstantin BelousovInfiniband software stack, mostly examples. 141590be798eSDimitry Andric.It Va WITH_OPENLDAP 141690be798eSDimitry AndricEnable building openldap support for kerberos. 141790be798eSDimitry Andric.It Va WITHOUT_OPENSSH 141890be798eSDimitry AndricSet to not build OpenSSH. 141990be798eSDimitry Andric.It Va WITHOUT_OPENSSL 142090be798eSDimitry AndricSet to not build OpenSSL. 1421344e2bb9SEd MasteWhen set, it enforces these options: 142290be798eSDimitry Andric.Pp 142390be798eSDimitry Andric.Bl -item -compact 142490be798eSDimitry Andric.It 142590be798eSDimitry Andric.Va WITHOUT_KERBEROS 142690be798eSDimitry Andric.It 142790be798eSDimitry Andric.Va WITHOUT_OPENSSH 142890be798eSDimitry Andric.El 142990be798eSDimitry Andric.Pp 1430344e2bb9SEd MasteWhen set, these options are also in effect: 143190be798eSDimitry Andric.Pp 143290be798eSDimitry Andric.Bl -inset -compact 143390be798eSDimitry Andric.It Va WITHOUT_GSSAPI 143490be798eSDimitry Andric(unless 143590be798eSDimitry Andric.Va WITH_GSSAPI 143690be798eSDimitry Andricis set explicitly) 143790be798eSDimitry Andric.El 143890be798eSDimitry Andric.It Va WITHOUT_PAM 143990be798eSDimitry AndricSet to not build PAM library and modules. 144090be798eSDimitry Andric.Bf -symbolic 144190be798eSDimitry AndricThis option is deprecated and does nothing. 144290be798eSDimitry Andric.Ef 1443bf64e879SBryan DreweryWhen set, these options are also in effect: 144490be798eSDimitry Andric.Pp 1445bf64e879SBryan Drewery.Bl -inset -compact 1446bf64e879SBryan Drewery.It Va WITHOUT_PAM_SUPPORT 1447bf64e879SBryan Drewery(unless 1448bf64e879SBryan Drewery.Va WITH_PAM_SUPPORT 1449bf64e879SBryan Dreweryis set explicitly) 145090be798eSDimitry Andric.El 145190be798eSDimitry Andric.It Va WITHOUT_PAM_SUPPORT 145290be798eSDimitry AndricSet to build some programs without PAM support, particularly 145390be798eSDimitry Andric.Xr ftpd 8 145490be798eSDimitry Andricand 145590be798eSDimitry Andric.Xr ppp 8 . 145690be798eSDimitry Andric.It Va WITHOUT_PC_SYSINSTALL 145790be798eSDimitry AndricSet to not build 145890be798eSDimitry Andric.Xr pc-sysinstall 8 145990be798eSDimitry Andricand related programs. 146090be798eSDimitry Andric.It Va WITHOUT_PF 146190be798eSDimitry AndricSet to not build PF firewall package. 1462344e2bb9SEd MasteWhen set, it enforces these options: 146390be798eSDimitry Andric.Pp 146490be798eSDimitry Andric.Bl -item -compact 146590be798eSDimitry Andric.It 146690be798eSDimitry Andric.Va WITHOUT_AUTHPF 146790be798eSDimitry Andric.El 146890be798eSDimitry Andric.It Va WITHOUT_PKGBOOTSTRAP 146990be798eSDimitry AndricSet to not build 147090be798eSDimitry Andric.Xr pkg 7 147190be798eSDimitry Andricbootstrap tool. 147290be798eSDimitry Andric.It Va WITHOUT_PMC 147390be798eSDimitry AndricSet to not build 147490be798eSDimitry Andric.Xr pmccontrol 8 147590be798eSDimitry Andricand related programs. 147690be798eSDimitry Andric.It Va WITHOUT_PORTSNAP 147790be798eSDimitry AndricSet to not build or install 147890be798eSDimitry Andric.Xr portsnap 8 147990be798eSDimitry Andricand related files. 148045b8de2dSEd MasteWhen set, it enforces these options: 148145b8de2dSEd Maste.Pp 148245b8de2dSEd Maste.Bl -item -compact 148345b8de2dSEd Maste.It 148445b8de2dSEd Maste.Va WITHOUT_FREEBSD_UPDATE 148545b8de2dSEd Maste.El 148690be798eSDimitry Andric.It Va WITHOUT_PPP 148790be798eSDimitry AndricSet to not build 148890be798eSDimitry Andric.Xr ppp 8 148990be798eSDimitry Andricand related programs. 149090be798eSDimitry Andric.It Va WITHOUT_PROFILE 14914c033a73SEnji CooperSet to not build profiled libraries for use with 14924c033a73SEnji Cooper.Xr gprof 8 . 14930780f5c3SJohn Baldwin.Pp 14940780f5c3SJohn BaldwinThis is a default setting on 1495e8788097SKonstantin Belousovmips/mips64el, mips/mips64, mips/mips64elhf and mips/mips64hf. 14964c033a73SEnji Cooper.It Va WITH_PROFILE 14974c033a73SEnji CooperSet to build profiled libraries for use with 14984c033a73SEnji Cooper.Xr gprof 8 . 14994c033a73SEnji Cooper.Pp 15004c033a73SEnji CooperThis is a default setting on 1501e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mipsn32, mips/mipselhf, mips/mipshf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 150290be798eSDimitry Andric.It Va WITHOUT_QUOTAS 150390be798eSDimitry AndricSet to not build 150423a6b49aSEdward Tomasz Napierala.Xr quota 1 150590be798eSDimitry Andricand related programs. 15060e0e9604SEnji Cooper.It Va WITHOUT_RADIUS_SUPPORT 15070e0e9604SEnji CooperSet to not build radius support into various applications, like 15080e0e9604SEnji Cooper.Xr pam_radius 8 15090e0e9604SEnji Cooperand 15100e0e9604SEnji Cooper.Xr ppp 8 . 151188342134SEnji Cooper.It Va WITH_RATELIMIT 151288342134SEnji CooperSet to build the system with rate limit support. 151388342134SEnji Cooper.Pp 151488342134SEnji CooperThis makes 151588342134SEnji Cooper.Dv SO_MAX_PACING_RATE 151688342134SEnji Coopereffective in 151788342134SEnji Cooper.Xr getsockopt 2 , 151888342134SEnji Cooperand 151988342134SEnji Cooper.Ar txrlimit 152088342134SEnji Coopersupport in 152188342134SEnji Cooper.Xr ifconfig 8 , 152288342134SEnji Cooperby proxy. 15230e0e9604SEnji Cooper.It Va WITHOUT_RBOOTD 15240e0e9604SEnji CooperSet to not build or install 15250e0e9604SEnji Cooper.Xr rbootd 8 . 15266dfa2a0aSEd Maste.It Va WITH_REPRODUCIBLE_BUILD 15276dfa2a0aSEd MasteSet to exclude build metadata (such as the build time, user, or host) 15286dfa2a0aSEd Mastefrom the kernel, boot loaders, and uname output, so that builds produce 15296dfa2a0aSEd Mastebit-for-bit identical output. 153090be798eSDimitry Andric.It Va WITHOUT_RESCUE 153190be798eSDimitry AndricSet to not build 153290be798eSDimitry Andric.Xr rescue 8 . 153390be798eSDimitry Andric.It Va WITHOUT_ROUTED 153490be798eSDimitry AndricSet to not build 153590be798eSDimitry Andric.Xr routed 8 153690be798eSDimitry Andricutility. 15374c033a73SEnji Cooper.It Va WITH_RPCBIND_WARMSTART_SUPPORT 15384c033a73SEnji CooperSet to build 15394c033a73SEnji Cooper.Xr rpcbind 8 15404c033a73SEnji Cooperwith warmstart support. 154190be798eSDimitry Andric.It Va WITHOUT_SENDMAIL 154290be798eSDimitry AndricSet to not build 154390be798eSDimitry Andric.Xr sendmail 8 154490be798eSDimitry Andricand related programs. 1545e8788097SKonstantin Belousov.It Va WITHOUT_SERVICESDB 1546e8788097SKonstantin BelousovSet to not install 1547e8788097SKonstantin Belousov.Pa /var/db/services.db . 154890be798eSDimitry Andric.It Va WITHOUT_SETUID_LOGIN 154990be798eSDimitry AndricSet this to disable the installation of 155090be798eSDimitry Andric.Xr login 1 155190be798eSDimitry Andricas a set-user-ID root program. 155290be798eSDimitry Andric.It Va WITHOUT_SHAREDOCS 155390be798eSDimitry AndricSet to not build the 155490be798eSDimitry Andric.Bx 4.4 155590be798eSDimitry Andriclegacy docs. 155690be798eSDimitry Andric.It Va WITH_SHARED_TOOLCHAIN 155790be798eSDimitry AndricSet to build the toolchain binaries shared. 155890be798eSDimitry AndricThe set includes 155990be798eSDimitry Andric.Xr cc 1 , 156090be798eSDimitry Andric.Xr make 1 156190be798eSDimitry Andricand necessary utilities like assembler, linker and library archive manager. 156290be798eSDimitry Andric.It Va WITH_SORT_THREADS 156390be798eSDimitry AndricSet to enable threads in 156490be798eSDimitry Andric.Xr sort 1 . 156590be798eSDimitry Andric.It Va WITHOUT_SOURCELESS 156690be798eSDimitry AndricSet to not build kernel modules that include sourceless code (either microcode or native code for host CPU). 1567344e2bb9SEd MasteWhen set, it enforces these options: 156890be798eSDimitry Andric.Pp 156990be798eSDimitry Andric.Bl -item -compact 157090be798eSDimitry Andric.It 157190be798eSDimitry Andric.Va WITHOUT_SOURCELESS_HOST 157290be798eSDimitry Andric.It 157390be798eSDimitry Andric.Va WITHOUT_SOURCELESS_UCODE 157490be798eSDimitry Andric.El 157590be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_HOST 157690be798eSDimitry AndricSet to not build kernel modules that include sourceless native code for host CPU. 157790be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_UCODE 157890be798eSDimitry AndricSet to not build kernel modules that include sourceless microcode. 157990be798eSDimitry Andric.It Va WITHOUT_SSP 158090be798eSDimitry AndricSet to not build world with propolice stack smashing protection. 1581cc68b6e5SEd Maste.Pp 1582344e2bb9SEd MasteThis is a default setting on 158336e8c7bbSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf. 15840cd582c8SEnji Cooper.It Va WITH_SSP 15850cd582c8SEnji CooperSet to build world with propolice stack smashing protection. 15860cd582c8SEnji Cooper.Pp 1587344e2bb9SEd MasteThis is a default setting on 1588e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64, riscv/riscv64sf and sparc64/sparc64. 1589cc2520d2SSimon J. Gerraty.It Va WITH_STAGING 1590cc2520d2SSimon J. GerratyEnable staging of files to a stage tree. 1591cc2520d2SSimon J. GerratyThis can be best thought of as auto-install to 1592cc2520d2SSimon J. Gerraty.Va DESTDIR 1593cc2520d2SSimon J. Gerratywith some extra meta data to ensure dependencies can be tracked. 1594cc2520d2SSimon J. GerratyDepends on 159532b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD . 1596344e2bb9SEd MasteWhen set, these options are also in effect: 1597cc2520d2SSimon J. Gerraty.Pp 1598cc2520d2SSimon J. Gerraty.Bl -inset -compact 1599cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN 1600cc2520d2SSimon J. Gerraty(unless 1601cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_MAN 1602cc2520d2SSimon J. Gerratyis set explicitly) 1603cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG 1604cc2520d2SSimon J. Gerraty(unless 1605cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_PROG 1606cc2520d2SSimon J. Gerratyis set explicitly) 1607cc2520d2SSimon J. Gerraty.El 16080a70ef02SBryan Drewery.Pp 1609ba852870SBryan DreweryThis must be set in the environment, make command line, or 16100a70ef02SBryan Drewery.Pa /etc/src-env.conf , 16110a70ef02SBryan Drewerynot 16120a70ef02SBryan Drewery.Pa /etc/src.conf . 1613cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN 1614344e2bb9SEd MasteEnable staging of man pages to stage tree. 1615cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG 1616cc2520d2SSimon J. GerratyEnable staging of PROGs to stage tree. 1617cc2520d2SSimon J. Gerraty.It Va WITH_STALE_STAGED 1618cc2520d2SSimon J. GerratyCheck staged files are not stale. 161990be798eSDimitry Andric.It Va WITH_SVN 162090be798eSDimitry AndricSet to install 162190be798eSDimitry Andric.Xr svnlite 1 162290be798eSDimitry Andricas 162390be798eSDimitry Andric.Xr svn 1 . 162490be798eSDimitry Andric.It Va WITHOUT_SVNLITE 162590be798eSDimitry AndricSet to not build 162690be798eSDimitry Andric.Xr svnlite 1 162790be798eSDimitry Andricand related programs. 162890be798eSDimitry Andric.It Va WITHOUT_SYMVER 162990be798eSDimitry AndricSet to disable symbol versioning when building shared libraries. 163090be798eSDimitry Andric.It Va WITHOUT_SYSCONS 163190be798eSDimitry AndricSet to not build 163290be798eSDimitry Andric.Xr syscons 4 163390be798eSDimitry Andricsupport files such as keyboard maps, fonts, and screen output maps. 1634cc2520d2SSimon J. Gerraty.It Va WITH_SYSROOT 1635cc2520d2SSimon J. GerratyEnable use of sysroot during build. 1636cc2520d2SSimon J. GerratyDepends on 163732b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD . 16380a70ef02SBryan Drewery.Pp 1639ba852870SBryan DreweryThis must be set in the environment, make command line, or 16400a70ef02SBryan Drewery.Pa /etc/src-env.conf , 16410a70ef02SBryan Drewerynot 16420a70ef02SBryan Drewery.Pa /etc/src.conf . 16438095b3c2SBryan Drewery.It Va WITHOUT_SYSTEM_COMPILER 16448095b3c2SBryan DrewerySet to not opportunistically skip building a cross-compiler during the 1645a9da9b86SBryan Drewerybootstrap phase of the build. 16468095b3c2SBryan DreweryNormally, if the currently installed compiler matches the planned bootstrap 16478095b3c2SBryan Drewerycompiler type and revision, then it will not be built. 1648a9da9b86SBryan DreweryThis does not prevent a compiler from being built for installation though, 1649a9da9b86SBryan Dreweryonly for building one for the build itself. 1650a9da9b86SBryan DreweryThe 1651a9da9b86SBryan Drewery.Va WITHOUT_CLANG 1652a9da9b86SBryan Dreweryand 1653a9da9b86SBryan Drewery.Va WITHOUT_GCC 1654a9da9b86SBryan Dreweryoptions control those. 1655be9309deSBryan Drewery.It Va WITHOUT_SYSTEM_LINKER 1656be9309deSBryan DrewerySet to not opportunistically skip building a cross-linker during the 1657be9309deSBryan Drewerybootstrap phase of the build. 1658be9309deSBryan DreweryNormally, if the currently installed linker matches the planned bootstrap 1659be9309deSBryan Drewerylinker type and revision, then it will not be built. 1660be9309deSBryan DreweryThis does not prevent a linker from being built for installation though, 1661be9309deSBryan Dreweryonly for building one for the build itself. 1662be9309deSBryan DreweryThe 1663be9309deSBryan Drewery.Va WITHOUT_LLD 1664be9309deSBryan Dreweryand 1665be9309deSBryan Drewery.Va WITHOUT_BINUTILS 1666be9309deSBryan Dreweryoptions control those. 1667be9309deSBryan Drewery.Pp 1668be9309deSBryan DreweryThis option is only relevant when 1669be9309deSBryan Drewery.Va WITH_LLD_BOOTSTRAP 1670be9309deSBryan Dreweryis set. 167193da8366SEnji Cooper.It Va WITHOUT_TALK 167293da8366SEnji CooperSet to not build or install 167393da8366SEnji Cooper.Xr talk 1 167493da8366SEnji Cooperand 167593da8366SEnji Cooper.Xr talkd 8 . 16760e0e9604SEnji Cooper.It Va WITHOUT_TCP_WRAPPERS 16770e0e9604SEnji CooperSet to not build or install 16780e0e9604SEnji Cooper.Xr tcpd 8 , 16790e0e9604SEnji Cooperand related utilities. 168090be798eSDimitry Andric.It Va WITHOUT_TCSH 168190be798eSDimitry AndricSet to not build and install 168290be798eSDimitry Andric.Pa /bin/csh 168390be798eSDimitry Andric(which is 168490be798eSDimitry Andric.Xr tcsh 1 ) . 168590be798eSDimitry Andric.It Va WITHOUT_TELNET 168690be798eSDimitry AndricSet to not build 168723a6b49aSEdward Tomasz Napierala.Xr telnet 1 168890be798eSDimitry Andricand related programs. 168918c6fc4cSJulio Merino.It Va WITHOUT_TESTS 169018c6fc4cSJulio MerinoSet to not build nor install the 169190be798eSDimitry Andric.Fx 169290be798eSDimitry AndricTest Suite in 169390be798eSDimitry Andric.Pa /usr/tests/ . 169490be798eSDimitry AndricSee 169590be798eSDimitry Andric.Xr tests 7 169690be798eSDimitry Andricfor more details. 169718c6fc4cSJulio MerinoThis also disables the build of all test-related dependencies, including ATF. 1698344e2bb9SEd MasteWhen set, it enforces these options: 1699c5d09a87SGlen Barber.Pp 1700c5d09a87SGlen Barber.Bl -item -compact 1701c5d09a87SGlen Barber.It 170216f3fdf5SMark Johnston.Va WITHOUT_DTRACE_TESTS 1703bf64e879SBryan Drewery.El 1704bf64e879SBryan Drewery.Pp 1705bf64e879SBryan DreweryWhen set, these options are also in effect: 1706bf64e879SBryan Drewery.Pp 1707bf64e879SBryan Drewery.Bl -inset -compact 1708bf64e879SBryan Drewery.It Va WITHOUT_TESTS_SUPPORT 1709bf64e879SBryan Drewery(unless 1710bf64e879SBryan Drewery.Va WITH_TESTS_SUPPORT 1711bf64e879SBryan Dreweryis set explicitly) 1712c5d09a87SGlen Barber.El 1713c5d09a87SGlen Barber.It Va WITHOUT_TESTS_SUPPORT 1714c5d09a87SGlen BarberSet to disables the build of all test-related dependencies, including ATF. 171590be798eSDimitry Andric.It Va WITHOUT_TEXTPROC 171690be798eSDimitry AndricSet to not build 171790be798eSDimitry Andricprograms used for text processing. 17180e0e9604SEnji Cooper.It Va WITHOUT_TFTP 17190e0e9604SEnji CooperSet to not build or install 17200e0e9604SEnji Cooper.Xr tftp 1 17210e0e9604SEnji Cooperand 17220e0e9604SEnji Cooper.Xr tftpd 8 . 17230e0e9604SEnji Cooper.It Va WITHOUT_TIMED 17240e0e9604SEnji CooperSet to not build or install 17250e0e9604SEnji Cooper.Xr timed 8 . 172690be798eSDimitry Andric.It Va WITHOUT_TOOLCHAIN 1727148bdd15SBrooks DavisSet to not install header or 172890be798eSDimitry Andricprograms used for program development, 172990be798eSDimitry Andriccompilers, debuggers etc. 1730344e2bb9SEd MasteWhen set, it enforces these options: 173190be798eSDimitry Andric.Pp 173290be798eSDimitry Andric.Bl -item -compact 173390be798eSDimitry Andric.It 173490be798eSDimitry Andric.Va WITHOUT_BINUTILS 173590be798eSDimitry Andric.It 173690be798eSDimitry Andric.Va WITHOUT_CLANG 173790be798eSDimitry Andric.It 173890be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS 173990be798eSDimitry Andric.It 174090be798eSDimitry Andric.Va WITHOUT_CLANG_FULL 174190be798eSDimitry Andric.It 174290be798eSDimitry Andric.Va WITHOUT_GCC 174390be798eSDimitry Andric.It 174490be798eSDimitry Andric.Va WITHOUT_GDB 1745c5d09a87SGlen Barber.It 1746c5d09a87SGlen Barber.Va WITHOUT_INCLUDES 17473d02549fSBryan Drewery.It 17486c2b7edaSEd Maste.Va WITHOUT_LLD 17496c2b7edaSEd Maste.It 17503d02549fSBryan Drewery.Va WITHOUT_LLDB 17515b9c3654SEd Maste.It 17525b9c3654SEd Maste.Va WITHOUT_LLVM_COV 175390be798eSDimitry Andric.El 175490be798eSDimitry Andric.It Va WITHOUT_UNBOUND 175590be798eSDimitry AndricSet to not build 175690be798eSDimitry Andric.Xr unbound 8 175790be798eSDimitry Andricand related programs. 1758efb949a6SBryan Drewery.It Va WITHOUT_UNIFIED_OBJDIR 1759efb949a6SBryan DrewerySet to use the historical object directory format for 1760efb949a6SBryan Drewery.Xr build 7 1761efb949a6SBryan Drewerytargets. 1762efb949a6SBryan DreweryFor native-builds and builds done directly in sub-directories the format of 1763efb949a6SBryan Drewery.Pa ${MAKEOBJDIRPREFIX}/${.CURDIR} 1764efb949a6SBryan Dreweryis used, 1765efb949a6SBryan Drewerywhile for cross-builds 1766efb949a6SBryan Drewery.Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR} 1767efb949a6SBryan Dreweryis used. 1768efb949a6SBryan Drewery.Pp 1769efb949a6SBryan DreweryThis option is transitional and will be removed before the 12.0 release, 1770efb949a6SBryan Dreweryat which time 1771efb949a6SBryan Drewery.va WITH_UNIFIED_OBJDIR 1772efb949a6SBryan Drewerywill be enabled permanently. 1773efb949a6SBryan Drewery.Pp 1774efb949a6SBryan DreweryThis must be set in the environment, make command line, or 1775efb949a6SBryan Drewery.Pa /etc/src-env.conf , 1776efb949a6SBryan Drewerynot 1777efb949a6SBryan Drewery.Pa /etc/src.conf . 177890be798eSDimitry Andric.It Va WITHOUT_USB 177990be798eSDimitry AndricSet to not build USB-related programs and libraries. 1780c5d09a87SGlen Barber.It Va WITHOUT_USB_GADGET_EXAMPLES 1781d1040cedSWarren BlockSet to not build USB gadget kernel modules. 178290be798eSDimitry Andric.It Va WITHOUT_UTMPX 178390be798eSDimitry AndricSet to not build user accounting tools such as 178490be798eSDimitry Andric.Xr last 1 , 178590be798eSDimitry Andric.Xr users 1 , 178690be798eSDimitry Andric.Xr who 1 , 178790be798eSDimitry Andric.Xr ac 8 , 178890be798eSDimitry Andric.Xr lastlogin 8 178990be798eSDimitry Andricand 179090be798eSDimitry Andric.Xr utx 8 . 179190be798eSDimitry Andric.It Va WITHOUT_VI 179290be798eSDimitry AndricSet to not build and install vi, view, ex and related programs. 179390be798eSDimitry Andric.It Va WITHOUT_VT 179490be798eSDimitry AndricSet to not build 179590be798eSDimitry Andric.Xr vt 4 179690be798eSDimitry Andricsupport files (fonts and keymaps). 179790be798eSDimitry Andric.It Va WITHOUT_WARNS 179890be798eSDimitry AndricSet this to not add warning flags to the compiler invocations. 179990be798eSDimitry AndricUseful as a temporary workaround when code enters the tree 180090be798eSDimitry Andricwhich triggers warnings in environments that differ from the 1801559f9bfcSJens Schweikhardtoriginal developer. 180290be798eSDimitry Andric.It Va WITHOUT_WIRELESS 180390be798eSDimitry AndricSet to not build programs used for 802.11 wireless networks; especially 180490be798eSDimitry Andric.Xr wpa_supplicant 8 180590be798eSDimitry Andricand 180690be798eSDimitry Andric.Xr hostapd 8 . 1807bf64e879SBryan DreweryWhen set, these options are also in effect: 180890be798eSDimitry Andric.Pp 1809bf64e879SBryan Drewery.Bl -inset -compact 1810bf64e879SBryan Drewery.It Va WITHOUT_WIRELESS_SUPPORT 1811bf64e879SBryan Drewery(unless 1812bf64e879SBryan Drewery.Va WITH_WIRELESS_SUPPORT 1813bf64e879SBryan Dreweryis set explicitly) 181490be798eSDimitry Andric.El 181590be798eSDimitry Andric.It Va WITHOUT_WIRELESS_SUPPORT 181690be798eSDimitry AndricSet to build libraries, programs, and kernel modules without 181790be798eSDimitry Andric802.11 wireless support. 181890be798eSDimitry Andric.It Va WITHOUT_WPA_SUPPLICANT_EAPOL 181990be798eSDimitry AndricBuild 182090be798eSDimitry Andric.Xr wpa_supplicant 8 182190be798eSDimitry Andricwithout support for the IEEE 802.1X protocol and without 182290be798eSDimitry Andricsupport for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS 182390be798eSDimitry Andricprotocols (usable only via 802.1X). 182490be798eSDimitry Andric.It Va WITHOUT_ZFS 182590be798eSDimitry AndricSet to not build ZFS file system. 182690be798eSDimitry Andric.It Va WITHOUT_ZONEINFO 182790be798eSDimitry AndricSet to not build the timezone database. 18285c021049SEnji CooperWhen set, it enforces these options: 18295c021049SEnji Cooper.Pp 18305c021049SEnji Cooper.Bl -item -compact 18315c021049SEnji Cooper.It 18325c021049SEnji Cooper.Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT 18335c021049SEnji Cooper.It 18345c021049SEnji Cooper.Va WITHOUT_ZONEINFO_OLD_TIMEZONES_SUPPORT 18355c021049SEnji Cooper.El 18365c021049SEnji Cooper.It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT 18375c021049SEnji CooperSet to build leapsecond information in to the timezone database. 18385c021049SEnji Cooper.It Va WITH_ZONEINFO_OLD_TIMEZONES_SUPPORT 18395c021049SEnji CooperSet to build backward compatibility timezone aliases in to the timezone 18405c021049SEnji Cooperdatabase. 184190be798eSDimitry Andric.El 184290be798eSDimitry Andric.Sh FILES 184390be798eSDimitry Andric.Bl -tag -compact -width Pa 184490be798eSDimitry Andric.It Pa /etc/src.conf 18450a70ef02SBryan Drewery.It Pa /etc/src-env.conf 184690be798eSDimitry Andric.It Pa /usr/share/mk/bsd.own.mk 184790be798eSDimitry Andric.El 184890be798eSDimitry Andric.Sh SEE ALSO 184990be798eSDimitry Andric.Xr make 1 , 185090be798eSDimitry Andric.Xr make.conf 5 , 185190be798eSDimitry Andric.Xr build 7 , 185290be798eSDimitry Andric.Xr ports 7 185390be798eSDimitry Andric.Sh HISTORY 185490be798eSDimitry AndricThe 185590be798eSDimitry Andric.Nm 185690be798eSDimitry Andricfile appeared in 185790be798eSDimitry Andric.Fx 7.0 . 185890be798eSDimitry Andric.Sh AUTHORS 185988342134SEnji CooperThis manual page was autogenerated by 1860a121d3a8SEnji Cooper.An tools/build/options/makeman . 1861