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