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