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