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