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