1.\" DO NOT EDIT-- this file is @generated by tools/build/options/makeman. 2.\" $FreeBSD$ 3.Dd March 16, 2019 4.Dt SRC.CONF 5 5.Os 6.Sh NAME 7.Nm src.conf 8.Nd "source build options" 9.Sh DESCRIPTION 10The 11.Nm 12file contains settings that will apply to every build involving the 13.Fx 14source tree; see 15.Xr build 7 . 16.Pp 17The 18.Nm 19file uses the standard makefile syntax. 20However, 21.Nm 22should not specify any dependencies to 23.Xr make 1 . 24Instead, 25.Nm 26is to set 27.Xr make 1 28variables that control the aspects of how the system builds. 29.Pp 30The default location of 31.Nm 32is 33.Pa /etc/src.conf , 34though an alternative location can be specified in the 35.Xr make 1 36variable 37.Va SRCCONF . 38Overriding the location of 39.Nm 40may be necessary if the system-wide settings are not suitable 41for a particular build. 42For instance, setting 43.Va SRCCONF 44to 45.Pa /dev/null 46effectively resets all build controls to their defaults. 47.Pp 48The only purpose of 49.Nm 50is to control the compilation of the 51.Fx 52source code, which is usually located in 53.Pa /usr/src . 54As a rule, the system administrator creates 55.Nm 56when the values of certain control variables need to be changed 57from their defaults. 58.Pp 59In addition, control variables can be specified 60for a particular build via the 61.Fl D 62option of 63.Xr make 1 64or in its environment; see 65.Xr environ 7 . 66.Pp 67The environment of 68.Xr make 1 69for the build can be controlled via the 70.Va SRC_ENV_CONF 71variable, which defaults to 72.Pa /etc/src-env.conf . 73Some examples that may only be set in this file are 74.Va WITH_DIRDEPS_BUILD , 75and 76.Va WITH_META_MODE , 77and 78.Va MAKEOBJDIRPREFIX 79as they are environment-only variables. 80.Pp 81The values of variables are ignored regardless of their setting; 82even if they would be set to 83.Dq Li FALSE 84or 85.Dq Li NO . 86The presence of an option causes 87it to be honored by 88.Xr make 1 . 89.Pp 90This list provides a name and short description for variables 91that can be used for source builds. 92.Bl -tag -width indent 93.It Va WITHOUT_ACCT 94Set to not build process accounting tools such as 95.Xr accton 8 96and 97.Xr sa 8 . 98.It Va WITHOUT_ACPI 99Set to not build 100.Xr acpiconf 8 , 101.Xr acpidump 8 102and related programs. 103.It Va WITHOUT_AMD 104Set to not build 105.Xr amd 8 , 106and related programs. 107.It Va WITHOUT_APM 108Set to not build 109.Xr apm 8 , 110.Xr apmd 8 111and related programs. 112.It Va WITHOUT_ASSERT_DEBUG 113Set to compile programs and libraries without the 114.Xr assert 3 115checks. 116.It Va WITHOUT_AT 117Set to not build 118.Xr at 1 119and related utilities. 120.It Va WITHOUT_ATM 121Set to not build 122programs and libraries related to ATM networking. 123.It Va WITHOUT_AUDIT 124Set to not build audit support into system programs. 125.It Va WITHOUT_AUTHPF 126Set to not build 127.Xr authpf 8 . 128.It Va WITHOUT_AUTOFS 129Set to not build 130.Xr autofs 5 131related programs, libraries, and kernel modules. 132.It Va WITHOUT_AUTO_OBJ 133Disable automatic creation of objdirs. 134This is enabled by default if the wanted OBJDIR is writable by the current user. 135.Pp 136This must be set in the environment, make command line, or 137.Pa /etc/src-env.conf , 138not 139.Pa /etc/src.conf . 140.It Va WITH_BEARSSL 141Build the BearSSL library. 142.Pp 143BearSSL is a tiny SSL library suitable for embedded environments. 144For details see 145.Lk http://www.BearSSL.org/ 146.Pp 147This library is currently only used to perform 148signature verification and related operations 149for Verified Exec and 150.Xr loader 8 . 151When set, these options are also in effect: 152.Pp 153.Bl -inset -compact 154.It Va WITH_LOADER_EFI_SECUREBOOT 155(unless 156.Va WITHOUT_LOADER_EFI_SECUREBOOT 157is set explicitly) 158.It Va WITH_LOADER_VERIEXEC 159(unless 160.Va WITHOUT_LOADER_VERIEXEC 161is set explicitly) 162.It Va WITH_VERIEXEC 163(unless 164.Va WITHOUT_VERIEXEC 165is set explicitly) 166.El 167.It Va WITHOUT_BHYVE 168Set to not build or install 169.Xr bhyve 8 , 170associated utilities, and examples. 171.Pp 172This option only affects amd64/amd64. 173.It Va WITH_BIND_NOW 174Build all binaries with the 175.Dv DF_BIND_NOW 176flag set to indicate that the run-time loader should perform all relocation 177processing at process startup rather than on demand. 178.It Va WITHOUT_BINUTILS 179Set to not build or install GNU 180.Xr as 1 , 181.Xr objdump 1 , 182and for some CPU architectures 183.Xr ld.bfd 1 184as part 185of the normal system build. 186The resulting system cannot build programs from source. 187.Pp 188This is a default setting on 189arm64/aarch64 and riscv/riscv64. 190.It Va WITH_BINUTILS 191Set to build and install GNU 192.Xr as 1 , 193.Xr objdump 1 , 194and for some CPU architectures 195.Xr ld.bfd 1 196as part 197of the normal system build. 198.Pp 199This is a default setting on 200amd64/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. 201.It Va WITHOUT_BINUTILS_BOOTSTRAP 202Set to not build binutils (as, ld, and objdump) 203as part of the bootstrap process. 204.Bf -symbolic 205The option does not work for build targets unless some alternative 206toolchain is provided. 207.Ef 208.Pp 209This is a default setting on 210arm64/aarch64 and riscv/riscv64. 211.It Va WITH_BINUTILS_BOOTSTRAP 212Set build binutils (as, ld, and objdump) 213as part of the bootstrap process. 214.Pp 215This is a default setting on 216amd64/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. 217.It Va WITHOUT_BLACKLIST 218Set this if you do not want to build 219.Xr blacklistd 8 220and 221.Xr blacklistctl 8 . 222When set, these options are also in effect: 223.Pp 224.Bl -inset -compact 225.It Va WITHOUT_BLACKLIST_SUPPORT 226(unless 227.Va WITH_BLACKLIST_SUPPORT 228is set explicitly) 229.El 230.It Va WITHOUT_BLACKLIST_SUPPORT 231Set to build some programs without 232.Xr libblacklist 3 233support, like 234.Xr fingerd 8 , 235.Xr ftpd 8 , 236.Xr rlogind 8 , 237.Xr rshd 8 , 238and 239.Xr sshd 8 . 240.It Va WITHOUT_BLUETOOTH 241Set to not build Bluetooth related kernel modules, programs and libraries. 242.It Va WITHOUT_BOOT 243Set to not build the boot blocks and loader. 244.It Va WITHOUT_BOOTPARAMD 245Set to not build or install 246.Xr bootparamd 8 . 247.It Va WITHOUT_BOOTPD 248Set to not build or install 249.Xr bootpd 8 . 250.It Va WITHOUT_BSDINSTALL 251Set to not build 252.Xr bsdinstall 8 , 253.Xr sade 8 , 254and related programs. 255.It Va WITHOUT_BSD_CPIO 256Set to not build the BSD licensed version of cpio based on 257.Xr libarchive 3 . 258.It Va WITHOUT_BSD_CRTBEGIN 259Disable the BSD licensed 260.Pa crtbegin.o 261and 262.Pa crtend.o . 263.Pp 264This is a default setting on 265powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 266.It Va WITH_BSD_CRTBEGIN 267Enable the BSD licensed 268.Pa crtbegin.o 269and 270.Pa crtend.o . 271.Pp 272This is a default setting on 273amd64/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. 274.It Va WITH_BSD_GREP 275Install BSD-licensed grep as '[ef]grep' instead of GNU grep. 276.It Va WITHOUT_BSNMP 277Set to not build or install 278.Xr bsnmpd 1 279and related libraries and data files. 280.It Va WITHOUT_BZIP2 281Set to not build contributed bzip2 software as a part of the base system. 282.Bf -symbolic 283The option has no effect yet. 284.Ef 285When set, these options are also in effect: 286.Pp 287.Bl -inset -compact 288.It Va WITHOUT_BZIP2_SUPPORT 289(unless 290.Va WITH_BZIP2_SUPPORT 291is set explicitly) 292.El 293.It Va WITHOUT_BZIP2_SUPPORT 294Set to build some programs without optional bzip2 support. 295.It Va WITHOUT_CALENDAR 296Set to not build 297.Xr calendar 1 . 298.It Va WITHOUT_CAPSICUM 299Set to not build Capsicum support into system programs. 300When set, it enforces these options: 301.Pp 302.Bl -item -compact 303.It 304.Va WITHOUT_CASPER 305.El 306.It Va WITHOUT_CASPER 307Set to not build Casper program and related libraries. 308.It Va WITH_CCACHE_BUILD 309Set to use 310.Xr ccache 1 311for the build. 312No configuration is required except to install the 313.Sy devel/ccache 314package. 315When using with 316.Xr distcc 1 , 317set 318.Sy CCACHE_PREFIX=/usr/local/bin/distcc . 319The default cache directory of 320.Pa $HOME/.ccache 321will be used, which can be overridden by setting 322.Sy CCACHE_DIR . 323The 324.Sy CCACHE_COMPILERCHECK 325option defaults to 326.Sy content 327when using the in-tree bootstrap compiler, 328and 329.Sy mtime 330when using an external compiler. 331The 332.Sy CCACHE_CPP2 333option is used for Clang but not GCC. 334.Pp 335Sharing a cache between multiple work directories requires using a layout 336similar to 337.Pa /some/prefix/src 338.Pa /some/prefix/obj 339and an environment such as: 340.Bd -literal -offset indent 341CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj' 342.Ed 343.Pp 344See 345.Xr ccache 1 346for more configuration options. 347.It Va WITHOUT_CCD 348Set to not build 349.Xr geom_ccd 4 350and related utilities. 351.It Va WITHOUT_CDDL 352Set to not build code licensed under Sun's CDDL. 353When set, it enforces these options: 354.Pp 355.Bl -item -compact 356.It 357.Va WITHOUT_CTF 358.It 359.Va WITHOUT_LOADER_ZFS 360.It 361.Va WITHOUT_ZFS 362.El 363.It Va WITHOUT_CLANG 364Set to not build the Clang C/C++ compiler during the regular phase of the build. 365.Pp 366This is a default setting on 367riscv/riscv64 and sparc64/sparc64. 368When set, it enforces these options: 369.Pp 370.Bl -item -compact 371.It 372.Va WITHOUT_CLANG_EXTRAS 373.It 374.Va WITHOUT_CLANG_FULL 375.It 376.Va WITHOUT_LLVM_COV 377.El 378.Pp 379When set, these options are also in effect: 380.Pp 381.Bl -inset -compact 382.It Va WITHOUT_LLVM_TARGET_AARCH64 383(unless 384.Va WITH_LLVM_TARGET_AARCH64 385is set explicitly) 386.It Va WITHOUT_LLVM_TARGET_ALL 387(unless 388.Va WITH_LLVM_TARGET_ALL 389is set explicitly) 390.It Va WITHOUT_LLVM_TARGET_ARM 391(unless 392.Va WITH_LLVM_TARGET_ARM 393is set explicitly) 394.It Va WITHOUT_LLVM_TARGET_MIPS 395(unless 396.Va WITH_LLVM_TARGET_MIPS 397is set explicitly) 398.It Va WITHOUT_LLVM_TARGET_POWERPC 399(unless 400.Va WITH_LLVM_TARGET_POWERPC 401is set explicitly) 402.It Va WITHOUT_LLVM_TARGET_SPARC 403(unless 404.Va WITH_LLVM_TARGET_SPARC 405is set explicitly) 406.It Va WITHOUT_LLVM_TARGET_X86 407(unless 408.Va WITH_LLVM_TARGET_X86 409is set explicitly) 410.El 411.It Va WITH_CLANG 412Set to build the Clang C/C++ compiler during the normal phase of the build. 413.Pp 414This is a default setting on 415amd64/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. 416.It Va WITHOUT_CLANG_BOOTSTRAP 417Set to not build the Clang C/C++ compiler during the bootstrap phase of 418the build. 419To be able to build the system, either gcc or clang bootstrap must be 420enabled unless an alternate compiler is provided via XCC. 421.Pp 422This is a default setting on 423mips/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. 424.It Va WITH_CLANG_BOOTSTRAP 425Set to build the Clang C/C++ compiler during the bootstrap phase of the build. 426.Pp 427This is a default setting on 428amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386. 429.It Va WITH_CLANG_EXTRAS 430Set to build additional clang and llvm tools, such as bugpoint and 431clang-format. 432.It Va WITHOUT_CLANG_FULL 433Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of 434the Clang C/C++ compiler. 435.Pp 436This is a default setting on 437riscv/riscv64 and sparc64/sparc64. 438.It Va WITH_CLANG_FULL 439Set to build the ARCMigrate, Rewriter and StaticAnalyzer components of the 440Clang C/C++ compiler. 441.Pp 442This is a default setting on 443amd64/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. 444.It Va WITHOUT_CLANG_IS_CC 445Set to install the GCC compiler as 446.Pa /usr/bin/cc , 447.Pa /usr/bin/c++ 448and 449.Pa /usr/bin/cpp . 450.Pp 451This is a default setting on 452mips/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. 453.It Va WITH_CLANG_IS_CC 454Set to install the Clang C/C++ compiler as 455.Pa /usr/bin/cc , 456.Pa /usr/bin/c++ 457and 458.Pa /usr/bin/cpp . 459.Pp 460This is a default setting on 461amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386. 462.It Va WITHOUT_CPP 463Set to not build 464.Xr cpp 1 . 465.It Va WITHOUT_CROSS_COMPILER 466Set to not build any cross compiler in the cross-tools stage of buildworld. 467When compiling a different version of 468.Fx 469than what is installed on the system, provide an alternate 470compiler with XCC to ensure success. 471When compiling with an identical version of 472.Fx 473to the host, this option may be safely used. 474This option may also be safe when the host version of 475.Fx 476is close to the sources being built, but all bets are off if there have 477been any changes to the toolchain between the versions. 478When set, it enforces these options: 479.Pp 480.Bl -item -compact 481.It 482.Va WITHOUT_BINUTILS_BOOTSTRAP 483.It 484.Va WITHOUT_CLANG_BOOTSTRAP 485.It 486.Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP 487.It 488.Va WITHOUT_GCC_BOOTSTRAP 489.It 490.Va WITHOUT_LLD_BOOTSTRAP 491.El 492.It Va WITHOUT_CRYPT 493Set to not build any crypto code. 494When set, it enforces these options: 495.Pp 496.Bl -item -compact 497.It 498.Va WITHOUT_KERBEROS 499.It 500.Va WITHOUT_OPENSSH 501.It 502.Va WITHOUT_OPENSSL 503.El 504.Pp 505When set, these options are also in effect: 506.Pp 507.Bl -inset -compact 508.It Va WITHOUT_GSSAPI 509(unless 510.Va WITH_GSSAPI 511is set explicitly) 512.El 513.It Va WITH_CTF 514Set to compile with CTF (Compact C Type Format) data. 515CTF data encapsulates a reduced form of debugging information 516similar to DWARF and the venerable stabs and is required for DTrace. 517.It Va WITHOUT_CUSE 518Set to not build CUSE-related programs and libraries. 519.It Va WITHOUT_CXGBETOOL 520Set to not build 521.Xr cxgbetool 8 522.Pp 523This is a default setting on 524arm/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. 525.It Va WITH_CXGBETOOL 526Set to build 527.Xr cxgbetool 8 528.Pp 529This is a default setting on 530amd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64. 531.It Va WITHOUT_CXX 532Set to not build 533.Xr c++ 1 534and related libraries. 535It will also prevent building of 536.Xr gperf 1 537and 538.Xr devd 8 . 539When set, it enforces these options: 540.Pp 541.Bl -item -compact 542.It 543.Va WITHOUT_CLANG 544.It 545.Va WITHOUT_CLANG_EXTRAS 546.It 547.Va WITHOUT_CLANG_FULL 548.It 549.Va WITHOUT_DTRACE_TESTS 550.It 551.Va WITHOUT_GNUCXX 552.It 553.Va WITHOUT_LLVM_COV 554.It 555.Va WITHOUT_TESTS 556.El 557.It Va WITHOUT_DEBUG_FILES 558Set to avoid building or installing standalone debug files for each 559executable binary and shared library. 560.It Va WITHOUT_DIALOG 561Set to not build 562.Xr dialog 1 , 563.Xr dialog 3 , 564.Xr dpv 1 , 565and 566.Xr dpv 3 . 567When set, it enforces these options: 568.Pp 569.Bl -item -compact 570.It 571.Va WITHOUT_BSDINSTALL 572.El 573.It Va WITHOUT_DICT 574Set to not build the Webster dictionary files. 575.It Va WITH_DIRDEPS_BUILD 576This is an experimental build system. 577For details see 578http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm. 579Build commands can be seen from the top-level with: 580.Dl make show-valid-targets 581The build is driven by dirdeps.mk using 582.Va DIRDEPS 583stored in 584Makefile.depend files found in each directory. 585.Pp 586The build can be started from anywhere, and behaves the same. 587The initial instance of 588.Xr make 1 589recursively reads 590.Va DIRDEPS 591from 592.Pa Makefile.depend , 593computing a graph of tree dependencies from the current origin. 594Setting 595.Va NO_DIRDEPS 596skips checking dirdep dependencies and will only build in the current 597and child directories. 598.Va NO_DIRDEPS_BELOW 599skips building any dirdeps and only build the current directory. 600.Pp 601This also utilizes the 602.Va WITH_META_MODE 603logic for incremental builds. 604.Pp 605The build hides commands executed unless 606.Va NO_SILENT 607is defined. 608.Pp 609Note that there is currently no mass install feature for this. 610.Pp 611When set, it enforces these options: 612.Pp 613.Bl -item -compact 614.It 615.Va WITH_INSTALL_AS_USER 616.El 617.Pp 618When set, these options are also in effect: 619.Pp 620.Bl -inset -compact 621.It Va WITH_META_MODE 622(unless 623.Va WITHOUT_META_MODE 624is set explicitly) 625.It Va WITH_STAGING 626(unless 627.Va WITHOUT_STAGING 628is set explicitly) 629.It Va WITH_STAGING_MAN 630(unless 631.Va WITHOUT_STAGING_MAN 632is set explicitly) 633.It Va WITH_STAGING_PROG 634(unless 635.Va WITHOUT_STAGING_PROG 636is set explicitly) 637.It Va WITH_SYSROOT 638(unless 639.Va WITHOUT_SYSROOT 640is set explicitly) 641.El 642.Pp 643This must be set in the environment, make command line, or 644.Pa /etc/src-env.conf , 645not 646.Pa /etc/src.conf . 647.It Va WITH_DIRDEPS_CACHE 648Cache result of dirdeps.mk which can save significant time 649for subsequent builds. 650Depends on 651.Va WITH_DIRDEPS_BUILD . 652.Pp 653This must be set in the environment, make command line, or 654.Pa /etc/src-env.conf , 655not 656.Pa /etc/src.conf . 657.It Va WITHOUT_DMAGENT 658Set to not build dma Mail Transport Agent. 659.It Va WITHOUT_DOCCOMPRESS 660Set to not install compressed system documentation. 661Only the uncompressed version will be installed. 662.It Va WITH_DTRACE_TESTS 663Set to build and install the DTrace test suite in 664.Pa /usr/tests/cddl/usr.sbin/dtrace . 665This test suite is considered experimental on architectures other than 666amd64/amd64 and running it may cause system instability. 667.It Va WITHOUT_DYNAMICROOT 668Set this if you do not want to link 669.Pa /bin 670and 671.Pa /sbin 672dynamically. 673.It Va WITHOUT_EE 674Set to not build and install 675.Xr edit 1 , 676.Xr ee 1 , 677and related programs. 678.It Va WITHOUT_EFI 679Set not to build 680.Xr efivar 3 681and 682.Xr efivar 8 . 683.Pp 684This is a default setting on 685mips/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. 686.It Va WITH_EFI 687Set to build 688.Xr efivar 3 689and 690.Xr efivar 8 . 691.Pp 692This is a default setting on 693amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386. 694.It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP 695Set to not build ELF Tool Chain tools 696(addr2line, nm, size, strings and strip) 697as part of the bootstrap process. 698.Bf -symbolic 699An alternate bootstrap tool chain must be provided. 700.Ef 701.It Va WITHOUT_EXAMPLES 702Set to avoid installing examples to 703.Pa /usr/share/examples/ . 704.It Va WITH_EXPERIMENTAL 705Set to include experimental features in the build. 706.It Va WITH_EXTRA_TCP_STACKS 707Set to build extra TCP stack modules. 708.It Va WITHOUT_FDT 709Set to not build Flattened Device Tree support as part of the base system. 710This includes the device tree compiler (dtc) and libfdt support library. 711.It Va WITHOUT_FILE 712Set to not build 713.Xr file 1 714and related programs. 715.It Va WITHOUT_FINGER 716Set to not build or install 717.Xr finger 1 718and 719.Xr fingerd 8 . 720.It Va WITHOUT_FLOPPY 721Set to not build or install programs 722for operating floppy disk driver. 723.It Va WITHOUT_FMTREE 724Set to not build and install 725.Pa /usr/sbin/fmtree . 726.It Va WITHOUT_FORMAT_EXTENSIONS 727Set to not enable 728.Fl fformat-extensions 729when compiling the kernel. 730Also disables all format checking. 731.It Va WITHOUT_FORTH 732Set to build bootloaders without Forth support. 733.It Va WITHOUT_FP_LIBC 734Set to build 735.Nm libc 736without floating-point support. 737.It Va WITHOUT_FREEBSD_UPDATE 738Set to not build 739.Xr freebsd-update 8 . 740.It Va WITHOUT_FTP 741Set to not build or install 742.Xr ftp 1 743and 744.Xr ftpd 8 . 745.It Va WITHOUT_GAMES 746Set to not build games. 747.It Va WITHOUT_GCC 748Set to not build and install gcc and g++ as part of the normal build process. 749.Pp 750This is a default setting on 751amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386 and riscv/riscv64. 752.It Va WITH_GCC 753Set to build and install gcc and g++. 754.Pp 755This is a default setting on 756mips/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. 757.It Va WITHOUT_GCC_BOOTSTRAP 758Set to not build gcc and g++ as part of the bootstrap process. 759You must enable either gcc or clang bootstrap to be able to build the system, 760unless an alternative compiler is provided via 761XCC. 762.Pp 763This is a default setting on 764amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386 and riscv/riscv64. 765.It Va WITH_GCC_BOOTSTRAP 766Set to build gcc and g++ as part of the bootstrap process. 767.Pp 768This is a default setting on 769mips/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. 770.It Va WITHOUT_GCOV 771Set to not build the 772.Xr gcov 1 773tool. 774.It Va WITHOUT_GDB 775Set to not build 776.Xr gdb 1 . 777.Pp 778This is a default setting on 779arm64/aarch64 and riscv/riscv64. 780.It Va WITH_GDB 781Set to build 782.Xr gdb 1 . 783.Pp 784This is a default setting on 785amd64/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. 786.It Va WITHOUT_GDB_LIBEXEC 787Set to install 788.Xr gdb 1 789into 790.Pa /usr/bin . 791.Pp 792This is a default setting on 793sparc64/sparc64. 794.It Va WITH_GDB_LIBEXEC 795Set to install 796.Xr gdb 1 797into 798.Pa /usr/libexec . 799This permits 800.Xr gdb 1 801to be used as a fallback for 802.Xr crashinfo 8 803if a newer version is not installed. 804.Pp 805This is a default setting on 806amd64/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. 807.It Va WITHOUT_GNUCXX 808Do not build the GNU C++ stack (g++, libstdc++). 809This is the default on platforms where clang is the system compiler. 810.Pp 811This is a default setting on 812amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386. 813.It Va WITH_GNUCXX 814Build the GNU C++ stack (g++, libstdc++). 815This is the default on platforms where gcc is the system compiler. 816.Pp 817This is a default setting on 818mips/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. 819.It Va WITHOUT_GNU_DIFF 820Set to not build GNU 821.Xr diff 1 822and 823.Xr diff3 1 . 824.It Va WITHOUT_GNU_GREP 825Set to not build GNU 826.Xr grep 1 . 827.It Va WITH_GNU_GREP_COMPAT 828Set this option to include GNU extensions in 829.Xr bsdgrep 1 830by linking against libgnuregex. 831.It Va WITHOUT_GOOGLETEST 832Set to neither build nor install 833.Lb libgmock , 834.Lb libgtest , 835and dependent tests. 836.It Va WITHOUT_GPIO 837Set to not build 838.Xr gpioctl 8 839as part of the base system. 840.It Va WITHOUT_GPL_DTC 841Set to build the BSD licensed version of the device tree compiler rather 842than the GPLed one from elinux.org. 843.Pp 844This is a default setting on 845amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386. 846.It Va WITH_GPL_DTC 847Set to build the GPL'd version of the device tree compiler from elinux.org, 848instead of the BSD licensed one. 849.Pp 850This is a default setting on 851mips/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. 852.It Va WITHOUT_GSSAPI 853Set to not build libgssapi. 854.It Va WITHOUT_HAST 855Set to not build 856.Xr hastd 8 857and related utilities. 858.It Va WITH_HESIOD 859Set to build Hesiod support. 860.It Va WITHOUT_HTML 861Set to not build HTML docs. 862.It Va WITHOUT_HYPERV 863Set to not build or install HyperV utilities. 864.Pp 865This is a default setting on 866arm/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. 867.It Va WITH_HYPERV 868Set to build or install HyperV utilities. 869.Pp 870This is a default setting on 871amd64/amd64 and i386/i386. 872.It Va WITHOUT_ICONV 873Set to not build iconv as part of libc. 874.It Va WITHOUT_INCLUDES 875Set to not install header files. 876This option used to be spelled 877.Va NO_INCS . 878.Bf -symbolic 879The option does not work for build targets. 880.Ef 881.It Va WITHOUT_INET 882Set to not build programs and libraries related to IPv4 networking. 883When set, it enforces these options: 884.Pp 885.Bl -item -compact 886.It 887.Va WITHOUT_INET_SUPPORT 888.El 889.It Va WITHOUT_INET6 890Set to not build 891programs and libraries related to IPv6 networking. 892When set, it enforces these options: 893.Pp 894.Bl -item -compact 895.It 896.Va WITHOUT_INET6_SUPPORT 897.El 898.It Va WITHOUT_INET6_SUPPORT 899Set to build libraries, programs, and kernel modules without IPv6 support. 900.It Va WITHOUT_INETD 901Set to not build 902.Xr inetd 8 . 903.It Va WITHOUT_INET_SUPPORT 904Set to build libraries, programs, and kernel modules without IPv4 support. 905.It Va WITHOUT_INSTALLLIB 906Set this to not install optional libraries. 907For example, when creating a 908.Xr nanobsd 8 909image. 910.Bf -symbolic 911The option does not work for build targets. 912.Ef 913.It Va WITH_INSTALL_AS_USER 914Set to make install targets succeed for non-root users by installing 915files with owner and group attributes set to that of the user running 916the 917.Xr make 1 918command. 919The user still must set the 920.Va DESTDIR 921variable to point to a directory where the user has write permissions. 922.It Va WITHOUT_IPFILTER 923Set to not build IP Filter package. 924.It Va WITHOUT_IPFW 925Set to not build IPFW tools. 926.It Va WITHOUT_IPSEC_SUPPORT 927Set to not build the kernel with 928.Xr ipsec 4 929support. 930This option is needed for 931.Xr ipsec 4 932and 933.Xr tcpmd5 4 . 934.It Va WITHOUT_ISCSI 935Set to not build 936.Xr iscsid 8 937and related utilities. 938.It Va WITHOUT_JAIL 939Set to not build tools for the support of jails; e.g., 940.Xr jail 8 . 941.It Va WITHOUT_KDUMP 942Set to not build 943.Xr kdump 1 944and 945.Xr truss 1 . 946.It Va WITHOUT_KERBEROS 947Set this to not build Kerberos 5 (KTH Heimdal). 948When set, these options are also in effect: 949.Pp 950.Bl -inset -compact 951.It Va WITHOUT_GSSAPI 952(unless 953.Va WITH_GSSAPI 954is set explicitly) 955.It Va WITHOUT_KERBEROS_SUPPORT 956(unless 957.Va WITH_KERBEROS_SUPPORT 958is set explicitly) 959.El 960.It Va WITHOUT_KERBEROS_SUPPORT 961Set to build some programs without Kerberos support, like 962.Xr ssh 1 , 963.Xr telnet 1 , 964.Xr sshd 8 , 965and 966.Xr telnetd 8 . 967.It Va WITH_KERNEL_RETPOLINE 968Set to enable the "retpoline" mitigation for CVE-2017-5715 in the kernel 969build. 970.It Va WITHOUT_KERNEL_SYMBOLS 971Set to not install kernel symbol files. 972.Bf -symbolic 973This option is recommended for those people who have small root partitions. 974.Ef 975.It Va WITHOUT_KVM 976Set to not build the 977.Nm libkvm 978library as a part of the base system. 979.Bf -symbolic 980The option has no effect yet. 981.Ef 982When set, these options are also in effect: 983.Pp 984.Bl -inset -compact 985.It Va WITHOUT_KVM_SUPPORT 986(unless 987.Va WITH_KVM_SUPPORT 988is set explicitly) 989.El 990.It Va WITHOUT_KVM_SUPPORT 991Set to build some programs without optional 992.Nm libkvm 993support. 994.It Va WITHOUT_LDNS 995Setting this variable will prevent the LDNS library from being built. 996When set, it enforces these options: 997.Pp 998.Bl -item -compact 999.It 1000.Va WITHOUT_LDNS_UTILS 1001.It 1002.Va WITHOUT_UNBOUND 1003.El 1004.It Va WITHOUT_LDNS_UTILS 1005Setting this variable will prevent building the LDNS utilities 1006.Xr drill 1 1007and 1008.Xr host 1 . 1009.It Va WITHOUT_LEGACY_CONSOLE 1010Set to not build programs that support a legacy PC console; e.g., 1011.Xr kbdcontrol 1 1012and 1013.Xr vidcontrol 1 . 1014.It Va WITHOUT_LIB32 1015On 64-bit platforms, set to not build 32-bit library set and a 1016.Nm ld-elf32.so.1 1017runtime linker. 1018.It Va WITHOUT_LIBCPLUSPLUS 1019Set to avoid building libcxxrt and libc++. 1020.It Va WITHOUT_LIBPTHREAD 1021Set to not build the 1022.Nm libpthread 1023providing library, 1024.Nm libthr . 1025When set, it enforces these options: 1026.Pp 1027.Bl -item -compact 1028.It 1029.Va WITHOUT_LIBTHR 1030.El 1031.It Va WITH_LIBSOFT 1032On armv6 only, set to enable soft float ABI compatibility libraries. 1033This option is for transitioning to the new hard float ABI. 1034.It Va WITHOUT_LIBTHR 1035Set to not build the 1036.Nm libthr 1037(1:1 threading) 1038library. 1039.It Va WITHOUT_LLD 1040Set to not build LLVM's lld linker. 1041.Pp 1042This is a default setting on 1043riscv/riscv64 and sparc64/sparc64. 1044.It Va WITH_LLD 1045Set to build LLVM's lld linker. 1046.Pp 1047This is a default setting on 1048amd64/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. 1049.It Va WITHOUT_LLDB 1050Set to not build the LLDB debugger. 1051.Pp 1052This is a default setting on 1053arm/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. 1054.It Va WITH_LLDB 1055Set to build the LLDB debugger. 1056.Pp 1057This is a default setting on 1058amd64/amd64, arm64/aarch64 and i386/i386. 1059.It Va WITHOUT_LLD_BOOTSTRAP 1060Set to not build the LLD linker during the bootstrap phase of 1061the build. 1062To be able to build the system, either Binutils or LLD bootstrap must be 1063enabled unless an alternate linker is provided via XLD. 1064.Pp 1065This is a default setting on 1066arm/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. 1067.It Va WITH_LLD_BOOTSTRAP 1068Set to build the LLD linker during the bootstrap phase of the build, 1069and use it during buildworld and buildkernel. 1070.Pp 1071This is a default setting on 1072amd64/amd64, arm/armv7, arm64/aarch64 and i386/i386. 1073.It Va WITHOUT_LLD_IS_LD 1074Set to use GNU binutils ld as the system linker, instead of LLVM's LLD. 1075.Pp 1076This is a default setting on 1077arm/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. 1078.It Va WITH_LLD_IS_LD 1079Set to use LLVM's LLD as the system linker, instead of GNU binutils ld. 1080.Pp 1081This is a default setting on 1082amd64/amd64, arm/armv7, arm64/aarch64 and i386/i386. 1083.It Va WITHOUT_LLVM_COV 1084Set to not build the 1085.Xr llvm-cov 1 1086tool. 1087.Pp 1088This is a default setting on 1089riscv/riscv64 and sparc64/sparc64. 1090.It Va WITH_LLVM_COV 1091Set to build the 1092.Xr llvm-cov 1 1093tool. 1094.Pp 1095This is a default setting on 1096amd64/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. 1097.It Va WITHOUT_LLVM_LIBUNWIND 1098Set to use GCC's stack unwinder (instead of LLVM's libunwind). 1099.Pp 1100This is a default setting on 1101arm/arm, arm/armv6, arm/armv7, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 1102.It Va WITH_LLVM_LIBUNWIND 1103Set to use LLVM's libunwind stack unwinder (instead of GCC's unwinder). 1104.Pp 1105This is a default setting on 1106amd64/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. 1107.It Va WITHOUT_LLVM_TARGET_AARCH64 1108Set to not build LLVM target support for AArch64. 1109The 1110.Va LLVM_TARGET_ALL 1111option should be used rather than this in most cases. 1112.Pp 1113This is a default setting on 1114arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64. 1115.It Va WITH_LLVM_TARGET_AARCH64 1116Set to build LLVM target support for AArch64. 1117The 1118.Va LLVM_TARGET_ALL 1119option should be used rather than this in most cases. 1120.Pp 1121This is a default setting on 1122amd64/amd64, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 1123.It Va WITHOUT_LLVM_TARGET_ALL 1124Set to only build the required LLVM target support. 1125This option is preferred to specific target support options. 1126.Pp 1127This is a default setting on 1128riscv/riscv64 and sparc64/sparc64. 1129When set, these options are also in effect: 1130.Pp 1131.Bl -inset -compact 1132.It Va WITHOUT_LLVM_TARGET_AARCH64 1133(unless 1134.Va WITH_LLVM_TARGET_AARCH64 1135is set explicitly) 1136.It Va WITHOUT_LLVM_TARGET_ARM 1137(unless 1138.Va WITH_LLVM_TARGET_ARM 1139is set explicitly) 1140.It Va WITHOUT_LLVM_TARGET_MIPS 1141(unless 1142.Va WITH_LLVM_TARGET_MIPS 1143is set explicitly) 1144.It Va WITHOUT_LLVM_TARGET_POWERPC 1145(unless 1146.Va WITH_LLVM_TARGET_POWERPC 1147is set explicitly) 1148.It Va WITHOUT_LLVM_TARGET_SPARC 1149(unless 1150.Va WITH_LLVM_TARGET_SPARC 1151is set explicitly) 1152.El 1153.It Va WITH_LLVM_TARGET_ALL 1154Set to build support for all LLVM targets. 1155This option is always applied to the bootstrap compiler for buildworld when 1156LLVM is used. 1157.Pp 1158This is a default setting on 1159amd64/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. 1160.It Va WITHOUT_LLVM_TARGET_ARM 1161Set to not build LLVM target support for ARM. 1162The 1163.Va LLVM_TARGET_ALL 1164option should be used rather than this in most cases. 1165.Pp 1166This is a default setting on 1167riscv/riscv64 and sparc64/sparc64. 1168.It Va WITH_LLVM_TARGET_ARM 1169Set to build LLVM target support for ARM. 1170The 1171.Va LLVM_TARGET_ALL 1172option should be used rather than this in most cases. 1173.Pp 1174This is a default setting on 1175amd64/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. 1176.It Va WITH_LLVM_TARGET_BPF 1177Set to build LLVM target support for BPF. 1178The 1179.Va LLVM_TARGET_ALL 1180option should be used rather than this in most cases. 1181.It Va WITHOUT_LLVM_TARGET_MIPS 1182Set to not build LLVM target support for MIPS. 1183The 1184.Va LLVM_TARGET_ALL 1185option should be used rather than this in most cases. 1186.Pp 1187This is a default setting on 1188arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64. 1189.It Va WITH_LLVM_TARGET_MIPS 1190Set to build LLVM target support for MIPS. 1191The 1192.Va LLVM_TARGET_ALL 1193option should be used rather than this in most cases. 1194.Pp 1195This is a default setting on 1196amd64/amd64, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 1197.It Va WITHOUT_LLVM_TARGET_POWERPC 1198Set to not build LLVM target support for PowerPC. 1199The 1200.Va LLVM_TARGET_ALL 1201option should be used rather than this in most cases. 1202.Pp 1203This is a default setting on 1204arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64. 1205.It Va WITH_LLVM_TARGET_POWERPC 1206Set to build LLVM target support for PowerPC. 1207The 1208.Va LLVM_TARGET_ALL 1209option should be used rather than this in most cases. 1210.Pp 1211This is a default setting on 1212amd64/amd64, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 1213.It Va WITHOUT_LLVM_TARGET_SPARC 1214Set to not build LLVM target support for SPARC. 1215The 1216.Va LLVM_TARGET_ALL 1217option should be used rather than this in most cases. 1218.Pp 1219This is a default setting on 1220arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64. 1221.It Va WITH_LLVM_TARGET_SPARC 1222Set to build LLVM target support for SPARC. 1223The 1224.Va LLVM_TARGET_ALL 1225option should be used rather than this in most cases. 1226.Pp 1227This is a default setting on 1228amd64/amd64, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 1229.It Va WITHOUT_LLVM_TARGET_X86 1230Set to not build LLVM target support for X86. 1231The 1232.Va LLVM_TARGET_ALL 1233option should be used rather than this in most cases. 1234.Pp 1235This is a default setting on 1236arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64. 1237.It Va WITH_LLVM_TARGET_X86 1238Set to build LLVM target support for X86. 1239The 1240.Va LLVM_TARGET_ALL 1241option should be used rather than this in most cases. 1242.Pp 1243This is a default setting on 1244amd64/amd64, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64 and powerpc/powerpcspe. 1245.It Va WITH_LOADER_EFI_SECUREBOOT 1246Enable building 1247.Xr loader 8 1248with support for verification based on certificates obtained from UEFI. 1249.Pp 1250.It Va WITH_LOADER_FIREWIRE 1251Enable firewire support in /boot/loader on x86. This option is a nop 1252on all other platforms. 1253.It Va WITH_LOADER_FORCE_LE 1254Set to force the powerpc boot loader to launch the kernel in little 1255endian mode. 1256.It Va WITHOUT_LOADER_GELI 1257Disable inclusion of GELI crypto support in the boot chain binaries. 1258.Pp 1259This is a default setting on 1260powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 1261.It Va WITH_LOADER_GELI 1262Set to build GELI bootloader support. 1263.Pp 1264This is a default setting on 1265amd64/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. 1266.It Va WITHOUT_LOADER_LUA 1267Set to not build LUA bindings for the boot loader. 1268.Pp 1269This is a default setting on 1270powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 1271.It Va WITH_LOADER_LUA 1272Set to build LUA bindings for the boot loader. 1273.Pp 1274This is a default setting on 1275amd64/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. 1276.It Va WITHOUT_LOADER_OFW 1277Disable building of openfirmware bootloader components. 1278.Pp 1279This is a default setting on 1280amd64/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. 1281.It Va WITH_LOADER_OFW 1282Set to build openfirmware bootloader components. 1283.Pp 1284This is a default setting on 1285powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64. 1286.It Va WITHOUT_LOADER_UBOOT 1287Disable building of ubldr. 1288.Pp 1289This is a default setting on 1290amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and sparc64/sparc64. 1291.It Va WITH_LOADER_UBOOT 1292Set to build ubldr. 1293.Pp 1294This is a default setting on 1295arm/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. 1296.It Va WITH_LOADER_VERBOSE 1297Set to build with extra verbose debugging in the loader. 1298May explode already nearly too large loader over the limit. 1299Use with care. 1300 1301.It Va WITH_LOADER_VERIEXEC 1302Enable building 1303.Xr loader 8 1304with support for verifcation similar to Verified Exec. 1305.Pp 1306It depends on 1307.Va WITH_BEARSSL 1308When set, these options are also in effect: 1309.Pp 1310.Bl -inset -compact 1311.It Va WITH_LOADER_EFI_SECUREBOOT 1312(unless 1313.Va WITHOUT_LOADER_EFI_SECUREBOOT 1314is set explicitly) 1315.El 1316.It Va WITHOUT_LOADER_ZFS 1317Set to not build ZFS file system boot loader support. 1318.It Va WITHOUT_LOCALES 1319Set to not build localization files; see 1320.Xr locale 1 . 1321.It Va WITHOUT_LOCATE 1322Set to not build 1323.Xr locate 1 1324and related programs. 1325.It Va WITHOUT_LPR 1326Set to not build 1327.Xr lpr 1 1328and related programs. 1329.It Va WITHOUT_LS_COLORS 1330Set to build 1331.Xr ls 1 1332without support for colors to distinguish file types. 1333.It Va WITHOUT_LZMA_SUPPORT 1334Set to build some programs without optional lzma compression support. 1335.It Va WITHOUT_MAIL 1336Set to not build any mail support (MUA or MTA). 1337When set, it enforces these options: 1338.Pp 1339.Bl -item -compact 1340.It 1341.Va WITHOUT_DMAGENT 1342.It 1343.Va WITHOUT_MAILWRAPPER 1344.It 1345.Va WITHOUT_SENDMAIL 1346.El 1347.It Va WITHOUT_MAILWRAPPER 1348Set to not build the 1349.Xr mailwrapper 8 1350MTA selector. 1351.It Va WITHOUT_MAKE 1352Set to not install 1353.Xr make 1 1354and related support files. 1355.It Va WITHOUT_MAKE_CHECK_USE_SANDBOX 1356Set to not execute 1357.Dq Li "make check" 1358in limited sandbox mode. 1359This option should be paired with 1360.Va WITH_INSTALL_AS_USER 1361if executed as an unprivileged user. 1362See 1363.Xr tests 7 1364for more details. 1365.It Va WITHOUT_MAN 1366Set to not build manual pages. 1367When set, these options are also in effect: 1368.Pp 1369.Bl -inset -compact 1370.It Va WITHOUT_MAN_UTILS 1371(unless 1372.Va WITH_MAN_UTILS 1373is set explicitly) 1374.El 1375.It Va WITHOUT_MANCOMPRESS 1376Set to not to install compressed man pages. 1377Only the uncompressed versions will be installed. 1378.It Va WITHOUT_MAN_UTILS 1379Set to not build utilities for manual pages, 1380.Xr apropos 1 , 1381.Xr makewhatis 1 , 1382.Xr man 1 , 1383.Xr whatis 1 , 1384.Xr manctl 8 , 1385and related support files. 1386.It Va WITH_META_MODE 1387Create 1388.Xr make 1 1389meta files when building, which can provide a reliable incremental build when 1390using 1391.Xr filemon 4 . 1392The meta file is created in OBJDIR as 1393.Pa target.meta . 1394These meta files track the command that was executed, its output, and the 1395current directory. 1396The 1397.Xr filemon 4 1398module is required unless 1399.Va NO_FILEMON 1400is defined. 1401When the module is loaded, any files used by the commands executed are 1402tracked as dependencies for the target in its meta file. 1403The target is considered out-of-date and rebuilt if any of these 1404conditions are true compared to the last build: 1405.Bl -bullet -compact 1406.It 1407The command to execute changes. 1408.It 1409The current working directory changes. 1410.It 1411The target's meta file is missing. 1412.It 1413The target's meta file is missing filemon data when filemon is loaded 1414and a previous run did not have it loaded. 1415.It 1416[requires 1417.Xr filemon 4 ] 1418Files read, executed or linked to are newer than the target. 1419.It 1420[requires 1421.Xr filemon 4 ] 1422Files read, written, executed or linked are missing. 1423.El 1424The meta files can also be useful for debugging. 1425.Pp 1426The build hides commands that are executed unless 1427.Va NO_SILENT 1428is defined. 1429Errors cause 1430.Xr make 1 1431to show some of its environment for further debugging. 1432.Pp 1433The build operates as it normally would otherwise. 1434This option originally invoked a different build system but that was renamed 1435to 1436.Va WITH_DIRDEPS_BUILD . 1437.Pp 1438This must be set in the environment, make command line, or 1439.Pa /etc/src-env.conf , 1440not 1441.Pa /etc/src.conf . 1442.It Va WITHOUT_MLX5TOOL 1443Set to not build 1444.Xr mlx5tool 8 1445.Pp 1446This is a default setting on 1447arm/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. 1448.It Va WITH_MLX5TOOL 1449Set to build 1450.Xr mlx5tool 8 1451.Pp 1452This is a default setting on 1453amd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64. 1454.It Va WITH_NAND 1455Set to build the NAND Flash components. 1456.It Va WITHOUT_NDIS 1457Set to not build programs and libraries 1458related to NDIS emulation support. 1459.It Va WITHOUT_NETCAT 1460Set to not build 1461.Xr nc 1 1462utility. 1463.It Va WITHOUT_NETGRAPH 1464Set to not build applications to support 1465.Xr netgraph 4 . 1466When set, it enforces these options: 1467.Pp 1468.Bl -item -compact 1469.It 1470.Va WITHOUT_ATM 1471.It 1472.Va WITHOUT_BLUETOOTH 1473.El 1474.Pp 1475When set, these options are also in effect: 1476.Pp 1477.Bl -inset -compact 1478.It Va WITHOUT_NETGRAPH_SUPPORT 1479(unless 1480.Va WITH_NETGRAPH_SUPPORT 1481is set explicitly) 1482.El 1483.It Va WITHOUT_NETGRAPH_SUPPORT 1484Set to build libraries, programs, and kernel modules without netgraph support. 1485.It Va WITHOUT_NIS 1486Set to not build 1487.Xr NIS 8 1488support and related programs. 1489If set, you might need to adopt your 1490.Xr nsswitch.conf 5 1491and remove 1492.Sq nis 1493entries. 1494.It Va WITHOUT_NLS 1495Set to not build NLS catalogs. 1496When set, it enforces these options: 1497.Pp 1498.Bl -item -compact 1499.It 1500.Va WITHOUT_NLS_CATALOGS 1501.El 1502.It Va WITHOUT_NLS_CATALOGS 1503Set to not build NLS catalog support for 1504.Xr csh 1 . 1505.It Va WITHOUT_NS_CACHING 1506Set to disable name caching in the 1507.Pa nsswitch 1508subsystem. 1509The generic caching daemon, 1510.Xr nscd 8 , 1511will not be built either if this option is set. 1512.It Va WITHOUT_NTP 1513Set to not build 1514.Xr ntpd 8 1515and related programs. 1516.It Va WITHOUT_NVME 1517Set to not build nvme related tools and kernel modules. 1518.Pp 1519This is a default setting on 1520arm/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. 1521.It Va WITH_NVME 1522Set to build nvme related tools and kernel modules. 1523 1524.Pp 1525This is a default setting on 1526amd64/amd64, i386/i386 and powerpc/powerpc64. 1527.It Va WITH_OFED 1528Set to build the 1529.Dq "OpenFabrics Enterprise Distribution" 1530Infiniband software stack. 1531.It Va WITH_OFED_EXTRA 1532Set to build the non-essential components of the 1533.Dq "OpenFabrics Enterprise Distribution" 1534Infiniband software stack, mostly examples. 1535.It Va WITH_OPENLDAP 1536Enable building openldap support for kerberos. 1537.It Va WITHOUT_OPENMP 1538Set to not build LLVM's OpenMP runtime. 1539.Pp 1540This is a default setting on 1541arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf, mips/mips64hf, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 1542.It Va WITH_OPENMP 1543Set to build LLVM's OpenMP runtime. 1544.Pp 1545This is a default setting on 1546amd64/amd64. 1547.It Va WITHOUT_OPENSSH 1548Set to not build OpenSSH. 1549.It Va WITHOUT_OPENSSL 1550Set to not build OpenSSL. 1551When set, it enforces these options: 1552.Pp 1553.Bl -item -compact 1554.It 1555.Va WITHOUT_KERBEROS 1556.It 1557.Va WITHOUT_OPENSSH 1558.El 1559.Pp 1560When set, these options are also in effect: 1561.Pp 1562.Bl -inset -compact 1563.It Va WITHOUT_GSSAPI 1564(unless 1565.Va WITH_GSSAPI 1566is set explicitly) 1567.El 1568.It Va WITHOUT_PAM 1569Set to not build PAM library and modules. 1570.Bf -symbolic 1571This option is deprecated and does nothing. 1572.Ef 1573When set, these options are also in effect: 1574.Pp 1575.Bl -inset -compact 1576.It Va WITHOUT_PAM_SUPPORT 1577(unless 1578.Va WITH_PAM_SUPPORT 1579is set explicitly) 1580.El 1581.It Va WITHOUT_PAM_SUPPORT 1582Set to build some programs without PAM support, particularly 1583.Xr ftpd 8 1584and 1585.Xr ppp 8 . 1586.It Va WITHOUT_PC_SYSINSTALL 1587Set to not build 1588.Xr pc-sysinstall 8 1589and related programs. 1590.It Va WITHOUT_PF 1591Set to not build PF firewall package. 1592When set, it enforces these options: 1593.Pp 1594.Bl -item -compact 1595.It 1596.Va WITHOUT_AUTHPF 1597.El 1598.It Va WITH_PIE 1599Build dynamically linked binaries as 1600Position-Independent Executable (PIE). 1601.It Va WITHOUT_PKGBOOTSTRAP 1602Set to not build 1603.Xr pkg 7 1604bootstrap tool. 1605.It Va WITHOUT_PMC 1606Set to not build 1607.Xr pmccontrol 8 1608and related programs. 1609.It Va WITHOUT_PORTSNAP 1610Set to not build or install 1611.Xr portsnap 8 1612and related files. 1613When set, it enforces these options: 1614.Pp 1615.Bl -item -compact 1616.It 1617.Va WITHOUT_FREEBSD_UPDATE 1618.El 1619.It Va WITHOUT_PPP 1620Set to not build 1621.Xr ppp 8 1622and related programs. 1623.It Va WITHOUT_PROFILE 1624Set to not build profiled libraries for use with 1625.Xr gprof 8 . 1626.Pp 1627This is a default setting on 1628mips/mips64el, mips/mips64, mips/mips64elhf and mips/mips64hf. 1629.It Va WITH_PROFILE 1630Set to build profiled libraries for use with 1631.Xr gprof 8 . 1632.Pp 1633This is a default setting on 1634amd64/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. 1635.It Va WITHOUT_QUOTAS 1636Set to not build 1637.Xr quota 1 1638and related programs. 1639.It Va WITHOUT_RADIUS_SUPPORT 1640Set to not build radius support into various applications, like 1641.Xr pam_radius 8 1642and 1643.Xr ppp 8 . 1644.It Va WITH_RATELIMIT 1645Set to build the system with rate limit support. 1646.Pp 1647This makes 1648.Dv SO_MAX_PACING_RATE 1649effective in 1650.Xr getsockopt 2 , 1651and 1652.Ar txrlimit 1653support in 1654.Xr ifconfig 8 , 1655by proxy. 1656.It Va WITHOUT_RBOOTD 1657Set to not build or install 1658.Xr rbootd 8 . 1659.It Va WITHOUT_REPRODUCIBLE_BUILD 1660Set to include build metadata (such as the build time, user, and host) 1661in the kernel, boot loaders, and uname output. 1662Successive builds will not be bit-for-bit identical. 1663.It Va WITHOUT_RESCUE 1664Set to not build 1665.Xr rescue 8 . 1666.It Va WITH_RETPOLINE 1667Set to build the base system with the retpoline speculative execution 1668vulnerability mitigation for CVE-2017-5715. 1669.It Va WITHOUT_ROUTED 1670Set to not build 1671.Xr routed 8 1672utility. 1673.It Va WITH_RPCBIND_WARMSTART_SUPPORT 1674Set to build 1675.Xr rpcbind 8 1676with warmstart support. 1677.It Va WITHOUT_SENDMAIL 1678Set to not build 1679.Xr sendmail 8 1680and related programs. 1681.It Va WITHOUT_SERVICESDB 1682Set to not install 1683.Pa /var/db/services.db . 1684.It Va WITHOUT_SETUID_LOGIN 1685Set this to disable the installation of 1686.Xr login 1 1687as a set-user-ID root program. 1688.It Va WITHOUT_SHAREDOCS 1689Set to not build the 1690.Bx 4.4 1691legacy docs. 1692.It Va WITH_SHARED_TOOLCHAIN 1693Set to build the toolchain binaries shared. 1694The set includes 1695.Xr cc 1 , 1696.Xr make 1 1697and necessary utilities like assembler, linker and library archive manager. 1698.It Va WITH_SORT_THREADS 1699Set to enable threads in 1700.Xr sort 1 . 1701.It Va WITHOUT_SOURCELESS 1702Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU). 1703When set, it enforces these options: 1704.Pp 1705.Bl -item -compact 1706.It 1707.Va WITHOUT_SOURCELESS_HOST 1708.It 1709.Va WITHOUT_SOURCELESS_UCODE 1710.El 1711.It Va WITHOUT_SOURCELESS_HOST 1712Set to not build kernel modules that include sourceless native code for host CPU. 1713.It Va WITHOUT_SOURCELESS_UCODE 1714Set to not build kernel modules that include sourceless microcode. 1715.It Va WITHOUT_SSP 1716Set to not build world with propolice stack smashing protection. 1717.Pp 1718This is a default setting on 1719mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf. 1720.It Va WITH_SSP 1721Set to build world with propolice stack smashing protection. 1722.Pp 1723This is a default setting on 1724amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64. 1725.It Va WITH_STAGING 1726Enable staging of files to a stage tree. 1727This can be best thought of as auto-install to 1728.Va DESTDIR 1729with some extra meta data to ensure dependencies can be tracked. 1730Depends on 1731.Va WITH_DIRDEPS_BUILD . 1732When set, these options are also in effect: 1733.Pp 1734.Bl -inset -compact 1735.It Va WITH_STAGING_MAN 1736(unless 1737.Va WITHOUT_STAGING_MAN 1738is set explicitly) 1739.It Va WITH_STAGING_PROG 1740(unless 1741.Va WITHOUT_STAGING_PROG 1742is set explicitly) 1743.El 1744.Pp 1745This must be set in the environment, make command line, or 1746.Pa /etc/src-env.conf , 1747not 1748.Pa /etc/src.conf . 1749.It Va WITH_STAGING_MAN 1750Enable staging of man pages to stage tree. 1751.It Va WITH_STAGING_PROG 1752Enable staging of PROGs to stage tree. 1753.It Va WITH_STALE_STAGED 1754Check staged files are not stale. 1755.It Va WITH_SVN 1756Set to install 1757.Xr svnlite 1 1758as 1759.Xr svn 1 . 1760.It Va WITHOUT_SVNLITE 1761Set to not build 1762.Xr svnlite 1 1763and related programs. 1764.It Va WITHOUT_SYMVER 1765Set to disable symbol versioning when building shared libraries. 1766.It Va WITHOUT_SYSCONS 1767Set to not build 1768.Xr syscons 4 1769support files such as keyboard maps, fonts, and screen output maps. 1770.It Va WITH_SYSROOT 1771Enable use of sysroot during build. 1772Depends on 1773.Va WITH_DIRDEPS_BUILD . 1774.Pp 1775This must be set in the environment, make command line, or 1776.Pa /etc/src-env.conf , 1777not 1778.Pa /etc/src.conf . 1779.It Va WITHOUT_SYSTEM_COMPILER 1780Set to not opportunistically skip building a cross-compiler during the 1781bootstrap phase of the build. 1782Normally, if the currently installed compiler matches the planned bootstrap 1783compiler type and revision, then it will not be built. 1784This does not prevent a compiler from being built for installation though, 1785only for building one for the build itself. 1786The 1787.Va WITHOUT_CLANG 1788and 1789.Va WITHOUT_GCC 1790options control those. 1791.It Va WITHOUT_SYSTEM_LINKER 1792Set to not opportunistically skip building a cross-linker during the 1793bootstrap phase of the build. 1794Normally, if the currently installed linker matches the planned bootstrap 1795linker type and revision, then it will not be built. 1796This does not prevent a linker from being built for installation though, 1797only for building one for the build itself. 1798The 1799.Va WITHOUT_LLD 1800and 1801.Va WITHOUT_BINUTILS 1802options control those. 1803.Pp 1804This option is only relevant when 1805.Va WITH_LLD_BOOTSTRAP 1806is set. 1807.It Va WITHOUT_TALK 1808Set to not build or install 1809.Xr talk 1 1810and 1811.Xr talkd 8 . 1812.It Va WITHOUT_TCP_WRAPPERS 1813Set to not build or install 1814.Xr tcpd 8 , 1815and related utilities. 1816.It Va WITHOUT_TCSH 1817Set to not build and install 1818.Pa /bin/csh 1819(which is 1820.Xr tcsh 1 ) . 1821.It Va WITHOUT_TELNET 1822Set to not build 1823.Xr telnet 1 1824and related programs. 1825.It Va WITHOUT_TESTS 1826Set to not build nor install the 1827.Fx 1828Test Suite in 1829.Pa /usr/tests/ . 1830See 1831.Xr tests 7 1832for more details. 1833This also disables the build of all test-related dependencies, including ATF. 1834When set, it enforces these options: 1835.Pp 1836.Bl -item -compact 1837.It 1838.Va WITHOUT_DTRACE_TESTS 1839.El 1840.Pp 1841When set, these options are also in effect: 1842.Pp 1843.Bl -inset -compact 1844.It Va WITHOUT_GOOGLETEST 1845(unless 1846.Va WITH_GOOGLETEST 1847is set explicitly) 1848.It Va WITHOUT_TESTS_SUPPORT 1849(unless 1850.Va WITH_TESTS_SUPPORT 1851is set explicitly) 1852.El 1853.It Va WITHOUT_TESTS_SUPPORT 1854Set to disables the build of all test-related dependencies, including ATF. 1855When set, it enforces these options: 1856.Pp 1857.Bl -item -compact 1858.It 1859.Va WITHOUT_GOOGLETEST 1860.El 1861.It Va WITHOUT_TEXTPROC 1862Set to not build 1863programs used for text processing. 1864.It Va WITHOUT_TFTP 1865Set to not build or install 1866.Xr tftp 1 1867and 1868.Xr tftpd 8 . 1869.It Va WITHOUT_TOOLCHAIN 1870Set to not install header or 1871programs used for program development, 1872compilers, debuggers etc. 1873When set, it enforces these options: 1874.Pp 1875.Bl -item -compact 1876.It 1877.Va WITHOUT_BINUTILS 1878.It 1879.Va WITHOUT_CLANG 1880.It 1881.Va WITHOUT_CLANG_EXTRAS 1882.It 1883.Va WITHOUT_CLANG_FULL 1884.It 1885.Va WITHOUT_GCC 1886.It 1887.Va WITHOUT_GDB 1888.It 1889.Va WITHOUT_INCLUDES 1890.It 1891.Va WITHOUT_LLD 1892.It 1893.Va WITHOUT_LLDB 1894.It 1895.Va WITHOUT_LLVM_COV 1896.El 1897.It Va WITHOUT_UNBOUND 1898Set to not build 1899.Xr unbound 8 1900and related programs. 1901.It Va WITHOUT_UNIFIED_OBJDIR 1902Set to use the historical object directory format for 1903.Xr build 7 1904targets. 1905For native-builds and builds done directly in sub-directories the format of 1906.Pa ${MAKEOBJDIRPREFIX}/${.CURDIR} 1907is used, 1908while for cross-builds 1909.Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR} 1910is used. 1911.Pp 1912This option is transitional and will be removed before the 12.0 release, 1913at which time 1914.va WITH_UNIFIED_OBJDIR 1915will be enabled permanently. 1916.Pp 1917This must be set in the environment, make command line, or 1918.Pa /etc/src-env.conf , 1919not 1920.Pa /etc/src.conf . 1921.It Va WITHOUT_USB 1922Set to not build USB-related programs and libraries. 1923.It Va WITHOUT_USB_GADGET_EXAMPLES 1924Set to not build USB gadget kernel modules. 1925.It Va WITHOUT_UTMPX 1926Set to not build user accounting tools such as 1927.Xr last 1 , 1928.Xr users 1 , 1929.Xr who 1 , 1930.Xr ac 8 , 1931.Xr lastlogin 8 1932and 1933.Xr utx 8 . 1934.It Va WITH_VERIEXEC 1935Enable building 1936.Xr veriexec 8 1937which loads the contents of verified manifests into the kernel 1938for use by 1939.Xr mac_veriexec 4 1940.Pp 1941It depends on 1942.Va WITH_BEARSSL 1943.It Va WITHOUT_VI 1944Set to not build and install vi, view, ex and related programs. 1945.It Va WITHOUT_VT 1946Set to not build 1947.Xr vt 4 1948support files (fonts and keymaps). 1949.It Va WITHOUT_WARNS 1950Set this to not add warning flags to the compiler invocations. 1951Useful as a temporary workaround when code enters the tree 1952which triggers warnings in environments that differ from the 1953original developer. 1954.It Va WITHOUT_WIRELESS 1955Set to not build programs used for 802.11 wireless networks; especially 1956.Xr wpa_supplicant 8 1957and 1958.Xr hostapd 8 . 1959When set, these options are also in effect: 1960.Pp 1961.Bl -inset -compact 1962.It Va WITHOUT_WIRELESS_SUPPORT 1963(unless 1964.Va WITH_WIRELESS_SUPPORT 1965is set explicitly) 1966.El 1967.It Va WITHOUT_WIRELESS_SUPPORT 1968Set to build libraries, programs, and kernel modules without 1969802.11 wireless support. 1970.It Va WITHOUT_WPA_SUPPLICANT_EAPOL 1971Build 1972.Xr wpa_supplicant 8 1973without support for the IEEE 802.1X protocol and without 1974support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS 1975protocols (usable only via 802.1X). 1976.It Va WITHOUT_ZFS 1977Set to not build ZFS file system kernel module, libraries, and user commands. 1978.It Va WITHOUT_ZONEINFO 1979Set to not build the timezone database. 1980When set, it enforces these options: 1981.Pp 1982.Bl -item -compact 1983.It 1984.Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT 1985.It 1986.Va WITHOUT_ZONEINFO_OLD_TIMEZONES_SUPPORT 1987.El 1988.It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT 1989Set to build leapsecond information in to the timezone database. 1990.It Va WITH_ZONEINFO_OLD_TIMEZONES_SUPPORT 1991Set to build backward compatibility timezone aliases in to the timezone 1992database. 1993.El 1994.Sh FILES 1995.Bl -tag -compact -width Pa 1996.It Pa /etc/src.conf 1997.It Pa /etc/src-env.conf 1998.It Pa /usr/share/mk/bsd.own.mk 1999.El 2000.Sh SEE ALSO 2001.Xr make 1 , 2002.Xr make.conf 5 , 2003.Xr build 7 , 2004.Xr ports 7 2005.Sh HISTORY 2006The 2007.Nm 2008file appeared in 2009.Fx 7.0 . 2010.Sh AUTHORS 2011This manual page was autogenerated by 2012.An tools/build/options/makeman . 2013