]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man5/src.conf.5
MFC r339524 (by imp):
[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 October 21, 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 WITH_LOADER_FORCE_LE
1256 Set to force the powerpc boot loader to launch the kernel in little
1257 endian mode.
1258 .It Va WITHOUT_LOADER_GELI
1259 Disable inclusion of GELI crypto support in the boot chain binaries.
1260 .Pp
1261 This is a default setting on
1262 powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1263 .It Va WITH_LOADER_GELI
1264 Set to build GELI bootloader support.
1265 .Pp
1266 This is a default setting on
1267 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.
1268 .It Va WITHOUT_LOADER_LUA
1269 Set to not build LUA bindings for the boot loader.
1270 .Pp
1271 This is a default setting on
1272 powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1273 .It Va WITH_LOADER_LUA
1274 Set to build LUA bindings for the boot loader.
1275 .Pp
1276 This is a default setting on
1277 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.
1278 .It Va WITHOUT_LOADER_OFW
1279 Disable building of openfirmware bootloader components.
1280 .Pp
1281 This is a default setting on
1282 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.
1283 .It Va WITH_LOADER_OFW
1284 Set to build openfirmware bootloader components.
1285 .Pp
1286 This is a default setting on
1287 powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1288 .It Va WITHOUT_LOADER_UBOOT
1289 Disable building of ubldr.
1290 .Pp
1291 This is a default setting on
1292 amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and sparc64/sparc64.
1293 .It Va WITH_LOADER_UBOOT
1294 Set to build ubldr.
1295 .Pp
1296 This is a default setting on
1297 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.
1298 .It Va WITH_LOADER_VERIEXEC
1299 Enable building
1300 .Xr loader 8
1301 with support for verification similar to Verified Exec.
1302 .Pp
1303 Depends on
1304 .Va WITH_BEARSSL .
1305 When set, these options are also in effect:
1306 .Pp
1307 .Bl -inset -compact
1308 .It Va WITH_LOADER_EFI_SECUREBOOT
1309 (unless
1310 .Va WITHOUT_LOADER_EFI_SECUREBOOT
1311 is set explicitly)
1312 .El
1313 .It Va WITH_LOADER_VERIEXEC_PASS_MANIFEST
1314 Enable building
1315 .Xr loader 8
1316 with support to pass a verified manifest to the kernel.
1317 The kernel has to be built with a module to parse the manifest.
1318 .Pp
1319 Depends on
1320 .Va WITH_LOADER_VERIEXEC .
1321 .It Va WITHOUT_LOADER_ZFS
1322 Set to not build ZFS file system boot loader support.
1323 .It Va WITHOUT_LOCALES
1324 Set to not build localization files; see
1325 .Xr locale 1 .
1326 .It Va WITHOUT_LOCATE
1327 Set to not build
1328 .Xr locate 1
1329 and related programs.
1330 .It Va WITHOUT_LPR
1331 Set to not build
1332 .Xr lpr 1
1333 and related programs.
1334 .It Va WITHOUT_LS_COLORS
1335 Set to build
1336 .Xr ls 1
1337 without support for colors to distinguish file types.
1338 .It Va WITHOUT_LZMA_SUPPORT
1339 Set to build some programs without optional lzma compression support.
1340 .It Va WITHOUT_MAIL
1341 Set to not build any mail support (MUA or MTA).
1342 When set, it enforces these options:
1343 .Pp
1344 .Bl -item -compact
1345 .It
1346 .Va WITHOUT_DMAGENT
1347 .It
1348 .Va WITHOUT_MAILWRAPPER
1349 .It
1350 .Va WITHOUT_SENDMAIL
1351 .El
1352 .It Va WITHOUT_MAILWRAPPER
1353 Set to not build the
1354 .Xr mailwrapper 8
1355 MTA selector.
1356 .It Va WITHOUT_MAKE
1357 Set to not install
1358 .Xr make 1
1359 and related support files.
1360 .It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
1361 Set to not execute
1362 .Dq Li "make check"
1363 in limited sandbox mode.
1364 This option should be paired with
1365 .Va WITH_INSTALL_AS_USER
1366 if executed as an unprivileged user.
1367 See
1368 .Xr tests 7
1369 for more details.
1370 .It Va WITHOUT_MAN
1371 Set to not build manual pages.
1372 When set, these options are also in effect:
1373 .Pp
1374 .Bl -inset -compact
1375 .It Va WITHOUT_MAN_UTILS
1376 (unless
1377 .Va WITH_MAN_UTILS
1378 is set explicitly)
1379 .El
1380 .It Va WITHOUT_MANCOMPRESS
1381 Set to not to install compressed man pages.
1382 Only the uncompressed versions will be installed.
1383 .It Va WITHOUT_MAN_UTILS
1384 Set to not build utilities for manual pages,
1385 .Xr apropos 1 ,
1386 .Xr makewhatis 1 ,
1387 .Xr man 1 ,
1388 .Xr whatis 1 ,
1389 .Xr manctl 8 ,
1390 and related support files.
1391 .It Va WITH_META_MODE
1392 Create
1393 .Xr make 1
1394 meta files when building, which can provide a reliable incremental build when
1395 using
1396 .Xr filemon 4 .
1397 The meta file is created in OBJDIR as
1398 .Pa target.meta .
1399 These meta files track the command that was executed, its output, and the
1400 current directory.
1401 The
1402 .Xr filemon 4
1403 module is required unless
1404 .Va NO_FILEMON
1405 is defined.
1406 When the module is loaded, any files used by the commands executed are
1407 tracked as dependencies for the target in its meta file.
1408 The target is considered out-of-date and rebuilt if any of these
1409 conditions are true compared to the last build:
1410 .Bl -bullet -compact
1411 .It
1412 The command to execute changes.
1413 .It
1414 The current working directory changes.
1415 .It
1416 The target's meta file is missing.
1417 .It
1418 The target's meta file is missing filemon data when filemon is loaded
1419 and a previous run did not have it loaded.
1420 .It
1421 [requires
1422 .Xr filemon 4 ]
1423 Files read, executed or linked to are newer than the target.
1424 .It
1425 [requires
1426 .Xr filemon 4 ]
1427 Files read, written, executed or linked are missing.
1428 .El
1429 The meta files can also be useful for debugging.
1430 .Pp
1431 The build hides commands that are executed unless
1432 .Va NO_SILENT
1433 is defined.
1434 Errors cause
1435 .Xr make 1
1436 to show some of its environment for further debugging.
1437 .Pp
1438 The build operates as it normally would otherwise.
1439 This option originally invoked a different build system but that was renamed
1440 to
1441 .Va WITH_DIRDEPS_BUILD .
1442 .Pp
1443 This must be set in the environment, make command line, or
1444 .Pa /etc/src-env.conf ,
1445 not
1446 .Pa /etc/src.conf .
1447 .It Va WITHOUT_MLX5TOOL
1448 Set to not build
1449 .Xr mlx5tool 8
1450 .Pp
1451 This is a default setting on
1452 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.
1453 .It Va WITH_MLX5TOOL
1454 Set to build
1455 .Xr mlx5tool 8
1456 .Pp
1457 This is a default setting on
1458 amd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64.
1459 .It Va WITHOUT_MODULE_DRM
1460 Disable creation of old drm video modules.
1461
1462 .It Va WITHOUT_MODULE_DRM2
1463 Disable creation of old drm2 video modules.
1464 .It Va WITH_NAND
1465 Set to build the NAND Flash components.
1466 .It Va WITHOUT_NDIS
1467 Set to not build programs and libraries
1468 related to NDIS emulation support.
1469 .It Va WITHOUT_NETCAT
1470 Set to not build
1471 .Xr nc 1
1472 utility.
1473 .It Va WITHOUT_NETGRAPH
1474 Set to not build applications to support
1475 .Xr netgraph 4 .
1476 When set, it enforces these options:
1477 .Pp
1478 .Bl -item -compact
1479 .It
1480 .Va WITHOUT_ATM
1481 .It
1482 .Va WITHOUT_BLUETOOTH
1483 .El
1484 .Pp
1485 When set, these options are also in effect:
1486 .Pp
1487 .Bl -inset -compact
1488 .It Va WITHOUT_NETGRAPH_SUPPORT
1489 (unless
1490 .Va WITH_NETGRAPH_SUPPORT
1491 is set explicitly)
1492 .El
1493 .It Va WITHOUT_NETGRAPH_SUPPORT
1494 Set to build libraries, programs, and kernel modules without netgraph support.
1495 .It Va WITHOUT_NIS
1496 Set to not build
1497 .Xr NIS 8
1498 support and related programs.
1499 If set, you might need to adopt your
1500 .Xr nsswitch.conf 5
1501 and remove
1502 .Sq nis
1503 entries.
1504 .It Va WITHOUT_NLS
1505 Set to not build NLS catalogs.
1506 When set, it enforces these options:
1507 .Pp
1508 .Bl -item -compact
1509 .It
1510 .Va WITHOUT_NLS_CATALOGS
1511 .El
1512 .It Va WITHOUT_NLS_CATALOGS
1513 Set to not build NLS catalog support for
1514 .Xr csh 1 .
1515 .It Va WITHOUT_NS_CACHING
1516 Set to disable name caching in the
1517 .Pa nsswitch
1518 subsystem.
1519 The generic caching daemon,
1520 .Xr nscd 8 ,
1521 will not be built either if this option is set.
1522 .It Va WITHOUT_NTP
1523 Set to not build
1524 .Xr ntpd 8
1525 and related programs.
1526 .It Va WITHOUT_NVME
1527 Set to not build nvme related tools and kernel modules.
1528 .Pp
1529 This is a default setting on
1530 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.
1531 .It Va WITH_NVME
1532 Set to build nvme related tools and kernel modules.
1533
1534 .Pp
1535 This is a default setting on
1536 amd64/amd64, i386/i386 and powerpc/powerpc64.
1537 .It Va WITH_OFED
1538 Set to build the
1539 .Dq "OpenFabrics Enterprise Distribution"
1540 Infiniband software stack.
1541 .It Va WITH_OFED_EXTRA
1542 Set to build the non-essential components of the
1543 .Dq "OpenFabrics Enterprise Distribution"
1544 Infiniband software stack, mostly examples.
1545 .It Va WITH_OPENLDAP
1546 Enable building openldap support for kerberos.
1547 .It Va WITHOUT_OPENMP
1548 Set to not build LLVM's OpenMP runtime.
1549 .Pp
1550 This is a default setting on
1551 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.
1552 .It Va WITH_OPENMP
1553 Set to build LLVM's OpenMP runtime.
1554 .Pp
1555 This is a default setting on
1556 amd64/amd64 and i386/i386.
1557 .It Va WITHOUT_OPENSSH
1558 Set to not build OpenSSH.
1559 .It Va WITHOUT_OPENSSL
1560 Set to not build OpenSSL.
1561 When set, it enforces these options:
1562 .Pp
1563 .Bl -item -compact
1564 .It
1565 .Va WITHOUT_KERBEROS
1566 .It
1567 .Va WITHOUT_OPENSSH
1568 .El
1569 .Pp
1570 When set, these options are also in effect:
1571 .Pp
1572 .Bl -inset -compact
1573 .It Va WITHOUT_GSSAPI
1574 (unless
1575 .Va WITH_GSSAPI
1576 is set explicitly)
1577 .El
1578 .It Va WITHOUT_PAM
1579 Set to not build PAM library and modules.
1580 .Bf -symbolic
1581 This option is deprecated and does nothing.
1582 .Ef
1583 When set, these options are also in effect:
1584 .Pp
1585 .Bl -inset -compact
1586 .It Va WITHOUT_PAM_SUPPORT
1587 (unless
1588 .Va WITH_PAM_SUPPORT
1589 is set explicitly)
1590 .El
1591 .It Va WITHOUT_PAM_SUPPORT
1592 Set to build some programs without PAM support, particularly
1593 .Xr ftpd 8
1594 and
1595 .Xr ppp 8 .
1596 .It Va WITHOUT_PC_SYSINSTALL
1597 Set to not build
1598 .Xr pc-sysinstall 8
1599 and related programs.
1600 .It Va WITHOUT_PF
1601 Set to not build PF firewall package.
1602 When set, it enforces these options:
1603 .Pp
1604 .Bl -item -compact
1605 .It
1606 .Va WITHOUT_AUTHPF
1607 .El
1608 .It Va WITH_PIE
1609 Build dynamically linked binaries as
1610 Position-Independent Executable (PIE).
1611 .It Va WITHOUT_PKGBOOTSTRAP
1612 Set to not build
1613 .Xr pkg 7
1614 bootstrap tool.
1615 .It Va WITHOUT_PMC
1616 Set to not build
1617 .Xr pmccontrol 8
1618 and related programs.
1619 .It Va WITHOUT_PORTSNAP
1620 Set to not build or install
1621 .Xr portsnap 8
1622 and related files.
1623 When set, it enforces these options:
1624 .Pp
1625 .Bl -item -compact
1626 .It
1627 .Va WITHOUT_FREEBSD_UPDATE
1628 .El
1629 .It Va WITHOUT_PPP
1630 Set to not build
1631 .Xr ppp 8
1632 and related programs.
1633 .It Va WITHOUT_PROFILE
1634 Set to not build profiled libraries for use with
1635 .Xr gprof 8 .
1636 .Pp
1637 This is a default setting on
1638 mips/mips64el, mips/mips64, mips/mips64elhf and mips/mips64hf.
1639 .It Va WITH_PROFILE
1640 Set to build profiled libraries for use with
1641 .Xr gprof 8 .
1642 .Pp
1643 This is a default setting on
1644 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.
1645 .It Va WITHOUT_QUOTAS
1646 Set to not build
1647 .Xr quota 1
1648 and related programs.
1649 .It Va WITHOUT_RADIUS_SUPPORT
1650 Set to not build radius support into various applications, like
1651 .Xr pam_radius 8
1652 and
1653 .Xr ppp 8 .
1654 .It Va WITH_RATELIMIT
1655 Set to build the system with rate limit support.
1656 .Pp
1657 This makes
1658 .Dv SO_MAX_PACING_RATE
1659 effective in
1660 .Xr getsockopt 2 ,
1661 and
1662 .Ar txrlimit
1663 support in
1664 .Xr ifconfig 8 ,
1665 by proxy.
1666 .It Va WITHOUT_RBOOTD
1667 Set to not build or install
1668 .Xr rbootd 8 .
1669 .It Va WITHOUT_REPRODUCIBLE_BUILD
1670 Set to include build metadata (such as the build time, user, and host)
1671 in the kernel, boot loaders, and uname output.
1672 Successive builds will not be bit-for-bit identical.
1673 .It Va WITHOUT_RESCUE
1674 Set to not build
1675 .Xr rescue 8 .
1676 .It Va WITH_RETPOLINE
1677 Set to build the base system with the retpoline speculative execution
1678 vulnerability mitigation for CVE-2017-5715.
1679 .It Va WITHOUT_ROUTED
1680 Set to not build
1681 .Xr routed 8
1682 utility.
1683 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1684 Set to build
1685 .Xr rpcbind 8
1686 with warmstart support.
1687 .It Va WITHOUT_SENDMAIL
1688 Set to not build
1689 .Xr sendmail 8
1690 and related programs.
1691 .It Va WITHOUT_SERVICESDB
1692 Set to not install
1693 .Pa /var/db/services.db .
1694 .It Va WITHOUT_SETUID_LOGIN
1695 Set this to disable the installation of
1696 .Xr login 1
1697 as a set-user-ID root program.
1698 .It Va WITHOUT_SHAREDOCS
1699 Set to not build the
1700 .Bx 4.4
1701 legacy docs.
1702 .It Va WITH_SHARED_TOOLCHAIN
1703 Set to build the toolchain binaries shared.
1704 The set includes
1705 .Xr cc 1 ,
1706 .Xr make 1
1707 and necessary utilities like assembler, linker and library archive manager.
1708 .It Va WITH_SORT_THREADS
1709 Set to enable threads in
1710 .Xr sort 1 .
1711 .It Va WITHOUT_SOURCELESS
1712 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1713 When set, it enforces these options:
1714 .Pp
1715 .Bl -item -compact
1716 .It
1717 .Va WITHOUT_SOURCELESS_HOST
1718 .It
1719 .Va WITHOUT_SOURCELESS_UCODE
1720 .El
1721 .It Va WITHOUT_SOURCELESS_HOST
1722 Set to not build kernel modules that include sourceless native code for host CPU.
1723 .It Va WITHOUT_SOURCELESS_UCODE
1724 Set to not build kernel modules that include sourceless microcode.
1725 .It Va WITHOUT_SSP
1726 Set to not build world with propolice stack smashing protection.
1727 .Pp
1728 This is a default setting on
1729 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1730 .It Va WITH_SSP
1731 Set to build world with propolice stack smashing protection.
1732 .Pp
1733 This is a default setting on
1734 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64.
1735 .It Va WITH_STAGING
1736 Enable staging of files to a stage tree.
1737 This can be best thought of as auto-install to
1738 .Va DESTDIR
1739 with some extra meta data to ensure dependencies can be tracked.
1740 Depends on
1741 .Va WITH_DIRDEPS_BUILD .
1742 When set, these options are also in effect:
1743 .Pp
1744 .Bl -inset -compact
1745 .It Va WITH_STAGING_MAN
1746 (unless
1747 .Va WITHOUT_STAGING_MAN
1748 is set explicitly)
1749 .It Va WITH_STAGING_PROG
1750 (unless
1751 .Va WITHOUT_STAGING_PROG
1752 is set explicitly)
1753 .El
1754 .Pp
1755 This must be set in the environment, make command line, or
1756 .Pa /etc/src-env.conf ,
1757 not
1758 .Pa /etc/src.conf .
1759 .It Va WITH_STAGING_MAN
1760 Enable staging of man pages to stage tree.
1761 .It Va WITH_STAGING_PROG
1762 Enable staging of PROGs to stage tree.
1763 .It Va WITH_STALE_STAGED
1764 Check staged files are not stale.
1765 .It Va WITH_SVN
1766 Set to install
1767 .Xr svnlite 1
1768 as
1769 .Xr svn 1 .
1770 .It Va WITHOUT_SVNLITE
1771 Set to not build
1772 .Xr svnlite 1
1773 and related programs.
1774 .It Va WITHOUT_SYMVER
1775 Set to disable symbol versioning when building shared libraries.
1776 .It Va WITHOUT_SYSCONS
1777 Set to not build
1778 .Xr syscons 4
1779 support files such as keyboard maps, fonts, and screen output maps.
1780 .It Va WITH_SYSROOT
1781 Enable use of sysroot during build.
1782 Depends on
1783 .Va WITH_DIRDEPS_BUILD .
1784 .Pp
1785 This must be set in the environment, make command line, or
1786 .Pa /etc/src-env.conf ,
1787 not
1788 .Pa /etc/src.conf .
1789 .It Va WITHOUT_SYSTEM_COMPILER
1790 Set to not opportunistically skip building a cross-compiler during the
1791 bootstrap phase of the build.
1792 Normally, if the currently installed compiler matches the planned bootstrap
1793 compiler type and revision, then it will not be built.
1794 This does not prevent a compiler from being built for installation though,
1795 only for building one for the build itself.
1796 The
1797 .Va WITHOUT_CLANG
1798 and
1799 .Va WITHOUT_GCC
1800 options control those.
1801 .It Va WITHOUT_SYSTEM_LINKER
1802 Set to not opportunistically skip building a cross-linker during the
1803 bootstrap phase of the build.
1804 Normally, if the currently installed linker matches the planned bootstrap
1805 linker type and revision, then it will not be built.
1806 This does not prevent a linker from being built for installation though,
1807 only for building one for the build itself.
1808 The
1809 .Va WITHOUT_LLD
1810 and
1811 .Va WITHOUT_BINUTILS
1812 options control those.
1813 .Pp
1814 This option is only relevant when
1815 .Va WITH_LLD_BOOTSTRAP
1816 is set.
1817 .It Va WITHOUT_TALK
1818 Set to not build or install
1819 .Xr talk 1
1820 and
1821 .Xr talkd 8 .
1822 .It Va WITHOUT_TCP_WRAPPERS
1823 Set to not build or install
1824 .Xr tcpd 8 ,
1825 and related utilities.
1826 .It Va WITHOUT_TCSH
1827 Set to not build and install
1828 .Pa /bin/csh
1829 (which is
1830 .Xr tcsh 1 ) .
1831 .It Va WITHOUT_TELNET
1832 Set to not build
1833 .Xr telnet 1
1834 and related programs.
1835 .It Va WITHOUT_TESTS
1836 Set to not build nor install the
1837 .Fx
1838 Test Suite in
1839 .Pa /usr/tests/ .
1840 See
1841 .Xr tests 7
1842 for more details.
1843 This also disables the build of all test-related dependencies, including ATF.
1844 When set, it enforces these options:
1845 .Pp
1846 .Bl -item -compact
1847 .It
1848 .Va WITHOUT_DTRACE_TESTS
1849 .El
1850 .Pp
1851 When set, these options are also in effect:
1852 .Pp
1853 .Bl -inset -compact
1854 .It Va WITHOUT_GOOGLETEST
1855 (unless
1856 .Va WITH_GOOGLETEST
1857 is set explicitly)
1858 .It Va WITHOUT_TESTS_SUPPORT
1859 (unless
1860 .Va WITH_TESTS_SUPPORT
1861 is set explicitly)
1862 .El
1863 .It Va WITHOUT_TESTS_SUPPORT
1864 Set to disables the build of all test-related dependencies, including ATF.
1865 When set, it enforces these options:
1866 .Pp
1867 .Bl -item -compact
1868 .It
1869 .Va WITHOUT_GOOGLETEST
1870 .El
1871 .It Va WITHOUT_TEXTPROC
1872 Set to not build
1873 programs used for text processing.
1874 .It Va WITHOUT_TFTP
1875 Set to not build or install
1876 .Xr tftp 1
1877 and
1878 .Xr tftpd 8 .
1879 .It Va WITHOUT_TIMED
1880 Set to not build or install
1881 .Xr timed 8 .
1882 .It Va WITHOUT_TOOLCHAIN
1883 Set to not install header or
1884 programs used for program development,
1885 compilers, debuggers etc.
1886 When set, it enforces these options:
1887 .Pp
1888 .Bl -item -compact
1889 .It
1890 .Va WITHOUT_BINUTILS
1891 .It
1892 .Va WITHOUT_CLANG
1893 .It
1894 .Va WITHOUT_CLANG_EXTRAS
1895 .It
1896 .Va WITHOUT_CLANG_FULL
1897 .It
1898 .Va WITHOUT_GCC
1899 .It
1900 .Va WITHOUT_GDB
1901 .It
1902 .Va WITHOUT_INCLUDES
1903 .It
1904 .Va WITHOUT_LLD
1905 .It
1906 .Va WITHOUT_LLDB
1907 .It
1908 .Va WITHOUT_LLVM_COV
1909 .El
1910 .It Va WITHOUT_UNBOUND
1911 Set to not build
1912 .Xr unbound 8
1913 and related programs.
1914 .It Va WITHOUT_UNIFIED_OBJDIR
1915 Set to use the historical object directory format for
1916 .Xr build 7
1917 targets.
1918 For native-builds and builds done directly in sub-directories the format of
1919 .Pa ${MAKEOBJDIRPREFIX}/${.CURDIR}
1920 is used,
1921 while for cross-builds
1922 .Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR}
1923 is used.
1924 .Pp
1925 This option is transitional and will be removed before the 12.0 release,
1926 at which time
1927 .va WITH_UNIFIED_OBJDIR
1928 will be enabled permanently.
1929 .Pp
1930 This must be set in the environment, make command line, or
1931 .Pa /etc/src-env.conf ,
1932 not
1933 .Pa /etc/src.conf .
1934 .It Va WITHOUT_USB
1935 Set to not build USB-related programs and libraries.
1936 .It Va WITHOUT_USB_GADGET_EXAMPLES
1937 Set to not build USB gadget kernel modules.
1938 .It Va WITHOUT_UTMPX
1939 Set to not build user accounting tools such as
1940 .Xr last 1 ,
1941 .Xr users 1 ,
1942 .Xr who 1 ,
1943 .Xr ac 8 ,
1944 .Xr lastlogin 8
1945 and
1946 .Xr utx 8 .
1947 .It Va WITH_VERIEXEC
1948 Enable building
1949 .Xr veriexec 8
1950 which loads the contents of verified manifests into the kernel
1951 for use by
1952 .Xr mac_veriexec 4
1953 .Pp
1954 Depends on
1955 .Va WITH_BEARSSL .
1956 .It Va WITHOUT_VI
1957 Set to not build and install vi, view, ex and related programs.
1958 .It Va WITHOUT_VT
1959 Set to not build
1960 .Xr vt 4
1961 support files (fonts and keymaps).
1962 .It Va WITHOUT_WARNS
1963 Set this to not add warning flags to the compiler invocations.
1964 Useful as a temporary workaround when code enters the tree
1965 which triggers warnings in environments that differ from the
1966 original developer.
1967 .It Va WITHOUT_WIRELESS
1968 Set to not build programs used for 802.11 wireless networks; especially
1969 .Xr wpa_supplicant 8
1970 and
1971 .Xr hostapd 8 .
1972 When set, these options are also in effect:
1973 .Pp
1974 .Bl -inset -compact
1975 .It Va WITHOUT_WIRELESS_SUPPORT
1976 (unless
1977 .Va WITH_WIRELESS_SUPPORT
1978 is set explicitly)
1979 .El
1980 .It Va WITHOUT_WIRELESS_SUPPORT
1981 Set to build libraries, programs, and kernel modules without
1982 802.11 wireless support.
1983 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1984 Build
1985 .Xr wpa_supplicant 8
1986 without support for the IEEE 802.1X protocol and without
1987 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1988 protocols (usable only via 802.1X).
1989 .It Va WITHOUT_ZFS
1990 Set to not build ZFS file system kernel module, libraries, and user commands.
1991 .It Va WITHOUT_ZONEINFO
1992 Set to not build the timezone database.
1993 When set, it enforces these options:
1994 .Pp
1995 .Bl -item -compact
1996 .It
1997 .Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
1998 .It
1999 .Va WITHOUT_ZONEINFO_OLD_TIMEZONES_SUPPORT
2000 .El
2001 .It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
2002 Set to build leapsecond information in to the timezone database.
2003 .It Va WITH_ZONEINFO_OLD_TIMEZONES_SUPPORT
2004 Set to build backward compatibility timezone aliases in to the timezone
2005 database.
2006 .El
2007 .Sh FILES
2008 .Bl -tag -compact -width Pa
2009 .It Pa /etc/src.conf
2010 .It Pa /etc/src-env.conf
2011 .It Pa /usr/share/mk/bsd.own.mk
2012 .El
2013 .Sh SEE ALSO
2014 .Xr make 1 ,
2015 .Xr make.conf 5 ,
2016 .Xr build 7 ,
2017 .Xr ports 7
2018 .Sh HISTORY
2019 The
2020 .Nm
2021 file appeared in
2022 .Fx 7.0 .
2023 .Sh AUTHORS
2024 This manual page was autogenerated by
2025 .An tools/build/options/makeman .