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