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