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