]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man5/src.conf.5
- Retire pc-sysinstall(8)
[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 August 16, 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 .It Va WITH_BINUTILS
191 Set to build and install GNU
192 .Xr as 1 ,
193 .Xr objdump 1 ,
194 and for some CPU architectures
195 .Xr ld.bfd 1
196 as part
197 of the normal system build.
198 .Pp
199 This is a default setting on
200 amd64/amd64, arm/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.
201 .It Va WITHOUT_BINUTILS_BOOTSTRAP
202 Set to not build binutils (as, ld, and objdump)
203 as part of the bootstrap process.
204 .Bf -symbolic
205 The option does not work for build targets unless some alternative
206 toolchain is provided.
207 .Ef
208 .Pp
209 This is a default setting on
210 arm64/aarch64 and riscv/riscv64.
211 .It Va WITH_BINUTILS_BOOTSTRAP
212 Set build binutils (as, ld, and objdump)
213 as part of the bootstrap process.
214 .Pp
215 This is a default setting on
216 amd64/amd64, arm/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.
217 .It Va WITHOUT_BLACKLIST
218 Set this if you do not want to build
219 .Xr blacklistd 8
220 and
221 .Xr blacklistctl 8 .
222 When set, these options are also in effect:
223 .Pp
224 .Bl -inset -compact
225 .It Va WITHOUT_BLACKLIST_SUPPORT
226 (unless
227 .Va WITH_BLACKLIST_SUPPORT
228 is set explicitly)
229 .El
230 .It Va WITHOUT_BLACKLIST_SUPPORT
231 Set to build some programs without
232 .Xr libblacklist 3
233 support, like
234 .Xr fingerd 8 ,
235 .Xr ftpd 8 ,
236 and
237 .Xr sshd 8 .
238 .It Va WITHOUT_BLUETOOTH
239 Set to not build Bluetooth related kernel modules, programs and libraries.
240 .It Va WITHOUT_BOOT
241 Set to not build the boot blocks and loader.
242 .It Va WITHOUT_BOOTPARAMD
243 Set to not build or install
244 .Xr bootparamd 8 .
245 .It Va WITHOUT_BOOTPD
246 Set to not build or install
247 .Xr bootpd 8 .
248 .It Va WITHOUT_BSDINSTALL
249 Set to not build
250 .Xr bsdinstall 8 ,
251 .Xr sade 8 ,
252 and related programs.
253 .It Va WITHOUT_BSD_CPIO
254 Set to not build the BSD licensed version of cpio based on
255 .Xr libarchive 3 .
256 .It Va WITHOUT_BSD_CRTBEGIN
257 Disable the BSD licensed
258 .Pa crtbegin.o
259 and
260 .Pa crtend.o .
261 .Pp
262 This is a default setting on
263 sparc64/sparc64.
264 .It Va WITH_BSD_CRTBEGIN
265 Enable the BSD licensed
266 .Pa crtbegin.o
267 and
268 .Pa crtend.o .
269 .Pp
270 This is a default setting on
271 amd64/amd64, arm/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.
272 .It Va WITH_BSD_GREP
273 Install BSD-licensed grep as '[ef]grep' instead of GNU grep.
274 .It Va WITHOUT_BSNMP
275 Set to not build or install
276 .Xr bsnmpd 1
277 and related libraries and data files.
278 .It Va WITHOUT_BZIP2
279 Set to not build contributed bzip2 software as a part of the base system.
280 .Bf -symbolic
281 The option has no effect yet.
282 .Ef
283 When set, these options are also in effect:
284 .Pp
285 .Bl -inset -compact
286 .It Va WITHOUT_BZIP2_SUPPORT
287 (unless
288 .Va WITH_BZIP2_SUPPORT
289 is set explicitly)
290 .El
291 .It Va WITHOUT_BZIP2_SUPPORT
292 Set to build some programs without optional bzip2 support.
293 .It Va WITHOUT_CALENDAR
294 Set to not build
295 .Xr calendar 1 .
296 .It Va WITHOUT_CAPSICUM
297 Set to not build Capsicum support into system programs.
298 When set, it enforces these options:
299 .Pp
300 .Bl -item -compact
301 .It
302 .Va WITHOUT_CASPER
303 .El
304 .It Va WITHOUT_CASPER
305 Set to not build Casper program and related libraries.
306 .It Va WITH_CCACHE_BUILD
307 Set to use
308 .Xr ccache 1
309 for the build.
310 No configuration is required except to install the
311 .Sy devel/ccache
312 package.
313 When using with
314 .Xr distcc 1 ,
315 set
316 .Sy CCACHE_PREFIX=/usr/local/bin/distcc .
317 The default cache directory of
318 .Pa $HOME/.ccache
319 will be used, which can be overridden by setting
320 .Sy CCACHE_DIR .
321 The
322 .Sy CCACHE_COMPILERCHECK
323 option defaults to
324 .Sy content
325 when using the in-tree bootstrap compiler,
326 and
327 .Sy mtime
328 when using an external compiler.
329 The
330 .Sy CCACHE_CPP2
331 option is used for Clang but not GCC.
332 .Pp
333 Sharing a cache between multiple work directories requires using a layout
334 similar to
335 .Pa /some/prefix/src
336 .Pa /some/prefix/obj
337 and an environment such as:
338 .Bd -literal -offset indent
339 CCACHE_BASEDIR='${SRCTOP:H}' MAKEOBJDIRPREFIX='${SRCTOP:H}/obj'
340 .Ed
341 .Pp
342 See
343 .Xr ccache 1
344 for more configuration options.
345 .It Va WITHOUT_CCD
346 Set to not build
347 .Xr geom_ccd 4
348 and related utilities.
349 .It Va WITHOUT_CDDL
350 Set to not build code licensed under Sun's CDDL.
351 When set, it enforces these options:
352 .Pp
353 .Bl -item -compact
354 .It
355 .Va WITHOUT_CTF
356 .It
357 .Va WITHOUT_LOADER_ZFS
358 .It
359 .Va WITHOUT_ZFS
360 .El
361 .It Va WITHOUT_CLANG
362 Set to not build the Clang C/C++ compiler during the regular phase of the build.
363 .Pp
364 This is a default setting on
365 riscv/riscv64 and sparc64/sparc64.
366 When set, it enforces these options:
367 .Pp
368 .Bl -item -compact
369 .It
370 .Va WITHOUT_CLANG_EXTRAS
371 .It
372 .Va WITHOUT_CLANG_FULL
373 .It
374 .Va WITHOUT_LLVM_COV
375 .El
376 .Pp
377 When set, these options are also in effect:
378 .Pp
379 .Bl -inset -compact
380 .It Va WITHOUT_LLVM_TARGET_AARCH64
381 (unless
382 .Va WITH_LLVM_TARGET_AARCH64
383 is set explicitly)
384 .It Va WITHOUT_LLVM_TARGET_ALL
385 (unless
386 .Va WITH_LLVM_TARGET_ALL
387 is set explicitly)
388 .It Va WITHOUT_LLVM_TARGET_ARM
389 (unless
390 .Va WITH_LLVM_TARGET_ARM
391 is set explicitly)
392 .It Va WITHOUT_LLVM_TARGET_MIPS
393 (unless
394 .Va WITH_LLVM_TARGET_MIPS
395 is set explicitly)
396 .It Va WITHOUT_LLVM_TARGET_POWERPC
397 (unless
398 .Va WITH_LLVM_TARGET_POWERPC
399 is set explicitly)
400 .It Va WITHOUT_LLVM_TARGET_SPARC
401 (unless
402 .Va WITH_LLVM_TARGET_SPARC
403 is set explicitly)
404 .It Va WITHOUT_LLVM_TARGET_X86
405 (unless
406 .Va WITH_LLVM_TARGET_X86
407 is set explicitly)
408 .El
409 .It Va WITH_CLANG
410 Set to build the Clang C/C++ compiler during the normal phase of the build.
411 .Pp
412 This is a default setting on
413 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.
414 .It Va WITHOUT_CLANG_BOOTSTRAP
415 Set to not build the Clang C/C++ compiler during the bootstrap phase of
416 the build.
417 To be able to build the system, either gcc or clang bootstrap must be
418 enabled unless an alternate compiler is provided via XCC.
419 .Pp
420 This is a default setting on
421 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.
422 .It Va WITH_CLANG_BOOTSTRAP
423 Set to build the Clang C/C++ compiler during the bootstrap phase of the build.
424 .Pp
425 This is a default setting on
426 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
427 .It Va WITH_CLANG_EXTRAS
428 Set to build additional clang and llvm tools, such as bugpoint and
429 clang-format.
430 .It Va WITHOUT_CLANG_FULL
431 Set to avoid building the ARCMigrate, Rewriter and StaticAnalyzer components of
432 the Clang C/C++ compiler.
433 .Pp
434 This is a default setting on
435 riscv/riscv64 and sparc64/sparc64.
436 .It Va WITH_CLANG_FULL
437 Set to build the ARCMigrate, Rewriter and StaticAnalyzer components of the
438 Clang C/C++ compiler.
439 .Pp
440 This is a default setting on
441 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.
442 .It Va WITHOUT_CLANG_IS_CC
443 Set to install the GCC compiler as
444 .Pa /usr/bin/cc ,
445 .Pa /usr/bin/c++
446 and
447 .Pa /usr/bin/cpp .
448 .Pp
449 This is a default setting on
450 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.
451 .It Va WITH_CLANG_IS_CC
452 Set to install the Clang C/C++ compiler as
453 .Pa /usr/bin/cc ,
454 .Pa /usr/bin/c++
455 and
456 .Pa /usr/bin/cpp .
457 .Pp
458 This is a default setting on
459 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
460 .It Va WITHOUT_CPP
461 Set to not build
462 .Xr cpp 1 .
463 .It Va WITHOUT_CROSS_COMPILER
464 Set to not build any cross compiler in the cross-tools stage of buildworld.
465 When compiling a different version of
466 .Fx
467 than what is installed on the system, provide an alternate
468 compiler with XCC to ensure success.
469 When compiling with an identical version of
470 .Fx
471 to the host, this option may be safely used.
472 This option may also be safe when the host version of
473 .Fx
474 is close to the sources being built, but all bets are off if there have
475 been any changes to the toolchain between the versions.
476 When set, it enforces these options:
477 .Pp
478 .Bl -item -compact
479 .It
480 .Va WITHOUT_BINUTILS_BOOTSTRAP
481 .It
482 .Va WITHOUT_CLANG_BOOTSTRAP
483 .It
484 .Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
485 .It
486 .Va WITHOUT_GCC_BOOTSTRAP
487 .It
488 .Va WITHOUT_LLD_BOOTSTRAP
489 .El
490 .It Va WITHOUT_CRYPT
491 Set to not build any crypto code.
492 When set, it enforces these options:
493 .Pp
494 .Bl -item -compact
495 .It
496 .Va WITHOUT_KERBEROS
497 .It
498 .Va WITHOUT_OPENSSH
499 .It
500 .Va WITHOUT_OPENSSL
501 .El
502 .Pp
503 When set, these options are also in effect:
504 .Pp
505 .Bl -inset -compact
506 .It Va WITHOUT_GSSAPI
507 (unless
508 .Va WITH_GSSAPI
509 is set explicitly)
510 .El
511 .It Va WITH_CTF
512 Set to compile with CTF (Compact C Type Format) data.
513 CTF data encapsulates a reduced form of debugging information
514 similar to DWARF and the venerable stabs and is required for DTrace.
515 .It Va WITHOUT_CUSE
516 Set to not build CUSE-related programs and libraries.
517 .It Va WITHOUT_CXGBETOOL
518 Set to not build
519 .Xr cxgbetool 8
520 .Pp
521 This is a default setting on
522 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.
523 .It Va WITH_CXGBETOOL
524 Set to build
525 .Xr cxgbetool 8
526 .Pp
527 This is a default setting on
528 amd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64.
529 .It Va WITHOUT_CXX
530 Set to not build
531 .Xr c++ 1
532 and related libraries.
533 It will also prevent building of
534 .Xr gperf 1
535 and
536 .Xr devd 8 .
537 When set, it enforces these options:
538 .Pp
539 .Bl -item -compact
540 .It
541 .Va WITHOUT_CLANG
542 .It
543 .Va WITHOUT_CLANG_EXTRAS
544 .It
545 .Va WITHOUT_CLANG_FULL
546 .It
547 .Va WITHOUT_DTRACE_TESTS
548 .It
549 .Va WITHOUT_GNUCXX
550 .It
551 .Va WITHOUT_LLVM_COV
552 .It
553 .Va WITHOUT_TESTS
554 .El
555 .It Va WITHOUT_DEBUG_FILES
556 Set to avoid building or installing standalone debug files for each
557 executable binary and shared library.
558 .It Va WITHOUT_DIALOG
559 Set to not build
560 .Xr dialog 1 ,
561 .Xr dialog 3 ,
562 .Xr dpv 1 ,
563 and
564 .Xr dpv 3 .
565 When set, it enforces these options:
566 .Pp
567 .Bl -item -compact
568 .It
569 .Va WITHOUT_BSDINSTALL
570 .El
571 .It Va WITHOUT_DICT
572 Set to not build the Webster dictionary files.
573 .It Va WITH_DIRDEPS_BUILD
574 This is an experimental build system.
575 For details see
576 http://www.crufty.net/sjg/docs/freebsd-meta-mode.htm.
577 Build commands can be seen from the top-level with:
578 .Dl make show-valid-targets
579 The build is driven by dirdeps.mk using
580 .Va DIRDEPS
581 stored in
582 Makefile.depend files found in each directory.
583 .Pp
584 The build can be started from anywhere, and behaves the same.
585 The initial instance of
586 .Xr make 1
587 recursively reads
588 .Va DIRDEPS
589 from
590 .Pa Makefile.depend ,
591 computing a graph of tree dependencies from the current origin.
592 Setting
593 .Va NO_DIRDEPS
594 skips checking dirdep dependencies and will only build in the current
595 and child directories.
596 .Va NO_DIRDEPS_BELOW
597 skips building any dirdeps and only build the current directory.
598 .Pp
599 This also utilizes the
600 .Va WITH_META_MODE
601 logic for incremental builds.
602 .Pp
603 The build hides commands executed unless
604 .Va NO_SILENT
605 is defined.
606 .Pp
607 Note that there is currently no mass install feature for this.
608 .Pp
609 When set, it enforces these options:
610 .Pp
611 .Bl -item -compact
612 .It
613 .Va WITH_INSTALL_AS_USER
614 .El
615 .Pp
616 When set, these options are also in effect:
617 .Pp
618 .Bl -inset -compact
619 .It Va WITH_META_MODE
620 (unless
621 .Va WITHOUT_META_MODE
622 is set explicitly)
623 .It Va WITH_STAGING
624 (unless
625 .Va WITHOUT_STAGING
626 is set explicitly)
627 .It Va WITH_STAGING_MAN
628 (unless
629 .Va WITHOUT_STAGING_MAN
630 is set explicitly)
631 .It Va WITH_STAGING_PROG
632 (unless
633 .Va WITHOUT_STAGING_PROG
634 is set explicitly)
635 .It Va WITH_SYSROOT
636 (unless
637 .Va WITHOUT_SYSROOT
638 is set explicitly)
639 .El
640 .Pp
641 This must be set in the environment, make command line, or
642 .Pa /etc/src-env.conf ,
643 not
644 .Pa /etc/src.conf .
645 .It Va WITH_DIRDEPS_CACHE
646 Cache result of dirdeps.mk which can save significant time
647 for subsequent builds.
648 Depends on
649 .Va WITH_DIRDEPS_BUILD .
650 .Pp
651 This must be set in the environment, make command line, or
652 .Pa /etc/src-env.conf ,
653 not
654 .Pa /etc/src.conf .
655 .It Va WITHOUT_DMAGENT
656 Set to not build dma Mail Transport Agent.
657 .It Va WITHOUT_DOCCOMPRESS
658 Set to not install compressed system documentation.
659 Only the uncompressed version will be installed.
660 .It Va WITH_DTRACE_TESTS
661 Set to build and install the DTrace test suite in
662 .Pa /usr/tests/cddl/usr.sbin/dtrace .
663 This test suite is considered experimental on architectures other than
664 amd64/amd64 and running it may cause system instability.
665 .It Va WITHOUT_DYNAMICROOT
666 Set this if you do not want to link
667 .Pa /bin
668 and
669 .Pa /sbin
670 dynamically.
671 .It Va WITHOUT_EE
672 Set to not build and install
673 .Xr edit 1 ,
674 .Xr ee 1 ,
675 and related programs.
676 .It Va WITHOUT_EFI
677 Set not to build
678 .Xr efivar 3
679 and
680 .Xr efivar 8 .
681 .Pp
682 This is a default setting on
683 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.
684 .It Va WITH_EFI
685 Set to build
686 .Xr efivar 3
687 and
688 .Xr efivar 8 .
689 .Pp
690 This is a default setting on
691 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64 and i386/i386.
692 .It Va WITHOUT_ELFTOOLCHAIN_BOOTSTRAP
693 Set to not build ELF Tool Chain tools
694 (addr2line, nm, size, strings and strip)
695 as part of the bootstrap process.
696 .Bf -symbolic
697 An alternate bootstrap tool chain must be provided.
698 .Ef
699 .It Va WITHOUT_EXAMPLES
700 Set to avoid installing examples to
701 .Pa /usr/share/examples/ .
702 .It Va WITH_EXPERIMENTAL
703 Set to include experimental features in the build.
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 and use it during buildworld and buildkernel.
1068 .Pp
1069 This is a default setting on
1070 amd64/amd64, arm/armv7, arm64/aarch64 and i386/i386.
1071 .It Va WITHOUT_LLD_IS_LD
1072 Set to use GNU binutils ld as the system linker, instead of LLVM's LLD.
1073 .Pp
1074 This is a default setting on
1075 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.
1076 .It Va WITH_LLD_IS_LD
1077 Set to use LLVM's LLD as the system linker, instead of GNU binutils ld.
1078 .Pp
1079 This is a default setting on
1080 amd64/amd64, arm/armv7, arm64/aarch64 and i386/i386.
1081 .It Va WITHOUT_LLVM_COV
1082 Set to not build the
1083 .Xr llvm-cov 1
1084 tool.
1085 .Pp
1086 This is a default setting on
1087 riscv/riscv64 and sparc64/sparc64.
1088 .It Va WITH_LLVM_COV
1089 Set to build the
1090 .Xr llvm-cov 1
1091 tool.
1092 .Pp
1093 This is a default setting on
1094 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.
1095 .It Va WITHOUT_LLVM_LIBUNWIND
1096 Set to use GCC's stack unwinder (instead of LLVM's libunwind).
1097 .Pp
1098 This is a default setting on
1099 arm/arm, arm/armv6, arm/armv7, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1100 .It Va WITH_LLVM_LIBUNWIND
1101 Set to use LLVM's libunwind stack unwinder (instead of GCC's unwinder).
1102 .Pp
1103 This is a default setting on
1104 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.
1105 .It Va WITHOUT_LLVM_TARGET_AARCH64
1106 Set to not build LLVM target support for AArch64.
1107 The
1108 .Va LLVM_TARGET_ALL
1109 option should be used rather than this in most cases.
1110 .Pp
1111 This is a default setting on
1112 arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64.
1113 .It Va WITH_LLVM_TARGET_AARCH64
1114 Set to build LLVM target support for AArch64.
1115 The
1116 .Va LLVM_TARGET_ALL
1117 option should be used rather than this in most cases.
1118 .Pp
1119 This is a default setting on
1120 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.
1121 .It Va WITHOUT_LLVM_TARGET_ALL
1122 Set to only build the required LLVM target support.
1123 This option is preferred to specific target support options.
1124 .Pp
1125 This is a default setting on
1126 riscv/riscv64 and sparc64/sparc64.
1127 When set, these options are also in effect:
1128 .Pp
1129 .Bl -inset -compact
1130 .It Va WITHOUT_LLVM_TARGET_AARCH64
1131 (unless
1132 .Va WITH_LLVM_TARGET_AARCH64
1133 is set explicitly)
1134 .It Va WITHOUT_LLVM_TARGET_ARM
1135 (unless
1136 .Va WITH_LLVM_TARGET_ARM
1137 is set explicitly)
1138 .It Va WITHOUT_LLVM_TARGET_MIPS
1139 (unless
1140 .Va WITH_LLVM_TARGET_MIPS
1141 is set explicitly)
1142 .It Va WITHOUT_LLVM_TARGET_POWERPC
1143 (unless
1144 .Va WITH_LLVM_TARGET_POWERPC
1145 is set explicitly)
1146 .It Va WITHOUT_LLVM_TARGET_SPARC
1147 (unless
1148 .Va WITH_LLVM_TARGET_SPARC
1149 is set explicitly)
1150 .El
1151 .It Va WITH_LLVM_TARGET_ALL
1152 Set to build support for all LLVM targets.
1153 This option is always applied to the bootstrap compiler for buildworld when
1154 LLVM is used.
1155 .Pp
1156 This is a default setting on
1157 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.
1158 .It Va WITHOUT_LLVM_TARGET_ARM
1159 Set to not build LLVM target support for ARM.
1160 The
1161 .Va LLVM_TARGET_ALL
1162 option should be used rather than this in most cases.
1163 .Pp
1164 This is a default setting on
1165 riscv/riscv64 and sparc64/sparc64.
1166 .It Va WITH_LLVM_TARGET_ARM
1167 Set to build LLVM target support for ARM.
1168 The
1169 .Va LLVM_TARGET_ALL
1170 option should be used rather than this in most cases.
1171 .Pp
1172 This is a default setting on
1173 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.
1174 .It Va WITH_LLVM_TARGET_BPF
1175 Set to build LLVM target support for BPF.
1176 The
1177 .Va LLVM_TARGET_ALL
1178 option should be used rather than this in most cases.
1179 .It Va WITHOUT_LLVM_TARGET_MIPS
1180 Set to not build LLVM target support for MIPS.
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 arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64.
1187 .It Va WITH_LLVM_TARGET_MIPS
1188 Set to build LLVM target support for MIPS.
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 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.
1195 .It Va WITHOUT_LLVM_TARGET_POWERPC
1196 Set to not build LLVM target support for PowerPC.
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 arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64.
1203 .It Va WITH_LLVM_TARGET_POWERPC
1204 Set to build LLVM target support for PowerPC.
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 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.
1211 .It Va WITH_LLVM_TARGET_RISCV
1212 Set to build LLVM target support for RISC-V.
1213 The
1214 .Va LLVM_TARGET_ALL
1215 option should be used rather than this in most cases.
1216 .It Va WITHOUT_LLVM_TARGET_SPARC
1217 Set to not build LLVM target support for SPARC.
1218 The
1219 .Va LLVM_TARGET_ALL
1220 option should be used rather than this in most cases.
1221 .Pp
1222 This is a default setting on
1223 arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64.
1224 .It Va WITH_LLVM_TARGET_SPARC
1225 Set to build LLVM target support for SPARC.
1226 The
1227 .Va LLVM_TARGET_ALL
1228 option should be used rather than this in most cases.
1229 .Pp
1230 This is a default setting on
1231 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.
1232 .It Va WITHOUT_LLVM_TARGET_X86
1233 Set to not build LLVM target support for X86.
1234 The
1235 .Va LLVM_TARGET_ALL
1236 option should be used rather than this in most cases.
1237 .Pp
1238 This is a default setting on
1239 arm/arm, arm/armv6, riscv/riscv64 and sparc64/sparc64.
1240 .It Va WITH_LLVM_TARGET_X86
1241 Set to build LLVM target support for X86.
1242 The
1243 .Va LLVM_TARGET_ALL
1244 option should be used rather than this in most cases.
1245 .Pp
1246 This is a default setting on
1247 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.
1248 .It Va WITH_LOADER_EFI_SECUREBOOT
1249 Enable building
1250 .Xr loader 8
1251 with support for verification based on certificates obtained from UEFI.
1252 .Pp
1253 .It Va WITH_LOADER_FIREWIRE
1254 Enable firewire support in /boot/loader on x86. This option is a nop
1255 on all other platforms.
1256 .It Va WITH_LOADER_FORCE_LE
1257 Set to force the powerpc boot loader to launch the kernel in little
1258 endian mode.
1259 .It Va WITHOUT_LOADER_GELI
1260 Disable inclusion of GELI crypto support in the boot chain binaries.
1261 .Pp
1262 This is a default setting on
1263 powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1264 .It Va WITH_LOADER_GELI
1265 Set to build GELI bootloader support.
1266 .Pp
1267 This is a default setting on
1268 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.
1269 .It Va WITHOUT_LOADER_LUA
1270 Set to not build LUA bindings for the boot loader.
1271 .Pp
1272 This is a default setting on
1273 powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1274 .It Va WITH_LOADER_LUA
1275 Set to build LUA bindings for the boot loader.
1276 .Pp
1277 This is a default setting on
1278 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.
1279 .It Va WITHOUT_LOADER_OFW
1280 Disable building of openfirmware bootloader components.
1281 .Pp
1282 This is a default setting on
1283 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.
1284 .It Va WITH_LOADER_OFW
1285 Set to build openfirmware bootloader components.
1286 .Pp
1287 This is a default setting on
1288 powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe and sparc64/sparc64.
1289 .It Va WITHOUT_LOADER_UBOOT
1290 Disable building of ubldr.
1291 .Pp
1292 This is a default setting on
1293 amd64/amd64, arm64/aarch64, i386/i386, riscv/riscv64 and sparc64/sparc64.
1294 .It Va WITH_LOADER_UBOOT
1295 Set to build ubldr.
1296 .Pp
1297 This is a default setting on
1298 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.
1299 .It Va WITH_LOADER_VERBOSE
1300 Set to build with extra verbose debugging in the loader.
1301 May explode already nearly too large loader over the limit.
1302 Use with care.
1303
1304 .It Va WITH_LOADER_VERIEXEC
1305 Enable building
1306 .Xr loader 8
1307 with support for verifcation similar to Verified Exec.
1308 .Pp
1309 It depends on
1310 .Va WITH_BEARSSL
1311 When set, these options are also in effect:
1312 .Pp
1313 .Bl -inset -compact
1314 .It Va WITH_LOADER_EFI_SECUREBOOT
1315 (unless
1316 .Va WITHOUT_LOADER_EFI_SECUREBOOT
1317 is set explicitly)
1318 .El
1319 .It Va WITHOUT_LOADER_ZFS
1320 Set to not build ZFS file system boot loader support.
1321 .It Va WITHOUT_LOCALES
1322 Set to not build localization files; see
1323 .Xr locale 1 .
1324 .It Va WITHOUT_LOCATE
1325 Set to not build
1326 .Xr locate 1
1327 and related programs.
1328 .It Va WITHOUT_LPR
1329 Set to not build
1330 .Xr lpr 1
1331 and related programs.
1332 .It Va WITHOUT_LS_COLORS
1333 Set to build
1334 .Xr ls 1
1335 without support for colors to distinguish file types.
1336 .It Va WITHOUT_LZMA_SUPPORT
1337 Set to build some programs without optional lzma compression support.
1338 .It Va WITHOUT_MAIL
1339 Set to not build any mail support (MUA or MTA).
1340 When set, it enforces these options:
1341 .Pp
1342 .Bl -item -compact
1343 .It
1344 .Va WITHOUT_DMAGENT
1345 .It
1346 .Va WITHOUT_MAILWRAPPER
1347 .It
1348 .Va WITHOUT_SENDMAIL
1349 .El
1350 .It Va WITHOUT_MAILWRAPPER
1351 Set to not build the
1352 .Xr mailwrapper 8
1353 MTA selector.
1354 .It Va WITHOUT_MAKE
1355 Set to not install
1356 .Xr make 1
1357 and related support files.
1358 .It Va WITHOUT_MAKE_CHECK_USE_SANDBOX
1359 Set to not execute
1360 .Dq Li "make check"
1361 in limited sandbox mode.
1362 This option should be paired with
1363 .Va WITH_INSTALL_AS_USER
1364 if executed as an unprivileged user.
1365 See
1366 .Xr tests 7
1367 for more details.
1368 .It Va WITHOUT_MAN
1369 Set to not build manual pages.
1370 When set, these options are also in effect:
1371 .Pp
1372 .Bl -inset -compact
1373 .It Va WITHOUT_MAN_UTILS
1374 (unless
1375 .Va WITH_MAN_UTILS
1376 is set explicitly)
1377 .El
1378 .It Va WITHOUT_MANCOMPRESS
1379 Set to not to install compressed man pages.
1380 Only the uncompressed versions will be installed.
1381 .It Va WITHOUT_MAN_UTILS
1382 Set to not build utilities for manual pages,
1383 .Xr apropos 1 ,
1384 .Xr makewhatis 1 ,
1385 .Xr man 1 ,
1386 .Xr whatis 1 ,
1387 .Xr manctl 8 ,
1388 and related support files.
1389 .It Va WITH_META_MODE
1390 Create
1391 .Xr make 1
1392 meta files when building, which can provide a reliable incremental build when
1393 using
1394 .Xr filemon 4 .
1395 The meta file is created in OBJDIR as
1396 .Pa target.meta .
1397 These meta files track the command that was executed, its output, and the
1398 current directory.
1399 The
1400 .Xr filemon 4
1401 module is required unless
1402 .Va NO_FILEMON
1403 is defined.
1404 When the module is loaded, any files used by the commands executed are
1405 tracked as dependencies for the target in its meta file.
1406 The target is considered out-of-date and rebuilt if any of these
1407 conditions are true compared to the last build:
1408 .Bl -bullet -compact
1409 .It
1410 The command to execute changes.
1411 .It
1412 The current working directory changes.
1413 .It
1414 The target's meta file is missing.
1415 .It
1416 The target's meta file is missing filemon data when filemon is loaded
1417 and a previous run did not have it loaded.
1418 .It
1419 [requires
1420 .Xr filemon 4 ]
1421 Files read, executed or linked to are newer than the target.
1422 .It
1423 [requires
1424 .Xr filemon 4 ]
1425 Files read, written, executed or linked are missing.
1426 .El
1427 The meta files can also be useful for debugging.
1428 .Pp
1429 The build hides commands that are executed unless
1430 .Va NO_SILENT
1431 is defined.
1432 Errors cause
1433 .Xr make 1
1434 to show some of its environment for further debugging.
1435 .Pp
1436 The build operates as it normally would otherwise.
1437 This option originally invoked a different build system but that was renamed
1438 to
1439 .Va WITH_DIRDEPS_BUILD .
1440 .Pp
1441 This must be set in the environment, make command line, or
1442 .Pa /etc/src-env.conf ,
1443 not
1444 .Pa /etc/src.conf .
1445 .It Va WITHOUT_MLX5TOOL
1446 Set to not build
1447 .Xr mlx5tool 8
1448 .Pp
1449 This is a default setting on
1450 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.
1451 .It Va WITH_MLX5TOOL
1452 Set to build
1453 .Xr mlx5tool 8
1454 .Pp
1455 This is a default setting on
1456 amd64/amd64, arm64/aarch64, i386/i386, powerpc/powerpc64 and sparc64/sparc64.
1457 .It Va WITHOUT_NDIS
1458 Set to not build programs and libraries
1459 related to NDIS emulation support.
1460 .It Va WITHOUT_NETCAT
1461 Set to not build
1462 .Xr nc 1
1463 utility.
1464 .It Va WITHOUT_NETGRAPH
1465 Set to not build applications to support
1466 .Xr netgraph 4 .
1467 When set, it enforces these options:
1468 .Pp
1469 .Bl -item -compact
1470 .It
1471 .Va WITHOUT_ATM
1472 .It
1473 .Va WITHOUT_BLUETOOTH
1474 .El
1475 .Pp
1476 When set, these options are also in effect:
1477 .Pp
1478 .Bl -inset -compact
1479 .It Va WITHOUT_NETGRAPH_SUPPORT
1480 (unless
1481 .Va WITH_NETGRAPH_SUPPORT
1482 is set explicitly)
1483 .El
1484 .It Va WITHOUT_NETGRAPH_SUPPORT
1485 Set to build libraries, programs, and kernel modules without netgraph support.
1486 .It Va WITHOUT_NIS
1487 Set to not build
1488 .Xr NIS 8
1489 support and related programs.
1490 If set, you might need to adopt your
1491 .Xr nsswitch.conf 5
1492 and remove
1493 .Sq nis
1494 entries.
1495 .It Va WITHOUT_NLS
1496 Set to not build NLS catalogs.
1497 When set, it enforces these options:
1498 .Pp
1499 .Bl -item -compact
1500 .It
1501 .Va WITHOUT_NLS_CATALOGS
1502 .El
1503 .It Va WITHOUT_NLS_CATALOGS
1504 Set to not build NLS catalog support for
1505 .Xr csh 1 .
1506 .It Va WITHOUT_NS_CACHING
1507 Set to disable name caching in the
1508 .Pa nsswitch
1509 subsystem.
1510 The generic caching daemon,
1511 .Xr nscd 8 ,
1512 will not be built either if this option is set.
1513 .It Va WITHOUT_NTP
1514 Set to not build
1515 .Xr ntpd 8
1516 and related programs.
1517 .It Va WITHOUT_NVME
1518 Set to not build nvme related tools and kernel modules.
1519 .Pp
1520 This is a default setting on
1521 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, riscv/riscv64 and sparc64/sparc64.
1522 .It Va WITH_NVME
1523 Set to build nvme related tools and kernel modules.
1524
1525 .Pp
1526 This is a default setting on
1527 amd64/amd64, arm64/aarch64, i386/i386 and powerpc/powerpc64.
1528 .It Va WITH_OFED
1529 Set to build the
1530 .Dq "OpenFabrics Enterprise Distribution"
1531 Infiniband software stack.
1532 .It Va WITH_OFED_EXTRA
1533 Set to build the non-essential components of the
1534 .Dq "OpenFabrics Enterprise Distribution"
1535 Infiniband software stack, mostly examples.
1536 .It Va WITH_OPENLDAP
1537 Enable building openldap support for kerberos.
1538 .It Va WITHOUT_OPENMP
1539 Set to not build LLVM's OpenMP runtime.
1540 .Pp
1541 This is a default setting on
1542 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.
1543 .It Va WITH_OPENMP
1544 Set to build LLVM's OpenMP runtime.
1545 .Pp
1546 This is a default setting on
1547 amd64/amd64 and i386/i386.
1548 .It Va WITHOUT_OPENSSH
1549 Set to not build OpenSSH.
1550 .It Va WITHOUT_OPENSSL
1551 Set to not build OpenSSL.
1552 When set, it enforces these options:
1553 .Pp
1554 .Bl -item -compact
1555 .It
1556 .Va WITHOUT_KERBEROS
1557 .It
1558 .Va WITHOUT_OPENSSH
1559 .El
1560 .Pp
1561 When set, these options are also in effect:
1562 .Pp
1563 .Bl -inset -compact
1564 .It Va WITHOUT_GSSAPI
1565 (unless
1566 .Va WITH_GSSAPI
1567 is set explicitly)
1568 .El
1569 .It Va WITHOUT_PAM
1570 Set to not build PAM library and modules.
1571 .Bf -symbolic
1572 This option is deprecated and does nothing.
1573 .Ef
1574 When set, these options are also in effect:
1575 .Pp
1576 .Bl -inset -compact
1577 .It Va WITHOUT_PAM_SUPPORT
1578 (unless
1579 .Va WITH_PAM_SUPPORT
1580 is set explicitly)
1581 .El
1582 .It Va WITHOUT_PAM_SUPPORT
1583 Set to build some programs without PAM support, particularly
1584 .Xr ftpd 8
1585 and
1586 .Xr ppp 8 .
1587 .It Va WITHOUT_PF
1588 Set to not build PF firewall package.
1589 When set, it enforces these options:
1590 .Pp
1591 .Bl -item -compact
1592 .It
1593 .Va WITHOUT_AUTHPF
1594 .El
1595 .It Va WITH_PIE
1596 Build dynamically linked binaries as
1597 Position-Independent Executable (PIE).
1598 .It Va WITHOUT_PKGBOOTSTRAP
1599 Set to not build
1600 .Xr pkg 7
1601 bootstrap tool.
1602 .It Va WITHOUT_PMC
1603 Set to not build
1604 .Xr pmccontrol 8
1605 and related programs.
1606 .It Va WITHOUT_PORTSNAP
1607 Set to not build or install
1608 .Xr portsnap 8
1609 and related files.
1610 When set, it enforces these options:
1611 .Pp
1612 .Bl -item -compact
1613 .It
1614 .Va WITHOUT_FREEBSD_UPDATE
1615 .El
1616 .It Va WITHOUT_PPP
1617 Set to not build
1618 .Xr ppp 8
1619 and related programs.
1620 .It Va WITHOUT_PROFILE
1621 Set to not build profiled libraries for use with
1622 .Xr gprof 8 .
1623 .Pp
1624 This is a default setting on
1625 mips/mips64el, mips/mips64, mips/mips64elhf and mips/mips64hf.
1626 .It Va WITH_PROFILE
1627 Set to build profiled libraries for use with
1628 .Xr gprof 8 .
1629 .Pp
1630 This is a default setting on
1631 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.
1632 .It Va WITHOUT_QUOTAS
1633 Set to not build
1634 .Xr quota 1
1635 and related programs.
1636 .It Va WITHOUT_RADIUS_SUPPORT
1637 Set to not build radius support into various applications, like
1638 .Xr pam_radius 8
1639 and
1640 .Xr ppp 8 .
1641 .It Va WITH_RATELIMIT
1642 Set to build the system with rate limit support.
1643 .Pp
1644 This makes
1645 .Dv SO_MAX_PACING_RATE
1646 effective in
1647 .Xr getsockopt 2 ,
1648 and
1649 .Ar txrlimit
1650 support in
1651 .Xr ifconfig 8 ,
1652 by proxy.
1653 .It Va WITHOUT_RBOOTD
1654 Set to not build or install
1655 .Xr rbootd 8 .
1656 .It Va WITH_REPRODUCIBLE_BUILD
1657 Set to exclude build metadata (such as the build time, user, or host)
1658 from the kernel, boot loaders, and uname output, so that builds produce
1659 bit-for-bit identical output.
1660 .It Va WITHOUT_RESCUE
1661 Set to not build
1662 .Xr rescue 8 .
1663 .It Va WITH_RETPOLINE
1664 Set to build the base system with the retpoline speculative execution
1665 vulnerability mitigation for CVE-2017-5715.
1666 .It Va WITHOUT_ROUTED
1667 Set to not build
1668 .Xr routed 8
1669 utility.
1670 .It Va WITH_RPCBIND_WARMSTART_SUPPORT
1671 Set to build
1672 .Xr rpcbind 8
1673 with warmstart support.
1674 .It Va WITHOUT_SENDMAIL
1675 Set to not build
1676 .Xr sendmail 8
1677 and related programs.
1678 .It Va WITHOUT_SERVICESDB
1679 Set to not install
1680 .Pa /var/db/services.db .
1681 .It Va WITHOUT_SETUID_LOGIN
1682 Set this to disable the installation of
1683 .Xr login 1
1684 as a set-user-ID root program.
1685 .It Va WITHOUT_SHAREDOCS
1686 Set to not build the
1687 .Bx 4.4
1688 legacy docs.
1689 .It Va WITH_SHARED_TOOLCHAIN
1690 Set to build the toolchain binaries shared.
1691 The set includes
1692 .Xr cc 1 ,
1693 .Xr make 1
1694 and necessary utilities like assembler, linker and library archive manager.
1695 .It Va WITH_SORT_THREADS
1696 Set to enable threads in
1697 .Xr sort 1 .
1698 .It Va WITHOUT_SOURCELESS
1699 Set to not build kernel modules that include sourceless code (either microcode or native code for host CPU).
1700 When set, it enforces these options:
1701 .Pp
1702 .Bl -item -compact
1703 .It
1704 .Va WITHOUT_SOURCELESS_HOST
1705 .It
1706 .Va WITHOUT_SOURCELESS_UCODE
1707 .El
1708 .It Va WITHOUT_SOURCELESS_HOST
1709 Set to not build kernel modules that include sourceless native code for host CPU.
1710 .It Va WITHOUT_SOURCELESS_UCODE
1711 Set to not build kernel modules that include sourceless microcode.
1712 .It Va WITHOUT_SSP
1713 Set to not build world with propolice stack smashing protection.
1714 .Pp
1715 This is a default setting on
1716 mips/mipsel, mips/mips, mips/mips64el, mips/mips64, mips/mipsn32, mips/mipselhf, mips/mipshf, mips/mips64elhf and mips/mips64hf.
1717 .It Va WITH_SSP
1718 Set to build world with propolice stack smashing protection.
1719 .Pp
1720 This is a default setting on
1721 amd64/amd64, arm/arm, arm/armv6, arm/armv7, arm64/aarch64, i386/i386, powerpc/powerpc, powerpc/powerpc64, powerpc/powerpcspe, riscv/riscv64 and sparc64/sparc64.
1722 .It Va WITH_STAGING
1723 Enable staging of files to a stage tree.
1724 This can be best thought of as auto-install to
1725 .Va DESTDIR
1726 with some extra meta data to ensure dependencies can be tracked.
1727 Depends on
1728 .Va WITH_DIRDEPS_BUILD .
1729 When set, these options are also in effect:
1730 .Pp
1731 .Bl -inset -compact
1732 .It Va WITH_STAGING_MAN
1733 (unless
1734 .Va WITHOUT_STAGING_MAN
1735 is set explicitly)
1736 .It Va WITH_STAGING_PROG
1737 (unless
1738 .Va WITHOUT_STAGING_PROG
1739 is set explicitly)
1740 .El
1741 .Pp
1742 This must be set in the environment, make command line, or
1743 .Pa /etc/src-env.conf ,
1744 not
1745 .Pa /etc/src.conf .
1746 .It Va WITH_STAGING_MAN
1747 Enable staging of man pages to stage tree.
1748 .It Va WITH_STAGING_PROG
1749 Enable staging of PROGs to stage tree.
1750 .It Va WITH_STALE_STAGED
1751 Check staged files are not stale.
1752 .It Va WITH_SVN
1753 Set to install
1754 .Xr svnlite 1
1755 as
1756 .Xr svn 1 .
1757 .It Va WITHOUT_SVNLITE
1758 Set to not build
1759 .Xr svnlite 1
1760 and related programs.
1761 .It Va WITHOUT_SYMVER
1762 Set to disable symbol versioning when building shared libraries.
1763 .It Va WITHOUT_SYSCONS
1764 Set to not build
1765 .Xr syscons 4
1766 support files such as keyboard maps, fonts, and screen output maps.
1767 .It Va WITH_SYSROOT
1768 Enable use of sysroot during build.
1769 Depends on
1770 .Va WITH_DIRDEPS_BUILD .
1771 .Pp
1772 This must be set in the environment, make command line, or
1773 .Pa /etc/src-env.conf ,
1774 not
1775 .Pa /etc/src.conf .
1776 .It Va WITHOUT_SYSTEM_COMPILER
1777 Set to not opportunistically skip building a cross-compiler during the
1778 bootstrap phase of the build.
1779 Normally, if the currently installed compiler matches the planned bootstrap
1780 compiler type and revision, then it will not be built.
1781 This does not prevent a compiler from being built for installation though,
1782 only for building one for the build itself.
1783 The
1784 .Va WITHOUT_CLANG
1785 and
1786 .Va WITHOUT_GCC
1787 options control those.
1788 .It Va WITHOUT_SYSTEM_LINKER
1789 Set to not opportunistically skip building a cross-linker during the
1790 bootstrap phase of the build.
1791 Normally, if the currently installed linker matches the planned bootstrap
1792 linker type and revision, then it will not be built.
1793 This does not prevent a linker from being built for installation though,
1794 only for building one for the build itself.
1795 The
1796 .Va WITHOUT_LLD
1797 and
1798 .Va WITHOUT_BINUTILS
1799 options control those.
1800 .Pp
1801 This option is only relevant when
1802 .Va WITH_LLD_BOOTSTRAP
1803 is set.
1804 .It Va WITHOUT_TALK
1805 Set to not build or install
1806 .Xr talk 1
1807 and
1808 .Xr talkd 8 .
1809 .It Va WITHOUT_TCP_WRAPPERS
1810 Set to not build or install
1811 .Xr tcpd 8 ,
1812 and related utilities.
1813 .It Va WITHOUT_TCSH
1814 Set to not build and install
1815 .Pa /bin/csh
1816 (which is
1817 .Xr tcsh 1 ) .
1818 .It Va WITHOUT_TELNET
1819 Set to not build
1820 .Xr telnet 1
1821 and related programs.
1822 .It Va WITHOUT_TESTS
1823 Set to not build nor install the
1824 .Fx
1825 Test Suite in
1826 .Pa /usr/tests/ .
1827 See
1828 .Xr tests 7
1829 for more details.
1830 This also disables the build of all test-related dependencies, including ATF.
1831 When set, it enforces these options:
1832 .Pp
1833 .Bl -item -compact
1834 .It
1835 .Va WITHOUT_DTRACE_TESTS
1836 .El
1837 .Pp
1838 When set, these options are also in effect:
1839 .Pp
1840 .Bl -inset -compact
1841 .It Va WITHOUT_GOOGLETEST
1842 (unless
1843 .Va WITH_GOOGLETEST
1844 is set explicitly)
1845 .It Va WITHOUT_TESTS_SUPPORT
1846 (unless
1847 .Va WITH_TESTS_SUPPORT
1848 is set explicitly)
1849 .El
1850 .It Va WITHOUT_TESTS_SUPPORT
1851 Set to disables the build of all test-related dependencies, including ATF.
1852 When set, it enforces these options:
1853 .Pp
1854 .Bl -item -compact
1855 .It
1856 .Va WITHOUT_GOOGLETEST
1857 .El
1858 .It Va WITHOUT_TEXTPROC
1859 Set to not build
1860 programs used for text processing.
1861 .It Va WITHOUT_TFTP
1862 Set to not build or install
1863 .Xr tftp 1
1864 and
1865 .Xr tftpd 8 .
1866 .It Va WITHOUT_TOOLCHAIN
1867 Set to not install header or
1868 programs used for program development,
1869 compilers, debuggers etc.
1870 When set, it enforces these options:
1871 .Pp
1872 .Bl -item -compact
1873 .It
1874 .Va WITHOUT_BINUTILS
1875 .It
1876 .Va WITHOUT_CLANG
1877 .It
1878 .Va WITHOUT_CLANG_EXTRAS
1879 .It
1880 .Va WITHOUT_CLANG_FULL
1881 .It
1882 .Va WITHOUT_GCC
1883 .It
1884 .Va WITHOUT_GDB
1885 .It
1886 .Va WITHOUT_INCLUDES
1887 .It
1888 .Va WITHOUT_LLD
1889 .It
1890 .Va WITHOUT_LLDB
1891 .It
1892 .Va WITHOUT_LLVM_COV
1893 .El
1894 .It Va WITHOUT_UNBOUND
1895 Set to not build
1896 .Xr unbound 8
1897 and related programs.
1898 .It Va WITHOUT_UNIFIED_OBJDIR
1899 Set to use the historical object directory format for
1900 .Xr build 7
1901 targets.
1902 For native-builds and builds done directly in sub-directories the format of
1903 .Pa ${MAKEOBJDIRPREFIX}/${.CURDIR}
1904 is used,
1905 while for cross-builds
1906 .Pa ${MAKEOBJDIRPREFIX}/${TARGET}.${TARGET_ARCH}/${.CURDIR}
1907 is used.
1908 .Pp
1909 This option is transitional and will be removed before the 12.0 release,
1910 at which time
1911 .va WITH_UNIFIED_OBJDIR
1912 will be enabled permanently.
1913 .Pp
1914 This must be set in the environment, make command line, or
1915 .Pa /etc/src-env.conf ,
1916 not
1917 .Pa /etc/src.conf .
1918 .It Va WITHOUT_USB
1919 Set to not build USB-related programs and libraries.
1920 .It Va WITHOUT_USB_GADGET_EXAMPLES
1921 Set to not build USB gadget kernel modules.
1922 .It Va WITHOUT_UTMPX
1923 Set to not build user accounting tools such as
1924 .Xr last 1 ,
1925 .Xr users 1 ,
1926 .Xr who 1 ,
1927 .Xr ac 8 ,
1928 .Xr lastlogin 8
1929 and
1930 .Xr utx 8 .
1931 .It Va WITH_VERIEXEC
1932 Enable building
1933 .Xr veriexec 8
1934 which loads the contents of verified manifests into the kernel
1935 for use by
1936 .Xr mac_veriexec 4
1937 .Pp
1938 It depends on
1939 .Va WITH_BEARSSL
1940 .It Va WITHOUT_VI
1941 Set to not build and install vi, view, ex and related programs.
1942 .It Va WITHOUT_VT
1943 Set to not build
1944 .Xr vt 4
1945 support files (fonts and keymaps).
1946 .It Va WITHOUT_WARNS
1947 Set this to not add warning flags to the compiler invocations.
1948 Useful as a temporary workaround when code enters the tree
1949 which triggers warnings in environments that differ from the
1950 original developer.
1951 .It Va WITHOUT_WIRELESS
1952 Set to not build programs used for 802.11 wireless networks; especially
1953 .Xr wpa_supplicant 8
1954 and
1955 .Xr hostapd 8 .
1956 When set, these options are also in effect:
1957 .Pp
1958 .Bl -inset -compact
1959 .It Va WITHOUT_WIRELESS_SUPPORT
1960 (unless
1961 .Va WITH_WIRELESS_SUPPORT
1962 is set explicitly)
1963 .El
1964 .It Va WITHOUT_WIRELESS_SUPPORT
1965 Set to build libraries, programs, and kernel modules without
1966 802.11 wireless support.
1967 .It Va WITHOUT_WPA_SUPPLICANT_EAPOL
1968 Build
1969 .Xr wpa_supplicant 8
1970 without support for the IEEE 802.1X protocol and without
1971 support for EAP-PEAP, EAP-TLS, EAP-LEAP, and EAP-TTLS
1972 protocols (usable only via 802.1X).
1973 .It Va WITHOUT_ZFS
1974 Set to not build ZFS file system kernel module, libraries, and user commands.
1975 .It Va WITHOUT_ZONEINFO
1976 Set to not build the timezone database.
1977 When set, it enforces these options:
1978 .Pp
1979 .Bl -item -compact
1980 .It
1981 .Va WITHOUT_ZONEINFO_LEAPSECONDS_SUPPORT
1982 .It
1983 .Va WITHOUT_ZONEINFO_OLD_TIMEZONES_SUPPORT
1984 .El
1985 .It Va WITH_ZONEINFO_LEAPSECONDS_SUPPORT
1986 Set to build leapsecond information in to the timezone database.
1987 .It Va WITH_ZONEINFO_OLD_TIMEZONES_SUPPORT
1988 Set to build backward compatibility timezone aliases in to the timezone
1989 database.
1990 .El
1991 .Sh FILES
1992 .Bl -tag -compact -width Pa
1993 .It Pa /etc/src.conf
1994 .It Pa /etc/src-env.conf
1995 .It Pa /usr/share/mk/bsd.own.mk
1996 .El
1997 .Sh SEE ALSO
1998 .Xr make 1 ,
1999 .Xr make.conf 5 ,
2000 .Xr build 7 ,
2001 .Xr ports 7
2002 .Sh HISTORY
2003 The
2004 .Nm
2005 file appeared in
2006 .Fx 7.0 .
2007 .Sh AUTHORS
2008 This manual page was autogenerated by
2009 .An tools/build/options/makeman .