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