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