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