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