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