Wed Jun 14 02:28:41 2023 UTC ()
Fix previous. Patch mistakenly applied somehow...


(rin)
diff -r1.104 -r1.105 src/share/man/man5/mk.conf.5

cvs diff -r1.104 -r1.105 src/share/man/man5/mk.conf.5 (switch to unified diff)

--- src/share/man/man5/mk.conf.5 2023/06/14 01:16:28 1.104
+++ src/share/man/man5/mk.conf.5 2023/06/14 02:28:41 1.105
@@ -1,2389 +1,2383 @@ @@ -1,2389 +1,2383 @@
1.\" $NetBSD: mk.conf.5,v 1.104 2023/06/14 01:16:28 rin Exp $ 1.\" $NetBSD: mk.conf.5,v 1.105 2023/06/14 02:28:41 rin Exp $
2.\" 2.\"
3.\" Copyright (c) 1999-2023 The NetBSD Foundation, Inc. 3.\" Copyright (c) 1999-2023 The NetBSD Foundation, Inc.
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" This code is derived from software contributed to The NetBSD Foundation 6.\" This code is derived from software contributed to The NetBSD Foundation
7.\" by Luke Mewburn. 7.\" by Luke Mewburn.
8.\" 8.\"
9.\" Redistribution and use in source and binary forms, with or without 9.\" Redistribution and use in source and binary forms, with or without
10.\" modification, are permitted provided that the following conditions 10.\" modification, are permitted provided that the following conditions
11.\" are met: 11.\" are met:
12.\" 1. Redistributions of source code must retain the above copyright 12.\" 1. Redistributions of source code must retain the above copyright
13.\" notice, this list of conditions and the following disclaimer. 13.\" notice, this list of conditions and the following disclaimer.
14.\" 2. Redistributions in binary form must reproduce the above copyright 14.\" 2. Redistributions in binary form must reproduce the above copyright
15.\" notice, this list of conditions and the following disclaimer in the 15.\" notice, this list of conditions and the following disclaimer in the
16.\" documentation and/or other materials provided with the distribution. 16.\" documentation and/or other materials provided with the distribution.
17.\" 17.\"
18.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 18.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 19.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 20.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 21.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28.\" POSSIBILITY OF SUCH DAMAGE. 28.\" POSSIBILITY OF SUCH DAMAGE.
29.\" 29.\"
30.Dd June 14, 2023 30.Dd June 14, 2023
31.Dt MK.CONF 5 31.Dt MK.CONF 5
32.Os 32.Os
33.\" turn off hyphenation 33.\" turn off hyphenation
34.hym 999 34.hym 999
35. 35.
36.Sh NAME 36.Sh NAME
37.Nm mk.conf 37.Nm mk.conf
38.Nd make configuration file 38.Nd make configuration file
39. 39.
40.Sh DESCRIPTION 40.Sh DESCRIPTION
41The 41The
42.Nm 42.Nm
43file overrides various parameters used during the build of the system. 43file overrides various parameters used during the build of the system.
44. 44.
45.Sh NETBSD SYSTEM VARIABLES 45.Sh NETBSD SYSTEM VARIABLES
46. 46.
47Listed below are the 47Listed below are the
48.Nm 48.Nm
49variables that may be set that affect the 49variables that may be set that affect the
50.Nx NetBSD 50.Nx NetBSD
51system build, 51system build,
52the values to which each may be set, 52the values to which each may be set,
53a brief description of what each variable does, 53a brief description of what each variable does,
54references to relevant manual pages, 54references to relevant manual pages,
55notes (including any interaction with 55notes (including any interaction with
56.Sy build.sh ) , 56.Sy build.sh ) ,
57and the default value of each variable. 57and the default value of each variable.
58. 58.
59.de DFLT 59.de DFLT
60.Pp 60.Pp
61.Em Default : 61.Em Default :
62.. 62..
63.de DFLTn 63.de DFLTn
64.DFLT 64.DFLT
65.Dq no . 65.Dq no .
66.. 66..
67.de DFLTu 67.de DFLTu
68.DFLT 68.DFLT
69Unset. 69Unset.
70.. 70..
71.de DFLTy 71.de DFLTy
72.DFLT 72.DFLT
73.Dq yes . 73.Dq yes .
74.. 74..
75.de NODEF 75.de NODEF
76.Pp 76.Pp
77Forced to 77Forced to
78.Dq no 78.Dq no
79if 79if
80.Sy \\$* 80.Sy \\$*
81is defined, 81is defined,
82usually in the Makefile before any 82usually in the Makefile before any
83.Xr make 1 83.Xr make 1
84.Cm \&.include 84.Cm \&.include
85directives. 85directives.
86.. 86..
87.de NOVAR 87.de NOVAR
88.Pp 88.Pp
89Forced to 89Forced to
90.Dq no 90.Dq no
91if 91if
92.Sy \\$* . 92.Sy \\$* .
93.. 93..
94.de YorN 94.de YorN
95Can be set to 95Can be set to
96.Dq yes 96.Dq yes
97or 97or
98.Dq no . 98.Dq no .
99.. 99..
100. 100.
101.Bl -tag -width 14n 101.Bl -tag -width 14n
102. 102.
103.\" These entries are sorted alphabetically. 103.\" These entries are sorted alphabetically.
104. 104.
105.It Sy BSDOBJDIR 105.It Sy BSDOBJDIR
106The real path to the object directory tree for the 106The real path to the object directory tree for the
107.Nx 107.Nx
108source tree. 108source tree.
109.DFLT 109.DFLT
110.Dq Pa /usr/obj . 110.Dq Pa /usr/obj .
111. 111.
112.It Sy BSDSRCDIR 112.It Sy BSDSRCDIR
113The real path to the 113The real path to the
114.Nx 114.Nx
115source tree, if 115source tree, if
116.Sy NETBSDSRCDIR 116.Sy NETBSDSRCDIR
117isn't defined. 117isn't defined.
118.DFLT 118.DFLT
119.Dq Pa /usr/src . 119.Dq Pa /usr/src .
120. 120.
121.It Sy BUILD 121.It Sy BUILD
122If defined, 122If defined,
123.Sq "make install" 123.Sq "make install"
124checks that the 124checks that the
125.Xr make 1 125.Xr make 1
126targets in the source directories are up-to-date and 126targets in the source directories are up-to-date and
127re-makes them if they are out of date, instead of blindly trying to install 127re-makes them if they are out of date, instead of blindly trying to install
128out of date or non-existent 128out of date or non-existent
129.Xr make 1 129.Xr make 1
130targets. 130targets.
131.DFLTu 131.DFLTu
132. 132.
133.It Sy BUILDID 133.It Sy BUILDID
134Identifier for the build. 134Identifier for the build.
135If set, this should be a short string that is suitable for use as 135If set, this should be a short string that is suitable for use as
136part of a file or directory name. 136part of a file or directory name.
137The identifier will be appended to 137The identifier will be appended to
138object directory names, and can be consulted in the 138object directory names, and can be consulted in the
139.Xr make 1 139.Xr make 1
140configuration file in order to set additional build parameters, 140configuration file in order to set additional build parameters,
141such as compiler flags. 141such as compiler flags.
142It will also be used as part of the kernel version string, 142It will also be used as part of the kernel version string,
143which can be shown by 143which can be shown by
144.Dq Li uname \-v . 144.Dq Li uname \-v .
145.DFLTu 145.DFLTu
146. 146.
147.It Sy BUILDINFO 147.It Sy BUILDINFO
148Optional multi-line string containing information about the build. 148Optional multi-line string containing information about the build.
149This will appear in 149This will appear in
150.Sy DESTDIR Ns Pa /etc/release , 150.Sy DESTDIR Ns Pa /etc/release ,
151and it will be stored in the 151and it will be stored in the
152.Va buildinfo 152.Va buildinfo
153variable in any kernels that are built. 153variable in any kernels that are built.
154When such kernels are booted, the 154When such kernels are booted, the
155.Xr sysctl 7 155.Xr sysctl 7
156.Va kern.buildinfo 156.Va kern.buildinfo
157variable will report this value. 157variable will report this value.
158The string may contain backslash escape sequences, such as 158The string may contain backslash escape sequences, such as
159.Dq "\e\e" 159.Dq "\e\e"
160(representing a backslash character) 160(representing a backslash character)
161and 161and
162.Dq "\en" 162.Dq "\en"
163(representing a newline). 163(representing a newline).
164.DFLTu 164.DFLTu
165. 165.
166.It Sy BUILDSEED 166.It Sy BUILDSEED
167.Xr g++ 1 167.Xr g++ 1
168uses random numbers when compiling C++ code. 168uses random numbers when compiling C++ code.
169This variable seeds the 169This variable seeds the
170.Xr g++ 1 170.Xr g++ 1
171random number generator using 171random number generator using
172.Fl frandom-seed 172.Fl frandom-seed
173with this value. 173with this value.
174By default, it is set to 174By default, it is set to
175.Do NetBSD-( Ns Em majorversion ) Dc . 175.Do NetBSD-( Ns Em majorversion ) Dc .
176Using a fixed value causes C++ binaries to be the same when 176Using a fixed value causes C++ binaries to be the same when
177built from the same sources, resulting in identical (reproducible) builds. 177built from the same sources, resulting in identical (reproducible) builds.
178Additional information is available in the 178Additional information is available in the
179.Xr g++ 1 179.Xr g++ 1
180documentation of 180documentation of
181.Fl frandom-seed . 181.Fl frandom-seed .
182.DFLTu 182.DFLTu
183. 183.
184.It Sy CDEXTRA 184.It Sy CDEXTRA
185A space-separated list of files or directories that will be 185A space-separated list of files or directories that will be
186added to the CD-ROM image that may be create by the 186added to the CD-ROM image that may be create by the
187.Sy build.sh 187.Sy build.sh
188.Dq iso-image 188.Dq iso-image
189or 189or
190.Dq iso-image-source 190.Dq iso-image-source
191operations. 191operations.
192Files will be added to the root of the CD-ROM image, 192Files will be added to the root of the CD-ROM image,
193whereas directories will be copied recursively. 193whereas directories will be copied recursively.
194If relative paths are specified, they will be converted to 194If relative paths are specified, they will be converted to
195absolute paths before being used. 195absolute paths before being used.
196.Em Note : 196.Em Note :
197If using 197If using
198.Sy build.sh , 198.Sy build.sh ,
199multiple paths may be specified via multiple 199multiple paths may be specified via multiple
200.Fl C 200.Fl C
201options, or via a single option whose argument contains multiple 201options, or via a single option whose argument contains multiple
202space-separated paths. 202space-separated paths.
203.DFLTu 203.DFLTu
204. 204.
205.It Sy CONFIGOPTS 205.It Sy CONFIGOPTS
206Additional flags to 206Additional flags to
207.Xr config 1 207.Xr config 1
208when building kernels. 208when building kernels.
209.DFLTu 209.DFLTu
210. 210.
211.It Sy COPTS 211.It Sy COPTS
212Extra options for the C compiler. 212Extra options for the C compiler.
213Should be appended to (e.g., 213Should be appended to (e.g.,
214.Sy COPTS+=-g ) , 214.Sy COPTS+=-g ) ,
215rather than explicitly set. 215rather than explicitly set.
216.Pp 216.Pp
217.Em Note : 217.Em Note :
218.Sy CPUFLAGS , 218.Sy CPUFLAGS ,
219not 219not
220.Sy COPTS , 220.Sy COPTS ,
221should be used for 221should be used for
222compiler flags that select CPU-related options. 222compiler flags that select CPU-related options.
223.Pp 223.Pp
224.Em Note : 224.Em Note :
225.Sy CFLAGS 225.Sy CFLAGS
226should never be set in 226should never be set in
227.Nm . 227.Nm .
228. 228.
229.It Sy CPUFLAGS 229.It Sy CPUFLAGS
230Additional options passed to the compiler/assembler to select 230Additional options passed to the compiler/assembler to select
231CPU instruction set options, CPU tuning options, etc. 231CPU instruction set options, CPU tuning options, etc.
232.Pp 232.Pp
233.Em Note : 233.Em Note :
234Such options should not be specified in 234Such options should not be specified in
235.Sy COPTS , 235.Sy COPTS ,
236because some parts of the build process need to override 236because some parts of the build process need to override
237CPU-related compiler options. 237CPU-related compiler options.
238.DFLTu 238.DFLTu
239. 239.
240.It Sy DESTDIR 240.It Sy DESTDIR
241Directory to contain the built 241Directory to contain the built
242.Nx 242.Nx
243system. 243system.
244If set, special options are passed to the compilation tools to 244If set, special options are passed to the compilation tools to
245prevent their default use of the host system's 245prevent their default use of the host system's
246.Sy /usr/include , /usr/lib , 246.Sy /usr/include , /usr/lib ,
247and so forth. 247and so forth.
248This pathname must be an absolute path, and should 248This pathname must be an absolute path, and should
249.Em not 249.Em not
250end with a slash 250end with a slash
251.Pq / 251.Pq /
252character. 252character.
253(For installation into the system's root directory, set 253(For installation into the system's root directory, set
254.Sy DESTDIR 254.Sy DESTDIR
255to an empty string, not to 255to an empty string, not to
256.Dq / ) . 256.Dq / ) .
257The directory must reside on a file system which supports long file 257The directory must reside on a file system which supports long file
258names and hard links. 258names and hard links.
259.Pp 259.Pp
260.Em Note : 260.Em Note :
261.Sy build.sh 261.Sy build.sh
262will provide a default of 262will provide a default of
263.Dq Pa destdir . Ns Sy MACHINE 263.Dq Pa destdir . Ns Sy MACHINE
264(in the top-level 264(in the top-level
265.Sy .OBJDIR ) 265.Sy .OBJDIR )
266unless run in 266unless run in
267.Sq expert 267.Sq expert
268mode with the 268mode with the
269.Fl E 269.Fl E
270option. 270option.
271.DFLT 271.DFLT
272Empty string if 272Empty string if
273.Sy USETOOLS=yes ; 273.Sy USETOOLS=yes ;
274otherwise unset. 274otherwise unset.
275. 275.
276.It Sy EXTERNAL_TOOLCHAIN 276.It Sy EXTERNAL_TOOLCHAIN
277If defined, this variable indicates the root directory of 277If defined, this variable indicates the root directory of
278an external toolchain which will be used to build the tree. 278an external toolchain which will be used to build the tree.
279For example, if a platform is a 279For example, if a platform is a
280.Sy TOOLCHAIN_MISSING 280.Sy TOOLCHAIN_MISSING
281platform, 281platform,
282.Sy EXTERNAL_TOOLCHAIN 282.Sy EXTERNAL_TOOLCHAIN
283can be used to re-enable the cross-compile framework. 283can be used to re-enable the cross-compile framework.
284.Pp 284.Pp
285If 285If
286.Sy EXTERNAL_TOOLCHAIN 286.Sy EXTERNAL_TOOLCHAIN
287is defined, act as 287is defined, act as
288.Sy MKGCC=no , 288.Sy MKGCC=no ,
289since the external version of the compiler may not be 289since the external version of the compiler may not be
290able to build the library components of the in-tree compiler. 290able to build the library components of the in-tree compiler.
291.Pp 291.Pp
292This variable should be used in conjunction with an appropriate 292This variable should be used in conjunction with an appropriate
293.Sy HAVE_GCC 293.Sy HAVE_GCC
294or 294or
295.Sy HAVE_LLVM 295.Sy HAVE_LLVM
296setting to control the compiler flags. 296setting to control the compiler flags.
297.Pp 297.Pp
298.Em Note : 298.Em Note :
299This variable is not yet used in as many places as it should be. 299This variable is not yet used in as many places as it should be.
300Expect the exact semantics of this variable to change in the short 300Expect the exact semantics of this variable to change in the short
301term as parts of the cross-compile framework continue to be cleaned up. 301term as parts of the cross-compile framework continue to be cleaned up.
302.DFLTu 302.DFLTu
303. 303.
304.It Sy INSTALLBOOT_BOARDS 304.It Sy INSTALLBOOT_BOARDS
305A list of 305A list of
306.Sy evbarm 306.Sy evbarm
307boards to create bootable images for. 307boards to create bootable images for.
308If corresponding U-Boot packages are installed, 308If corresponding U-Boot packages are installed,
309bootable images are created as part of a release. 309bootable images are created as part of a release.
310See the 310See the
311.Bk -words 311.Bk -words
312.Fl o Sy board= Ns Ar name 312.Fl o Sy board= Ns Ar name
313.Ek 313.Ek
314option of 314option of
315.Xr installboot 8 . 315.Xr installboot 8 .
316.DFLTu 316.DFLTu
317. 317.
318.It Sy INSTALLWORLDDIR 318.It Sy INSTALLWORLDDIR
319Directory for the top-level 319Directory for the top-level
320.Xr make 1 320.Xr make 1
321.Dq installworld 321.Dq installworld
322target to install to. 322target to install to.
323If specified, must be an absolute path. 323If specified, must be an absolute path.
324.DFLT 324.DFLT
325.Dq Pa / . 325.Dq Pa / .
326. 326.
327.It Sy KERNARCHDIR 327.It Sy KERNARCHDIR
328Directory under 328Directory under
329.Sy KERNSRCDIR 329.Sy KERNSRCDIR
330containing the machine dependent kernel sources. 330containing the machine dependent kernel sources.
331.DFLT 331.DFLT
332.Dq Pa arch/ Ns Sy MACHINE . 332.Dq Pa arch/ Ns Sy MACHINE .
333. 333.
334.It Sy KERNCONFDIR 334.It Sy KERNCONFDIR
335Directory containing the kernel configuration files. 335Directory containing the kernel configuration files.
336.DFLT 336.DFLT
337.Dq Sy KERNSRCDIR Ns Pa / Ns Sy KERNARCHDIR Ns Pa /conf . 337.Dq Sy KERNSRCDIR Ns Pa / Ns Sy KERNARCHDIR Ns Pa /conf .
338. 338.
339.It Sy KERNEL_DIR Pq No experimental 339.It Sy KERNEL_DIR Pq No experimental
340.YorN 340.YorN
341Indicates if a top-level directory 341Indicates if a top-level directory
342.Sy /netbsd/ 342.Sy /netbsd/
343is created. 343is created.
344If 344If
345.Dq yes , 345.Dq yes ,
346the directory will contain a kernel file 346the directory will contain a kernel file
347.Pa /netbsd/kernel 347.Pa /netbsd/kernel
348and a corresponding modules directory 348and a corresponding modules directory
349.Pa /netbsd/modules/ . 349.Pa /netbsd/modules/ .
350System bootstrap procedures will be modified to search for the kernel 350System bootstrap procedures will be modified to search for the kernel
351and modules in the 351and modules in the
352.Pa /netbsd/ 352.Pa /netbsd/
353directory. 353directory.
354This is intended to simplify system upgrade and rollback procedures by 354This is intended to simplify system upgrade and rollback procedures by
355keeping the kernel and its associated modules together in one place. 355keeping the kernel and its associated modules together in one place.
356.Pp 356.Pp
357If 357If
358.Dq no , 358.Dq no ,
359the kernel file will be stored in 359the kernel file will be stored in
360.Pa /netbsd 360.Pa /netbsd
361and the modules will be stored within the 361and the modules will be stored within the
362.Pa /stand/${ARCH}/ 362.Pa /stand/${ARCH}/
363directory hierarchy. 363directory hierarchy.
364.Pp 364.Pp
365The 365The
366.Sy KERNEL_DIR 366.Sy KERNEL_DIR
367option is a work-in-progress, and is highly experimental. 367option is a work-in-progress, and is highly experimental.
368It is also subject to change without notice. 368It is also subject to change without notice.
369.DFLTn 369.DFLTn
370. 370.
371.It Sy KERNOBJDIR 371.It Sy KERNOBJDIR
372Directory for kernel builds. 372Directory for kernel builds.
373For example, the kernel 373For example, the kernel
374.Sy GENERIC 374.Sy GENERIC
375will be compiled in 375will be compiled in
376.Sy KERNOBJDIR Ns Pa /GENERIC . 376.Sy KERNOBJDIR Ns Pa /GENERIC .
377.DFLT 377.DFLT
378.Dq Sy MAKEOBJDIRPREFIX Ns Pa / Ns Sy KERNSRCDIR Ns Pa / Ns Sy KERNARCHDIR Ns Pa /compile 378.Dq Sy MAKEOBJDIRPREFIX Ns Pa / Ns Sy KERNSRCDIR Ns Pa / Ns Sy KERNARCHDIR Ns Pa /compile
379if it exists or the 379if it exists or the
380.Xr make 1 380.Xr make 1
381.Dq obj 381.Dq obj
382target is being made; 382target is being made;
383otherwise 383otherwise
384.Dq Sy KERNSRCDIR Ns Pa / Ns Sy KERNARCHDIR Ns Pa /compile . 384.Dq Sy KERNSRCDIR Ns Pa / Ns Sy KERNARCHDIR Ns Pa /compile .
385. 385.
386.It Sy KERNSRCDIR 386.It Sy KERNSRCDIR
387Directory at the top of the kernel source. 387Directory at the top of the kernel source.
388.DFLT 388.DFLT
389.Dq Sy NETBSDSRCDIR Ns Pa /sys . 389.Dq Sy NETBSDSRCDIR Ns Pa /sys .
390. 390.
391.It Sy LOCALTIME 391.It Sy LOCALTIME
392The name of the 392The name of the
393.Xr tzfile 5 393.Xr tzfile 5
394timezone file in the directory 394timezone file in the directory
395.Pa /usr/share/zoneinfo 395.Pa /usr/share/zoneinfo
396to symbolically link 396to symbolically link
397.Sy DESTDIR Ns Pa /etc/localtime 397.Sy DESTDIR Ns Pa /etc/localtime
398to. 398to.
399.DFLT 399.DFLT
400.Dq UTC . 400.Dq UTC .
401. 401.
402.It Sy MAKEVERBOSE 402.It Sy MAKEVERBOSE
403Level of verbosity of status messages. 403Level of verbosity of status messages.
404Supported values: 404Supported values:
405.Bl -tag -width 2n 405.Bl -tag -width 2n
406.It 0 406.It 0
407No descriptive messages or commands executed by 407No descriptive messages or commands executed by
408.Xr make 1 408.Xr make 1
409are shown. 409are shown.
410.It 1 410.It 1
411Brief messages are shown describing what is being done, 411Brief messages are shown describing what is being done,
412but the actual commands executed by 412but the actual commands executed by
413.Xr make 1 413.Xr make 1
414are not shown. 414are not shown.
415.It 2 415.It 2
416Descriptive messages are shown as above (prefixed with a 416Descriptive messages are shown as above (prefixed with a
417.Sq # ) , 417.Sq # ) ,
418and ordinary commands performed by 418and ordinary commands performed by
419.Xr make 1 419.Xr make 1
420are shown. 420are shown.
421.It 3 421.It 3
422In addition to the above, all commands performed by 422In addition to the above, all commands performed by
423.Xr make 1 423.Xr make 1
424are shown, even if they would ordinarily have been hidden 424are shown, even if they would ordinarily have been hidden
425through use of the 425through use of the
426.Dq \&@ 426.Dq \&@
427prefix in the relevant makefile. 427prefix in the relevant makefile.
428.It 4 428.It 4
429In addition to the above, commands executed by 429In addition to the above, commands executed by
430.Xr make 1 430.Xr make 1
431are traced through use of the 431are traced through use of the
432.Xr sh 1 432.Xr sh 1
433.Dq Fl x 433.Dq Fl x
434flag. 434flag.
435.El 435.El
436.DFLT 436.DFLT
437.Sy 2 . 437.Sy 2 .
438. 438.
439.It Sy MKAMDGPUFIRMWARE 439.It Sy MKAMDGPUFIRMWARE
440.YorN 440.YorN
441Indicates whether to install the 441Indicates whether to install the
442.Pa /libdata/firmware/amdgpu 442.Pa /libdata/firmware/amdgpu
443directory, which is necessary for the 443directory, which is necessary for the
444.Xr amdgpu 4 444.Xr amdgpu 4
445AMD RADEON GPU video driver. 445AMD RADEON GPU video driver.
446.DFLT 446.DFLT
447.Dq yes 447.Dq yes
448on 448on
449.Sy i386 449.Sy i386
450and 450and
451.Sy x86_64 ; 451.Sy x86_64 ;
452.Dq no 452.Dq no
453on other platforms. 453on other platforms.
454. 454.
455.It Sy MKARGON2 455.It Sy MKARGON2
456.YorN 456.YorN
457Indicates whether the Argon2 hash is enabled in libcrypt. 457Indicates whether the Argon2 hash is enabled in libcrypt.
458.DFLTy 458.DFLTy
459. 459.
460.It Sy MKARZERO 460.It Sy MKARZERO
461.YorN 461.YorN
462Indicates whether 462Indicates whether
463.Xr ar 1 463.Xr ar 1
464should zero the timestamp, uid, and gid in the archive 464should zero the timestamp, uid, and gid in the archive
465for reproducible builds. 465for reproducible builds.
466.DFLT 466.DFLT
467The value of 467The value of
468.Sy MKREPRO 468.Sy MKREPRO
469(if defined), otherwise 469(if defined), otherwise
470.Dq no . 470.Dq no .
471. 471.
472.It Sy MKATF 472.It Sy MKATF
473.YorN 473.YorN
474Indicates whether the Automated Testing Framework (ATF) 474Indicates whether the Automated Testing Framework (ATF)
475will be built and installed. 475will be built and installed.
476This also controls whether the 476This also controls whether the
477.Nx 477.Nx
478test suite will be built and installed, 478test suite will be built and installed,
479as the tests rely on ATF and cannot be built without it. 479as the tests rely on ATF and cannot be built without it.
480.NOVAR MKCXX=no 480.NOVAR MKCXX=no
481.DFLTy 481.DFLTy
482. 482.
483.It Sy MKBINUTILS 483.It Sy MKBINUTILS
484.YorN 484.YorN
485Indicates whether any of the binutils tools or libraries 485Indicates whether any of the binutils tools or libraries
486will be built and installed. 486will be built and installed.
487That is, the libraries 487That is, the libraries
488.Sy libbfd , 488.Sy libbfd ,
489.Sy libiberty , 489.Sy libiberty ,
490or any of the things that depend upon them, e.g. 490or any of the things that depend upon them, e.g.
491.Xr as 1 , 491.Xr as 1 ,
492.Xr ld 1 , 492.Xr ld 1 ,
493.Xr dbsym 8 , 493.Xr dbsym 8 ,
494or 494or
495.Xr mdsetimage 8 . 495.Xr mdsetimage 8 .
496.NOVAR TOOLCHAIN_MISSING!=no 496.NOVAR TOOLCHAIN_MISSING!=no
497.DFLTy 497.DFLTy
498. 498.
499.It Sy MKBSDGREP 499.It Sy MKBSDGREP
500.YorN 500.YorN
501Determines which implementation of 501Determines which implementation of
502.Xr grep 1 502.Xr grep 1
503will be built and installed. 503will be built and installed.
504If 504If
505.Dq yes , 505.Dq yes ,
506use the BSD implementation. 506use the BSD implementation.
507If 507If
508.Dq no , 508.Dq no ,
509use the GNU implementation. 509use the GNU implementation.
510.DFLTn 510.DFLTn
511. 511.
512.It Sy MKBSDTAR 512.It Sy MKBSDTAR
513.YorN 513.YorN
514Determines which implementation of 514Determines which implementation of
515.Xr cpio 1 515.Xr cpio 1
516and 516and
517.Xr tar 1 517.Xr tar 1
518will be built and installed. 518will be built and installed.
519If 519If
520.Dq yes , 520.Dq yes ,
521use the 521use the
522.Sy libarchive Ns - Ns 522.Sy libarchive Ns - Ns
523based implementations. 523based implementations.
524If 524If
525.Dq no , 525.Dq no ,
526use the 526use the
527.Xr pax 1 527.Xr pax 1
528based implementations. 528based implementations.
529.DFLTy 529.DFLTy
530. 530.
531.It Sy MKCATPAGES 531.It Sy MKCATPAGES
532.YorN 532.YorN
533Indicates whether preformatted plaintext manual pages will be created 533Indicates whether preformatted plaintext manual pages will be created
534and installed. 534and installed.
535.NOVAR MKMAN=no No or Sy MKSHARE=no 535.NOVAR MKMAN=no No or Sy MKSHARE=no
536.DFLTn 536.DFLTn
537. 537.
538.It Sy MKCLEANSRC 538.It Sy MKCLEANSRC
539.YorN 539.YorN
540Indicates whether 540Indicates whether
541.Sq "make clean" 541.Sq "make clean"
542and 542and
543.Sq "make cleandir" 543.Sq "make cleandir"
544will delete file names in 544will delete file names in
545.Sy CLEANFILES 545.Sy CLEANFILES
546or 546or
547.Sy CLEANDIRFILES 547.Sy CLEANDIRFILES
548from both the object directory, 548from both the object directory,
549.Sy .OBJDIR , 549.Sy .OBJDIR ,
550and the source directory, 550and the source directory,
551.Sy .SRCDIR . 551.Sy .SRCDIR .
552.Pp 552.Pp
553If 553If
554.Dq yes , 554.Dq yes ,
555then these file names will be deleted relative to both 555then these file names will be deleted relative to both
556.Sy .OBJDIR 556.Sy .OBJDIR
557and 557and
558.Sy .CURDIR . 558.Sy .CURDIR .
559If 559If
560.Dq no , 560.Dq no ,
561then the deletion will be performed relative to 561then the deletion will be performed relative to
562.Sy .OBJDIR 562.Sy .OBJDIR
563only. 563only.
564.DFLTy 564.DFLTy
565. 565.
566.It Sy MKCLEANVERIFY 566.It Sy MKCLEANVERIFY
567.YorN 567.YorN
568Controls whether 568Controls whether
569.Sq "make clean" 569.Sq "make clean"
570and 570and
571.Sq "make cleandir" 571.Sq "make cleandir"
572will verify that files have been deleted. 572will verify that files have been deleted.
573If 573If
574.Dq yes , 574.Dq yes ,
575then file deletions will be verified using 575then file deletions will be verified using
576.Xr ls 1 . 576.Xr ls 1 .
577If 577If
578.Dq no , 578.Dq no ,
579then file deletions will not be verified. 579then file deletions will not be verified.
580.DFLTy 580.DFLTy
581. 581.
582.It Sy MKCOMPAT 582.It Sy MKCOMPAT
583.YorN 583.YorN
584Indicates whether support for multiple ABIs is to be built and 584Indicates whether support for multiple ABIs is to be built and
585installed. 585installed.
586.NODEF NOCOMPAT 586.NODEF NOCOMPAT
587.DFLT 587.DFLT
588.Dq yes 588.Dq yes
589on 589on
590.Sy aarch64 590.Sy aarch64
591(without gcc), 591(without gcc),
592.Sy mips64 , 592.Sy mips64 ,
593.Sy powerpc64 , 593.Sy powerpc64 ,
594.Sy riscv64 , 594.Sy riscv64 ,
595.Sy sparc64 , 595.Sy sparc64 ,
596and 596and
597.Sy x86_64 ; 597.Sy x86_64 ;
598.Dq no 598.Dq no
599on other platforms. 599on other platforms.
600. 600.
601.It Sy MKCOMPATMODULES 601.It Sy MKCOMPATMODULES
602.YorN 602.YorN
603Indicates whether the compat kernel modules will be built and installed. 603Indicates whether the compat kernel modules will be built and installed.
604.NOVAR MKCOMPAT=no 604.NOVAR MKCOMPAT=no
605.DFLT 605.DFLT
606.Dq yes 606.Dq yes
607on 607on
608.Sy evbppc-powerpc 608.Sy evbppc-powerpc
609and 609and
610.Sy mips64 ; 610.Sy mips64 ;
611.Dq no 611.Dq no
612on other platforms. 612on other platforms.
613. 613.
614.It Sy MKCOMPATTESTS 614.It Sy MKCOMPATTESTS
615.YorN 615.YorN
616Indicates whether the 616Indicates whether the
617.Nx 617.Nx
618test suite for 618test suite for
619.Pa src/compat 619.Pa src/compat
620will be built and installed. 620will be built and installed.
621.NOVAR MKCOMPAT=no 621.NOVAR MKCOMPAT=no
622.DFLTn 622.DFLTn
623. 623.
624.It Sy MKCOMPATX11 624.It Sy MKCOMPATX11
625.YorN 625.YorN
626Indicates whether the X11 libraries will be built and installed. 626Indicates whether the X11 libraries will be built and installed.
627.NOVAR MKCOMPAT=no 627.NOVAR MKCOMPAT=no
628.DFLTn 628.DFLTn
629. 629.
630.It Sy MKCOMPLEX 630.It Sy MKCOMPLEX
631.YorN 631.YorN
632Indicates whether the 632Indicates whether the
633.Lb libm 633.Lb libm
634is compiled with support for 634is compiled with support for
635.In complex.h . 635.In complex.h .
636.DFLTy 636.DFLTy
637. 637.
638.It Sy MKCROSSGDB 638.It Sy MKCROSSGDB
639.YorN 639.YorN
640Create a cross-gdb as a host tool. 640Create a cross-gdb as a host tool.
641.DFLTn 641.DFLTn
642. 642.
643.It Sy MKCTF 643.It Sy MKCTF
644.YorN 644.YorN
645Indicates whether CTF tools are to be built and installed. 645Indicates whether CTF tools are to be built and installed.
646If 646If
647.Dq yes , 647.Dq yes ,
648the tools will be used to generate and manipulate 648the tools will be used to generate and manipulate
649CTF data of ELF binaries during build. 649CTF data of ELF binaries during build.
650.NODEF NOCTF 650.NODEF NOCTF
651.Pp 651.Pp
652This is disabled internally for standalone programs in 652This is disabled internally for standalone programs in
653.Pa /usr/mdec . 653.Pa /usr/mdec .
654.DFLT 654.DFLT
655.Dq yes 655.Dq yes
656on 656on
657.Sy aarch64 , 657.Sy aarch64 ,
658.Sy amd64 , 658.Sy amd64 ,
659and 659and
660.Sy i386 ; 660.Sy i386 ;
661.Dq no 661.Dq no
662on other platforms. 662on other platforms.
663. 663.
664.It Sy MKCVS 664.It Sy MKCVS
665.YorN 665.YorN
666Indicates whether 666Indicates whether
667.Xr cvs 1 667.Xr cvs 1
668will be built and installed. 668will be built and installed.
669.DFLTy 669.DFLTy
670. 670.
671.It Sy MKCXX 671.It Sy MKCXX
672.YorN 672.YorN
673Indicates whether C++ support is enabled. 673Indicates whether C++ support is enabled.
674.Pp 674.Pp
675If 675If
676.Dq no , 676.Dq no ,
677C++ compilers and software will not be built, 677C++ compilers and software will not be built,
678and acts as 678and acts as
679.Sy MKATF=no MKGCCCMDS=no MKGDB=no MKGROFF=no MKKYUA=no . 679.Sy MKATF=no MKGCCCMDS=no MKGDB=no MKGROFF=no MKKYUA=no .
680.DFLTy 680.DFLTy
681. 681.
682.It Sy MKDEBUG 682.It Sy MKDEBUG
683.YorN 683.YorN
684Indicates whether debug information should be generated for 684Indicates whether debug information should be generated for
685all userland binaries. 685all userland binaries.
686The result is collected as an additional 686The result is collected as an additional
687.Sy debug 687.Sy debug
688and 688and
689.Sy xdebug 689.Sy xdebug
690set and installed in 690set and installed in
691.Sy DESTDIR Ns Pa /usr/libdata/debug . 691.Sy DESTDIR Ns Pa /usr/libdata/debug .
692.NODEF NODEBUG 692.NODEF NODEBUG
693.DFLTn 693.DFLTn
694. 694.
695.It Sy MKDEBUGKERNEL 695.It Sy MKDEBUGKERNEL
696.YorN 696.YorN
697Indicates whether debugging symbols will be built for kernels 697Indicates whether debugging symbols will be built for kernels
698by default; pretend as if 698by default; pretend as if
699.Em makeoptions DEBUG="-g" 699.Em makeoptions DEBUG="-g"
700is specified in kernel configuration files. 700is specified in kernel configuration files.
701This will also put the debug kernel 701This will also put the debug kernel
702.Pa netbsd.gdb 702.Pa netbsd.gdb
703in the kernel sets. 703in the kernel sets.
704See 704See
705.Xr options 4 705.Xr options 4
706for details. 706for details.
707This is useful if a cross-gdb is built as well (see 707This is useful if a cross-gdb is built as well (see
708.Sy MKCROSSGDB ) . 708.Sy MKCROSSGDB ) .
709.DFLTn 709.DFLTn
710. 710.
711.It Sy MKDEBUGLIB 711.It Sy MKDEBUGLIB
712.YorN 712.YorN
713Indicates whether debug libraries 713Indicates whether debug libraries
714.Sy ( lib*_g.a ) 714.Sy ( lib*_g.a )
715will be built and installed. 715will be built and installed.
716Debug libraries are compiled with 716Debug libraries are compiled with
717.Dq Li -g -DDEBUG . 717.Dq Li -g -DDEBUG .
718.NODEF NODEBUGLIB 718.NODEF NODEBUGLIB
719.DFLTn 719.DFLTn
720. 720.
721.It Sy MKDEBUGTOOLS 721.It Sy MKDEBUGTOOLS
722.YorN 722.YorN
723Indicates whether debug information 723Indicates whether debug information
724.Sy ( lib*_g.a ) 724.Sy ( lib*_g.a )
725will be included in the build toolchain. 725will be included in the build toolchain.
726.DFLTn 726.DFLTn
727. 727.
728.It Sy MKDEPINCLUDES 728.It Sy MKDEPINCLUDES
729.YorN 729.YorN
730Indicates whether to add 730Indicates whether to add
731.Cm \&.include 731.Cm \&.include
732statements in the 732statements in the
733.Pa .depend 733.Pa .depend
734files instead of inlining the contents of the 734files instead of inlining the contents of the
735.Pa *.d 735.Pa *.d
736files. 736files.
737This is useful when stale dependencies are present, 737This is useful when stale dependencies are present,
738to list the exact files that need refreshing, but 738to list the exact files that need refreshing, but
739it is possibly slower than inlining. 739it is possibly slower than inlining.
740.DFLTn 740.DFLTn
741. 741.
742.It Sy MKDOC 742.It Sy MKDOC
743.YorN 743.YorN
744Indicates whether system documentation destined for 744Indicates whether system documentation destined for
745.Sy DESTDIR Ns Pa /usr/share/doc 745.Sy DESTDIR Ns Pa /usr/share/doc
746will be installed. 746will be installed.
747.NODEF NODOC 747.NODEF NODOC
748.NOVAR MKSHARE=no 748.NOVAR MKSHARE=no
749.DFLTy 749.DFLTy
750.Pp 
751.Em Note : 
752see also 
753.Pa src/sys/rump/README.compileopts 
754for variables used during the build of the 
755.Xr rump 3 . 
756. 750.
757.It Sy MKDTB 751.It Sy MKDTB
758.YorN 752.YorN
759Indicates whether the devicetree blobs will be built and installed. 753Indicates whether the devicetree blobs will be built and installed.
760.DFLT 754.DFLT
761.Dq yes 755.Dq yes
762on 756on
763.Sy aarch64 , 757.Sy aarch64 ,
764.Sy armv6 , 758.Sy armv6 ,
765.Sy armv7 , 759.Sy armv7 ,
766.Sy riscv32 , 760.Sy riscv32 ,
767and 761and
768.Sy riscv64 ; 762.Sy riscv64 ;
769.Dq no 763.Dq no
770on other platforms. 764on other platforms.
771. 765.
772.It Sy MKDTC 766.It Sy MKDTC
773.YorN 767.YorN
774Indicates whether the Device Tree Compiler (dtc) will be built and installed. 768Indicates whether the Device Tree Compiler (dtc) will be built and installed.
775.DFLTy 769.DFLTy
776.Pp 
777.Em Note : 
778see also 
779.Pa src/sys/rump/README.compileopts 
780for variables used during the build of the 
781.Xr rump 3 . 
782. 770.
783.It Sy MKDTRACE 771.It Sy MKDTRACE
784.YorN 772.YorN
785Indicates whether the kernel modules, utilities, and libraries for 773Indicates whether the kernel modules, utilities, and libraries for
786.Xr dtrace 1 774.Xr dtrace 1
787support are to be built and installed. 775support are to be built and installed.
788.DFLT 776.DFLT
789.Dq yes 777.Dq yes
790on 778on
791.Sy aarch64 , 779.Sy aarch64 ,
792.Sy amd64 , 780.Sy amd64 ,
793and 781and
794.Sy i386 ; 782.Sy i386 ;
795.Dq no 783.Dq no
796on other platforms. 784on other platforms.
797. 785.
798.It Sy MKDYNAMICROOT 786.It Sy MKDYNAMICROOT
799.YorN 787.YorN
800Indicates whether all programs should be dynamically linked, 788Indicates whether all programs should be dynamically linked,
801and to install shared libraries required by 789and to install shared libraries required by
802.Pa /bin 790.Pa /bin
803and 791and
804.Pa /sbin 792.Pa /sbin
805and the shared linker 793and the shared linker
806.Xr ld.elf_so 1 794.Xr ld.elf_so 1
807into 795into
808.Pa /lib . 796.Pa /lib .
809If 797If
810.Dq no , 798.Dq no ,
811link programs in 799link programs in
812.Pa /bin 800.Pa /bin
813and 801and
814.Pa /sbin 802.Pa /sbin
815statically. 803statically.
816.DFLT 804.DFLT
817.Dq no 805.Dq no
818on 806on
819.Sy ia64 ; 807.Sy ia64 ;
820.Dq yes 808.Dq yes
821on other platforms. 809on other platforms.
822. 810.
823.It Sy MKFIRMWARE 811.It Sy MKFIRMWARE
824.YorN 812.YorN
825Indicates whether to install the 813Indicates whether to install the
826.Pa /libdata/firmware 814.Pa /libdata/firmware
827directory, which is necessary for various drivers, including: 815directory, which is necessary for various drivers, including:
828.Xr athn 4 , 816.Xr athn 4 ,
829.Xr bcm43xx 4 , 817.Xr bcm43xx 4 ,
830.Xr bwfm 4 , 818.Xr bwfm 4 ,
831.Xr ipw 4 , 819.Xr ipw 4 ,
832.Xr iwi 4 , 820.Xr iwi 4 ,
833.Xr iwm 4 , 821.Xr iwm 4 ,
834.Xr iwn 4 , 822.Xr iwn 4 ,
835.Xr otus 4 , 823.Xr otus 4 ,
836.Xr ral 4 , 824.Xr ral 4 ,
837.Xr rtwn 4 , 825.Xr rtwn 4 ,
838.Xr rum 4 , 826.Xr rum 4 ,
839.Xr run 4 , 827.Xr run 4 ,
840.Xr urtwn 4 , 828.Xr urtwn 4 ,
841.Xr wpi 4 , 829.Xr wpi 4 ,
842.Xr zyd 4 , 830.Xr zyd 4 ,
843and the Tegra 124 SoC. 831and the Tegra 124 SoC.
844.DFLT 832.DFLT
845.Dq yes 833.Dq yes
846on 834on
847.Sy amd64 , 835.Sy amd64 ,
848.Sy cobalt , 836.Sy cobalt ,
849.Sy evbarm , 837.Sy evbarm ,
850.Sy evbmips , 838.Sy evbmips ,
851.Sy evbppc , 839.Sy evbppc ,
852.Sy hpcarm , 840.Sy hpcarm ,
853.Sy hppa , 841.Sy hppa ,
854.Sy i386 , 842.Sy i386 ,
855.Sy mac68k , 843.Sy mac68k ,
856.Sy macppc , 844.Sy macppc ,
857.Sy sandpoint , 845.Sy sandpoint ,
858and 846and
859.Sy sparc64 ; 847.Sy sparc64 ;
860.Dq no 848.Dq no
861on other platforms. 849on other platforms.
862. 850.
863.It Sy MKGCC 851.It Sy MKGCC
864.YorN 852.YorN
865Indicates whether 853Indicates whether
866.Xr gcc 1 854.Xr gcc 1
867or any related libraries 855or any related libraries
868.Pq Sy libg2c , libgcc , libobjc , libstdc++ 856.Pq Sy libg2c , libgcc , libobjc , libstdc++
869will be built and installed. 857will be built and installed.
870.NOVAR TOOLCHAIN_MISSING!=no No or Sy EXTERNAL_TOOLCHAIN No is defined 858.NOVAR TOOLCHAIN_MISSING!=no No or Sy EXTERNAL_TOOLCHAIN No is defined
871.DFLTy 859.DFLTy
872. 860.
873.It Sy MKGCCCMDS 861.It Sy MKGCCCMDS
874.YorN 862.YorN
875Indicates whether 863Indicates whether
876.Xr gcc 1 864.Xr gcc 1
877will be built and installed. 865will be built and installed.
878If 866If
879.Dq no , 867.Dq no ,
880then 868then
881.Sy MKGCC 869.Sy MKGCC
882controls if the 870controls if the
883GCC libraries will be built and installed. 871GCC libraries will be built and installed.
884.NOVAR MKCXX=no 872.NOVAR MKCXX=no
885.DFLT 873.DFLT
886.Dq no 874.Dq no
887on 875on
888.Sy m68000 ; 876.Sy m68000 ;
889.Dq yes 877.Dq yes
890on other platforms. 878on other platforms.
891. 879.
892.It Sy MKGDB 880.It Sy MKGDB
893.YorN 881.YorN
894Indicates whether 882Indicates whether
895.Xr gdb 1 883.Xr gdb 1
896will be built and installed. 884will be built and installed.
897.NOVAR MKCXX=no No or Sy TOOLCHAIN_MISSING!=no 885.NOVAR MKCXX=no No or Sy TOOLCHAIN_MISSING!=no
898.DFLT 886.DFLT
899.Dq no 887.Dq no
900on 888on
901.Sy ia64 889.Sy ia64
902and 890and
903.Sy or1k ; 891.Sy or1k ;
904.Dq yes 892.Dq yes
905on other platforms. 893on other platforms.
906. 894.
907.It Sy MKGROFF 895.It Sy MKGROFF
908.YorN 896.YorN
909Indicates whether 897Indicates whether
910.Xr groff 1 898.Xr groff 1
911will be built, installed, 899will be built, installed,
912and used to format some of the PostScript and PDF 900and used to format some of the PostScript and PDF
913documentation. 901documentation.
914.NOVAR MKCXX=no 902.NOVAR MKCXX=no
915.DFLTy 903.DFLTy
916. 904.
917.It Sy MKGROFFHTMLDOC 905.It Sy MKGROFFHTMLDOC
918.YorN 906.YorN
919Indicates whether to use 907Indicates whether to use
920.Xr groff 1 908.Xr groff 1
921to generate HTML for miscellaneous articles which 909to generate HTML for miscellaneous articles which
922sometimes requires software not in the base installation. 910sometimes requires software not in the base installation.
923Does not affect the generation of HTML man pages. 911Does not affect the generation of HTML man pages.
924.DFLTn 912.DFLTn
925. 913.
926.It Sy MKHESIOD 914.It Sy MKHESIOD
927.YorN 915.YorN
928Indicates whether the Hesiod infrastructure 916Indicates whether the Hesiod infrastructure
929(libraries and support programs) will be built and installed. 917(libraries and support programs) will be built and installed.
930.DFLTy 918.DFLTy
931. 919.
932.It Sy MKHOSTOBJ 920.It Sy MKHOSTOBJ
933.YorN 921.YorN
934If 922If
935.Dq yes , 923.Dq yes ,
936then for programs intended to be run on the compile host, 924then for programs intended to be run on the compile host,
937the name, release, and architecture of the host operating system 925the name, release, and architecture of the host operating system
938will be suffixed to the name of the object directory created by 926will be suffixed to the name of the object directory created by
939.Dq make obj . 927.Dq make obj .
940(This allows multiple host systems to compile 928(This allows multiple host systems to compile
941.Nx 929.Nx
942for a single target architecture.) 930for a single target architecture.)
943If 931If
944.Dq no , 932.Dq no ,
945then programs built to be run on the compile host will use the same 933then programs built to be run on the compile host will use the same
946object directory names as programs built to be run on the target 934object directory names as programs built to be run on the target
947architecture. 935architecture.
948.DFLTn 936.DFLTn
949. 937.
950.It Sy MKHTML 938.It Sy MKHTML
951.YorN 939.YorN
952Indicates whether the HTML manual pages are created and installed. 940Indicates whether the HTML manual pages are created and installed.
953.NODEF NOHTML 941.NODEF NOHTML
954.NOVAR MKMAN=no No or Sy MKSHARE=no 942.NOVAR MKMAN=no No or Sy MKSHARE=no
955.DFLTy 943.DFLTy
956. 944.
957.It Sy MKIEEEFP 945.It Sy MKIEEEFP
958.YorN 946.YorN
959Indicates whether code for IEEE754/IEC60559 conformance 947Indicates whether code for IEEE754/IEC60559 conformance
960will be built and installed. 948will be built and installed.
961Has no effect on most platforms. 949Has no effect on most platforms.
962.DFLTy 950.DFLTy
963. 951.
964.It Sy MKINET6 952.It Sy MKINET6
965.YorN 953.YorN
966Indicates whether INET6 (IPv6) infrastructure 954Indicates whether INET6 (IPv6) infrastructure
967(libraries and support programs) will be built and installed. 955(libraries and support programs) will be built and installed.
968.Pp 956.Pp
969.Em Note : 957.Em Note :
970.Sy MKINET6 958.Sy MKINET6
971must not be set to 959must not be set to
972.Dq no 960.Dq no
973if 961if
974.Sy MKX11!=no . 962.Sy MKX11!=no .
975.DFLTy 963.DFLTy
976. 964.
977.It Sy MKINFO 965.It Sy MKINFO
978.YorN 966.YorN
979Indicates whether GNU Info files, used for the documentation for 967Indicates whether GNU Info files, used for the documentation for
980most of the compilation tools, will be built and installed. 968most of the compilation tools, will be built and installed.
981.NODEF NOINFO 969.NODEF NOINFO
982.NOVAR MKSHARE=no 970.NOVAR MKSHARE=no
983.DFLTy 971.DFLTy
984. 972.
985.It Sy MKIPFILTER 973.It Sy MKIPFILTER
986.YorN 974.YorN
987Indicates whether the 975Indicates whether the
988.Xr ipf 4 976.Xr ipf 4
989programs, headers, and other components will be built and installed. 977programs, headers, and other components will be built and installed.
990.DFLTy 978.DFLTy
991. 979.
992.It Sy MKISCSI 980.It Sy MKISCSI
993.YorN 981.YorN
994Indicates whether the iSCSI library and applications are 982Indicates whether the iSCSI library and applications are
995built and installed. 983built and installed.
996.DFLT 984.DFLT
997.Dq no 985.Dq no
998on 986on
999.Sy m68000 ; 987.Sy m68000 ;
1000.Dq yes 988.Dq yes
1001on other platforms. 989on other platforms.
1002. 990.
1003.It Sy MKKERBEROS 991.It Sy MKKERBEROS
1004.YorN 992.YorN
1005Indicates whether the Kerberos v5 infrastructure 993Indicates whether the Kerberos v5 infrastructure
1006(libraries and support programs) will be built and installed. 994(libraries and support programs) will be built and installed.
1007Caution: the default 995Caution: the default
1008.Xr pam 8 996.Xr pam 8
1009configuration requires that Kerberos be present even if not used. 997configuration requires that Kerberos be present even if not used.
1010Do not install a userland without Kerberos without also either 998Do not install a userland without Kerberos without also either
1011updating the 999updating the
1012.Xr pam.conf 5 1000.Xr pam.conf 5
1013files or disabling PAM via 1001files or disabling PAM via
1014.Sy MKPAM . 1002.Sy MKPAM .
1015Otherwise all logins will fail. 1003Otherwise all logins will fail.
1016.DFLTy 1004.DFLTy
1017. 1005.
1018.It Sy MKKMOD 1006.It Sy MKKMOD
1019.YorN 1007.YorN
1020Indicates whether kernel modules will be built and installed. 1008Indicates whether kernel modules will be built and installed.
1021.DFLT 1009.DFLT
1022.Dq no 1010.Dq no
1023on 1011on
1024.Sy or1k ; 1012.Sy or1k ;
1025.Dq yes 1013.Dq yes
1026on other platforms. 1014on other platforms.
1027. 1015.
1028.It Sy MKKYUA 1016.It Sy MKKYUA
1029.YorN 1017.YorN
1030Indicates whether Kyua (the testing infrastructure used by 1018Indicates whether Kyua (the testing infrastructure used by
1031.Nx ) 1019.Nx )
1032will be built and installed. 1020will be built and installed.
1033.NOVAR MKCXX=no 1021.NOVAR MKCXX=no
1034.Pp 1022.Pp
1035.Em Note : 1023.Em Note :
1036This does not control the installation of the tests themselves. 1024This does not control the installation of the tests themselves.
1037The tests rely on the ATF libraries and therefore their build is controlled 1025The tests rely on the ATF libraries and therefore their build is controlled
1038by the 1026by the
1039.Sy MKATF 1027.Sy MKATF
1040variable. 1028variable.
1041.DFLT 1029.DFLT
1042.Dq no 1030.Dq no
1043until the import of Kyua is done and validated. 1031until the import of Kyua is done and validated.
1044. 1032.
1045.It Sy MKLDAP 1033.It Sy MKLDAP
1046.YorN 1034.YorN
1047Indicates whether the Lightweight Directory Access Protocol (LDAP) 1035Indicates whether the Lightweight Directory Access Protocol (LDAP)
1048infrastructure 1036infrastructure
1049(libraries and support programs) will be built and installed. 1037(libraries and support programs) will be built and installed.
1050.DFLTy 1038.DFLTy
1051. 1039.
1052.It Sy MKLIBCSANITIZER 1040.It Sy MKLIBCSANITIZER
1053.YorN 1041.YorN
1054Indicates whether to use the sanitizer for libc, 1042Indicates whether to use the sanitizer for libc,
1055using the sanitizer defined by 1043using the sanitizer defined by
1056.Sy USE_LIBCSANITIZER . 1044.Sy USE_LIBCSANITIZER .
1057.NODEF NOLIBCSANITIZER 1045.NODEF NOLIBCSANITIZER
1058.DFLTn 1046.DFLTn
1059. 1047.
1060.It Sy MKLIBCXX 1048.It Sy MKLIBCXX
1061.YorN 1049.YorN
1062Indicates if libc++ will be built and installed 1050Indicates if libc++ will be built and installed
1063(usually for 1051(usually for
1064.Xr clang++ 1 ) . 1052.Xr clang++ 1 ) .
1065.DFLT 1053.DFLT
1066.Dq yes 1054.Dq yes
1067if 1055if
1068.Sy MKLLVM=yes ; 1056.Sy MKLLVM=yes ;
1069otherwise 1057otherwise
1070.Dq no . 1058.Dq no .
1071. 1059.
1072.It Sy MKLIBSTDCXX 1060.It Sy MKLIBSTDCXX
1073.YorN 1061.YorN
1074Indicates if libstdc++ will be built and installed 1062Indicates if libstdc++ will be built and installed
1075(usually for 1063(usually for
1076.Xr g++ 1 ) . 1064.Xr g++ 1 ) .
1077.DFLTy 1065.DFLTy
1078. 1066.
1079.It Sy MKLINKLIB 1067.It Sy MKLINKLIB
1080.YorN 1068.YorN
1081Indicates whether all of the shared library infrastructure 1069Indicates whether all of the shared library infrastructure
1082will be built and installed. 1070will be built and installed.
1083.Pp 1071.Pp
1084If 1072If
1085.Dq no , 1073.Dq no ,
1086prevents: 1074prevents:
1087.Bl -dash -compact 1075.Bl -dash -compact
1088.It 1076.It
1089installation of the 1077installation of the
1090.Sy *.a 1078.Sy *.a
1091libraries 1079libraries
1092.It 1080.It
1093installation of the 1081installation of the
1094.Sy *_pic.a 1082.Sy *_pic.a
1095libraries on PIC systems 1083libraries on PIC systems
1096.It 1084.It
1097building of 1085building of
1098.Sy *.a 1086.Sy *.a
1099libraries on PIC systems 1087libraries on PIC systems
1100.It 1088.It
1101installation of 1089installation of
1102.Sy .so 1090.Sy .so
1103symlinks on ELF systems 1091symlinks on ELF systems
1104.El 1092.El
1105.Pp 1093.Pp
1106I.e, only install the shared library (and the 1094I.e, only install the shared library (and the
1107.Pa .so.major 1095.Pa .so.major
1108symlink on ELF). 1096symlink on ELF).
1109.NODEF NOLINKLIB 1097.NODEF NOLINKLIB
1110.Pp 1098.Pp
1111If 1099If
1112.Dq no , 1100.Dq no ,
1113acts as 1101acts as
1114.Sy MKLINT=no MKPICINSTALL=no MKPROFILE=no . 1102.Sy MKLINT=no MKPICINSTALL=no MKPROFILE=no .
1115.DFLTy 1103.DFLTy
1116. 1104.
1117.It Sy MKLINT 1105.It Sy MKLINT
1118.YorN 1106.YorN
1119Indicates whether 1107Indicates whether
1120.Xr lint 1 1108.Xr lint 1
1121will be run against portions of the 1109will be run against portions of the
1122.Nx 1110.Nx
1123source code during the build, and whether lint libraries will be 1111source code during the build, and whether lint libraries will be
1124installed into 1112installed into
1125.Sy DESTDIR Ns Pa /usr/libdata/lint . 1113.Sy DESTDIR Ns Pa /usr/libdata/lint .
1126.NODEF NOLINT 1114.NODEF NOLINT
1127.NOVAR MKLINKLIB=no 1115.NOVAR MKLINKLIB=no
1128.DFLTn 1116.DFLTn
1129. 1117.
1130.It Sy MKLLVM 1118.It Sy MKLLVM
1131.YorN 1119.YorN
1132Indicates whether 1120Indicates whether
1133.Xr clang 1 1121.Xr clang 1
1134is installed as a host tool and target compiler. 1122is installed as a host tool and target compiler.
1135.Pp 1123.Pp
1136If 1124If
1137.Dq yes , 1125.Dq yes ,
1138acts as 1126acts as
1139.Sy MKLIBCXX=yes . 1127.Sy MKLIBCXX=yes .
1140.Pp 1128.Pp
1141.Em Note : 1129.Em Note :
1142Use of 1130Use of
1143.Xr clang 1 1131.Xr clang 1
1144as the system compiler is controlled by 1132as the system compiler is controlled by
1145.Sy HAVE_LLVM . 1133.Sy HAVE_LLVM .
1146.DFLTn 1134.DFLTn
1147. 1135.
1148.It Sy MKLLVMRT 1136.It Sy MKLLVMRT
1149.YorN 1137.YorN
1150Indicates whether to build the LLVM PIC libraries necessary 1138Indicates whether to build the LLVM PIC libraries necessary
1151for the various Mesa backend and the native JIT of the target 1139for the various Mesa backend and the native JIT of the target
1152architecture, if supported. 1140architecture, if supported.
1153(Radeon R300 and newer, LLVMPIPE for most.) 1141(Radeon R300 and newer, LLVMPIPE for most.)
1154.DFLT 1142.DFLT
1155If 1143If
1156.Sy MKX11=yes 1144.Sy MKX11=yes
1157and 1145and
1158.Sy HAVE_MESA_VER>=19 , 1146.Sy HAVE_MESA_VER>=19 ,
1159.Dq yes 1147.Dq yes
1160on 1148on
1161.Sy aarch64 , 1149.Sy aarch64 ,
1162.Sy amd64 , 1150.Sy amd64 ,
1163and 1151and
1164.Sy i386 ; 1152.Sy i386 ;
1165otherwise 1153otherwise
1166.Dq no . 1154.Dq no .
1167. 1155.
1168.It Sy MKLVM 1156.It Sy MKLVM
1169.YorN 1157.YorN
1170If not 1158If not
1171.Dq no , 1159.Dq no ,
1172build and install the logical volume manager. 1160build and install the logical volume manager.
1173.DFLTy 1161.DFLTy
1174. 1162.
1175.It Sy MKMAKEMANDB 1163.It Sy MKMAKEMANDB
1176.YorN 1164.YorN
1177Indicates if the whatis tools 1165Indicates if the whatis tools
1178.Xr ( apropos 1 , 1166.Xr ( apropos 1 ,
1179.Xr whatis 1 , 1167.Xr whatis 1 ,
1180.Xr getNAME 8 , 1168.Xr getNAME 8 ,
1181.Xr makemandb 8 , 1169.Xr makemandb 8 ,
1182and 1170and
1183.Xr makewhatis 8 ) , 1171.Xr makewhatis 8 ) ,
1184should be built, installed, and used to 1172should be built, installed, and used to
1185create and install the 1173create and install the
1186.Pa whatis.db . 1174.Pa whatis.db .
1187.DFLTy 1175.DFLTy
1188. 1176.
1189.It Sy MKMAN 1177.It Sy MKMAN
1190.YorN 1178.YorN
1191Indicates whether manual pages will be installed. 1179Indicates whether manual pages will be installed.
1192.NODEF NOMAN 1180.NODEF NOMAN
1193.NOVAR MKSHARE=no 1181.NOVAR MKSHARE=no
1194.Pp 1182.Pp
1195If 1183If
1196.Dq no , 1184.Dq no ,
1197acts as 1185acts as
1198.Sy MKCATPAGES=no MKHTML=no . 1186.Sy MKCATPAGES=no MKHTML=no .
1199.DFLTy 1187.DFLTy
1200. 1188.
1201.It Sy MKMANDOC 1189.It Sy MKMANDOC
1202.YorN 1190.YorN
1203Indicates whether 1191Indicates whether
1204.Xr mandoc 1 1192.Xr mandoc 1
1205will be built and installed, and used to create and install 1193will be built and installed, and used to create and install
1206catman and HTML pages. 1194catman and HTML pages.
1207.Pp 1195.Pp
1208If 1196If
1209.Dq no , 1197.Dq no ,
1210use 1198use
1211.Xr groff 1 1199.Xr groff 1
1212instead of 1200instead of
1213.Xr mandoc 1 . 1201.Xr mandoc 1 .
1214.NODEF NOMANDOC No or Sy NOMANDOC . Ns Ar target No (for a given Xr make 1 target Ar target ) 1202.NODEF NOMANDOC No or Sy NOMANDOC . Ns Ar target No (for a given Xr make 1 target Ar target )
1215.Pp 1203.Pp
1216Only used if 1204Only used if
1217.Sy MKMAN=yes . 1205.Sy MKMAN=yes .
1218.DFLTy 1206.DFLTy
1219. 1207.
1220.It Sy MKMANZ 1208.It Sy MKMANZ
1221.YorN 1209.YorN
1222Indicates whether manual pages should be compressed with 1210Indicates whether manual pages should be compressed with
1223.Xr gzip 1 1211.Xr gzip 1
1224at installation time. 1212at installation time.
1225.Pp 1213.Pp
1226Only used if 1214Only used if
1227.Sy MKMAN=yes . 1215.Sy MKMAN=yes .
1228.DFLTn 1216.DFLTn
1229. 1217.
1230.It Sy MKMDNS 1218.It Sy MKMDNS
1231.YorN 1219.YorN
1232Indicates whether the mDNS (Multicast DNS) infrastructure 1220Indicates whether the mDNS (Multicast DNS) infrastructure
1233(libraries and support programs) will be built and installed. 1221(libraries and support programs) will be built and installed.
1234.DFLTy 1222.DFLTy
1235. 1223.
1236.It Sy MKNLS 1224.It Sy MKNLS
1237.YorN 1225.YorN
1238Indicates whether Native Language System (NLS) locale zone files will be 1226Indicates whether Native Language System (NLS) locale zone files will be
1239built and installed. 1227built and installed.
1240.NODEF NONLS 1228.NODEF NONLS
1241.NOVAR MKSHARE=no 1229.NOVAR MKSHARE=no
1242.DFLTy 1230.DFLTy
1243. 1231.
1244.It Sy MKNOUVEAUFIRMWARE 1232.It Sy MKNOUVEAUFIRMWARE
1245.YorN 1233.YorN
1246Indicates whether to install the 1234Indicates whether to install the
1247.Pa /libdata/firmware/nouveau 1235.Pa /libdata/firmware/nouveau
1248directory, which is necessary for the 1236directory, which is necessary for the
1249.Xr nouveau 4 1237.Xr nouveau 4
1250NVIDIA video driver. 1238NVIDIA video driver.
1251.DFLT 1239.DFLT
1252.Dq yes 1240.Dq yes
1253on 1241on
1254.Sy aarch64 , 1242.Sy aarch64 ,
1255.Sy i386 , 1243.Sy i386 ,
1256and 1244and
1257.Sy x86_64 , 1245.Sy x86_64 ,
1258.Dq no 1246.Dq no
1259on other platforms. 1247on other platforms.
1260. 1248.
1261.It Sy MKNPF 1249.It Sy MKNPF
1262.YorN 1250.YorN
1263Indicates whether the NPF packet filter is to be built and installed. 1251Indicates whether the NPF packet filter is to be built and installed.
1264.DFLTy 1252.DFLTy
1265. 1253.
1266.It Sy MKNSD 1254.It Sy MKNSD
1267.YorN 1255.YorN
1268Indicates whether the Name Server Daemon (NSD) is to be built and installed. 1256Indicates whether the Name Server Daemon (NSD) is to be built and installed.
1269.DFLTn 1257.DFLTn
1270. 1258.
1271.It Sy MKOBJ 1259.It Sy MKOBJ
1272.YorN 1260.YorN
1273Indicates whether object directories will be created when running 1261Indicates whether object directories will be created when running
1274.Dq make obj . 1262.Dq make obj .
1275If 1263If
1276.Dq no , 1264.Dq no ,
1277then all built files will be located inside the regular source tree. 1265then all built files will be located inside the regular source tree.
1278.NODEF NOOBJ 1266.NODEF NOOBJ
1279.Pp 1267.Pp
1280If 1268If
1281.Dq no , 1269.Dq no ,
1282acts as 1270acts as
1283.Sy MKOBJDIRS=no . 1271.Sy MKOBJDIRS=no .
1284.Pp 1272.Pp
1285.Em Note : 1273.Em Note :
1286Setting 1274Setting
1287.Sy MKOBJ 1275.Sy MKOBJ
1288to 1276to
1289.Dq no 1277.Dq no
1290is not recommended and may cause problems when updating the tree with 1278is not recommended and may cause problems when updating the tree with
1291.Xr cvs 1 . 1279.Xr cvs 1 .
1292.DFLTy 1280.DFLTy
1293. 1281.
1294.It Sy MKOBJDIRS 1282.It Sy MKOBJDIRS
1295.YorN 1283.YorN
1296Indicates whether object directories will be created automatically 1284Indicates whether object directories will be created automatically
1297(via a 1285(via a
1298.Dq make obj 1286.Dq make obj
1299pass) at the start of a build. 1287pass) at the start of a build.
1300.NOVAR MKOBJ=no 1288.NOVAR MKOBJ=no
1301.Pp 1289.Pp
1302.Em Note : 1290.Em Note :
1303If using 1291If using
1304.Sy build.sh , 1292.Sy build.sh ,
1305the default is 1293the default is
1306.Dq yes . 1294.Dq yes .
1307This may be set to 1295This may be set to
1308.Dq no 1296.Dq no
1309by giving 1297by giving
1310.Sy build.sh 1298.Sy build.sh
1311the 1299the
1312.Fl o 1300.Fl o
1313option. 1301option.
1314.DFLTn 1302.DFLTn
1315. 1303.
1316.It Sy MKPAM 1304.It Sy MKPAM
1317.YorN 1305.YorN
1318Indicates whether the 1306Indicates whether the
1319.Xr pam 8 1307.Xr pam 8
1320framework (libraries and support files) will be built and installed. 1308framework (libraries and support files) will be built and installed.
1321The pre-PAM code is not supported and may be removed in the future. 1309The pre-PAM code is not supported and may be removed in the future.
1322.DFLTy 1310.DFLTy
1323. 1311.
1324.It Sy MKPCC 1312.It Sy MKPCC
1325.YorN 1313.YorN
1326Indicates whether 1314Indicates whether
1327.Xr pcc 1 1315.Xr pcc 1
1328or any related libraries 1316or any related libraries
1329.Pq Sy libpcc , libpccsoftfloat 1317.Pq Sy libpcc , libpccsoftfloat
1330will be built and installed. 1318will be built and installed.
1331.DFLTn 1319.DFLTn
1332. 1320.
1333.It Sy MKPF 1321.It Sy MKPF
1334.YorN 1322.YorN
1335Indicates whether the 1323Indicates whether the
1336.Xr pf 4 1324.Xr pf 4
1337programs, headers, and LKM will be built and installed. 1325programs, headers, and LKM will be built and installed.
1338.DFLTy 1326.DFLTy
1339. 1327.
1340.It Sy MKPIC 1328.It Sy MKPIC
1341.YorN 1329.YorN
1342Indicates whether shared objects and libraries will be created and 1330Indicates whether shared objects and libraries will be created and
1343installed. 1331installed.
1344If 1332If
1345.Dq no , 1333.Dq no ,
1346the entire built system will be statically linked. 1334the entire built system will be statically linked.
1347.NODEF NOPIC 1335.NODEF NOPIC
1348.Pp 1336.Pp
1349If 1337If
1350.Dq no , 1338.Dq no ,
1351acts as 1339acts as
1352.Sy MKPICLIB=no . 1340.Sy MKPICLIB=no .
1353.DFLT 1341.DFLT
1354.Dq no 1342.Dq no
1355on 1343on
1356.Sy m68000 ; 1344.Sy m68000 ;
1357.Dq yes 1345.Dq yes
1358on other platforms. 1346on other platforms.
1359. 1347.
1360.It Sy MKPICINSTALL 1348.It Sy MKPICINSTALL
1361.YorN 1349.YorN
1362Indicates whether the 1350Indicates whether the
1363.Xr ar 1 1351.Xr ar 1
1364format libraries 1352format libraries
1365.Sy ( lib*_pic.a ) , 1353.Sy ( lib*_pic.a ) ,
1366used to generate shared libraries, are installed. 1354used to generate shared libraries, are installed.
1367.NODEF NOPICINSTALL 1355.NODEF NOPICINSTALL
1368.NOVAR MKLINKLIB=no 1356.NOVAR MKLINKLIB=no
1369.DFLTn 1357.DFLTn
1370. 1358.
1371.It Sy MKPICLIB 1359.It Sy MKPICLIB
1372.YorN 1360.YorN
1373Indicates whether the 1361Indicates whether the
1374.Xr ar 1 1362.Xr ar 1
1375format libraries 1363format libraries
1376.Sy ( lib*_pic.a ) , 1364.Sy ( lib*_pic.a ) ,
1377used to generate shared libraries. 1365used to generate shared libraries.
1378.NOVAR MKPIC=no 1366.NOVAR MKPIC=no
1379.DFLT 1367.DFLT
1380.Dq no 1368.Dq no
1381on 1369on
1382.Sy vax ; 1370.Sy vax ;
1383.Dq yes 1371.Dq yes
1384on other platforms. 1372on other platforms.
1385. 1373.
1386.It Sy MKPIE 1374.It Sy MKPIE
1387.YorN 1375.YorN
1388Indicates whether Position Independent Executables (PIE) 1376Indicates whether Position Independent Executables (PIE)
1389will be built and installed. 1377will be built and installed.
1390.NODEF NOPIE 1378.NODEF NOPIE
1391.NOVAR COVERITY_TOP_CONFIG No is defined 1379.NOVAR COVERITY_TOP_CONFIG No is defined
1392.Pp 1380.Pp
1393This is disabled internally for standalone programs in 1381This is disabled internally for standalone programs in
1394.Pa /usr/mdec . 1382.Pa /usr/mdec .
1395.DFLT 1383.DFLT
1396.Dq yes 1384.Dq yes
1397on 1385on
1398.Sy aarch64 , 1386.Sy aarch64 ,
1399.Sy arm , 1387.Sy arm ,
1400.Sy i386 , 1388.Sy i386 ,
1401.Sy m68k , 1389.Sy m68k ,
1402.Sy mips , 1390.Sy mips ,
1403.Sy sh3 , 1391.Sy sh3 ,
1404.Sy sparc64 , 1392.Sy sparc64 ,
1405and 1393and
1406.Sy x86_64 ; 1394.Sy x86_64 ;
1407.Dq no 1395.Dq no
1408on other platforms. 1396on other platforms.
1409. 1397.
1410.It Sy MKPIGZGZIP 1398.It Sy MKPIGZGZIP
1411.YorN 1399.YorN
1412If 1400If
1413.Dq no , 1401.Dq no ,
1414the 1402the
1415.Xr pigz 1 1403.Xr pigz 1
1416utility is not installed as 1404utility is not installed as
1417.Xr gzip 1 . 1405.Xr gzip 1 .
1418.DFLTn 1406.DFLTn
1419. 1407.
1420.It Sy MKPOSTFIX 1408.It Sy MKPOSTFIX
1421.YorN 1409.YorN
1422Indicates whether Postfix will be built and installed. 1410Indicates whether Postfix will be built and installed.
1423.DFLTy 1411.DFLTy
1424. 1412.
1425.It Sy MKPROFILE 1413.It Sy MKPROFILE
1426.YorN 1414.YorN
1427Indicates whether profiled libraries 1415Indicates whether profiled libraries
1428.Sy ( lib*_p.a ) 1416.Sy ( lib*_p.a )
1429will be built and installed. 1417will be built and installed.
1430.NODEF NOPROFILE 1418.NODEF NOPROFILE
1431.NOVAR MKLINKLIB=no 1419.NOVAR MKLINKLIB=no
1432.DFLT 1420.DFLT
1433.Dq no 1421.Dq no
1434on 1422on
1435.Sy or1k , 1423.Sy or1k ,
1436.Sy riscv32 , 1424.Sy riscv32 ,
1437and 1425and
1438.Sy riscv64 1426.Sy riscv64
1439(due to toolchain problems with profiled code); 1427(due to toolchain problems with profiled code);
1440.Dq yes 1428.Dq yes
1441on other platforms. 1429on other platforms.
1442. 1430.
1443.It Sy MKRADEONFIRMWARE 1431.It Sy MKRADEONFIRMWARE
1444.YorN 1432.YorN
1445Indicates whether to install the 1433Indicates whether to install the
1446.Pa /libdata/firmware/radeon 1434.Pa /libdata/firmware/radeon
1447directory, which is necessary for the 1435directory, which is necessary for the
1448.Xr radeon 4 1436.Xr radeon 4
1449AMD RADEON GPU video driver. 1437AMD RADEON GPU video driver.
1450.DFLT 1438.DFLT
1451.Dq yes 1439.Dq yes
1452on 1440on
1453.Sy aarch64 , 1441.Sy aarch64 ,
1454.Sy i386 , 1442.Sy i386 ,
1455and 1443and
1456.Sy x86_64 , 1444.Sy x86_64 ,
1457.Dq no 1445.Dq no
1458on other platforms. 1446on other platforms.
1459. 1447.
1460.It Sy MKRELRO 1448.It Sy MKRELRO
1461Indicates whether to enable support for Relocation Read-Only (RELRO). 1449Indicates whether to enable support for Relocation Read-Only (RELRO).
1462Supported values: 1450Supported values:
1463.Bl -tag -width partial 1451.Bl -tag -width partial
1464.It partial 1452.It partial
1465Set the non-PLT GOT to read-only. 1453Set the non-PLT GOT to read-only.
1466.It full 1454.It full
1467Set the non-PLT GOT to read-only and 1455Set the non-PLT GOT to read-only and
1468also force immediate symbol binding, 1456also force immediate symbol binding,
1469unless 1457unless
1470.Sy NOFULLRELRO 1458.Sy NOFULLRELRO
1471is defined and not 1459is defined and not
1472.Dq no 1460.Dq no
1473(usually in the Makefile before any 1461(usually in the Makefile before any
1474.Xr make 1 1462.Xr make 1
1475.Cm \&.include 1463.Cm \&.include
1476directives). 1464directives).
1477.It no 1465.It no
1478Disable RELRO. 1466Disable RELRO.
1479.El 1467.El
1480.NODEF NORELRO 1468.NODEF NORELRO
1481.DFLT 1469.DFLT
1482.Dq partial 1470.Dq partial
1483on 1471on
1484.Sy aarch64 , 1472.Sy aarch64 ,
1485.Sy i386 , 1473.Sy i386 ,
1486and 1474and
1487.Sy x86_64 ; 1475.Sy x86_64 ;
1488.Dq no 1476.Dq no
1489on other platforms. 1477on other platforms.
1490. 1478.
1491.It Sy MKREPRO 1479.It Sy MKREPRO
1492.YorN 1480.YorN
1493Indicates whether builds are to be reproducible. 1481Indicates whether builds are to be reproducible.
1494If 1482If
1495.Dq yes , 1483.Dq yes ,
1496two builds from the same source tree will produce the same build 1484two builds from the same source tree will produce the same build
1497results. 1485results.
1498.Pp 1486.Pp
1499Used as the default for 1487Used as the default for
1500.Sy MKARZERO . 1488.Sy MKARZERO .
1501.Pp 1489.Pp
1502.Em Note : 1490.Em Note :
1503This may be set to 1491This may be set to
1504.Dq yes 1492.Dq yes
1505by giving 1493by giving
1506.Sy build.sh 1494.Sy build.sh
1507the 1495the
1508.Fl P 1496.Fl P
1509option. 1497option.
1510.DFLTn 1498.DFLTn
1511. 1499.
1512.It Sy MKREPRO_TIMESTAMP 1500.It Sy MKREPRO_TIMESTAMP
1513Unix timestamp. 1501Unix timestamp.
1514When 1502When
1515.Sy MKREPRO 1503.Sy MKREPRO
1516is set, the timestamp of all files in the sets will be set 1504is set, the timestamp of all files in the sets will be set
1517to this value. 1505to this value.
1518.Pp 1506.Pp
1519.Em Note : 1507.Em Note :
1520This may be set automatically to the latest source tree timestamp 1508This may be set automatically to the latest source tree timestamp
1521using 1509using
1522.Xr cvslatest 1 1510.Xr cvslatest 1
1523by giving 1511by giving
1524.Sy build.sh 1512.Sy build.sh
1525the 1513the
1526.Fl P 1514.Fl P
1527option. 1515option.
1528.DFLTu 1516.DFLTu
1529. 1517.
1530.It Sy MKRUMP 1518.It Sy MKRUMP
1531.YorN 1519.YorN
1532Indicates whether the 1520Indicates whether the
1533.Xr rump 3 1521.Xr rump 3
1534headers, libraries, and programs are to be installed. 1522headers, libraries, and programs are to be installed.
1535.NOVAR COVERITY_TOP_CONFIG No is defined 1523.NOVAR COVERITY_TOP_CONFIG No is defined
1536.DFLTy 1524.DFLTy
 1525.Pp
 1526.Em Note :
 1527see also
 1528.Pa src/sys/rump/README.compileopts
 1529for variables used during the build of the
 1530.Xr rump 3 .
1537. 1531.
1538.It Sy MKSANITIZER 1532.It Sy MKSANITIZER
1539.YorN 1533.YorN
1540Indicates whether to use the sanitizer to compile userland programs, 1534Indicates whether to use the sanitizer to compile userland programs,
1541using the sanitizer defined by 1535using the sanitizer defined by
1542.Sy USE_SANITIZER . 1536.Sy USE_SANITIZER .
1543.NODEF NOSANITIZER 1537.NODEF NOSANITIZER
1544.DFLTn 1538.DFLTn
1545. 1539.
1546.It Sy MKSHARE 1540.It Sy MKSHARE
1547.YorN 1541.YorN
1548Indicates whether files destined to reside in 1542Indicates whether files destined to reside in
1549.Sy DESTDIR Ns Pa /usr/share 1543.Sy DESTDIR Ns Pa /usr/share
1550will be built and installed. 1544will be built and installed.
1551.NODEF NOSHARE 1545.NODEF NOSHARE
1552.Pp 1546.Pp
1553If 1547If
1554.Dq no , 1548.Dq no ,
1555acts as 1549acts as
1556.Sy MKCATPAGES=no MKDOC=no MKINFO=no MKHTML=no MKMAN=no MKNLS=no . 1550.Sy MKCATPAGES=no MKDOC=no MKINFO=no MKHTML=no MKMAN=no MKNLS=no .
1557.DFLTy 1551.DFLTy
1558. 1552.
1559.It Sy MKSKEY 1553.It Sy MKSKEY
1560.YorN 1554.YorN
1561Indicates whether the S/key infrastructure 1555Indicates whether the S/key infrastructure
1562(libraries and support programs) will be built and installed. 1556(libraries and support programs) will be built and installed.
1563.DFLTy 1557.DFLTy
1564. 1558.
1565.It Sy MKSLJIT 1559.It Sy MKSLJIT
1566.YorN 1560.YorN
1567Indicates whether to enable support for sljit 1561Indicates whether to enable support for sljit
1568(stack-less platform-independent Just in Time (JIT) compiler) 1562(stack-less platform-independent Just in Time (JIT) compiler)
1569private library and tests. 1563private library and tests.
1570.DFLT 1564.DFLT
1571.Dq yes 1565.Dq yes
1572on 1566on
1573.Sy i386 , 1567.Sy i386 ,
1574.Sy sparc , 1568.Sy sparc ,
1575and 1569and
1576.Sy x86_64 ; 1570.Sy x86_64 ;
1577.Dq no 1571.Dq no
1578on other platforms. 1572on other platforms.
1579. 1573.
1580.It Sy MKSOFTFLOAT 1574.It Sy MKSOFTFLOAT
1581.YorN 1575.YorN
1582Indicates whether the compiler generates output containing 1576Indicates whether the compiler generates output containing
1583library calls for floating point and possibly soft-float library 1577library calls for floating point and possibly soft-float library
1584support. 1578support.
1585.Pp 1579.Pp
1586Forced to 1580Forced to
1587.Dq yes 1581.Dq yes
1588on 1582on
1589.Sy arm 1583.Sy arm
1590without 1584without
1591.Sq hf , 1585.Sq hf ,
1592.Sy coldfire , 1586.Sy coldfire ,
1593.Sy emips , 1587.Sy emips ,
1594.Sy or1k , 1588.Sy or1k ,
1595and 1589and
1596.Sy sh3 . 1590.Sy sh3 .
1597.DFLT 1591.DFLT
1598.Dq yes 1592.Dq yes
1599on 1593on
1600.Sy mips64 ; 1594.Sy mips64 ;
1601.Dq no 1595.Dq no
1602on other platforms. 1596on other platforms.
1603. 1597.
1604.It Sy MKSTATICLIB 1598.It Sy MKSTATICLIB
1605.YorN 1599.YorN
1606Indicates whether the normal static libraries 1600Indicates whether the normal static libraries
1607.Sy ( lib*_g.a ) 1601.Sy ( lib*_g.a )
1608will be built and installed. 1602will be built and installed.
1609.NODEF NOSTATICLIB 1603.NODEF NOSTATICLIB
1610.DFLTy 1604.DFLTy
1611. 1605.
1612.It Sy MKSTATICPIE 1606.It Sy MKSTATICPIE
1613.YorN 1607.YorN
1614Indicates whether support for static PIE binaries 1608Indicates whether support for static PIE binaries
1615will be built and installed. 1609will be built and installed.
1616These binaries use a special support in crt0.o for 1610These binaries use a special support in crt0.o for
1617resolving relative relocations and require linker support. 1611resolving relative relocations and require linker support.
1618.DFLT 1612.DFLT
1619.Dq yes 1613.Dq yes
1620on 1614on
1621.Sy i386 1615.Sy i386
1622and 1616and
1623.Sy x86_64 ; 1617.Sy x86_64 ;
1624.Dq no 1618.Dq no
1625on other platforms. 1619on other platforms.
1626. 1620.
1627.It Sy MKSTRIPIDENT 1621.It Sy MKSTRIPIDENT
1628.YorN 1622.YorN
1629Indicates whether RCS IDs, for use with 1623Indicates whether RCS IDs, for use with
1630.Xr ident 1 , 1624.Xr ident 1 ,
1631should be stripped from program binaries and shared libraries. 1625should be stripped from program binaries and shared libraries.
1632.DFLTn 1626.DFLTn
1633. 1627.
1634.It Sy MKSTRIPSYM 1628.It Sy MKSTRIPSYM
1635.YorN 1629.YorN
1636Indicates whether all local symbols should be stripped from shared libraries. 1630Indicates whether all local symbols should be stripped from shared libraries.
1637If 1631If
1638.Dq yes , 1632.Dq yes ,
1639strip all local symbols from shared libraries; 1633strip all local symbols from shared libraries;
1640the effect is equivalent to the 1634the effect is equivalent to the
1641.Fl x 1635.Fl x
1642option of 1636option of
1643.Xr ld 1 . 1637.Xr ld 1 .
1644If 1638If
1645.Dq no , 1639.Dq no ,
1646strip only temporary local symbols; the effect is equivalent 1640strip only temporary local symbols; the effect is equivalent
1647to the 1641to the
1648.Fl X 1642.Fl X
1649option of 1643option of
1650.Xr ld 1 . 1644.Xr ld 1 .
1651Keeping non-temporary local symbols 1645Keeping non-temporary local symbols
1652such as static function names is useful on using DTrace for 1646such as static function names is useful on using DTrace for
1653userland libraries and getting a backtrace from a rump kernel 1647userland libraries and getting a backtrace from a rump kernel
1654loading shared libraries. 1648loading shared libraries.
1655.DFLTy 1649.DFLTy
1656. 1650.
1657.It Sy MKTEGRAFIRMWARE 1651.It Sy MKTEGRAFIRMWARE
1658.YorN 1652.YorN
1659Indicates whether to install the 1653Indicates whether to install the
1660.Pa /libdata/firmware/nvidia 1654.Pa /libdata/firmware/nvidia
1661directory, which is necessary for the 1655directory, which is necessary for the
1662NVIDIA Tegra XHCI driver. 1656NVIDIA Tegra XHCI driver.
1663.DFLT 1657.DFLT
1664.Dq yes 1658.Dq yes
1665on 1659on
1666.Sy evbarm ; 1660.Sy evbarm ;
1667.Dq no 1661.Dq no
1668on other platforms. 1662on other platforms.
1669. 1663.
1670.It Sy MKTPM 1664.It Sy MKTPM
1671.YorN 1665.YorN
1672Indicates whether to install the Trusted Platform Module (TPM) 1666Indicates whether to install the Trusted Platform Module (TPM)
1673infrastructure. 1667infrastructure.
1674.DFLTn 1668.DFLTn
1675. 1669.
1676.It Sy MKUNBOUND 1670.It Sy MKUNBOUND
1677.YorN 1671.YorN
1678Indicates whether the 1672Indicates whether the
1679.Xr unbound 8 1673.Xr unbound 8
1680DNS resolver will be built and installed. 1674DNS resolver will be built and installed.
1681.DFLTy 1675.DFLTy
1682. 1676.
1683.It Sy MKUNPRIVED 1677.It Sy MKUNPRIVED
1684.YorN 1678.YorN
1685Indicates whether an unprivileged install will occur. 1679Indicates whether an unprivileged install will occur.
1686The user, group, permissions, and file flags, will not be set on 1680The user, group, permissions, and file flags, will not be set on
1687the installed items; instead the information will be appended to 1681the installed items; instead the information will be appended to
1688a file called 1682a file called
1689.Pa METALOG 1683.Pa METALOG
1690in 1684in
1691.Sy DESTDIR . 1685.Sy DESTDIR .
1692The 1686The
1693.Pa METALOG 1687.Pa METALOG
1694contents are used during the generation of the distribution 1688contents are used during the generation of the distribution
1695tar files to ensure that the appropriate file ownership is stored. 1689tar files to ensure that the appropriate file ownership is stored.
1696This allows a non-root 1690This allows a non-root
1697.Sq "make install" . 1691.Sq "make install" .
1698.DFLTn 1692.DFLTn
1699. 1693.
1700.It Sy MKUPDATE 1694.It Sy MKUPDATE
1701.YorN 1695.YorN
1702Indicates whether all install operations intended to write to 1696Indicates whether all install operations intended to write to
1703.Sy DESTDIR 1697.Sy DESTDIR
1704will compare file timestamps before installing, and skip the install 1698will compare file timestamps before installing, and skip the install
1705phase if the destination files are up-to-date. 1699phase if the destination files are up-to-date.
1706.Pp 1700.Pp
1707For top-level builds this this implies the effects of 1701For top-level builds this this implies the effects of
1708.Sy NOCLEANDIR 1702.Sy NOCLEANDIR
1709(i.e., 1703(i.e.,
1710.Dq make cleandir 1704.Dq make cleandir
1711is avoided). 1705is avoided).
1712.Pp 1706.Pp
1713.Em Note : 1707.Em Note :
1714This may be set to 1708This may be set to
1715.Dq yes 1709.Dq yes
1716by giving 1710by giving
1717.Sy build.sh 1711.Sy build.sh
1718the 1712the
1719.Fl u 1713.Fl u
1720option. 1714option.
1721.DFLTn 1715.DFLTn
1722. 1716.
1723.It Sy MKX11 1717.It Sy MKX11
1724.YorN 1718.YorN
1725Indicates whether X11 will be built and installed from 1719Indicates whether X11 will be built and installed from
1726.Sy X11SRCDIR , 1720.Sy X11SRCDIR ,
1727and whether the X sets will be created. 1721and whether the X sets will be created.
1728.Pp 1722.Pp
1729.Em Note : 1723.Em Note :
1730If 1724If
1731.Dq yes , 1725.Dq yes ,
1732requires 1726requires
1733.Sy MKINET6=yes . 1727.Sy MKINET6=yes .
1734.DFLTn 1728.DFLTn
1735. 1729.
1736.It Sy MKX11FONTS 1730.It Sy MKX11FONTS
1737.YorN 1731.YorN
1738If 1732If
1739.Dq no , 1733.Dq no ,
1740do not build and install the X fonts. 1734do not build and install the X fonts.
1741The xfont set is still created but will be empty. 1735The xfont set is still created but will be empty.
1742.Pp 1736.Pp
1743Only used if 1737Only used if
1744.Sy MKX11=yes . 1738.Sy MKX11=yes .
1745.DFLTy 1739.DFLTy
1746. 1740.
1747.It Sy MKX11MOTIF 1741.It Sy MKX11MOTIF
1748.YorN 1742.YorN
1749If 1743If
1750.Dq yes , 1744.Dq yes ,
1751build the native Xorg libGLw with Motif stubs. 1745build the native Xorg libGLw with Motif stubs.
1752Requires that Motif can be found via 1746Requires that Motif can be found via
1753.Sy X11MOTIFPATH . 1747.Sy X11MOTIFPATH .
1754.DFLTn 1748.DFLTn
1755. 1749.
1756.It Sy MKXORG_SERVER 1750.It Sy MKXORG_SERVER
1757.YorN 1751.YorN
1758Indicates whether the 1752Indicates whether the
1759.Xr Xorg 7 1753.Xr Xorg 7
1760X server and drivers will be built and installed. 1754X server and drivers will be built and installed.
1761.DFLT 1755.DFLT
1762.Dq yes 1756.Dq yes
1763on 1757on
1764.Sy alpha , 1758.Sy alpha ,
1765.Sy amd64 , 1759.Sy amd64 ,
1766.Sy amiga , 1760.Sy amiga ,
1767.Sy bebox , 1761.Sy bebox ,
1768.Sy cats , 1762.Sy cats ,
1769.Sy dreamcast , 1763.Sy dreamcast ,
1770.Sy ews4800mips , 1764.Sy ews4800mips ,
1771.Sy evbarm , 1765.Sy evbarm ,
1772.Sy evbmips , 1766.Sy evbmips ,
1773.Sy evbppc , 1767.Sy evbppc ,
1774.Sy hp300 , 1768.Sy hp300 ,
1775.Sy hpcarm , 1769.Sy hpcarm ,
1776.Sy hpcmips , 1770.Sy hpcmips ,
1777.Sy hpcsh , 1771.Sy hpcsh ,
1778.Sy hppa , 1772.Sy hppa ,
1779.Sy i386 , 1773.Sy i386 ,
1780.Sy ibmnws , 1774.Sy ibmnws ,
1781.Sy iyonix , 1775.Sy iyonix ,
1782.Sy luna68k , 1776.Sy luna68k ,
1783.Sy mac68k , 1777.Sy mac68k ,
1784.Sy macppc , 1778.Sy macppc ,
1785.Sy netwinder , 1779.Sy netwinder ,
1786.Sy newsmips , 1780.Sy newsmips ,
1787.Sy pmax , 1781.Sy pmax ,
1788.Sy prep , 1782.Sy prep ,
1789.Sy ofppc , 1783.Sy ofppc ,
1790.Sy sgimips , 1784.Sy sgimips ,
1791.Sy shark , 1785.Sy shark ,
1792.Sy sparc , 1786.Sy sparc ,
1793.Sy sparc64 , 1787.Sy sparc64 ,
1794.Sy vax , 1788.Sy vax ,
1795and 1789and
1796.Sy zaurus ; 1790.Sy zaurus ;
1797.Dq no 1791.Dq no
1798on other platforms. 1792on other platforms.
1799. 1793.
1800.It Sy MKYP 1794.It Sy MKYP
1801.YorN 1795.YorN
1802Indicates whether the YP (NIS) infrastructure 1796Indicates whether the YP (NIS) infrastructure
1803(libraries and support programs) will be built and installed. 1797(libraries and support programs) will be built and installed.
1804.DFLTy 1798.DFLTy
1805. 1799.
1806.It Sy MKZFS 1800.It Sy MKZFS
1807.YorN 1801.YorN
1808Indicates whether the ZFS kernel module and the utilities and 1802Indicates whether the ZFS kernel module and the utilities and
1809libraries used to manage the ZFS system are to be built and installed. 1803libraries used to manage the ZFS system are to be built and installed.
1810.Pp 1804.Pp
1811.Em Note : 1805.Em Note :
1812ZFS requires 64-bit atomic operations. 1806ZFS requires 64-bit atomic operations.
1813.DFLT 1807.DFLT
1814.Dq yes 1808.Dq yes
1815on 1809on
1816.Sy aarch64 , 1810.Sy aarch64 ,
1817.Sy amd64 , 1811.Sy amd64 ,
1818and 1812and
1819.Sy sparc64 ; 1813.Sy sparc64 ;
1820.Dq no 1814.Dq no
1821on other platforms. 1815on other platforms.
1822. 1816.
1823.It Sy NETBSDSRCDIR 1817.It Sy NETBSDSRCDIR
1824The path to the top level of the 1818The path to the top level of the
1825.Nx 1819.Nx
1826sources. 1820sources.
1827.DFLT 1821.DFLT
1828Top level of the 1822Top level of the
1829.Nx 1823.Nx
1830source tree (as determined by the presence of 1824source tree (as determined by the presence of
1831.Pa build.sh 1825.Pa build.sh
1832and 1826and
1833.Pa tools/ ) 1827.Pa tools/ )
1834if 1828if
1835.Xr make 1 1829.Xr make 1
1836is run from within that tree; 1830is run from within that tree;
1837otherwise 1831otherwise
1838.Sy BSDSRCDIR 1832.Sy BSDSRCDIR
1839will be used. 1833will be used.
1840. 1834.
1841.It Sy NETBSD_OFFICIAL_RELEASE 1835.It Sy NETBSD_OFFICIAL_RELEASE
1842.YorN 1836.YorN
1843Indicates whether the build creates an official 1837Indicates whether the build creates an official
1844.Nx 1838.Nx
1845release which is going to be available from 1839release which is going to be available from
1846.Lk ftp.NetBSD.org 1840.Lk ftp.NetBSD.org
1847and/or 1841and/or
1848.Lk cdn.NetBSD.org 1842.Lk cdn.NetBSD.org
1849locations. 1843locations.
1850This variable modifies a few default paths in the installer 1844This variable modifies a few default paths in the installer
1851and also creates different links in the install documentation. 1845and also creates different links in the install documentation.
1852The auto-build cluster uses this variable to distinguish 1846The auto-build cluster uses this variable to distinguish
1853.Sq daily 1847.Sq daily
1854builds from real releases. 1848builds from real releases.
1855.DFLTu 1849.DFLTu
1856.Pq I.e., Dq no . 1850.Pq I.e., Dq no .
1857. 1851.
1858.It Sy NOCLEANDIR 1852.It Sy NOCLEANDIR
1859If set, avoids the 1853If set, avoids the
1860.Dq make cleandir 1854.Dq make cleandir
1861phase of a full build. 1855phase of a full build.
1862This has the effect of allowing only changed 1856This has the effect of allowing only changed
1863files in a source tree to be recompiled. 1857files in a source tree to be recompiled.
1864This can speed up builds when updating only a few files in the tree. 1858This can speed up builds when updating only a few files in the tree.
1865.Pp 1859.Pp
1866See also 1860See also
1867.Sy MKUPDATE . 1861.Sy MKUPDATE .
1868.DFLTu 1862.DFLTu
1869. 1863.
1870.It Sy NODISTRIBDIRS 1864.It Sy NODISTRIBDIRS
1871If set, avoids the 1865If set, avoids the
1872.Dq make distrib-dirs 1866.Dq make distrib-dirs
1873phase of a full build. 1867phase of a full build.
1874This skips running 1868This skips running
1875.Xr mtree 8 1869.Xr mtree 8
1876on 1870on
1877.Sy DESTDIR , 1871.Sy DESTDIR ,
1878useful on systems where building as an unprivileged user, or where it is 1872useful on systems where building as an unprivileged user, or where it is
1879known that the system-wide 1873known that the system-wide
1880.Xr mtree 8 1874.Xr mtree 8
1881files have not changed. 1875files have not changed.
1882.DFLTu 1876.DFLTu
1883. 1877.
1884.It Sy NOINCLUDES 1878.It Sy NOINCLUDES
1885If set, avoids the 1879If set, avoids the
1886.Dq make includes 1880.Dq make includes
1887phase of a full build. 1881phase of a full build.
1888This has the effect of preventing 1882This has the effect of preventing
1889.Xr make 1 1883.Xr make 1
1890from thinking that some programs are out-of-date simply because the 1884from thinking that some programs are out-of-date simply because the
1891system include files have changed. 1885system include files have changed.
1892However, this option should not be used when updating the entire 1886However, this option should not be used when updating the entire
1893.Nx 1887.Nx
1894source tree arbitrarily; it is suggested to use 1888source tree arbitrarily; it is suggested to use
1895.Sy MKUPDATE=yes 1889.Sy MKUPDATE=yes
1896instead in that case. 1890instead in that case.
1897.DFLTu 1891.DFLTu
1898. 1892.
1899.It Sy OBJMACHINE 1893.It Sy OBJMACHINE
1900If defined, creates objdirs of the form 1894If defined, creates objdirs of the form
1901.Pa obj . Ns Sy MACHINE , 1895.Pa obj . Ns Sy MACHINE ,
1902where 1896where
1903.Sy MACHINE 1897.Sy MACHINE
1904is the current architecture (as per 1898is the current architecture (as per
1905.Sq "uname -m" ) . 1899.Sq "uname -m" ) .
1906.DFLTu 1900.DFLTu
1907. 1901.
1908.It Sy RELEASEDIR 1902.It Sy RELEASEDIR
1909If set, specifies the directory to which a 1903If set, specifies the directory to which a
1910.Xr release 7 1904.Xr release 7
1911layout will be written at the end of a 1905layout will be written at the end of a
1912.Dq make release . 1906.Dq make release .
1913If specified, must be an absolute path. 1907If specified, must be an absolute path.
1914.Pp 1908.Pp
1915.Em Note : 1909.Em Note :
1916.Sy build.sh 1910.Sy build.sh
1917will provide a default of 1911will provide a default of
1918.Dq Pa releasedir 1912.Dq Pa releasedir
1919(in the top-level 1913(in the top-level
1920.Sy .OBJDIR ) 1914.Sy .OBJDIR )
1921unless run in 1915unless run in
1922.Sq expert 1916.Sq expert
1923mode with the 1917mode with the
1924.Fl E 1918.Fl E
1925option. 1919option.
1926.DFLTu 1920.DFLTu
1927. 1921.
1928.It Sy TOOLCHAIN_MISSING 1922.It Sy TOOLCHAIN_MISSING
1929.YorN 1923.YorN
1930If not 1924If not
1931.Dq no , 1925.Dq no ,
1932this indicates that the platform 1926this indicates that the platform
1933.Dq Sy MACHINE_ARCH 1927.Dq Sy MACHINE_ARCH
1934being built does not have a working in-tree toolchain. 1928being built does not have a working in-tree toolchain.
1935.Pp 1929.Pp
1936If not 1930If not
1937.Dq no , 1931.Dq no ,
1938acts as 1932acts as
1939.Sy MKBINUTILS=no MKGCC=no MKGDB=no . 1933.Sy MKBINUTILS=no MKGCC=no MKGDB=no .
1940.\" See MKGCCCMDS for example text if a platform defaults to yes. 1934.\" See MKGCCCMDS for example text if a platform defaults to yes.
1941.DFLTn 1935.DFLTn
1942. 1936.
1943.It Sy TOOLDIR 1937.It Sy TOOLDIR
1944Directory to hold the host tools, once built. 1938Directory to hold the host tools, once built.
1945If specified, must be an absolute path. 1939If specified, must be an absolute path.
1946This directory should be unique to a given host system and 1940This directory should be unique to a given host system and
1947.Nx 1941.Nx
1948source tree. 1942source tree.
1949(However, multiple target architectures may share the same 1943(However, multiple target architectures may share the same
1950.Sy TOOLDIR ; 1944.Sy TOOLDIR ;
1951the target-architecture-dependent files have unique names.) 1945the target-architecture-dependent files have unique names.)
1952If unset, a default based 1946If unset, a default based
1953on the 1947on the
1954.Xr uname 1 1948.Xr uname 1
1955information of the host platform will be created in the 1949information of the host platform will be created in the
1956.Sy .OBJDIR 1950.Sy .OBJDIR
1957of 1951of
1958.Pa src . 1952.Pa src .
1959.DFLTu 1953.DFLTu
1960. 1954.
1961.It Sy USETOOLS 1955.It Sy USETOOLS
1962.YorN 1956.YorN
1963Indicates whether the tools specified by 1957Indicates whether the tools specified by
1964.Sy TOOLDIR 1958.Sy TOOLDIR
1965should be used as part of a build in progress. 1959should be used as part of a build in progress.
1966Must be set to 1960Must be set to
1967.Dq yes 1961.Dq yes
1968if cross-compiling. 1962if cross-compiling.
1969Supported values: 1963Supported values:
1970.Bl -tag -width never 1964.Bl -tag -width never
1971.It yes 1965.It yes
1972Use the tools from 1966Use the tools from
1973.Sy TOOLDIR . 1967.Sy TOOLDIR .
1974.It no 1968.It no
1975Do not use the tools from 1969Do not use the tools from
1976.Sy TOOLDIR , 1970.Sy TOOLDIR ,
1977but refuse to build native compilation tool components that are 1971but refuse to build native compilation tool components that are
1978version-specific for that tool. 1972version-specific for that tool.
1979.It never 1973.It never
1980Do not use the tools from 1974Do not use the tools from
1981.Sy TOOLDIR , 1975.Sy TOOLDIR ,
1982even when building native tool components. 1976even when building native tool components.
1983This is similar to the traditional 1977This is similar to the traditional
1984.Nx 1978.Nx
1985build method, but does 1979build method, but does
1986.Em not 1980.Em not
1987verify that the compilation tools in use are up-to-date enough in order 1981verify that the compilation tools in use are up-to-date enough in order
1988to build the tree successfully. 1982to build the tree successfully.
1989This may cause build or runtime problems when building the whole 1983This may cause build or runtime problems when building the whole
1990.Nx 1984.Nx
1991source tree. 1985source tree.
1992.El 1986.El
1993.DFLT 1987.DFLT
1994.Dq no 1988.Dq no
1995when using 1989when using
1996.Aq bsd.*.mk 1990.Aq bsd.*.mk
1997outside the 1991outside the
1998.Nx 1992.Nx
1999source tree (detected automatically) or if 1993source tree (detected automatically) or if
2000.Sy TOOLCHAIN_MISSING=yes ; 1994.Sy TOOLCHAIN_MISSING=yes ;
2001otherwise 1995otherwise
2002.Dq yes . 1996.Dq yes .
2003. 1997.
2004.It Sy USE_FORT 1998.It Sy USE_FORT
2005.YorN 1999.YorN
2006Indicates whether the so-called 2000Indicates whether the so-called
2007.Dq FORTIFY_SOURCE 2001.Dq FORTIFY_SOURCE
2008.Xr security 7 2002.Xr security 7
2009extensions are enabled; see 2003extensions are enabled; see
2010.Xr ssp 3 2004.Xr ssp 3
2011for details. 2005for details.
2012This imposes some performance penalty. 2006This imposes some performance penalty.
2013.NODEF NOFORT 2007.NODEF NOFORT
2014.DFLTn 2008.DFLTn
2015. 2009.
2016.It Sy USE_HESIOD 2010.It Sy USE_HESIOD
2017.YorN 2011.YorN
2018Indicates whether Hesiod support is 2012Indicates whether Hesiod support is
2019enabled in the various applications that support it. 2013enabled in the various applications that support it.
2020.NOVAR MKHESIOD=no 2014.NOVAR MKHESIOD=no
2021.DFLTy 2015.DFLTy
2022. 2016.
2023.It Sy USE_INET6 2017.It Sy USE_INET6
2024.YorN 2018.YorN
2025Indicates whether INET6 (IPv6) support is 2019Indicates whether INET6 (IPv6) support is
2026enabled in the various applications that support it. 2020enabled in the various applications that support it.
2027.NOVAR MKINET6=no 2021.NOVAR MKINET6=no
2028.DFLTy 2022.DFLTy
2029. 2023.
2030.It Sy USE_JEMALLOC 2024.It Sy USE_JEMALLOC
2031.YorN 2025.YorN
2032Indicates whether the 2026Indicates whether the
2033.Em jemalloc 2027.Em jemalloc
2034allocator 2028allocator
2035.Pq which is designed for improved performance with threaded applications 2029.Pq which is designed for improved performance with threaded applications
2036is used instead of the 2030is used instead of the
2037.Em phkmalloc 2031.Em phkmalloc
2038allocator 2032allocator
2039.Pq that was the default until Nx 5.0 . 2033.Pq that was the default until Nx 5.0 .
2040.DFLTy 2034.DFLTy
2041. 2035.
2042.It Sy USE_KERBEROS 2036.It Sy USE_KERBEROS
2043.YorN 2037.YorN
2044Indicates whether Kerberos v5 support is 2038Indicates whether Kerberos v5 support is
2045enabled in the various applications that support it. 2039enabled in the various applications that support it.
2046.NOVAR MKKERBEROS=no 2040.NOVAR MKKERBEROS=no
2047.DFLTy 2041.DFLTy
2048. 2042.
2049.It Sy USE_LDAP 2043.It Sy USE_LDAP
2050.YorN 2044.YorN
2051Indicates whether LDAP support is 2045Indicates whether LDAP support is
2052enabled in the various applications that support it. 2046enabled in the various applications that support it.
2053.NOVAR MKLDAP=no 2047.NOVAR MKLDAP=no
2054.DFLTy 2048.DFLTy
2055. 2049.
2056.It Sy USE_LIBCSANITIZER 2050.It Sy USE_LIBCSANITIZER
2057Selects the sanitizer in libc to compile userland programs and libraries. 2051Selects the sanitizer in libc to compile userland programs and libraries.
2058Supported values: 2052Supported values:
2059.Bl -tag -width undefined 2053.Bl -tag -width undefined
2060.It undefined 2054.It undefined
2061Enables the micro-UBSan in the user mode (uUBSan) 2055Enables the micro-UBSan in the user mode (uUBSan)
2062undefined behaviour sanitizer. 2056undefined behaviour sanitizer.
2063The code is shared with the kernel mode variation (kUBSan). 2057The code is shared with the kernel mode variation (kUBSan).
2064The runtime runtime differs from the UBSan available in 2058The runtime runtime differs from the UBSan available in
2065.Sy MKSANITIZER . 2059.Sy MKSANITIZER .
2066The runtime is stripped down from C++ features, 2060The runtime is stripped down from C++ features,
2067and is invoked with 2061and is invoked with
2068.Li -fsanitize=no-vptr 2062.Li -fsanitize=no-vptr
2069as that sanitizer is not supported. 2063as that sanitizer is not supported.
2070The runtime configuration is restricted to the 2064The runtime configuration is restricted to the
2071.Ev LIBC_UBSAN 2065.Ev LIBC_UBSAN
2072environment variable, that is designed to be safe for hardening. 2066environment variable, that is designed to be safe for hardening.
2073.El 2067.El
2074.Pp 2068.Pp
2075The value of 2069The value of
2076.Sy USE_LIBCSANITIZER 2070.Sy USE_LIBCSANITIZER
2077is passed to the C and C++ compilers as the argument to 2071is passed to the C and C++ compilers as the argument to
2078.Li -fsanitize= . 2072.Li -fsanitize= .
2079Additional sanitizer arguments can be passed through 2073Additional sanitizer arguments can be passed through
2080.Sy LIBCSANITIZERFLAGS . 2074.Sy LIBCSANITIZERFLAGS .
2081.Pp 2075.Pp
2082Disabled if 2076Disabled if
2083.Sy MKLIBCSANITIZER=no . 2077.Sy MKLIBCSANITIZER=no .
2084.DFLT 2078.DFLT
2085.Dq undefined . 2079.Dq undefined .
2086. 2080.
2087.It Sy USE_PAM 2081.It Sy USE_PAM
2088.YorN 2082.YorN
2089Indicates whether 2083Indicates whether
2090.Xr pam 8 2084.Xr pam 8
2091support is enabled in the various applications that support it. 2085support is enabled in the various applications that support it.
2092.NOVAR MKPAM=no 2086.NOVAR MKPAM=no
2093.DFLTy 2087.DFLTy
2094. 2088.
2095.It Sy USE_PIGZGZIP 2089.It Sy USE_PIGZGZIP
2096.YorN 2090.YorN
2097Indicates whether 2091Indicates whether
2098.Xr pigz 1 2092.Xr pigz 1
2099is used instead of 2093is used instead of
2100.Xr gzip 1 2094.Xr gzip 1
2101for multi-threaded gzip compression of the distribution tar sets. 2095for multi-threaded gzip compression of the distribution tar sets.
2102.DFLTn 2096.DFLTn
2103. 2097.
2104.It Sy USE_SANITIZER 2098.It Sy USE_SANITIZER
2105Selects the sanitizer to compile userland programs and libraries. 2099Selects the sanitizer to compile userland programs and libraries.
2106Supported (one or more, comma-separated) values: 2100Supported (one or more, comma-separated) values:
2107.Bl -tag -width safe-stack 2101.Bl -tag -width safe-stack
2108.It address 2102.It address
2109A memory error detector. 2103A memory error detector.
2110.It cfi 2104.It cfi
2111A control flow detector. 2105A control flow detector.
2112.It dataflow 2106.It dataflow
2113A general data flow analysis. 2107A general data flow analysis.
2114.It leak 2108.It leak
2115A memory leak detector. 2109A memory leak detector.
2116.It memory 2110.It memory
2117An uninitialized memory read detector. 2111An uninitialized memory read detector.
2118.It safe-stack 2112.It safe-stack
2119Protect against stack-based corruption. 2113Protect against stack-based corruption.
2120.It scudo 2114.It scudo
2121The Scudo Hardened Allocator. 2115The Scudo Hardened Allocator.
2122.It thread 2116.It thread
2123A data race detector. 2117A data race detector.
2124.It undefined 2118.It undefined
2125An undefined behavior detector. 2119An undefined behavior detector.
2126.El 2120.El
2127.Pp 2121.Pp
2128The value of 2122The value of
2129.Sy USE_SANITIZER 2123.Sy USE_SANITIZER
2130is passed to the C and C++ compilers as the argument to 2124is passed to the C and C++ compilers as the argument to
2131.Li -fsanitize= . 2125.Li -fsanitize= .
2132Additional sanitizer arguments can be passed through 2126Additional sanitizer arguments can be passed through
2133.Sy SANITIZERFLAGS . 2127.Sy SANITIZERFLAGS .
2134.Pp 2128.Pp
2135The list of supported features and their valid combinations 2129The list of supported features and their valid combinations
2136depends on the compiler version and target CPU architecture. 2130depends on the compiler version and target CPU architecture.
2137.Pp 2131.Pp
2138Disabled if 2132Disabled if
2139.Sy MKSANITIZER=no . 2133.Sy MKSANITIZER=no .
2140.DFLT 2134.DFLT
2141.Dq address . 2135.Dq address .
2142. 2136.
2143.It Sy USE_SKEY 2137.It Sy USE_SKEY
2144.YorN 2138.YorN
2145Indicates whether S/key support is 2139Indicates whether S/key support is
2146enabled in the various applications that support it. 2140enabled in the various applications that support it.
2147.NOVAR MKSKEY=no 2141.NOVAR MKSKEY=no
2148.Pp 2142.Pp
2149.Em Note : 2143.Em Note :
2150This is mutually exclusive to 2144This is mutually exclusive to
2151.Sy USE_PAM!=no . 2145.Sy USE_PAM!=no .
2152.DFLTn 2146.DFLTn
2153. 2147.
2154.It Sy USE_SSP 2148.It Sy USE_SSP
2155.YorN 2149.YorN
2156Indicates whether GCC stack-smashing protection (SSP) support, 2150Indicates whether GCC stack-smashing protection (SSP) support,
2157which detects stack overflows and aborts the program, 2151which detects stack overflows and aborts the program,
2158is enabled. 2152is enabled.
2159This imposes some performance penalty 2153This imposes some performance penalty
2160(approximately 5%). 2154(approximately 5%).
2161.Pp 2155.Pp
2162This is disabled internally for standalone programs in 2156This is disabled internally for standalone programs in
2163.Pa /usr/mdec . 2157.Pa /usr/mdec .
2164.NODEF NOSSP 2158.NODEF NOSSP
2165.NOVAR COVERITY_TOP_CONFIG No is defined 2159.NOVAR COVERITY_TOP_CONFIG No is defined
2166.DFLT 2160.DFLT
2167.Dq no 2161.Dq no
2168on 2162on
2169.Sy alpha , 2163.Sy alpha ,
2170.Sy hppa , 2164.Sy hppa ,
2171.Sy ia64 , 2165.Sy ia64 ,
2172and 2166and
2173.Sy mips ; 2167.Sy mips ;
2174.Dq yes 2168.Dq yes
2175on other platforms if 2169on other platforms if
2176.Sy USE_FORT=yes ; 2170.Sy USE_FORT=yes ;
2177otherwise 2171otherwise
2178.Dq no . 2172.Dq no .
2179. 2173.
2180.It Sy USE_XZ_SETS 2174.It Sy USE_XZ_SETS
2181.YorN 2175.YorN
2182Indicates whether the distribution tar files are to be compressed 2176Indicates whether the distribution tar files are to be compressed
2183with 2177with
2184.Xr xz 1 2178.Xr xz 1
2185instead of 2179instead of
2186.Xr gzip 1 2180.Xr gzip 1
2187or 2181or
2188.Xr pigz 1 . 2182.Xr pigz 1 .
2189.NOVAR USE_PIGZGZIP=yes 2183.NOVAR USE_PIGZGZIP=yes
2190.DFLT 2184.DFLT
2191.Dq yes 2185.Dq yes
2192on 2186on
2193.Sy aarch64 , 2187.Sy aarch64 ,
2194.Sy amd64 , 2188.Sy amd64 ,
2195and 2189and
2196.Sy sparc64 , 2190.Sy sparc64 ,
2197.Dq no 2191.Dq no
2198on other platforms. 2192on other platforms.
2199. 2193.
2200.It Sy USE_YP 2194.It Sy USE_YP
2201.YorN 2195.YorN
2202Indicates whether YP (NIS) support is 2196Indicates whether YP (NIS) support is
2203enabled in the various applications that support it. 2197enabled in the various applications that support it.
2204.NOVAR MKYP=no 2198.NOVAR MKYP=no
2205.DFLTy 2199.DFLTy
2206. 2200.
2207.It Sy X11MOTIFPATH 2201.It Sy X11MOTIFPATH
2208Path of the Motif installation to use if 2202Path of the Motif installation to use if
2209.Sy MKX11MOTIF=yes . 2203.Sy MKX11MOTIF=yes .
2210.DFLT 2204.DFLT
2211.Dq Pa /usr/pkg . 2205.Dq Pa /usr/pkg .
2212. 2206.
2213.It Sy X11SRCDIR 2207.It Sy X11SRCDIR
2214Directory containing the modular Xorg source. 2208Directory containing the modular Xorg source.
2215If specified, must be an absolute path. 2209If specified, must be an absolute path.
2216The main modular Xorg source is found in 2210The main modular Xorg source is found in
2217.Sy X11SRCDIR Ns Pa /external/mit . 2211.Sy X11SRCDIR Ns Pa /external/mit .
2218.DFLT 2212.DFLT
2219.Sy NETBSDSRCDIR Ns Pa /../xsrc , 2213.Sy NETBSDSRCDIR Ns Pa /../xsrc ,
2220if that exists; otherwise 2214if that exists; otherwise
2221.Dq Pa /usr/xsrc . 2215.Dq Pa /usr/xsrc .
2222. 2216.
2223.El 2217.El
2224. 2218.
2225.Sh PKGSRC SYSTEM VARIABLES 2219.Sh PKGSRC SYSTEM VARIABLES
2226. 2220.
2227Please see the pkgsrc guide at 2221Please see the pkgsrc guide at
2228.Lk http://www.netbsd.org/Documentation/pkgsrc/ 2222.Lk http://www.netbsd.org/Documentation/pkgsrc/
2229or 2223or
2230.Pa pkgsrc/doc/pkgsrc.txt 2224.Pa pkgsrc/doc/pkgsrc.txt
2231for more variables used internally by the package system and 2225for more variables used internally by the package system and
2232.Pa ${PKGSRCDIR}/mk/defaults/mk.conf 2226.Pa ${PKGSRCDIR}/mk/defaults/mk.conf
2233for package-specific examples. 2227for package-specific examples.
2234. 2228.
2235.Sh OBSOLETE VARIABLES 2229.Sh OBSOLETE VARIABLES
2236. 2230.
2237These variables are obsolete. 2231These variables are obsolete.
2238. 2232.
2239.Bl -tag -width 14n 2233.Bl -tag -width 14n
2240. 2234.
2241.\" These entries are sorted alphabetically. 2235.\" These entries are sorted alphabetically.
2242. 2236.
2243.It Sy EXTSRCSRCDIR 2237.It Sy EXTSRCSRCDIR
2244Obsolete. 2238Obsolete.
2245. 2239.
2246.It Sy MKBFD 2240.It Sy MKBFD
2247Use 2241Use
2248.Sy MKBINUTILS . 2242.Sy MKBINUTILS .
2249. 2243.
2250.It Sy MKCRYPTO 2244.It Sy MKCRYPTO
2251Obsolete. 2245Obsolete.
2252. 2246.
2253.It Sy MKEXTSRC 2247.It Sy MKEXTSRC
2254Obsolete. 2248Obsolete.
2255. 2249.
2256.It Sy MKKERBEROS4 2250.It Sy MKKERBEROS4
2257Obsolete. 2251Obsolete.
2258. 2252.
2259.It Sy MKKDEBUG 2253.It Sy MKKDEBUG
2260Use 2254Use
2261.Sy MKDEBUGKERNEL . 2255.Sy MKDEBUGKERNEL .
2262. 2256.
2263.It Sy MKLLD 2257.It Sy MKLLD
2264Obsolete. 2258Obsolete.
2265. 2259.
2266.It Sy MKLLDB 2260.It Sy MKLLDB
2267Obsolete. 2261Obsolete.
2268. 2262.
2269.It Sy MKMCLINKER 2263.It Sy MKMCLINKER
2270Obsolete. 2264Obsolete.
2271. 2265.
2272.It Sy MKPERFUSE 2266.It Sy MKPERFUSE
2273Obsolete. 2267Obsolete.
2274. 2268.
2275.It Sy MKTOOLSDEBUG 2269.It Sy MKTOOLSDEBUG
2276Use 2270Use
2277.Sy MKDEBUGTOOLS . 2271.Sy MKDEBUGTOOLS .
2278. 2272.
2279.It Sy NBUILDJOBS 2273.It Sy NBUILDJOBS
2280Use the 2274Use the
2281.Nm build.sh 2275.Nm build.sh
2282and 2276and
2283.Xr make 1 2277.Xr make 1
2284option 2278option
2285.Fl j 2279.Fl j
2286instead. 2280instead.
2287. 2281.
2288.It Sy SHAREDSTRINGS 2282.It Sy SHAREDSTRINGS
2289Obsolete. 2283Obsolete.
2290. 2284.
2291.It Sy USE_COMBINE 2285.It Sy USE_COMBINE
2292Obsolete. 2286Obsolete.
2293. 2287.
2294.It Sy USE_NEW_TOOLCHAIN 2288.It Sy USE_NEW_TOOLCHAIN
2295The new toolchain is now the default. 2289The new toolchain is now the default.
2296To disable, use 2290To disable, use
2297.Sy TOOLCHAIN_MISSING=yes . 2291.Sy TOOLCHAIN_MISSING=yes .
2298. 2292.
2299.El 2293.El
2300. 2294.
2301.Sh FILES 2295.Sh FILES
2302.Bl -tag -width /etc/mk.conf 2296.Bl -tag -width /etc/mk.conf
2303. 2297.
2304.It Pa /etc/mk.conf 2298.It Pa /etc/mk.conf
2305The 2299The
2306.Nm 2300.Nm
2307file resides in 2301file resides in
2308.Pa /etc . 2302.Pa /etc .
2309. 2303.
2310.It Pa ${PKGSRCDIR}/mk/defaults/mk.conf 2304.It Pa ${PKGSRCDIR}/mk/defaults/mk.conf
2311Examples for settings regarding the pkgsrc collection. 2305Examples for settings regarding the pkgsrc collection.
2312.El 2306.El
2313. 2307.
2314.Sh SEE ALSO 2308.Sh SEE ALSO
2315.Xr apropos 1 , 2309.Xr apropos 1 ,
2316.Xr ar 1 , 2310.Xr ar 1 ,
2317.Xr as 1 , 2311.Xr as 1 ,
2318.Xr clang 1 , 2312.Xr clang 1 ,
2319.Xr clang++ 1 , 2313.Xr clang++ 1 ,
2320.Xr config 1 , 2314.Xr config 1 ,
2321.Xr cpio 1 , 2315.Xr cpio 1 ,
2322.Xr cvs 1 , 2316.Xr cvs 1 ,
2323.Xr cvslatest 1 , 2317.Xr cvslatest 1 ,
2324.Xr dtrace 1 , 2318.Xr dtrace 1 ,
2325.Xr g++ 1 , 2319.Xr g++ 1 ,
2326.Xr gcc 1 , 2320.Xr gcc 1 ,
2327.Xr gdb 1 , 2321.Xr gdb 1 ,
2328.Xr groff 1 , 2322.Xr groff 1 ,
2329.Xr gzip 1 , 2323.Xr gzip 1 ,
2330.Xr ident 1 , 2324.Xr ident 1 ,
2331.Xr ld 1 , 2325.Xr ld 1 ,
2332.Xr ld.elf_so 1 , 2326.Xr ld.elf_so 1 ,
2333.Xr lint 1 , 2327.Xr lint 1 ,
2334.Xr ls 1 , 2328.Xr ls 1 ,
2335.Xr make 1 , 2329.Xr make 1 ,
2336.Xr mandoc 1 , 2330.Xr mandoc 1 ,
2337.Xr pax 1 , 2331.Xr pax 1 ,
2338.Xr pcc 1 , 2332.Xr pcc 1 ,
2339.Xr pigz 1 , 2333.Xr pigz 1 ,
2340.Xr sh 1 , 2334.Xr sh 1 ,
2341.Xr tar 1 , 2335.Xr tar 1 ,
2342.Xr uname 1 , 2336.Xr uname 1 ,
2343.Xr whatis 1 , 2337.Xr whatis 1 ,
2344.Xr xz 1 , 2338.Xr xz 1 ,
2345.Xr rump 3 , 2339.Xr rump 3 ,
2346.Xr ssp 3 , 2340.Xr ssp 3 ,
2347.Xr amdgpu 4 , 2341.Xr amdgpu 4 ,
2348.Xr athn 4 , 2342.Xr athn 4 ,
2349.Xr bcm43xx 4 , 2343.Xr bcm43xx 4 ,
2350.Xr bwfm 4 , 2344.Xr bwfm 4 ,
2351.Xr ipf 4 , 2345.Xr ipf 4 ,
2352.Xr ipw 4 , 2346.Xr ipw 4 ,
2353.Xr iwi 4 , 2347.Xr iwi 4 ,
2354.Xr iwm 4 , 2348.Xr iwm 4 ,
2355.Xr iwn 4 , 2349.Xr iwn 4 ,
2356.Xr nouveau 4 , 2350.Xr nouveau 4 ,
2357.Xr options 4 , 2351.Xr options 4 ,
2358.Xr otus 4 , 2352.Xr otus 4 ,
2359.Xr pf 4 , 2353.Xr pf 4 ,
2360.Xr radeon 4 , 2354.Xr radeon 4 ,
2361.Xr ral 4 , 2355.Xr ral 4 ,
2362.Xr rtwn 4 , 2356.Xr rtwn 4 ,
2363.Xr rum 4 , 2357.Xr rum 4 ,
2364.Xr run 4 , 2358.Xr run 4 ,
2365.Xr urtwn 4 , 2359.Xr urtwn 4 ,
2366.Xr wpi 4 , 2360.Xr wpi 4 ,
2367.Xr zyd 4 , 2361.Xr zyd 4 ,
2368.Xr pam.conf 5 , 2362.Xr pam.conf 5 ,
2369.Xr release 7 , 2363.Xr release 7 ,
2370.Xr security 7 , 2364.Xr security 7 ,
2371.Xr Xorg 7 , 2365.Xr Xorg 7 ,
2372.Xr dbsym 8 , 2366.Xr dbsym 8 ,
2373.Xr getNAME 8 , 2367.Xr getNAME 8 ,
2374.Xr installboot 8 , 2368.Xr installboot 8 ,
2375.Xr makemandb 8 , 2369.Xr makemandb 8 ,
2376.Xr makewhatis 8 , 2370.Xr makewhatis 8 ,
2377.Xr mdsetimage 8 , 2371.Xr mdsetimage 8 ,
2378.Xr mtree 8 , 2372.Xr mtree 8 ,
2379.Xr pam 8 , 2373.Xr pam 8 ,
2380.Xr unbound 8 , 2374.Xr unbound 8 ,
2381.Pa /usr/share/mk/bsd.README , 2375.Pa /usr/share/mk/bsd.README ,
2382.Pa src/BUILDING , 2376.Pa src/BUILDING ,
2383.Pa pkgsrc/doc/pkgsrc.txt , 2377.Pa pkgsrc/doc/pkgsrc.txt ,
2384.Lk http://www.netbsd.org/Documentation/pkgsrc/ 2378.Lk http://www.netbsd.org/Documentation/pkgsrc/
2385.Sh HISTORY 2379.Sh HISTORY
2386The 2380The
2387.Nm 2381.Nm
2388file appeared in 2382file appeared in
2389.Nx 1.2 . 2383.Nx 1.2 .