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