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