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