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