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