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