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