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