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