1b1a0e564SEitan Adler.\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman. 2fa07cb9cSRuslan Ermilov.\" $FreeBSD$ 3*43f75d57SBjoern A. Zeeb.Dd October 30, 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 1528ccac680SEd Mastearm64/aarch64 and riscv/riscv64. 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 1748ccac680SEd Mastearm64/aarch64 and riscv/riscv64. 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 . 22282a0f53dSAndrew Turner.It Va WITH_BSD_CRTBEGIN 22382a0f53dSAndrew TurnerEnable the BSD licensed 22482a0f53dSAndrew Turner.Pa crtbegin.o 22582a0f53dSAndrew Turnerand 22682a0f53dSAndrew Turner.Pa crtend.o . 22790be798eSDimitry Andric.It Va WITH_BSD_GREP 22890be798eSDimitry AndricInstall BSD-licensed grep as '[ef]grep' instead of GNU grep. 22990be798eSDimitry Andric.It Va WITHOUT_BSNMP 23090be798eSDimitry AndricSet to not build or install 23190be798eSDimitry Andric.Xr bsnmpd 1 23290be798eSDimitry Andricand related libraries and data files. 23390be798eSDimitry Andric.It Va WITHOUT_BZIP2 23490be798eSDimitry AndricSet to not build contributed bzip2 software as a part of the base system. 23590be798eSDimitry Andric.Bf -symbolic 23690be798eSDimitry AndricThe option has no effect yet. 23790be798eSDimitry Andric.Ef 238bf64e879SBryan DreweryWhen set, these options are also in effect: 23990be798eSDimitry Andric.Pp 240bf64e879SBryan Drewery.Bl -inset -compact 241bf64e879SBryan Drewery.It Va WITHOUT_BZIP2_SUPPORT 242bf64e879SBryan Drewery(unless 243bf64e879SBryan Drewery.Va WITH_BZIP2_SUPPORT 244bf64e879SBryan Dreweryis set explicitly) 24590be798eSDimitry Andric.El 24690be798eSDimitry Andric.It Va WITHOUT_BZIP2_SUPPORT 24790be798eSDimitry AndricSet to build some programs without optional bzip2 support. 24890be798eSDimitry Andric.It Va WITHOUT_CALENDAR 24990be798eSDimitry AndricSet to not build 25090be798eSDimitry Andric.Xr calendar 1 . 25190be798eSDimitry Andric.It Va WITHOUT_CAPSICUM 25290be798eSDimitry AndricSet to not build Capsicum support into system programs. 253344e2bb9SEd MasteWhen set, it enforces these options: 254aced6942SBaptiste Daroussin.Pp 255aced6942SBaptiste Daroussin.Bl -item -compact 256aced6942SBaptiste Daroussin.It 257aced6942SBaptiste Daroussin.Va WITHOUT_CASPER 258aced6942SBaptiste Daroussin.El 25990be798eSDimitry Andric.It Va WITHOUT_CASPER 26090be798eSDimitry AndricSet to not build Casper program and related libraries. 2611c01e4f8SBryan Drewery.It Va WITH_CCACHE_BUILD 2621c01e4f8SBryan DrewerySet to use 2631c01e4f8SBryan Drewery.Xr ccache 1 2641c01e4f8SBryan Dreweryfor the build. 2651c01e4f8SBryan DreweryNo configuration is required except to install the 2661c01e4f8SBryan Drewery.Sy devel/ccache 2671c01e4f8SBryan Drewerypackage. 268344e2bb9SEd MasteWhen using with 269344e2bb9SEd Maste.Xr distcc 1 , 270344e2bb9SEd Masteset 2711c01e4f8SBryan Drewery.Sy CCACHE_PREFIX=/usr/local/bin/distcc . 2721c01e4f8SBryan DreweryThe default cache directory of 2731c01e4f8SBryan Drewery.Pa $HOME/.ccache 2741c01e4f8SBryan Drewerywill be used, which can be overridden by setting 2751c01e4f8SBryan Drewery.Sy CCACHE_DIR . 2761c01e4f8SBryan DreweryThe 2771c01e4f8SBryan Drewery.Sy CCACHE_COMPILERCHECK 2781c01e4f8SBryan Dreweryoption defaults to 2791c01e4f8SBryan Drewery.Sy content 2801c01e4f8SBryan Drewerywhen using the in-tree bootstrap compiler, 2811c01e4f8SBryan Dreweryand 2821c01e4f8SBryan Drewery.Sy mtime 2831c01e4f8SBryan Drewerywhen using an external compiler. 2841c01e4f8SBryan DreweryThe 2851c01e4f8SBryan Drewery.Sy CCACHE_CPP2 2861c01e4f8SBryan Dreweryoption is used for Clang but not GCC. 2871c01e4f8SBryan Drewery.Pp 2881c01e4f8SBryan DrewerySharing a cache between multiple work directories requires using a layout 2891c01e4f8SBryan Drewerysimilar to 2901c01e4f8SBryan Drewery.Pa /some/prefix/src 2911c01e4f8SBryan Drewery.Pa /some/prefix/obj 2921c01e4f8SBryan Dreweryand an environment such as: 2931c01e4f8SBryan Drewery.Bd -literal -offset indent 2941c01e4f8SBryan DreweryCCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj' 2951c01e4f8SBryan Drewery.Ed 2961c01e4f8SBryan Drewery.Pp 2971c01e4f8SBryan DrewerySee 2981c01e4f8SBryan Drewery.Xr ccache 1 2991c01e4f8SBryan Dreweryfor more configuration options. 30093da8366SEnji Cooper.It Va WITHOUT_CCD 30193da8366SEnji CooperSet to not build 30293da8366SEnji Cooper.Xr geom_ccd 4 30393da8366SEnji Cooperand related utilities. 30490be798eSDimitry Andric.It Va WITHOUT_CDDL 30590be798eSDimitry AndricSet to not build code licensed under Sun's CDDL. 306344e2bb9SEd MasteWhen set, it enforces these options: 30790be798eSDimitry Andric.Pp 30890be798eSDimitry Andric.Bl -item -compact 30990be798eSDimitry Andric.It 31090be798eSDimitry Andric.Va WITHOUT_CTF 31190be798eSDimitry Andric.It 31290be798eSDimitry Andric.Va WITHOUT_ZFS 31390be798eSDimitry Andric.El 31490be798eSDimitry Andric.It Va WITHOUT_CLANG 31590be798eSDimitry AndricSet to not build the Clang C/C++ compiler during the regular phase of the build. 31690be798eSDimitry Andric.Pp 317344e2bb9SEd MasteThis is a default setting on 3188ccac680SEd Masteriscv/riscv64 and sparc64/sparc64. 319344e2bb9SEd MasteWhen set, it enforces these options: 32090be798eSDimitry Andric.Pp 32190be798eSDimitry Andric.Bl -item -compact 32290be798eSDimitry Andric.It 32390be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS 32490be798eSDimitry Andric.It 32590be798eSDimitry Andric.Va WITHOUT_CLANG_FULL 3265b9c3654SEd Maste.It 3275b9c3654SEd Maste.Va WITHOUT_LLVM_COV 32890be798eSDimitry Andric.El 329bf64e879SBryan Drewery.Pp 330bf64e879SBryan DreweryWhen set, these options are also in effect: 331bf64e879SBryan Drewery.Pp 332bf64e879SBryan Drewery.Bl -inset -compact 333bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_AARCH64 334bf64e879SBryan Drewery(unless 335bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_AARCH64 336bf64e879SBryan Dreweryis set explicitly) 337bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ALL 338bf64e879SBryan Drewery(unless 339bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_ALL 340bf64e879SBryan Dreweryis set explicitly) 341bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ARM 342bf64e879SBryan Drewery(unless 343bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_ARM 344bf64e879SBryan Dreweryis set explicitly) 345bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_MIPS 346bf64e879SBryan Drewery(unless 347bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_MIPS 348bf64e879SBryan Dreweryis set explicitly) 349bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_POWERPC 350bf64e879SBryan Drewery(unless 351bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_POWERPC 352bf64e879SBryan Dreweryis set explicitly) 353bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_SPARC 354bf64e879SBryan Drewery(unless 355bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_SPARC 356bf64e879SBryan Dreweryis set explicitly) 357bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_X86 358bf64e879SBryan Drewery(unless 359bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_X86 360bf64e879SBryan Dreweryis set explicitly) 361bf64e879SBryan Drewery.El 36290be798eSDimitry Andric.It Va WITH_CLANG 36390be798eSDimitry AndricSet to build the Clang C/C++ compiler during the normal phase of the build. 36490be798eSDimitry Andric.Pp 365344e2bb9SEd MasteThis is a default setting on 366e8788097SKonstantin 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. 36790be798eSDimitry Andric.It Va WITHOUT_CLANG_BOOTSTRAP 368344e2bb9SEd MasteSet to not build the Clang C/C++ compiler during the bootstrap phase of 369344e2bb9SEd Mastethe build. 370344e2bb9SEd MasteTo be able to build the system, either gcc or clang bootstrap must be 371344e2bb9SEd Masteenabled unless an alternate compiler is provided via XCC. 37290be798eSDimitry Andric.Pp 373344e2bb9SEd MasteThis is a default setting on 3748ccac680SEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 37590be798eSDimitry Andric.It Va WITH_CLANG_BOOTSTRAP 37690be798eSDimitry AndricSet to build the Clang C/C++ compiler during the bootstrap phase of the build. 37790be798eSDimitry Andric.Pp 378344e2bb9SEd MasteThis is a default setting on 379e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386. 38090be798eSDimitry Andric.It Va WITH_CLANG_EXTRAS 38190be798eSDimitry AndricSet to build additional clang and llvm tools, such as bugpoint. 38290be798eSDimitry Andric.It Va WITHOUT_CLANG_FULL 38390be798eSDimitry AndricSet to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of 38490be798eSDimitry Andricthe Clang C/C++ compiler. 38590be798eSDimitry Andric.Pp 386344e2bb9SEd MasteThis is a default setting on 3878ccac680SEd Masteriscv/riscv64 and sparc64/sparc64. 38890be798eSDimitry Andric.It Va WITH_CLANG_FULL 38990be798eSDimitry AndricSet to build the ARCMigrate, Rewriter and StaticAnalyzer components of the 39090be798eSDimitry AndricClang C/C++ compiler. 39190be798eSDimitry Andric.Pp 392344e2bb9SEd MasteThis is a default setting on 393e8788097SKonstantin 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. 39490be798eSDimitry Andric.It Va WITHOUT_CLANG_IS_CC 39590be798eSDimitry AndricSet to install the GCC compiler as 39690be798eSDimitry Andric.Pa /usr/bin/cc , 39790be798eSDimitry Andric.Pa /usr/bin/c++ 39890be798eSDimitry Andricand 39990be798eSDimitry Andric.Pa /usr/bin/cpp . 40090be798eSDimitry Andric.Pp 401344e2bb9SEd MasteThis is a default setting on 4028ccac680SEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 40390be798eSDimitry Andric.It Va WITH_CLANG_IS_CC 40490be798eSDimitry AndricSet to install the Clang C/C++ compiler as 40590be798eSDimitry Andric.Pa /usr/bin/cc , 40690be798eSDimitry Andric.Pa /usr/bin/c++ 40790be798eSDimitry Andricand 40890be798eSDimitry Andric.Pa /usr/bin/cpp . 40990be798eSDimitry Andric.Pp 410344e2bb9SEd MasteThis is a default setting on 411e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386. 41290be798eSDimitry Andric.It Va WITHOUT_CPP 41390be798eSDimitry AndricSet to not build 41490be798eSDimitry Andric.Xr cpp 1 . 41590be798eSDimitry Andric.It Va WITHOUT_CROSS_COMPILER 41690be798eSDimitry AndricSet to not build any cross compiler in the cross-tools stage of buildworld. 417344e2bb9SEd MasteWhen compiling a different version of 41890be798eSDimitry Andric.Fx 419344e2bb9SEd Mastethan what is installed on the system, provide an alternate 42090be798eSDimitry Andriccompiler with XCC to ensure success. 421344e2bb9SEd MasteWhen compiling with an identical version of 42290be798eSDimitry Andric.Fx 42390be798eSDimitry Andricto the host, this option may be safely used. 42490be798eSDimitry AndricThis option may also be safe when the host version of 42590be798eSDimitry Andric.Fx 42690be798eSDimitry Andricis close to the sources being built, but all bets are off if there have 42790be798eSDimitry Andricbeen any changes to the toolchain between the versions. 428344e2bb9SEd MasteWhen set, it enforces these options: 42990be798eSDimitry Andric.Pp 43090be798eSDimitry Andric.Bl -item -compact 43190be798eSDimitry Andric.It 43290be798eSDimitry Andric.Va WITHOUT_BINUTILS_BOOTSTRAP 43390be798eSDimitry Andric.It 43490be798eSDimitry Andric.Va WITHOUT_CLANG_BOOTSTRAP 43590be798eSDimitry Andric.It 436f972b8a4SBryan Drewery.Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP 437f972b8a4SBryan Drewery.It 43890be798eSDimitry Andric.Va WITHOUT_GCC_BOOTSTRAP 43928f52545SEd Maste.It 44028f52545SEd Maste.Va WITHOUT_LLD_BOOTSTRAP 44190be798eSDimitry Andric.El 44290be798eSDimitry Andric.It Va WITHOUT_CRYPT 44390be798eSDimitry AndricSet to not build any crypto code. 444344e2bb9SEd MasteWhen set, it enforces these options: 44590be798eSDimitry Andric.Pp 44690be798eSDimitry Andric.Bl -item -compact 44790be798eSDimitry Andric.It 44890be798eSDimitry Andric.Va WITHOUT_KERBEROS 44990be798eSDimitry Andric.It 45090be798eSDimitry Andric.Va WITHOUT_OPENSSH 45190be798eSDimitry Andric.It 45290be798eSDimitry Andric.Va WITHOUT_OPENSSL 45390be798eSDimitry Andric.El 45490be798eSDimitry Andric.Pp 455344e2bb9SEd MasteWhen set, these options are also in effect: 45690be798eSDimitry Andric.Pp 45790be798eSDimitry Andric.Bl -inset -compact 45890be798eSDimitry Andric.It Va WITHOUT_GSSAPI 45990be798eSDimitry Andric(unless 46090be798eSDimitry Andric.Va WITH_GSSAPI 46190be798eSDimitry Andricis set explicitly) 46290be798eSDimitry Andric.El 46390be798eSDimitry Andric.It Va WITH_CTF 46490be798eSDimitry AndricSet to compile with CTF (Compact C Type Format) data. 46590be798eSDimitry AndricCTF data encapsulates a reduced form of debugging information 46690be798eSDimitry Andricsimilar to DWARF and the venerable stabs and is required for DTrace. 46790be798eSDimitry Andric.It Va WITHOUT_CTM 46890be798eSDimitry AndricSet to not build 46990be798eSDimitry Andric.Xr ctm 1 47090be798eSDimitry Andricand related utilities. 47154d8c5d5SBryan Drewery.It Va WITHOUT_CUSE 47254d8c5d5SBryan DrewerySet to not build CUSE-related programs and libraries. 4739cf76983SNavdeep Parhar.It Va WITHOUT_CXGBETOOL 4749cf76983SNavdeep ParharSet to not build 4759cf76983SNavdeep Parhar.Xr cxgbetool 8 4769cf76983SNavdeep Parhar.Pp 4779cf76983SNavdeep ParharThis is a default setting on 4788ccac680SEd Mastearm/arm, arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpcspe and riscv/riscv64. 4799cf76983SNavdeep Parhar.It Va WITH_CXGBETOOL 4809cf76983SNavdeep ParharSet to build 4819cf76983SNavdeep Parhar.Xr cxgbetool 8 4829cf76983SNavdeep Parhar.Pp 4839cf76983SNavdeep ParharThis is a default setting on 4849cf76983SNavdeep Parharamd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64. 48590be798eSDimitry Andric.It Va WITHOUT_CXX 48690be798eSDimitry AndricSet to not build 4874a62dc3aSBryan Drewery.Xr c++ 1 48890be798eSDimitry Andricand related libraries. 48990be798eSDimitry AndricIt will also prevent building of 49090be798eSDimitry Andric.Xr gperf 1 49190be798eSDimitry Andricand 49290be798eSDimitry Andric.Xr devd 8 . 493344e2bb9SEd MasteWhen set, it enforces these options: 49490be798eSDimitry Andric.Pp 49590be798eSDimitry Andric.Bl -item -compact 49690be798eSDimitry Andric.It 49790be798eSDimitry Andric.Va WITHOUT_CLANG 49890be798eSDimitry Andric.It 49990be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS 50090be798eSDimitry Andric.It 50190be798eSDimitry Andric.Va WITHOUT_CLANG_FULL 50290be798eSDimitry Andric.It 503051ea717SEd Maste.Va WITHOUT_DTRACE_TESTS 504051ea717SEd Maste.It 50518c6fc4cSJulio Merino.Va WITHOUT_GNUCXX 50618c6fc4cSJulio Merino.It 5075b9c3654SEd Maste.Va WITHOUT_LLVM_COV 5085b9c3654SEd Maste.It 509051ea717SEd Maste.Va WITHOUT_TESTS 51090be798eSDimitry Andric.El 5114a5e4462SEd Maste.It Va WITHOUT_DEBUG_FILES 5124a5e4462SEd MasteSet to avoid building or installing standalone debug files for each 5134a5e4462SEd Masteexecutable binary and shared library. 514cc68b6e5SEd Maste.It Va WITHOUT_DIALOG 515344e2bb9SEd MasteSet to not build 516344e2bb9SEd Maste.Xr dialog 1 , 517344e2bb9SEd Maste.Xr dialog 3 , 518344e2bb9SEd Maste.Xr dpv 1 , 519344e2bb9SEd Masteand 520344e2bb9SEd Maste.Xr dpv 3 . 521344e2bb9SEd MasteWhen set, it enforces these options: 522cc68b6e5SEd Maste.Pp 523cc68b6e5SEd Maste.Bl -item -compact 524cc68b6e5SEd Maste.It 525cc68b6e5SEd Maste.Va WITHOUT_BSDINSTALL 526cc68b6e5SEd Maste.El 52790be798eSDimitry Andric.It Va WITHOUT_DICT 52890be798eSDimitry AndricSet to not build the Webster dictionary files. 52932b5dc9aSSimon J. Gerraty.It Va WITH_DIRDEPS_BUILD 530be894451SBryan DreweryThis is an experimental build system. 53132b5dc9aSSimon J. GerratyFor details see 53232b5dc9aSSimon J. Gerratyhttp://www.crufty.net/sjg/docs/freebsd-meta-mode.htm. 533be894451SBryan DreweryBuild commands can be seen from the top-level with: 534be894451SBryan Drewery.Dl make show-valid-targets 53532b5dc9aSSimon J. GerratyThe build is driven by dirdeps.mk using 53632b5dc9aSSimon J. Gerraty.Va DIRDEPS 53732b5dc9aSSimon J. Gerratystored in 53832b5dc9aSSimon J. GerratyMakefile.depend files found in each directory. 53932b5dc9aSSimon J. Gerraty.Pp 54032b5dc9aSSimon J. GerratyThe build can be started from anywhere, and behaves the same. 54132b5dc9aSSimon J. GerratyThe initial instance of 54232b5dc9aSSimon J. Gerraty.Xr make 1 54332b5dc9aSSimon J. Gerratyrecursively reads 54432b5dc9aSSimon J. Gerraty.Va DIRDEPS 545344e2bb9SEd Mastefrom 546344e2bb9SEd Maste.Pa Makefile.depend , 54732b5dc9aSSimon J. Gerratycomputing a graph of tree dependencies from the current origin. 54832b5dc9aSSimon J. GerratySetting 54932b5dc9aSSimon J. Gerraty.Va NO_DIRDEPS 550344e2bb9SEd Masteskips checking dirdep dependencies and will only build in the current 5517f76a95cSBryan Dreweryand child directories. 5527f76a95cSBryan Drewery.Va NO_DIRDEPS_BELOW 553344e2bb9SEd Masteskips building any dirdeps and only build the current directory. 55432b5dc9aSSimon J. Gerraty.Pp 555be894451SBryan DreweryThis also utilizes the 556be894451SBryan Drewery.Va WITH_META_MODE 557be894451SBryan Drewerylogic for incremental builds. 55832b5dc9aSSimon J. Gerraty.Pp 559344e2bb9SEd MasteThe build hides commands executed unless 56032b5dc9aSSimon J. Gerraty.Va NO_SILENT 56132b5dc9aSSimon J. Gerratyis defined. 56232b5dc9aSSimon J. Gerraty.Pp 563be894451SBryan DreweryNote that there is currently no mass install feature for this. 564be894451SBryan Drewery.Pp 565344e2bb9SEd MasteWhen set, it enforces these options: 56632b5dc9aSSimon J. Gerraty.Pp 56732b5dc9aSSimon J. Gerraty.Bl -item -compact 56832b5dc9aSSimon J. Gerraty.It 56932b5dc9aSSimon J. Gerraty.Va WITH_INSTALL_AS_USER 57032b5dc9aSSimon J. Gerraty.El 57132b5dc9aSSimon J. Gerraty.Pp 572344e2bb9SEd MasteWhen set, these options are also in effect: 57332b5dc9aSSimon J. Gerraty.Pp 57432b5dc9aSSimon J. Gerraty.Bl -inset -compact 57526b79d5bSHajimu UMEMOTO.It Va WITH_META_MODE 57626b79d5bSHajimu UMEMOTO(unless 57726b79d5bSHajimu UMEMOTO.Va WITHOUT_META_MODE 57826b79d5bSHajimu UMEMOTOis set explicitly) 57932b5dc9aSSimon J. Gerraty.It Va WITH_STAGING 58032b5dc9aSSimon J. Gerraty(unless 58132b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING 58232b5dc9aSSimon J. Gerratyis set explicitly) 58332b5dc9aSSimon J. Gerraty.It Va WITH_STAGING_MAN 58432b5dc9aSSimon J. Gerraty(unless 58532b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING_MAN 58632b5dc9aSSimon J. Gerratyis set explicitly) 58732b5dc9aSSimon J. Gerraty.It Va WITH_STAGING_PROG 58832b5dc9aSSimon J. Gerraty(unless 58932b5dc9aSSimon J. Gerraty.Va WITHOUT_STAGING_PROG 59032b5dc9aSSimon J. Gerratyis set explicitly) 59132b5dc9aSSimon J. Gerraty.It Va WITH_SYSROOT 59232b5dc9aSSimon J. Gerraty(unless 59332b5dc9aSSimon J. Gerraty.Va WITHOUT_SYSROOT 59432b5dc9aSSimon J. Gerratyis set explicitly) 59532b5dc9aSSimon J. Gerraty.El 59632b5dc9aSSimon J. Gerraty.Pp 59732b5dc9aSSimon J. GerratyThis must be set in the environment, make command line, or 59832b5dc9aSSimon J. Gerraty.Pa /etc/src-env.conf , 59932b5dc9aSSimon J. Gerratynot 60032b5dc9aSSimon J. Gerraty.Pa /etc/src.conf . 601cc2520d2SSimon J. Gerraty.It Va WITH_DIRDEPS_CACHE 602cc2520d2SSimon J. GerratyCache result of dirdeps.mk which can save significant time 603cc2520d2SSimon J. Gerratyfor subsequent builds. 604cc2520d2SSimon J. GerratyDepends on 60532b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD . 6060a70ef02SBryan Drewery.Pp 607ba852870SBryan DreweryThis must be set in the environment, make command line, or 6080a70ef02SBryan Drewery.Pa /etc/src-env.conf , 6090a70ef02SBryan Drewerynot 6100a70ef02SBryan Drewery.Pa /etc/src.conf . 61190be798eSDimitry Andric.It Va WITHOUT_DMAGENT 612344e2bb9SEd MasteSet to not build dma Mail Transport Agent. 61390be798eSDimitry Andric.It Va WITHOUT_DOCCOMPRESS 614344e2bb9SEd MasteSet to not install compressed system documentation. 61590be798eSDimitry AndricOnly the uncompressed version will be installed. 61616f3fdf5SMark Johnston.It Va WITH_DTRACE_TESTS 61716f3fdf5SMark JohnstonSet to build and install the DTrace test suite in 61816f3fdf5SMark Johnston.Pa /usr/tests/cddl/usr.sbin/dtrace . 61916f3fdf5SMark JohnstonThis test suite is considered experimental on architectures other than 62016f3fdf5SMark Johnstonamd64/amd64 and running it may cause system instability. 62190be798eSDimitry Andric.It Va WITHOUT_DYNAMICROOT 62290be798eSDimitry AndricSet this if you do not want to link 62390be798eSDimitry Andric.Pa /bin 62490be798eSDimitry Andricand 62590be798eSDimitry Andric.Pa /sbin 62690be798eSDimitry Andricdynamically. 62790be798eSDimitry Andric.It Va WITHOUT_ED_CRYPTO 62890be798eSDimitry AndricSet to build 62990be798eSDimitry Andric.Xr ed 1 63090be798eSDimitry Andricwithout support for encryption/decryption. 63193da8366SEnji Cooper.It Va WITHOUT_EE 63293da8366SEnji CooperSet to not build and install 63393da8366SEnji Cooper.Xr edit 1 , 63493da8366SEnji Cooper.Xr ee 1 , 63593da8366SEnji Cooperand related programs. 6360cd582c8SEnji Cooper.It Va WITHOUT_EFI 6370cd582c8SEnji CooperSet not to build 6380cd582c8SEnji Cooper.Xr efivar 3 6390cd582c8SEnji Cooperand 6400cd582c8SEnji Cooper.Xr efivar 8 . 6410cd582c8SEnji Cooper.Pp 642344e2bb9SEd MasteThis is a default setting on 6438ccac680SEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 6440cd582c8SEnji Cooper.It Va WITH_EFI 6450cd582c8SEnji CooperSet to build 6460cd582c8SEnji Cooper.Xr efivar 3 6470cd582c8SEnji Cooperand 6480cd582c8SEnji Cooper.Xr efivar 8 . 6490cd582c8SEnji Cooper.Pp 650344e2bb9SEd MasteThis is a default setting on 651e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386. 6525977355fSBryan Drewery.It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP 6535977355fSBryan DrewerySet to not build ELF Tool Chain tools 6545977355fSBryan Drewery(addr2line, nm, size, strings and strip) 6555977355fSBryan Dreweryas part of the bootstrap process. 6565977355fSBryan Drewery.Bf -symbolic 6575977355fSBryan DreweryAn alternate bootstrap tool chain must be provided. 6585977355fSBryan Drewery.Ef 65990be798eSDimitry Andric.It Va WITHOUT_EXAMPLES 66090be798eSDimitry AndricSet to avoid installing examples to 66190be798eSDimitry Andric.Pa /usr/share/examples/ . 662*43f75d57SBjoern A. Zeeb.It Va WITH_EXPERIMENTAL 663*43f75d57SBjoern A. ZeebSet to include experimental features in the build. 664d5a2667bSJonathan T. Looney.It Va WITH_EXTRA_TCP_STACKS 665d5a2667bSJonathan T. LooneySet to build extra TCP stack modules. 66690be798eSDimitry Andric.It Va WITHOUT_FDT 66790be798eSDimitry AndricSet to not build Flattened Device Tree support as part of the base system. 66890be798eSDimitry AndricThis includes the device tree compiler (dtc) and libfdt support library. 6690e0e9604SEnji Cooper.It Va WITHOUT_FILE 6700e0e9604SEnji CooperSet to not build 6710e0e9604SEnji Cooper.Xr file 1 6720e0e9604SEnji Cooperand related programs. 6730e0e9604SEnji Cooper.It Va WITHOUT_FINGER 6740e0e9604SEnji CooperSet to not build or install 6750e0e9604SEnji Cooper.Xr finger 1 6760e0e9604SEnji Cooperand 6770e0e9604SEnji Cooper.Xr fingerd 8 . 67890be798eSDimitry Andric.It Va WITHOUT_FLOPPY 67990be798eSDimitry AndricSet to not build or install programs 68090be798eSDimitry Andricfor operating floppy disk driver. 68190be798eSDimitry Andric.It Va WITHOUT_FMTREE 68290be798eSDimitry AndricSet to not build and install 68390be798eSDimitry Andric.Pa /usr/sbin/fmtree . 684a0f6423bSEd Maste.It Va WITHOUT_FORMAT_EXTENSIONS 685a0f6423bSEd MasteSet to not enable 686a0f6423bSEd Maste.Fl fformat-extensions 687a0f6423bSEd Mastewhen compiling the kernel. 688a0f6423bSEd MasteAlso disables all format checking. 68990be798eSDimitry Andric.It Va WITHOUT_FORTH 69090be798eSDimitry AndricSet to build bootloaders without Forth support. 69190be798eSDimitry Andric.It Va WITHOUT_FP_LIBC 69290be798eSDimitry AndricSet to build 69390be798eSDimitry Andric.Nm libc 69490be798eSDimitry Andricwithout floating-point support. 69590be798eSDimitry Andric.It Va WITHOUT_FREEBSD_UPDATE 69690be798eSDimitry AndricSet to not build 69790be798eSDimitry Andric.Xr freebsd-update 8 . 6980e0e9604SEnji Cooper.It Va WITHOUT_FTP 6990e0e9604SEnji CooperSet to not build or install 7000e0e9604SEnji Cooper.Xr ftp 1 7010e0e9604SEnji Cooperand 7020e0e9604SEnji Cooper.Xr ftpd 8 . 70390be798eSDimitry Andric.It Va WITHOUT_GAMES 70490be798eSDimitry AndricSet to not build games. 70590be798eSDimitry Andric.It Va WITHOUT_GCC 70690be798eSDimitry AndricSet to not build and install gcc and g++ as part of the normal build process. 70790be798eSDimitry Andric.Pp 708344e2bb9SEd MasteThis is a default setting on 7098ccac680SEd Masteamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386 and riscv/riscv64. 71090be798eSDimitry Andric.It Va WITH_GCC 71190be798eSDimitry AndricSet to build and install gcc and g++. 71290be798eSDimitry Andric.Pp 713344e2bb9SEd MasteThis is a default setting on 71436e8c7bbSEd 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. 71590be798eSDimitry Andric.It Va WITHOUT_GCC_BOOTSTRAP 71690be798eSDimitry AndricSet to not build gcc and g++ as part of the bootstrap process. 717a0f6423bSEd MasteYou must enable either gcc or clang bootstrap to be able to build the system, 718a0f6423bSEd Masteunless an alternative compiler is provided via 71990be798eSDimitry AndricXCC. 72090be798eSDimitry Andric.Pp 721344e2bb9SEd MasteThis is a default setting on 7228ccac680SEd Masteamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386 and riscv/riscv64. 72390be798eSDimitry Andric.It Va WITH_GCC_BOOTSTRAP 72490be798eSDimitry AndricSet to build gcc and g++ as part of the bootstrap process. 72590be798eSDimitry Andric.Pp 726344e2bb9SEd MasteThis is a default setting on 72736e8c7bbSEd 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. 72890be798eSDimitry Andric.It Va WITHOUT_GCOV 72990be798eSDimitry AndricSet to not build the 73090be798eSDimitry Andric.Xr gcov 1 73190be798eSDimitry Andrictool. 73290be798eSDimitry Andric.It Va WITHOUT_GDB 73390be798eSDimitry AndricSet to not build 73490be798eSDimitry Andric.Xr gdb 1 . 7355be09b10SEd Maste.Pp 736344e2bb9SEd MasteThis is a default setting on 7378ccac680SEd Mastearm64/aarch64 and riscv/riscv64. 7385977355fSBryan Drewery.It Va WITH_GDB 7395977355fSBryan DrewerySet to build 7405977355fSBryan Drewery.Xr gdb 1 . 7415977355fSBryan Drewery.Pp 742344e2bb9SEd MasteThis is a default setting on 743e8788097SKonstantin 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. 7444650b8aeSEnji Cooper.It Va WITHOUT_GDB_LIBEXEC 7454650b8aeSEnji CooperSet to install 7464650b8aeSEnji Cooper.Xr gdb 1 7474650b8aeSEnji Cooperinto 7484650b8aeSEnji Cooper.Pa /usr/bin . 7494650b8aeSEnji Cooper.Pp 7504650b8aeSEnji CooperThis is a default setting on 751513fdd50SJohn Baldwinsparc64/sparc64. 7524650b8aeSEnji Cooper.It Va WITH_GDB_LIBEXEC 7534650b8aeSEnji CooperSet to install 7544650b8aeSEnji Cooper.Xr gdb 1 7554650b8aeSEnji Cooperinto 7564650b8aeSEnji Cooper.Pa /usr/libexec . 7574650b8aeSEnji CooperThis permits 7584650b8aeSEnji Cooper.Xr gdb 1 7594650b8aeSEnji Cooperto be used as a fallback for 7604650b8aeSEnji Cooper.Xr crashinfo 8 7614650b8aeSEnji Cooperif a newer version is not installed. 7624650b8aeSEnji Cooper.Pp 7634650b8aeSEnji CooperThis is a default setting on 7648ccac680SEd Masteamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and riscv/riscv64. 76590be798eSDimitry Andric.It Va WITHOUT_GNUCXX 76690be798eSDimitry AndricDo not build the GNU C++ stack (g++, libstdc++). 76790be798eSDimitry AndricThis is the default on platforms where clang is the system compiler. 76890be798eSDimitry Andric.Pp 769344e2bb9SEd MasteThis is a default setting on 770e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386. 77190be798eSDimitry Andric.It Va WITH_GNUCXX 77290be798eSDimitry AndricBuild the GNU C++ stack (g++, libstdc++). 77390be798eSDimitry AndricThis is the default on platforms where gcc is the system compiler. 77490be798eSDimitry Andric.Pp 775344e2bb9SEd MasteThis is a default setting on 7768ccac680SEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 77736e8c7bbSEd Maste.It Va WITHOUT_GNU_DIFF 77836e8c7bbSEd MasteSet to not build GNU 77936e8c7bbSEd Maste.Xr diff 1 78036e8c7bbSEd Masteand 78136e8c7bbSEd Maste.Xr diff3 1 . 78236e8c7bbSEd Maste.It Va WITHOUT_GNU_GREP 78336e8c7bbSEd MasteSet to not build GNU 78436e8c7bbSEd Maste.Xr grep 1 . 785e9e768f7SEd Maste.It Va WITH_GNU_GREP_COMPAT 786e9e768f7SEd MasteSet this option to include GNU extensions in 787e9e768f7SEd Maste.Xr bsdgrep 1 788e9e768f7SEd Masteby linking against libgnuregex. 78990be798eSDimitry Andric.It Va WITHOUT_GPIO 79090be798eSDimitry AndricSet to not build 79190be798eSDimitry Andric.Xr gpioctl 8 79290be798eSDimitry Andricas part of the base system. 7935c021049SEnji Cooper.It Va WITHOUT_GPL_DTC 7945c021049SEnji CooperSet to build the BSD licensed version of the device tree compiler rather 7955c021049SEnji Cooperthan the GPLed one from elinux.org. 7965c021049SEnji Cooper.Pp 7975c021049SEnji CooperThis is a default setting on 798e8788097SKonstantin Belousovamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386. 799fcf8f4a8SEmmanuel Vadot.It Va WITH_GPL_DTC 800fcf8f4a8SEmmanuel VadotSet to build the GPL'd version of the device tree compiler from elinux.org, 801fcf8f4a8SEmmanuel Vadotinstead of the BSD licensed one. 8025c021049SEnji Cooper.Pp 8035c021049SEnji CooperThis is a default setting on 8048ccac680SEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 80590be798eSDimitry Andric.It Va WITHOUT_GSSAPI 80690be798eSDimitry AndricSet to not build libgssapi. 80761940879SEnji Cooper.It Va WITHOUT_HAST 80861940879SEnji CooperSet to not build 80961940879SEnji Cooper.Xr hastd 8 81061940879SEnji Cooperand related utilities. 81190be798eSDimitry Andric.It Va WITH_HESIOD 81290be798eSDimitry AndricSet to build Hesiod support. 81390be798eSDimitry Andric.It Va WITHOUT_HTML 81490be798eSDimitry AndricSet to not build HTML docs. 8152c4b4abcSXin LI.It Va WITHOUT_HYPERV 8162c4b4abcSXin LISet to not build or install HyperV utilities. 8170543ade3SBrooks Davis.Pp 8180543ade3SBrooks DavisThis is a default setting on 8198ccac680SEd Mastearm/arm, arm/armv6, arm/armv7, arm64/aarch64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 8200543ade3SBrooks Davis.It Va WITH_HYPERV 8210543ade3SBrooks DavisSet to build or install HyperV utilities. 8220543ade3SBrooks Davis.Pp 8230543ade3SBrooks DavisThis is a default setting on 8240543ade3SBrooks Davisamd64/amd64 and i386/i386. 82590be798eSDimitry Andric.It Va WITHOUT_ICONV 82690be798eSDimitry AndricSet to not build iconv as part of libc. 827c5d09a87SGlen Barber.It Va WITHOUT_INCLUDES 828c5d09a87SGlen BarberSet to not install header files. 829c5d09a87SGlen BarberThis option used to be spelled 830c5d09a87SGlen Barber.Va NO_INCS . 831c5d09a87SGlen Barber.Bf -symbolic 832c5d09a87SGlen BarberThe option does not work for build targets. 833c5d09a87SGlen Barber.Ef 83490be798eSDimitry Andric.It Va WITHOUT_INET 83590be798eSDimitry AndricSet to not build programs and libraries related to IPv4 networking. 836344e2bb9SEd MasteWhen set, it enforces these options: 83790be798eSDimitry Andric.Pp 83890be798eSDimitry Andric.Bl -item -compact 83990be798eSDimitry Andric.It 84090be798eSDimitry Andric.Va WITHOUT_INET_SUPPORT 84190be798eSDimitry Andric.El 84290be798eSDimitry Andric.It Va WITHOUT_INET6 84390be798eSDimitry AndricSet to not build 84490be798eSDimitry Andricprograms and libraries related to IPv6 networking. 845344e2bb9SEd MasteWhen set, it enforces these options: 84690be798eSDimitry Andric.Pp 84790be798eSDimitry Andric.Bl -item -compact 84890be798eSDimitry Andric.It 84990be798eSDimitry Andric.Va WITHOUT_INET6_SUPPORT 85090be798eSDimitry Andric.El 85190be798eSDimitry Andric.It Va WITHOUT_INET6_SUPPORT 85290be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv6 support. 8530e0e9604SEnji Cooper.It Va WITHOUT_INETD 8540e0e9604SEnji CooperSet to not build 8550e0e9604SEnji Cooper.Xr inetd 8 . 85690be798eSDimitry Andric.It Va WITHOUT_INET_SUPPORT 85790be798eSDimitry AndricSet to build libraries, programs, and kernel modules without IPv4 support. 85890be798eSDimitry Andric.It Va WITHOUT_INSTALLLIB 859344e2bb9SEd MasteSet this to not install optional libraries. 860344e2bb9SEd MasteFor example, when creating a 86190be798eSDimitry Andric.Xr nanobsd 8 86290be798eSDimitry Andricimage. 863f79bedf5SBryan Drewery.Bf -symbolic 864f79bedf5SBryan DreweryThe option does not work for build targets. 865f79bedf5SBryan Drewery.Ef 86690be798eSDimitry Andric.It Va WITH_INSTALL_AS_USER 86790be798eSDimitry AndricSet to make install targets succeed for non-root users by installing 86890be798eSDimitry Andricfiles with owner and group attributes set to that of the user running 86990be798eSDimitry Andricthe 87090be798eSDimitry Andric.Xr make 1 87190be798eSDimitry Andriccommand. 872344e2bb9SEd MasteThe user still must set the 87390be798eSDimitry Andric.Va DESTDIR 87490be798eSDimitry Andricvariable to point to a directory where the user has write permissions. 87590be798eSDimitry Andric.It Va WITHOUT_IPFILTER 87690be798eSDimitry AndricSet to not build IP Filter package. 87790be798eSDimitry Andric.It Va WITHOUT_IPFW 87890be798eSDimitry AndricSet to not build IPFW tools. 87988342134SEnji Cooper.It Va WITHOUT_IPSEC_SUPPORT 88088342134SEnji CooperSet to not build the kernel with 88188342134SEnji Cooper.Xr ipsec 4 88288342134SEnji Coopersupport. 88388342134SEnji CooperThis option is needed for 88488342134SEnji Cooper.Xr ipsec 4 88588342134SEnji Cooperand 88688342134SEnji Cooper.Xr tcpmd5 4 . 88793da8366SEnji Cooper.It Va WITHOUT_ISCSI 88893da8366SEnji CooperSet to not build 88926d6bbfaSSevan Janiyan.Xr iscsid 8 89093da8366SEnji Cooperand related utilities. 89190be798eSDimitry Andric.It Va WITHOUT_JAIL 89290be798eSDimitry AndricSet to not build tools for the support of jails; e.g., 89390be798eSDimitry Andric.Xr jail 8 . 89490be798eSDimitry Andric.It Va WITHOUT_KDUMP 89590be798eSDimitry AndricSet to not build 89690be798eSDimitry Andric.Xr kdump 1 89790be798eSDimitry Andricand 89890be798eSDimitry Andric.Xr truss 1 . 89990be798eSDimitry Andric.It Va WITHOUT_KERBEROS 900344e2bb9SEd MasteSet this to not build Kerberos 5 (KTH Heimdal). 901344e2bb9SEd MasteWhen set, these options are also in effect: 90290be798eSDimitry Andric.Pp 90390be798eSDimitry Andric.Bl -inset -compact 90490be798eSDimitry Andric.It Va WITHOUT_GSSAPI 90590be798eSDimitry Andric(unless 90690be798eSDimitry Andric.Va WITH_GSSAPI 90790be798eSDimitry Andricis set explicitly) 908bf64e879SBryan Drewery.It Va WITHOUT_KERBEROS_SUPPORT 909bf64e879SBryan Drewery(unless 910bf64e879SBryan Drewery.Va WITH_KERBEROS_SUPPORT 911bf64e879SBryan Dreweryis set explicitly) 91290be798eSDimitry Andric.El 91390be798eSDimitry Andric.It Va WITHOUT_KERBEROS_SUPPORT 91490be798eSDimitry AndricSet to build some programs without Kerberos support, like 91590be798eSDimitry Andric.Xr ssh 1 , 91690be798eSDimitry Andric.Xr telnet 1 , 91790be798eSDimitry Andric.Xr sshd 8 , 91890be798eSDimitry Andricand 91990be798eSDimitry Andric.Xr telnetd 8 . 9206f7527f0SEd Maste.It Va WITH_KERNEL_RETPOLINE 9216f7527f0SEd MasteSet to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel 9226f7527f0SEd Mastebuild. 923a0f6423bSEd Maste.It Va WITHOUT_KERNEL_SYMBOLS 924a0f6423bSEd MasteSet to not install kernel symbol files. 925a0f6423bSEd Maste.Bf -symbolic 926a0f6423bSEd MasteThis option is recommended for those people who have small root partitions. 927a0f6423bSEd Maste.Ef 92890be798eSDimitry Andric.It Va WITHOUT_KVM 92990be798eSDimitry AndricSet to not build the 93090be798eSDimitry Andric.Nm libkvm 93190be798eSDimitry Andriclibrary as a part of the base system. 93290be798eSDimitry Andric.Bf -symbolic 93390be798eSDimitry AndricThe option has no effect yet. 93490be798eSDimitry Andric.Ef 935bf64e879SBryan DreweryWhen set, these options are also in effect: 93690be798eSDimitry Andric.Pp 937bf64e879SBryan Drewery.Bl -inset -compact 938bf64e879SBryan Drewery.It Va WITHOUT_KVM_SUPPORT 939bf64e879SBryan Drewery(unless 940bf64e879SBryan Drewery.Va WITH_KVM_SUPPORT 941bf64e879SBryan Dreweryis set explicitly) 94290be798eSDimitry Andric.El 94390be798eSDimitry Andric.It Va WITHOUT_KVM_SUPPORT 94490be798eSDimitry AndricSet to build some programs without optional 94590be798eSDimitry Andric.Nm libkvm 94690be798eSDimitry Andricsupport. 94790be798eSDimitry Andric.It Va WITHOUT_LDNS 94890be798eSDimitry AndricSetting this variable will prevent the LDNS library from being built. 949344e2bb9SEd MasteWhen set, it enforces these options: 95090be798eSDimitry Andric.Pp 95190be798eSDimitry Andric.Bl -item -compact 95290be798eSDimitry Andric.It 95390be798eSDimitry Andric.Va WITHOUT_LDNS_UTILS 95490be798eSDimitry Andric.It 95590be798eSDimitry Andric.Va WITHOUT_UNBOUND 95690be798eSDimitry Andric.El 95790be798eSDimitry Andric.It Va WITHOUT_LDNS_UTILS 95890be798eSDimitry AndricSetting this variable will prevent building the LDNS utilities 95990be798eSDimitry Andric.Xr drill 1 96090be798eSDimitry Andricand 96190be798eSDimitry Andric.Xr host 1 . 96290be798eSDimitry Andric.It Va WITHOUT_LEGACY_CONSOLE 96390be798eSDimitry AndricSet to not build programs that support a legacy PC console; e.g., 96423a6b49aSEdward Tomasz Napierala.Xr kbdcontrol 1 96590be798eSDimitry Andricand 96623a6b49aSEdward Tomasz Napierala.Xr vidcontrol 1 . 96790be798eSDimitry Andric.It Va WITHOUT_LIB32 968c5d09a87SGlen BarberOn 64-bit platforms, set to not build 32-bit library set and a 96990be798eSDimitry Andric.Nm ld-elf32.so.1 97090be798eSDimitry Andricruntime linker. 97190be798eSDimitry Andric.It Va WITHOUT_LIBCPLUSPLUS 97290be798eSDimitry AndricSet to avoid building libcxxrt and libc++. 97390be798eSDimitry Andric.It Va WITHOUT_LIBPTHREAD 97490be798eSDimitry AndricSet to not build the 97590be798eSDimitry Andric.Nm libpthread 97690be798eSDimitry Andricproviding library, 97790be798eSDimitry Andric.Nm libthr . 978344e2bb9SEd MasteWhen set, it enforces these options: 97990be798eSDimitry Andric.Pp 98090be798eSDimitry Andric.Bl -item -compact 98190be798eSDimitry Andric.It 98290be798eSDimitry Andric.Va WITHOUT_LIBTHR 98390be798eSDimitry Andric.El 9848a7c8ae4SBryan Drewery.It Va WITH_LIBSOFT 9858a7c8ae4SBryan DreweryOn armv6 only, set to enable soft float ABI compatibility libraries. 9868a7c8ae4SBryan DreweryThis option is for transitioning to the new hard float ABI. 98790be798eSDimitry Andric.It Va WITHOUT_LIBTHR 98890be798eSDimitry AndricSet to not build the 98990be798eSDimitry Andric.Nm libthr 99090be798eSDimitry Andric(1:1 threading) 99190be798eSDimitry Andriclibrary. 99236e8c7bbSEd Maste.It Va WITHOUT_LLD 99336e8c7bbSEd MasteSet to not build LLVM's lld linker. 99436e8c7bbSEd Maste.Pp 995344e2bb9SEd MasteThis is a default setting on 9968ccac680SEd Masteriscv/riscv64 and sparc64/sparc64. 99736e8c7bbSEd Maste.It Va WITH_LLD 99836e8c7bbSEd MasteSet to build LLVM's lld linker. 99936e8c7bbSEd Maste.Pp 1000344e2bb9SEd MasteThis is a default setting on 1001e8788097SKonstantin 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. 10021500eb21SEd Maste.It Va WITHOUT_LLDB 10031500eb21SEd MasteSet to not build the LLDB debugger. 10041500eb21SEd Maste.Pp 1005344e2bb9SEd MasteThis is a default setting on 10068ccac680SEd Mastearm/arm, arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 100790be798eSDimitry Andric.It Va WITH_LLDB 100890be798eSDimitry AndricSet to build the LLDB debugger. 10091500eb21SEd Maste.Pp 1010344e2bb9SEd MasteThis is a default setting on 1011e5259506SEnji Cooperamd64/amd64, arm64/aarch64 and i386/i386. 10126c2b7edaSEd Maste.It Va WITHOUT_LLD_BOOTSTRAP 10136c2b7edaSEd MasteSet to not build the LLD linker during the bootstrap phase of 10146c2b7edaSEd Mastethe build. 10156c2b7edaSEd MasteTo be able to build the system, either Binutils or LLD bootstrap must be 10166c2b7edaSEd Masteenabled unless an alternate linker is provided via XLD. 10176c2b7edaSEd Maste.Pp 10186c2b7edaSEd MasteThis is a default setting on 10198ccac680SEd Mastearm/arm, arm/armv6, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 10206c2b7edaSEd Maste.It Va WITH_LLD_BOOTSTRAP 10216c2b7edaSEd MasteSet to build the LLD linker during the bootstrap phase of the build. 10226c2b7edaSEd Maste.Pp 10236c2b7edaSEd MasteThis is a default setting on 10247a9e13ddSEd Masteamd64/amd64, arm/armv7, arm64/aarch64 and i386/i386. 1025661cf9b6SYoshihiro Takahashi.It Va WITHOUT_LLD_IS_LD 102636e8c7bbSEd MasteSet to use GNU binutils ld as the system linker, instead of LLVM's LLD. 102736e8c7bbSEd Maste.Pp 1028344e2bb9SEd MasteThis is a default setting on 10298ccac680SEd Mastearm/arm, arm/armv6, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 1030661cf9b6SYoshihiro Takahashi.It Va WITH_LLD_IS_LD 103136e8c7bbSEd MasteSet to use LLVM's LLD as the system linker, instead of GNU binutils ld. 103236e8c7bbSEd Maste.Pp 1033344e2bb9SEd MasteThis is a default setting on 103466366404SEd Masteamd64/amd64, arm/armv7 and arm64/aarch64. 10355b9c3654SEd Maste.It Va WITHOUT_LLVM_COV 10365b9c3654SEd MasteSet to not build the 10375b9c3654SEd Maste.Xr llvm-cov 1 10385b9c3654SEd Mastetool. 10395b9c3654SEd Maste.Pp 10405b9c3654SEd MasteThis is a default setting on 10418ccac680SEd Masteriscv/riscv64 and sparc64/sparc64. 10425b9c3654SEd Maste.It Va WITH_LLVM_COV 10435b9c3654SEd MasteSet to build the 10445b9c3654SEd Maste.Xr llvm-cov 1 10455b9c3654SEd Mastetool. 10465b9c3654SEd Maste.Pp 10475b9c3654SEd MasteThis is a default setting on 1048e8788097SKonstantin 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. 10491500eb21SEd Maste.It Va WITHOUT_LLVM_LIBUNWIND 10501500eb21SEd MasteSet to use GCC's stack unwinder (instead of LLVM's libunwind). 10511500eb21SEd Maste.Pp 1052344e2bb9SEd MasteThis is a default setting on 1053e8788097SKonstantin Belousovarm/arm, arm/armv6, arm/armv7, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 10541500eb21SEd Maste.It Va WITH_LLVM_LIBUNWIND 10551500eb21SEd MasteSet to use LLVM's libunwind stack unwinder (instead of GCC's unwinder). 10561500eb21SEd Maste.Pp 1057344e2bb9SEd MasteThis is a default setting on 10588ccac680SEd Masteamd64/amd64, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and riscv/riscv64. 1059cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_AARCH64 1060cbafd263SDimitry AndricSet to not build LLVM target support for AArch64. 1061bf64e879SBryan DreweryThe 1062bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1063bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1064cbafd263SDimitry Andric.Pp 1065cbafd263SDimitry AndricThis is a default setting on 10668ccac680SEd Masteriscv/riscv64 and sparc64/sparc64. 1067cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_AARCH64 1068cbafd263SDimitry AndricSet to build LLVM target support for AArch64. 1069bf64e879SBryan DreweryThe 1070bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1071bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1072bf64e879SBryan Drewery.Pp 1073bf64e879SBryan DreweryThis is a default setting on 1074e8788097SKonstantin 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. 1075bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ALL 1076bf64e879SBryan DrewerySet to only build the required LLVM target support. 1077bf64e879SBryan DreweryThis option is preferred to specific target support options. 1078bf64e879SBryan Drewery.Pp 1079bf64e879SBryan DreweryThis is a default setting on 10808ccac680SEd Masteriscv/riscv64 and sparc64/sparc64. 1081bf64e879SBryan DreweryWhen set, these options are also in effect: 1082bf64e879SBryan Drewery.Pp 1083bf64e879SBryan Drewery.Bl -inset -compact 1084bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_AARCH64 1085bf64e879SBryan Drewery(unless 1086bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_AARCH64 1087bf64e879SBryan Dreweryis set explicitly) 1088bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_ARM 1089bf64e879SBryan Drewery(unless 1090bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_ARM 1091bf64e879SBryan Dreweryis set explicitly) 1092bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_MIPS 1093bf64e879SBryan Drewery(unless 1094bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_MIPS 1095bf64e879SBryan Dreweryis set explicitly) 1096bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_POWERPC 1097bf64e879SBryan Drewery(unless 1098bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_POWERPC 1099bf64e879SBryan Dreweryis set explicitly) 1100bf64e879SBryan Drewery.It Va WITHOUT_LLVM_TARGET_SPARC 1101bf64e879SBryan Drewery(unless 1102bf64e879SBryan Drewery.Va WITH_LLVM_TARGET_SPARC 1103bf64e879SBryan Dreweryis set explicitly) 1104bf64e879SBryan Drewery.El 1105bf64e879SBryan Drewery.It Va WITH_LLVM_TARGET_ALL 1106bf64e879SBryan DrewerySet to build support for all LLVM targets. 1107bf64e879SBryan DreweryThis option is always applied to the bootstrap compiler for buildworld when 1108bf64e879SBryan DreweryLLVM is used. 1109cbafd263SDimitry Andric.Pp 1110cbafd263SDimitry AndricThis is a default setting on 1111e8788097SKonstantin 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. 1112cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_ARM 1113cbafd263SDimitry AndricSet to not build LLVM target support for ARM. 1114bf64e879SBryan DreweryThe 1115bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1116bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1117cbafd263SDimitry Andric.Pp 1118cbafd263SDimitry AndricThis is a default setting on 11198ccac680SEd Masteriscv/riscv64 and sparc64/sparc64. 1120cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_ARM 1121cbafd263SDimitry AndricSet to build LLVM target support for ARM. 1122bf64e879SBryan DreweryThe 1123bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1124bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1125cbafd263SDimitry Andric.Pp 1126cbafd263SDimitry AndricThis is a default setting on 1127e8788097SKonstantin 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. 112889edb881SDimitry Andric.It Va WITH_LLVM_TARGET_BPF 112989edb881SDimitry AndricSet to build LLVM target support for BPF. 113089edb881SDimitry AndricThe 113189edb881SDimitry Andric.Va LLVM_TARGET_ALL 113289edb881SDimitry Andricoption should be used rather than this in most cases. 1133cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_MIPS 1134cbafd263SDimitry AndricSet to not build LLVM target support for MIPS. 1135bf64e879SBryan DreweryThe 1136bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1137bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1138cbafd263SDimitry Andric.Pp 1139cbafd263SDimitry AndricThis is a default setting on 11408ccac680SEd Masteriscv/riscv64 and sparc64/sparc64. 1141cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_MIPS 1142cbafd263SDimitry AndricSet to build LLVM target support for MIPS. 1143bf64e879SBryan DreweryThe 1144bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1145bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1146cbafd263SDimitry Andric.Pp 1147cbafd263SDimitry AndricThis is a default setting on 1148e8788097SKonstantin 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. 1149cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_POWERPC 1150cbafd263SDimitry AndricSet to not build LLVM target support for PowerPC. 1151bf64e879SBryan DreweryThe 1152bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1153bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1154cbafd263SDimitry Andric.Pp 1155cbafd263SDimitry AndricThis is a default setting on 11568ccac680SEd Masteriscv/riscv64 and sparc64/sparc64. 1157cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_POWERPC 1158cbafd263SDimitry AndricSet to build LLVM target support for PowerPC. 1159bf64e879SBryan DreweryThe 1160bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1161bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1162cbafd263SDimitry Andric.Pp 1163cbafd263SDimitry AndricThis is a default setting on 1164e8788097SKonstantin 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. 1165cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_SPARC 1166cbafd263SDimitry AndricSet to not build LLVM target support for SPARC. 1167bf64e879SBryan DreweryThe 1168bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1169bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1170cbafd263SDimitry Andric.Pp 1171cbafd263SDimitry AndricThis is a default setting on 11728ccac680SEd Masteriscv/riscv64 and sparc64/sparc64. 1173cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_SPARC 1174cbafd263SDimitry AndricSet to build LLVM target support for SPARC. 1175bf64e879SBryan DreweryThe 1176bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1177bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1178cbafd263SDimitry Andric.Pp 1179cbafd263SDimitry AndricThis is a default setting on 1180e8788097SKonstantin 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. 1181cbafd263SDimitry Andric.It Va WITHOUT_LLVM_TARGET_X86 1182cbafd263SDimitry AndricSet to not build LLVM target support for X86. 1183bf64e879SBryan DreweryThe 1184bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1185bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1186cbafd263SDimitry Andric.Pp 1187cbafd263SDimitry AndricThis is a default setting on 11888ccac680SEd Masteriscv/riscv64 and sparc64/sparc64. 1189cbafd263SDimitry Andric.It Va WITH_LLVM_TARGET_X86 1190cbafd263SDimitry AndricSet to build LLVM target support for X86. 1191bf64e879SBryan DreweryThe 1192bf64e879SBryan Drewery.Va LLVM_TARGET_ALL 1193bf64e879SBryan Dreweryoption should be used rather than this in most cases. 1194cbafd263SDimitry Andric.Pp 1195cbafd263SDimitry AndricThis is a default setting on 1196e8788097SKonstantin 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. 1197782df3edSEd Maste.It Va WITH_LOADER_FIREWIRE 1198e8788097SKonstantin BelousovEnable firewire support in /boot/loader on x86. This option is a nop 1199e8788097SKonstantin Belousovon all other platforms. 12008edab9cdSWarner Losh.It Va WITH_LOADER_FORCE_LE 12018edab9cdSWarner LoshSet to force the powerpc boot loader to launch the kernel in little 12028edab9cdSWarner Loshendian mode. 1203782df3edSEd Maste.It Va WITHOUT_LOADER_GELI 1204782df3edSEd MasteDisable inclusion of GELI crypto support in the boot chain binaries. 120530323356SWarner Losh.Pp 120630323356SWarner LoshThis is a default setting on 12078ccac680SEd Mastepowerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 12088edab9cdSWarner Losh.It Va WITH_LOADER_GELI 12098edab9cdSWarner LoshSet to build GELI bootloader support. 12108edab9cdSWarner Losh.Pp 12118edab9cdSWarner LoshThis is a default setting on 12128edab9cdSWarner Loshamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and riscv/riscv64. 12138edab9cdSWarner Losh.It Va WITHOUT_LOADER_LUA 12148edab9cdSWarner LoshSet to not build LUA bindings for the boot loader. 12158edab9cdSWarner Losh.Pp 12168edab9cdSWarner LoshThis is a default setting on 12178edab9cdSWarner Loshpowerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 12186f7527f0SEd Maste.It Va WITH_LOADER_LUA 12196f7527f0SEd MasteSet to build LUA bindings for the boot loader. 122030323356SWarner Losh.Pp 122130323356SWarner LoshThis is a default setting on 12228ccac680SEd Masteamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and riscv/riscv64. 1223b8f3641fSKyle Evans.It Va WITHOUT_LOADER_OFW 1224b8f3641fSKyle EvansDisable building of openfirmware bootloader components. 1225b8f3641fSKyle Evans.Pp 1226b8f3641fSKyle EvansThis is a default setting on 12278ccac680SEd Masteamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf and riscv/riscv64. 1228b8f3641fSKyle Evans.It Va WITH_LOADER_OFW 1229b8f3641fSKyle EvansSet to build openfirmware bootloader components. 1230b8f3641fSKyle Evans.Pp 1231b8f3641fSKyle EvansThis is a default setting on 1232b8f3641fSKyle Evanspowerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 1233b8f3641fSKyle Evans.It Va WITHOUT_LOADER_UBOOT 1234b8f3641fSKyle EvansDisable building of ubldr. 1235b8f3641fSKyle Evans.Pp 1236b8f3641fSKyle EvansThis is a default setting on 12378ccac680SEd Masteamd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and sparc64/sparc64. 1238b8f3641fSKyle Evans.It Va WITH_LOADER_UBOOT 1239b8f3641fSKyle EvansSet to build ubldr. 1240b8f3641fSKyle Evans.Pp 1241b8f3641fSKyle EvansThis is a default setting on 1242e8788097SKonstantin 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. 124390be798eSDimitry Andric.It Va WITHOUT_LOCALES 124490be798eSDimitry AndricSet to not build localization files; see 124590be798eSDimitry Andric.Xr locale 1 . 124690be798eSDimitry Andric.It Va WITHOUT_LOCATE 124790be798eSDimitry AndricSet to not build 124890be798eSDimitry Andric.Xr locate 1 124990be798eSDimitry Andricand related programs. 125090be798eSDimitry Andric.It Va WITHOUT_LPR 125190be798eSDimitry AndricSet to not build 125290be798eSDimitry Andric.Xr lpr 1 125390be798eSDimitry Andricand related programs. 125490be798eSDimitry Andric.It Va WITHOUT_LS_COLORS 125590be798eSDimitry AndricSet to build 125690be798eSDimitry Andric.Xr ls 1 125790be798eSDimitry Andricwithout support for colors to distinguish file types. 125890be798eSDimitry Andric.It Va WITHOUT_LZMA_SUPPORT 125990be798eSDimitry AndricSet to build some programs without optional lzma compression support. 126090be798eSDimitry Andric.It Va WITHOUT_MAIL 126190be798eSDimitry AndricSet to not build any mail support (MUA or MTA). 1262344e2bb9SEd MasteWhen set, it enforces these options: 126390be798eSDimitry Andric.Pp 126490be798eSDimitry Andric.Bl -item -compact 126590be798eSDimitry Andric.It 126690be798eSDimitry Andric.Va WITHOUT_DMAGENT 126790be798eSDimitry Andric.It 126890be798eSDimitry Andric.Va WITHOUT_MAILWRAPPER 126990be798eSDimitry Andric.It 127090be798eSDimitry Andric.Va WITHOUT_SENDMAIL 127190be798eSDimitry Andric.El 127290be798eSDimitry Andric.It Va WITHOUT_MAILWRAPPER 127390be798eSDimitry AndricSet to not build the 127490be798eSDimitry Andric.Xr mailwrapper 8 127590be798eSDimitry AndricMTA selector. 127690be798eSDimitry Andric.It Va WITHOUT_MAKE 127790be798eSDimitry AndricSet to not install 127890be798eSDimitry Andric.Xr make 1 127990be798eSDimitry Andricand related support files. 128074782f0eSEnji Cooper.It Va WITHOUT_MAKE_CHECK_USE_SANDBOX 128174782f0eSEnji CooperSet to not execute 128274782f0eSEnji Cooper.Dq Li "make check" 128374782f0eSEnji Cooperin limited sandbox mode. 128474782f0eSEnji CooperThis option should be paired with 128574782f0eSEnji Cooper.Va WITH_INSTALL_AS_USER 128674782f0eSEnji Cooperif executed as an unprivileged user. 128774782f0eSEnji CooperSee 128874782f0eSEnji Cooper.Xr tests 7 128974782f0eSEnji Cooperfor more details. 129090be798eSDimitry Andric.It Va WITHOUT_MAN 129190be798eSDimitry AndricSet to not build manual pages. 1292344e2bb9SEd MasteWhen set, these options are also in effect: 129390be798eSDimitry Andric.Pp 129490be798eSDimitry Andric.Bl -inset -compact 129590be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS 129690be798eSDimitry Andric(unless 129790be798eSDimitry Andric.Va WITH_MAN_UTILS 129890be798eSDimitry Andricis set explicitly) 129990be798eSDimitry Andric.El 130090be798eSDimitry Andric.It Va WITHOUT_MANCOMPRESS 130190be798eSDimitry AndricSet to not to install compressed man pages. 130290be798eSDimitry AndricOnly the uncompressed versions will be installed. 130390be798eSDimitry Andric.It Va WITHOUT_MAN_UTILS 130490be798eSDimitry AndricSet to not build utilities for manual pages, 130590be798eSDimitry Andric.Xr apropos 1 , 130690be798eSDimitry Andric.Xr makewhatis 1 , 130790be798eSDimitry Andric.Xr man 1 , 130890be798eSDimitry Andric.Xr whatis 1 , 130990be798eSDimitry Andric.Xr manctl 8 , 131090be798eSDimitry Andricand related support files. 1311cc2520d2SSimon J. Gerraty.It Va WITH_META_MODE 1312344e2bb9SEd MasteCreate 1313be894451SBryan Drewery.Xr make 1 1314be894451SBryan Drewerymeta files when building, which can provide a reliable incremental build when 1315be894451SBryan Dreweryusing 1316be894451SBryan Drewery.Xr filemon 4 . 1317344e2bb9SEd MasteThe meta file is created in OBJDIR as 1318be894451SBryan Drewery.Pa target.meta . 1319344e2bb9SEd MasteThese meta files track the command that was executed, its output, and the 1320344e2bb9SEd Mastecurrent directory. 13212710e62cSBryan DreweryThe 13227f76a95cSBryan Drewery.Xr filemon 4 13232710e62cSBryan Drewerymodule is required unless 13242710e62cSBryan Drewery.Va NO_FILEMON 13252710e62cSBryan Dreweryis defined. 1326344e2bb9SEd MasteWhen the module is loaded, any files used by the commands executed are 1327344e2bb9SEd Mastetracked as dependencies for the target in its meta file. 1328344e2bb9SEd MasteThe target is considered out-of-date and rebuilt if any of these 1329344e2bb9SEd Masteconditions are true compared to the last build: 1330be894451SBryan Drewery.Bl -bullet -compact 1331be894451SBryan Drewery.It 1332be894451SBryan DreweryThe command to execute changes. 1333be894451SBryan Drewery.It 1334be894451SBryan DreweryThe current working directory changes. 1335be894451SBryan Drewery.It 1336a4a2269eSBryan DreweryThe target's meta file is missing. 1337a4a2269eSBryan Drewery.It 1338a4a2269eSBryan DreweryThe target's meta file is missing filemon data when filemon is loaded 1339a4a2269eSBryan Dreweryand a previous run did not have it loaded. 1340be894451SBryan Drewery.It 1341be894451SBryan Drewery[requires 1342be894451SBryan Drewery.Xr filemon 4 ] 1343be894451SBryan DreweryFiles read, executed or linked to are newer than the target. 1344be894451SBryan Drewery.It 1345be894451SBryan Drewery[requires 1346be894451SBryan Drewery.Xr filemon 4 ] 1347be894451SBryan DreweryFiles read, written, executed or linked are missing. 1348be894451SBryan Drewery.El 13497f76a95cSBryan DreweryThe meta files can also be useful for debugging. 13507f76a95cSBryan Drewery.Pp 1351344e2bb9SEd MasteThe build hides commands that are executed unless 13527f76a95cSBryan Drewery.Va NO_SILENT 13537f76a95cSBryan Dreweryis defined. 1354344e2bb9SEd MasteErrors cause 13552710e62cSBryan Drewery.Xr make 1 13562710e62cSBryan Dreweryto show some of its environment for further debugging. 13570a70ef02SBryan Drewery.Pp 1358be894451SBryan DreweryThe build operates as it normally would otherwise. 1359be894451SBryan DreweryThis option originally invoked a different build system but that was renamed 1360be894451SBryan Dreweryto 1361be894451SBryan Drewery.Va WITH_DIRDEPS_BUILD . 1362be894451SBryan Drewery.Pp 1363ba852870SBryan DreweryThis must be set in the environment, make command line, or 13640a70ef02SBryan Drewery.Pa /etc/src-env.conf , 13650a70ef02SBryan Drewerynot 13660a70ef02SBryan Drewery.Pa /etc/src.conf . 1367912aad0fSKyle Evans.It Va WITHOUT_MLX5TOOL 1368912aad0fSKyle EvansSet to not build 1369912aad0fSKyle Evans.Xr mlx5tool 8 1370912aad0fSKyle Evans.Pp 1371912aad0fSKyle EvansThis is a default setting on 13728ccac680SEd Mastearm/arm, arm/armv6, arm/armv7, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpcspe and riscv/riscv64. 1373912aad0fSKyle Evans.It Va WITH_MLX5TOOL 1374912aad0fSKyle EvansSet to build 1375912aad0fSKyle Evans.Xr mlx5tool 8 1376912aad0fSKyle Evans.Pp 1377912aad0fSKyle EvansThis is a default setting on 1378912aad0fSKyle Evansamd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64. 13798ccac680SEd Maste.It Va WITH_MODULE_DRM 13808ccac680SEd MasteEnable creation of old drm video modules. 13818ccac680SEd Maste.It Va WITH_MODULE_DRM2 13828ccac680SEd MasteEnable creation of old drm2 video modules. 138390be798eSDimitry Andric.It Va WITH_NAND 138490be798eSDimitry AndricSet to build the NAND Flash components. 138590be798eSDimitry Andric.It Va WITHOUT_NDIS 138690be798eSDimitry AndricSet to not build programs and libraries 138790be798eSDimitry Andricrelated to NDIS emulation support. 138890be798eSDimitry Andric.It Va WITHOUT_NETCAT 138990be798eSDimitry AndricSet to not build 139090be798eSDimitry Andric.Xr nc 1 139190be798eSDimitry Andricutility. 139290be798eSDimitry Andric.It Va WITHOUT_NETGRAPH 139390be798eSDimitry AndricSet to not build applications to support 139490be798eSDimitry Andric.Xr netgraph 4 . 1395344e2bb9SEd MasteWhen set, it enforces these options: 139690be798eSDimitry Andric.Pp 139790be798eSDimitry Andric.Bl -item -compact 139890be798eSDimitry Andric.It 139990be798eSDimitry Andric.Va WITHOUT_ATM 140090be798eSDimitry Andric.It 140190be798eSDimitry Andric.Va WITHOUT_BLUETOOTH 1402bf64e879SBryan Drewery.El 1403bf64e879SBryan Drewery.Pp 1404bf64e879SBryan DreweryWhen set, these options are also in effect: 1405bf64e879SBryan Drewery.Pp 1406bf64e879SBryan Drewery.Bl -inset -compact 1407bf64e879SBryan Drewery.It Va WITHOUT_NETGRAPH_SUPPORT 1408bf64e879SBryan Drewery(unless 1409bf64e879SBryan Drewery.Va WITH_NETGRAPH_SUPPORT 1410bf64e879SBryan Dreweryis set explicitly) 141190be798eSDimitry Andric.El 141290be798eSDimitry Andric.It Va WITHOUT_NETGRAPH_SUPPORT 141390be798eSDimitry AndricSet to build libraries, programs, and kernel modules without netgraph support. 141490be798eSDimitry Andric.It Va WITHOUT_NIS 141590be798eSDimitry AndricSet to not build 141690be798eSDimitry Andric.Xr NIS 8 141790be798eSDimitry Andricsupport and related programs. 141890be798eSDimitry AndricIf set, you might need to adopt your 141990be798eSDimitry Andric.Xr nsswitch.conf 5 142090be798eSDimitry Andricand remove 142190be798eSDimitry Andric.Sq nis 142290be798eSDimitry Andricentries. 142390be798eSDimitry Andric.It Va WITHOUT_NLS 142490be798eSDimitry AndricSet to not build NLS catalogs. 142557a87b06SEnji CooperWhen set, it enforces these options: 142657a87b06SEnji Cooper.Pp 142757a87b06SEnji Cooper.Bl -item -compact 142857a87b06SEnji Cooper.It 142957a87b06SEnji Cooper.Va WITHOUT_NLS_CATALOGS 143057a87b06SEnji Cooper.El 143190be798eSDimitry Andric.It Va WITHOUT_NLS_CATALOGS 143290be798eSDimitry AndricSet to not build NLS catalog support for 143390be798eSDimitry Andric.Xr csh 1 . 143490be798eSDimitry Andric.It Va WITHOUT_NS_CACHING 143590be798eSDimitry AndricSet to disable name caching in the 143690be798eSDimitry Andric.Pa nsswitch 143790be798eSDimitry Andricsubsystem. 143890be798eSDimitry AndricThe generic caching daemon, 143990be798eSDimitry Andric.Xr nscd 8 , 144090be798eSDimitry Andricwill not be built either if this option is set. 144190be798eSDimitry Andric.It Va WITHOUT_NTP 144290be798eSDimitry AndricSet to not build 144390be798eSDimitry Andric.Xr ntpd 8 144490be798eSDimitry Andricand related programs. 14458edab9cdSWarner Losh.It Va WITHOUT_NVME 14468edab9cdSWarner LoshSet to not build nvme related tools and kernel modules. 14478edab9cdSWarner Losh.Pp 14488edab9cdSWarner LoshThis is a default setting on 14498edab9cdSWarner Losharm/arm, arm/armv6, arm/armv7, arm64/aarch64, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 14508edab9cdSWarner Losh.It Va WITH_NVME 14518edab9cdSWarner LoshSet to build nvme related tools and kernel modules. 14528edab9cdSWarner Losh 14538edab9cdSWarner Losh.Pp 14548edab9cdSWarner LoshThis is a default setting on 14558edab9cdSWarner Loshamd64/amd64, i386/i386 and powerpc/powerpc64. 145690be798eSDimitry Andric.It Va WITH_OFED 145790be798eSDimitry AndricSet to build the 145890be798eSDimitry Andric.Dq "OpenFabrics Enterprise Distribution" 145990be798eSDimitry AndricInfiniband software stack. 14604a3caf80SKonstantin Belousov.It Va WITH_OFED_EXTRA 14614a3caf80SKonstantin BelousovSet to build the non-essential components of the 14624a3caf80SKonstantin Belousov.Dq "OpenFabrics Enterprise Distribution" 14634a3caf80SKonstantin BelousovInfiniband software stack, mostly examples. 146490be798eSDimitry Andric.It Va WITH_OPENLDAP 146590be798eSDimitry AndricEnable building openldap support for kerberos. 146690be798eSDimitry Andric.It Va WITHOUT_OPENSSH 146790be798eSDimitry AndricSet to not build OpenSSH. 146890be798eSDimitry Andric.It Va WITHOUT_OPENSSL 146990be798eSDimitry AndricSet to not build OpenSSL. 1470344e2bb9SEd MasteWhen set, it enforces these options: 147190be798eSDimitry Andric.Pp 147290be798eSDimitry Andric.Bl -item -compact 147390be798eSDimitry Andric.It 147490be798eSDimitry Andric.Va WITHOUT_KERBEROS 147590be798eSDimitry Andric.It 147690be798eSDimitry Andric.Va WITHOUT_OPENSSH 147790be798eSDimitry Andric.El 147890be798eSDimitry Andric.Pp 1479344e2bb9SEd MasteWhen set, these options are also in effect: 148090be798eSDimitry Andric.Pp 148190be798eSDimitry Andric.Bl -inset -compact 148290be798eSDimitry Andric.It Va WITHOUT_GSSAPI 148390be798eSDimitry Andric(unless 148490be798eSDimitry Andric.Va WITH_GSSAPI 148590be798eSDimitry Andricis set explicitly) 148690be798eSDimitry Andric.El 148790be798eSDimitry Andric.It Va WITHOUT_PAM 148890be798eSDimitry AndricSet to not build PAM library and modules. 148990be798eSDimitry Andric.Bf -symbolic 149090be798eSDimitry AndricThis option is deprecated and does nothing. 149190be798eSDimitry Andric.Ef 1492bf64e879SBryan DreweryWhen set, these options are also in effect: 149390be798eSDimitry Andric.Pp 1494bf64e879SBryan Drewery.Bl -inset -compact 1495bf64e879SBryan Drewery.It Va WITHOUT_PAM_SUPPORT 1496bf64e879SBryan Drewery(unless 1497bf64e879SBryan Drewery.Va WITH_PAM_SUPPORT 1498bf64e879SBryan Dreweryis set explicitly) 149990be798eSDimitry Andric.El 150090be798eSDimitry Andric.It Va WITHOUT_PAM_SUPPORT 150190be798eSDimitry AndricSet to build some programs without PAM support, particularly 150290be798eSDimitry Andric.Xr ftpd 8 150390be798eSDimitry Andricand 150490be798eSDimitry Andric.Xr ppp 8 . 150590be798eSDimitry Andric.It Va WITHOUT_PC_SYSINSTALL 150690be798eSDimitry AndricSet to not build 150790be798eSDimitry Andric.Xr pc-sysinstall 8 150890be798eSDimitry Andricand related programs. 150990be798eSDimitry Andric.It Va WITHOUT_PF 151090be798eSDimitry AndricSet to not build PF firewall package. 1511344e2bb9SEd MasteWhen set, it enforces these options: 151290be798eSDimitry Andric.Pp 151390be798eSDimitry Andric.Bl -item -compact 151490be798eSDimitry Andric.It 151590be798eSDimitry Andric.Va WITHOUT_AUTHPF 151690be798eSDimitry Andric.El 151790be798eSDimitry Andric.It Va WITHOUT_PKGBOOTSTRAP 151890be798eSDimitry AndricSet to not build 151990be798eSDimitry Andric.Xr pkg 7 152090be798eSDimitry Andricbootstrap tool. 152190be798eSDimitry Andric.It Va WITHOUT_PMC 152290be798eSDimitry AndricSet to not build 152390be798eSDimitry Andric.Xr pmccontrol 8 152490be798eSDimitry Andricand related programs. 152590be798eSDimitry Andric.It Va WITHOUT_PORTSNAP 152690be798eSDimitry AndricSet to not build or install 152790be798eSDimitry Andric.Xr portsnap 8 152890be798eSDimitry Andricand related files. 152945b8de2dSEd MasteWhen set, it enforces these options: 153045b8de2dSEd Maste.Pp 153145b8de2dSEd Maste.Bl -item -compact 153245b8de2dSEd Maste.It 153345b8de2dSEd Maste.Va WITHOUT_FREEBSD_UPDATE 153445b8de2dSEd Maste.El 153590be798eSDimitry Andric.It Va WITHOUT_PPP 153690be798eSDimitry AndricSet to not build 153790be798eSDimitry Andric.Xr ppp 8 153890be798eSDimitry Andricand related programs. 153990be798eSDimitry Andric.It Va WITHOUT_PROFILE 15404c033a73SEnji CooperSet to not build profiled libraries for use with 15414c033a73SEnji Cooper.Xr gprof 8 . 15420780f5c3SJohn Baldwin.Pp 15430780f5c3SJohn BaldwinThis is a default setting on 1544e8788097SKonstantin Belousovmips/mips64el, mips/mips64, mips/mips64elhf and mips/mips64hf. 15454c033a73SEnji Cooper.It Va WITH_PROFILE 15464c033a73SEnji CooperSet to build profiled libraries for use with 15474c033a73SEnji Cooper.Xr gprof 8 . 15484c033a73SEnji Cooper.Pp 15494c033a73SEnji CooperThis is a default setting on 15508ccac680SEd Masteamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mipsn32, mips/mipselhf, mips/mipshf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 155190be798eSDimitry Andric.It Va WITHOUT_QUOTAS 155290be798eSDimitry AndricSet to not build 155323a6b49aSEdward Tomasz Napierala.Xr quota 1 155490be798eSDimitry Andricand related programs. 15550e0e9604SEnji Cooper.It Va WITHOUT_RADIUS_SUPPORT 15560e0e9604SEnji CooperSet to not build radius support into various applications, like 15570e0e9604SEnji Cooper.Xr pam_radius 8 15580e0e9604SEnji Cooperand 15590e0e9604SEnji Cooper.Xr ppp 8 . 156088342134SEnji Cooper.It Va WITH_RATELIMIT 156188342134SEnji CooperSet to build the system with rate limit support. 156288342134SEnji Cooper.Pp 156388342134SEnji CooperThis makes 156488342134SEnji Cooper.Dv SO_MAX_PACING_RATE 156588342134SEnji Coopereffective in 156688342134SEnji Cooper.Xr getsockopt 2 , 156788342134SEnji Cooperand 156888342134SEnji Cooper.Ar txrlimit 156988342134SEnji Coopersupport in 157088342134SEnji Cooper.Xr ifconfig 8 , 157188342134SEnji Cooperby proxy. 15720e0e9604SEnji Cooper.It Va WITHOUT_RBOOTD 15730e0e9604SEnji CooperSet to not build or install 15740e0e9604SEnji Cooper.Xr rbootd 8 . 1575a06833f9SEd Maste.It Va WITHOUT_REPRODUCIBLE_BUILD 1576a06833f9SEd MasteSet to include build metadata (such as the build time, user, and host) 1577a06833f9SEd Mastein the kernel, boot loaders, and uname output. 1578a06833f9SEd MasteSuccessive builds will not be bit-for-bit identical. 157990be798eSDimitry Andric.It Va WITHOUT_RESCUE 158090be798eSDimitry AndricSet to not build 158190be798eSDimitry Andric.Xr rescue 8 . 15828ccac680SEd Maste.It Va WITH_RETPOLINE 15838ccac680SEd MasteSet to build the base system with the retpoline speculative execution 15848ccac680SEd Mastevulnerability mitigation for CVE-2017-5715. 158590be798eSDimitry Andric.It Va WITHOUT_ROUTED 158690be798eSDimitry AndricSet to not build 158790be798eSDimitry Andric.Xr routed 8 158890be798eSDimitry Andricutility. 15894c033a73SEnji Cooper.It Va WITH_RPCBIND_WARMSTART_SUPPORT 15904c033a73SEnji CooperSet to build 15914c033a73SEnji Cooper.Xr rpcbind 8 15924c033a73SEnji Cooperwith warmstart support. 159390be798eSDimitry Andric.It Va WITHOUT_SENDMAIL 159490be798eSDimitry AndricSet to not build 159590be798eSDimitry Andric.Xr sendmail 8 159690be798eSDimitry Andricand related programs. 1597e8788097SKonstantin Belousov.It Va WITHOUT_SERVICESDB 1598e8788097SKonstantin BelousovSet to not install 1599e8788097SKonstantin Belousov.Pa /var/db/services.db . 160090be798eSDimitry Andric.It Va WITHOUT_SETUID_LOGIN 160190be798eSDimitry AndricSet this to disable the installation of 160290be798eSDimitry Andric.Xr login 1 160390be798eSDimitry Andricas a set-user-ID root program. 160490be798eSDimitry Andric.It Va WITHOUT_SHAREDOCS 160590be798eSDimitry AndricSet to not build the 160690be798eSDimitry Andric.Bx 4.4 160790be798eSDimitry Andriclegacy docs. 160890be798eSDimitry Andric.It Va WITH_SHARED_TOOLCHAIN 160990be798eSDimitry AndricSet to build the toolchain binaries shared. 161090be798eSDimitry AndricThe set includes 161190be798eSDimitry Andric.Xr cc 1 , 161290be798eSDimitry Andric.Xr make 1 161390be798eSDimitry Andricand necessary utilities like assembler, linker and library archive manager. 161490be798eSDimitry Andric.It Va WITH_SORT_THREADS 161590be798eSDimitry AndricSet to enable threads in 161690be798eSDimitry Andric.Xr sort 1 . 161790be798eSDimitry Andric.It Va WITHOUT_SOURCELESS 161890be798eSDimitry AndricSet to not build kernel modules that include sourceless code (either microcode or native code for host CPU). 1619344e2bb9SEd MasteWhen set, it enforces these options: 162090be798eSDimitry Andric.Pp 162190be798eSDimitry Andric.Bl -item -compact 162290be798eSDimitry Andric.It 162390be798eSDimitry Andric.Va WITHOUT_SOURCELESS_HOST 162490be798eSDimitry Andric.It 162590be798eSDimitry Andric.Va WITHOUT_SOURCELESS_UCODE 162690be798eSDimitry Andric.El 162790be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_HOST 162890be798eSDimitry AndricSet to not build kernel modules that include sourceless native code for host CPU. 162990be798eSDimitry Andric.It Va WITHOUT_SOURCELESS_UCODE 163090be798eSDimitry AndricSet to not build kernel modules that include sourceless microcode. 163190be798eSDimitry Andric.It Va WITHOUT_SSP 163290be798eSDimitry AndricSet to not build world with propolice stack smashing protection. 1633cc68b6e5SEd Maste.Pp 1634344e2bb9SEd MasteThis is a default setting on 163536e8c7bbSEd Mastemips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf. 16360cd582c8SEnji Cooper.It Va WITH_SSP 16370cd582c8SEnji CooperSet to build world with propolice stack smashing protection. 16380cd582c8SEnji Cooper.Pp 1639344e2bb9SEd MasteThis is a default setting on 16408ccac680SEd Masteamd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 1641cc2520d2SSimon J. Gerraty.It Va WITH_STAGING 1642cc2520d2SSimon J. GerratyEnable staging of files to a stage tree. 1643cc2520d2SSimon J. GerratyThis can be best thought of as auto-install to 1644cc2520d2SSimon J. Gerraty.Va DESTDIR 1645cc2520d2SSimon J. Gerratywith some extra meta data to ensure dependencies can be tracked. 1646cc2520d2SSimon J. GerratyDepends on 164732b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD . 1648344e2bb9SEd MasteWhen set, these options are also in effect: 1649cc2520d2SSimon J. Gerraty.Pp 1650cc2520d2SSimon J. Gerraty.Bl -inset -compact 1651cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN 1652cc2520d2SSimon J. Gerraty(unless 1653cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_MAN 1654cc2520d2SSimon J. Gerratyis set explicitly) 1655cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG 1656cc2520d2SSimon J. Gerraty(unless 1657cc2520d2SSimon J. Gerraty.Va WITHOUT_STAGING_PROG 1658cc2520d2SSimon J. Gerratyis set explicitly) 1659cc2520d2SSimon J. Gerraty.El 16600a70ef02SBryan Drewery.Pp 1661ba852870SBryan DreweryThis must be set in the environment, make command line, or 16620a70ef02SBryan Drewery.Pa /etc/src-env.conf , 16630a70ef02SBryan Drewerynot 16640a70ef02SBryan Drewery.Pa /etc/src.conf . 1665cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_MAN 1666344e2bb9SEd MasteEnable staging of man pages to stage tree. 1667cc2520d2SSimon J. Gerraty.It Va WITH_STAGING_PROG 1668cc2520d2SSimon J. GerratyEnable staging of PROGs to stage tree. 1669cc2520d2SSimon J. Gerraty.It Va WITH_STALE_STAGED 1670cc2520d2SSimon J. GerratyCheck staged files are not stale. 167190be798eSDimitry Andric.It Va WITH_SVN 167290be798eSDimitry AndricSet to install 167390be798eSDimitry Andric.Xr svnlite 1 167490be798eSDimitry Andricas 167590be798eSDimitry Andric.Xr svn 1 . 167690be798eSDimitry Andric.It Va WITHOUT_SVNLITE 167790be798eSDimitry AndricSet to not build 167890be798eSDimitry Andric.Xr svnlite 1 167990be798eSDimitry Andricand related programs. 168090be798eSDimitry Andric.It Va WITHOUT_SYMVER 168190be798eSDimitry AndricSet to disable symbol versioning when building shared libraries. 168290be798eSDimitry Andric.It Va WITHOUT_SYSCONS 168390be798eSDimitry AndricSet to not build 168490be798eSDimitry Andric.Xr syscons 4 168590be798eSDimitry Andricsupport files such as keyboard maps, fonts, and screen output maps. 1686cc2520d2SSimon J. Gerraty.It Va WITH_SYSROOT 1687cc2520d2SSimon J. GerratyEnable use of sysroot during build. 1688cc2520d2SSimon J. GerratyDepends on 168932b5dc9aSSimon J. Gerraty.Va WITH_DIRDEPS_BUILD . 16900a70ef02SBryan Drewery.Pp 1691ba852870SBryan DreweryThis must be set in the environment, make command line, or 16920a70ef02SBryan Drewery.Pa /etc/src-env.conf , 16930a70ef02SBryan Drewerynot 16940a70ef02SBryan Drewery.Pa /etc/src.conf . 16958095b3c2SBryan Drewery.It Va WITHOUT_SYSTEM_COMPILER 16968095b3c2SBryan DrewerySet to not opportunistically skip building a cross-compiler during the 1697a9da9b86SBryan Drewerybootstrap phase of the build. 16988095b3c2SBryan DreweryNormally, if the currently installed compiler matches the planned bootstrap 16998095b3c2SBryan Drewerycompiler type and revision, then it will not be built. 1700a9da9b86SBryan DreweryThis does not prevent a compiler from being built for installation though, 1701a9da9b86SBryan Dreweryonly for building one for the build itself. 1702a9da9b86SBryan DreweryThe 1703a9da9b86SBryan Drewery.Va WITHOUT_CLANG 1704a9da9b86SBryan Dreweryand 1705a9da9b86SBryan Drewery.Va WITHOUT_GCC 1706a9da9b86SBryan Dreweryoptions control those. 1707be9309deSBryan Drewery.It Va WITHOUT_SYSTEM_LINKER 1708be9309deSBryan DrewerySet to not opportunistically skip building a cross-linker during the 1709be9309deSBryan Drewerybootstrap phase of the build. 1710be9309deSBryan DreweryNormally, if the currently installed linker matches the planned bootstrap 1711be9309deSBryan Drewerylinker type and revision, then it will not be built. 1712be9309deSBryan DreweryThis does not prevent a linker from being built for installation though, 1713be9309deSBryan Dreweryonly for building one for the build itself. 1714be9309deSBryan DreweryThe 1715be9309deSBryan Drewery.Va WITHOUT_LLD 1716be9309deSBryan Dreweryand 1717be9309deSBryan Drewery.Va WITHOUT_BINUTILS 1718be9309deSBryan Dreweryoptions control those. 1719be9309deSBryan Drewery.Pp 1720be9309deSBryan DreweryThis option is only relevant when 1721be9309deSBryan Drewery.Va WITH_LLD_BOOTSTRAP 1722be9309deSBryan Dreweryis set. 172393da8366SEnji Cooper.It Va WITHOUT_TALK 172493da8366SEnji CooperSet to not build or install 172593da8366SEnji Cooper.Xr talk 1 172693da8366SEnji Cooperand 172793da8366SEnji Cooper.Xr talkd 8 . 17280e0e9604SEnji Cooper.It Va WITHOUT_TCP_WRAPPERS 17290e0e9604SEnji CooperSet to not build or install 17300e0e9604SEnji Cooper.Xr tcpd 8 , 17310e0e9604SEnji Cooperand related utilities. 173290be798eSDimitry Andric.It Va WITHOUT_TCSH 173390be798eSDimitry AndricSet to not build and install 173490be798eSDimitry Andric.Pa /bin/csh 173590be798eSDimitry Andric(which is 173690be798eSDimitry Andric.Xr tcsh 1 ) . 173790be798eSDimitry Andric.It Va WITHOUT_TELNET 173890be798eSDimitry AndricSet to not build 173923a6b49aSEdward Tomasz Napierala.Xr telnet 1 174090be798eSDimitry Andricand related programs. 174118c6fc4cSJulio Merino.It Va WITHOUT_TESTS 174218c6fc4cSJulio MerinoSet to not build nor install the 174390be798eSDimitry Andric.Fx 174490be798eSDimitry AndricTest Suite in 174590be798eSDimitry Andric.Pa /usr/tests/ . 174690be798eSDimitry AndricSee 174790be798eSDimitry Andric.Xr tests 7 174890be798eSDimitry Andricfor more details. 174918c6fc4cSJulio MerinoThis also disables the build of all test-related dependencies, including ATF. 1750344e2bb9SEd MasteWhen set, it enforces these options: 1751c5d09a87SGlen Barber.Pp 1752c5d09a87SGlen Barber.Bl -item -compact 1753c5d09a87SGlen Barber.It 175416f3fdf5SMark Johnston.Va WITHOUT_DTRACE_TESTS 1755bf64e879SBryan Drewery.El 1756bf64e879SBryan Drewery.Pp 1757bf64e879SBryan DreweryWhen set, these options are also in effect: 1758bf64e879SBryan Drewery.Pp 1759bf64e879SBryan Drewery.Bl -inset -compact 1760bf64e879SBryan Drewery.It Va WITHOUT_TESTS_SUPPORT 1761bf64e879SBryan Drewery(unless 1762bf64e879SBryan Drewery.Va WITH_TESTS_SUPPORT 1763bf64e879SBryan Dreweryis set explicitly) 1764c5d09a87SGlen Barber.El 1765c5d09a87SGlen Barber.It Va WITHOUT_TESTS_SUPPORT 1766c5d09a87SGlen BarberSet to disables the build of all test-related dependencies, including ATF. 176790be798eSDimitry Andric.It Va WITHOUT_TEXTPROC 176890be798eSDimitry AndricSet to not build 176990be798eSDimitry Andricprograms used for text processing. 17700e0e9604SEnji Cooper.It Va WITHOUT_TFTP 17710e0e9604SEnji CooperSet to not build or install 17720e0e9604SEnji Cooper.Xr tftp 1 17730e0e9604SEnji Cooperand 17740e0e9604SEnji Cooper.Xr tftpd 8 . 17750e0e9604SEnji Cooper.It Va WITHOUT_TIMED 17760e0e9604SEnji CooperSet to not build or install 17770e0e9604SEnji Cooper.Xr timed 8 . 177890be798eSDimitry Andric.It Va WITHOUT_TOOLCHAIN 1779148bdd15SBrooks DavisSet to not install header or 178090be798eSDimitry Andricprograms used for program development, 178190be798eSDimitry Andriccompilers, debuggers etc. 1782344e2bb9SEd MasteWhen set, it enforces these options: 178390be798eSDimitry Andric.Pp 178490be798eSDimitry Andric.Bl -item -compact 178590be798eSDimitry Andric.It 178690be798eSDimitry Andric.Va WITHOUT_BINUTILS 178790be798eSDimitry Andric.It 178890be798eSDimitry Andric.Va WITHOUT_CLANG 178990be798eSDimitry Andric.It 179090be798eSDimitry Andric.Va WITHOUT_CLANG_EXTRAS 179190be798eSDimitry Andric.It 179290be798eSDimitry Andric.Va WITHOUT_CLANG_FULL 179390be798eSDimitry Andric.It 179490be798eSDimitry Andric.Va WITHOUT_GCC 179590be798eSDimitry Andric.It 179690be798eSDimitry Andric.Va WITHOUT_GDB 1797c5d09a87SGlen Barber.It 1798c5d09a87SGlen Barber.Va WITHOUT_INCLUDES 17993d02549fSBryan Drewery.It 18006c2b7edaSEd Maste.Va WITHOUT_LLD 18016c2b7edaSEd Maste.It 18023d02549fSBryan Drewery.Va WITHOUT_LLDB 18035b9c3654SEd Maste.It 18045b9c3654SEd Maste.Va WITHOUT_LLVM_COV 180590be798eSDimitry Andric.El 180690be798eSDimitry Andric.It Va WITHOUT_UNBOUND 180790be798eSDimitry AndricSet to not build 180890be798eSDimitry Andric.Xr unbound 8 180990be798eSDimitry Andricand related programs. 1810efb949a6SBryan Drewery.It Va WITHOUT_UNIFIED_OBJDIR 1811efb949a6SBryan DrewerySet to use the historical object directory format for 1812efb949a6SBryan Drewery.Xr build 7 1813efb949a6SBryan Drewerytargets. 1814efb949a6SBryan DreweryFor native-builds and builds done directly in sub-directories the format of 1815efb949a6SBryan Drewery.Pa ${MAKEOBJDIRPREFIX}/${.CURDIR} 1816efb949a6SBryan Dreweryis used, 1817efb949a6SBryan Drewerywhile for cross-builds 1818efb949a6SBryan Drewery.Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR} 1819efb949a6SBryan Dreweryis used. 1820efb949a6SBryan Drewery.Pp 1821efb949a6SBryan DreweryThis option is transitional and will be removed before the 12.0 release, 1822efb949a6SBryan Dreweryat which time 1823efb949a6SBryan Drewery.va WITH_UNIFIED_OBJDIR 1824efb949a6SBryan Drewerywill be enabled permanently. 1825efb949a6SBryan Drewery.Pp 1826efb949a6SBryan DreweryThis must be set in the environment, make command line, or 1827efb949a6SBryan Drewery.Pa /etc/src-env.conf , 1828efb949a6SBryan Drewerynot 1829efb949a6SBryan Drewery.Pa /etc/src.conf . 183090be798eSDimitry Andric.It Va WITHOUT_USB 183190be798eSDimitry AndricSet to not build USB-related programs and libraries. 1832c5d09a87SGlen Barber.It Va WITHOUT_USB_GADGET_EXAMPLES 1833d1040cedSWarren BlockSet to not build USB gadget kernel modules. 183490be798eSDimitry Andric.It Va WITHOUT_UTMPX 183590be798eSDimitry AndricSet to not build user accounting tools such as 183690be798eSDimitry Andric.Xr last 1 , 183790be798eSDimitry Andric.Xr users 1 , 183890be798eSDimitry Andric.Xr who 1 , 183990be798eSDimitry Andric.Xr ac 8 , 184090be798eSDimitry Andric.Xr lastlogin 8 184190be798eSDimitry Andricand 184290be798eSDimitry Andric.Xr utx 8 . 184390be798eSDimitry Andric.It Va WITHOUT_VI 184490be798eSDimitry AndricSet to not build and install vi, view, ex and related programs. 184590be798eSDimitry Andric.It Va WITHOUT_VT 184690be798eSDimitry AndricSet to not build 184790be798eSDimitry Andric.Xr vt 4 184890be798eSDimitry Andricsupport files (fonts and keymaps). 184990be798eSDimitry Andric.It Va WITHOUT_WARNS 185090be798eSDimitry AndricSet this to not add warning flags to the compiler invocations. 185190be798eSDimitry AndricUseful as a temporary workaround when code enters the tree 185290be798eSDimitry Andricwhich triggers warnings in environments that differ from the 1853559f9bfcSJens Schweikhardtoriginal developer. 185490be798eSDimitry Andric.It Va WITHOUT_WIRELESS 185590be798eSDimitry AndricSet to not build programs used for 802.11 wireless networks; especially 185690be798eSDimitry Andric.Xr wpa_supplicant 8 185790be798eSDimitry Andricand 185890be798eSDimitry Andric.Xr hostapd 8 . 1859bf64e879SBryan DreweryWhen set, these options are also in effect: 186090be798eSDimitry Andric.Pp 1861bf64e879SBryan Drewery.Bl -inset -compact 1862bf64e879SBryan Drewery.It Va WITHOUT_WIRELESS_SUPPORT 1863bf64e879SBryan Drewery(unless 1864bf64e879SBryan Drewery.Va WITH_WIRELESS_SUPPORT 1865bf64e879SBryan Dreweryis set explicitly) 186690be798eSDimitry Andric.El 186790be798eSDimitry Andric.It Va WITHOUT_WIRELESS_SUPPORT 186890be798eSDimitry AndricSet to build libraries, programs, and kernel modules without 186990be798eSDimitry Andric802.11 wireless support. 187090be798eSDimitry Andric.It Va WITHOUT_WPA_SUPPLICANT_EAPOL 187190be798eSDimitry AndricBuild 187290be798eSDimitry Andric.Xr wpa_supplicant 8 187390be798eSDimitry Andricwithout support for the IEEE 802.1X protocol and without 187490be798eSDimitry Andricsupport for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS 187590be798eSDimitry Andricprotocols (usable only via 802.1X). 187690be798eSDimitry Andric.It Va WITHOUT_ZFS 187790be798eSDimitry AndricSet to not build ZFS file system. 187890be798eSDimitry Andric.It Va WITHOUT_ZONEINFO 187990be798eSDimitry AndricSet to not build the timezone database. 18805c021049SEnji CooperWhen set, it enforces these options: 18815c021049SEnji Cooper.Pp 18825c021049SEnji Cooper.Bl -item -compact 18835c021049SEnji Cooper.It 18845c021049SEnji Cooper.Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT 18855c021049SEnji Cooper.It 18865c021049SEnji Cooper.Va WITHOUT_ZONEINFO_OLD_TIMEZONES_SUPPORT 18875c021049SEnji Cooper.El 18885c021049SEnji Cooper.It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT 18895c021049SEnji CooperSet to build leapsecond information in to the timezone database. 18905c021049SEnji Cooper.It Va WITH_ZONEINFO_OLD_TIMEZONES_SUPPORT 18915c021049SEnji CooperSet to build backward compatibility timezone aliases in to the timezone 18925c021049SEnji Cooperdatabase. 189390be798eSDimitry Andric.El 189490be798eSDimitry Andric.Sh FILES 189590be798eSDimitry Andric.Bl -tag -compact -width Pa 189690be798eSDimitry Andric.It Pa /etc/src.conf 18970a70ef02SBryan Drewery.It Pa /etc/src-env.conf 189890be798eSDimitry Andric.It Pa /usr/share/mk/bsd.own.mk 189990be798eSDimitry Andric.El 190090be798eSDimitry Andric.Sh SEE ALSO 190190be798eSDimitry Andric.Xr make 1 , 190290be798eSDimitry Andric.Xr make.conf 5 , 190390be798eSDimitry Andric.Xr build 7 , 190490be798eSDimitry Andric.Xr ports 7 190590be798eSDimitry Andric.Sh HISTORY 190690be798eSDimitry AndricThe 190790be798eSDimitry Andric.Nm 190890be798eSDimitry Andricfile appeared in 190990be798eSDimitry Andric.Fx 7.0 . 191090be798eSDimitry Andric.Sh AUTHORS 191188342134SEnji CooperThis manual page was autogenerated by 1912a121d3a8SEnji Cooper.An tools/build/options/makeman . 1913