diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-05 10:17:08 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-05 10:17:08 +0000 |
commit | 7d219aab70e6951ab82c27c202cac05016696723 (patch) | |
tree | 4c0679bfa391f71aee9b51505a5d3dc8f60a0cf7 /Config.in | |
parent | 8f8f268cfdecb4cabeb2e649a73afc7a485aeff5 (diff) | |
download | busybox-w32-7d219aab70e6951ab82c27c202cac05016696723.tar.gz busybox-w32-7d219aab70e6951ab82c27c202cac05016696723.tar.bz2 busybox-w32-7d219aab70e6951ab82c27c202cac05016696723.zip |
build system overhaul
Diffstat (limited to 'Config.in')
-rw-r--r-- | Config.in | 104 |
1 files changed, 52 insertions, 52 deletions
@@ -13,7 +13,7 @@ menu "Busybox Settings" | |||
13 | 13 | ||
14 | menu "General Configuration" | 14 | menu "General Configuration" |
15 | 15 | ||
16 | config CONFIG_NITPICK | 16 | config NITPICK |
17 | bool "See lots more (probably unnecessary) configuration options." | 17 | bool "See lots more (probably unnecessary) configuration options." |
18 | default n | 18 | default n |
19 | help | 19 | help |
@@ -29,7 +29,7 @@ config CONFIG_NITPICK | |||
29 | 29 | ||
30 | You have been warned. | 30 | You have been warned. |
31 | 31 | ||
32 | config CONFIG_DESKTOP | 32 | config DESKTOP |
33 | bool "Enable options for full-blown desktop systems." | 33 | bool "Enable options for full-blown desktop systems." |
34 | default n | 34 | default n |
35 | help | 35 | help |
@@ -39,8 +39,8 @@ config CONFIG_DESKTOP | |||
39 | 39 | ||
40 | choice | 40 | choice |
41 | prompt "Buffer allocation policy" | 41 | prompt "Buffer allocation policy" |
42 | default CONFIG_FEATURE_BUFFERS_USE_MALLOC | 42 | default FEATURE_BUFFERS_USE_MALLOC |
43 | depends on CONFIG_NITPICK | 43 | depends on NITPICK |
44 | help | 44 | help |
45 | There are 3 ways BusyBox can handle buffer allocations: | 45 | There are 3 ways BusyBox can handle buffer allocations: |
46 | - Use malloc. This costs code size for the call to xmalloc. | 46 | - Use malloc. This costs code size for the call to xmalloc. |
@@ -51,18 +51,18 @@ choice | |||
51 | behavior was the only one available for BusyBox versions 0.48 and | 51 | behavior was the only one available for BusyBox versions 0.48 and |
52 | earlier. | 52 | earlier. |
53 | 53 | ||
54 | config CONFIG_FEATURE_BUFFERS_USE_MALLOC | 54 | config FEATURE_BUFFERS_USE_MALLOC |
55 | bool "Allocate with Malloc" | 55 | bool "Allocate with Malloc" |
56 | 56 | ||
57 | config CONFIG_FEATURE_BUFFERS_GO_ON_STACK | 57 | config FEATURE_BUFFERS_GO_ON_STACK |
58 | bool "Allocate on the Stack" | 58 | bool "Allocate on the Stack" |
59 | 59 | ||
60 | config CONFIG_FEATURE_BUFFERS_GO_IN_BSS | 60 | config FEATURE_BUFFERS_GO_IN_BSS |
61 | bool "Allocate in the .bss section" | 61 | bool "Allocate in the .bss section" |
62 | 62 | ||
63 | endchoice | 63 | endchoice |
64 | 64 | ||
65 | config CONFIG_SHOW_USAGE | 65 | config SHOW_USAGE |
66 | bool "Show terse applet usage messages" | 66 | bool "Show terse applet usage messages" |
67 | default y | 67 | default y |
68 | help | 68 | help |
@@ -71,20 +71,20 @@ config CONFIG_SHOW_USAGE | |||
71 | messages if you say no here. | 71 | messages if you say no here. |
72 | This will save you up to 7k. | 72 | This will save you up to 7k. |
73 | 73 | ||
74 | config CONFIG_FEATURE_VERBOSE_USAGE | 74 | config FEATURE_VERBOSE_USAGE |
75 | bool "Show verbose applet usage messages" | 75 | bool "Show verbose applet usage messages" |
76 | default n | 76 | default n |
77 | select CONFIG_SHOW_USAGE | 77 | select SHOW_USAGE |
78 | help | 78 | help |
79 | All BusyBox applets will show more verbose help messages when | 79 | All BusyBox applets will show more verbose help messages when |
80 | busybox is invoked with --help. This will add a lot of text to the | 80 | busybox is invoked with --help. This will add a lot of text to the |
81 | busybox binary. In the default configuration, this will add about | 81 | busybox binary. In the default configuration, this will add about |
82 | 13k, but it can add much more depending on your configuration. | 82 | 13k, but it can add much more depending on your configuration. |
83 | 83 | ||
84 | config CONFIG_FEATURE_COMPRESS_USAGE | 84 | config FEATURE_COMPRESS_USAGE |
85 | bool "Store applet usage messages in compressed form" | 85 | bool "Store applet usage messages in compressed form" |
86 | default y | 86 | default y |
87 | depends on CONFIG_SHOW_USAGE | 87 | depends on SHOW_USAGE |
88 | help | 88 | help |
89 | Store usage messages in compressed form, uncompress them on-the-fly | 89 | Store usage messages in compressed form, uncompress them on-the-fly |
90 | when <applet> --help is called. | 90 | when <applet> --help is called. |
@@ -95,7 +95,7 @@ config CONFIG_FEATURE_COMPRESS_USAGE | |||
95 | and have very little memory, this might not be a win. Otherwise, | 95 | and have very little memory, this might not be a win. Otherwise, |
96 | you probably want this. | 96 | you probably want this. |
97 | 97 | ||
98 | config CONFIG_FEATURE_INSTALLER | 98 | config FEATURE_INSTALLER |
99 | bool "Support --install [-s] to install applet links at runtime" | 99 | bool "Support --install [-s] to install applet links at runtime" |
100 | default n | 100 | default n |
101 | help | 101 | help |
@@ -104,14 +104,14 @@ config CONFIG_FEATURE_INSTALLER | |||
104 | applets that are compiled into busybox. This feature requires the | 104 | applets that are compiled into busybox. This feature requires the |
105 | /proc filesystem. | 105 | /proc filesystem. |
106 | 106 | ||
107 | config CONFIG_LOCALE_SUPPORT | 107 | config LOCALE_SUPPORT |
108 | bool "Enable locale support (system needs locale for this to work)" | 108 | bool "Enable locale support (system needs locale for this to work)" |
109 | default n | 109 | default n |
110 | help | 110 | help |
111 | Enable this if your system has locale support and you would like | 111 | Enable this if your system has locale support and you would like |
112 | busybox to support locale settings. | 112 | busybox to support locale settings. |
113 | 113 | ||
114 | config CONFIG_GETOPT_LONG | 114 | config GETOPT_LONG |
115 | bool | 115 | bool |
116 | default y | 116 | default y |
117 | # bool "Enable support for --long-options" | 117 | # bool "Enable support for --long-options" |
@@ -120,7 +120,7 @@ config CONFIG_GETOPT_LONG | |||
120 | # Enable this if you want busybox applets to use the gnu --long-option | 120 | # Enable this if you want busybox applets to use the gnu --long-option |
121 | # style, in addition to single character -a -b -c style options. | 121 | # style, in addition to single character -a -b -c style options. |
122 | 122 | ||
123 | config CONFIG_FEATURE_DEVPTS | 123 | config FEATURE_DEVPTS |
124 | bool "Use the devpts filesystem for Unix98 PTYs" | 124 | bool "Use the devpts filesystem for Unix98 PTYs" |
125 | default y | 125 | default y |
126 | help | 126 | help |
@@ -130,10 +130,10 @@ config CONFIG_FEATURE_DEVPTS | |||
130 | /dev/ttyp<number> will be used. To use this option, you should have | 130 | /dev/ttyp<number> will be used. To use this option, you should have |
131 | devpts mounted. | 131 | devpts mounted. |
132 | 132 | ||
133 | config CONFIG_FEATURE_CLEAN_UP | 133 | config FEATURE_CLEAN_UP |
134 | bool "Clean up all memory before exiting (usually not needed)" | 134 | bool "Clean up all memory before exiting (usually not needed)" |
135 | default n | 135 | default n |
136 | depends on CONFIG_NITPICK | 136 | depends on NITPICK |
137 | help | 137 | help |
138 | As a size optimization, busybox normally exits without explicitly | 138 | As a size optimization, busybox normally exits without explicitly |
139 | freeing dynamically allocated memory or closing files. This saves | 139 | freeing dynamically allocated memory or closing files. This saves |
@@ -143,7 +143,7 @@ config CONFIG_FEATURE_CLEAN_UP | |||
143 | Don't enable this unless you have a really good reason to clean | 143 | Don't enable this unless you have a really good reason to clean |
144 | things up manually. | 144 | things up manually. |
145 | 145 | ||
146 | config CONFIG_FEATURE_SUID | 146 | config FEATURE_SUID |
147 | bool "Support for SUID/SGID handling" | 147 | bool "Support for SUID/SGID handling" |
148 | default n | 148 | default n |
149 | help | 149 | help |
@@ -158,17 +158,17 @@ config CONFIG_FEATURE_SUID | |||
158 | are login, passwd, su, ping, traceroute, crontab, dnsd, ipcrm, ipcs, | 158 | are login, passwd, su, ping, traceroute, crontab, dnsd, ipcrm, ipcs, |
159 | and vlock. | 159 | and vlock. |
160 | 160 | ||
161 | config CONFIG_FEATURE_SYSLOG | 161 | config FEATURE_SYSLOG |
162 | bool "Support for syslog" | 162 | bool "Support for syslog" |
163 | default n | 163 | default n |
164 | help | 164 | help |
165 | This option is auto-selected when you select any applet which may | 165 | This option is auto-selected when you select any applet which may |
166 | send its output to syslog. You do not need to select it manually. | 166 | send its output to syslog. You do not need to select it manually. |
167 | 167 | ||
168 | config CONFIG_FEATURE_SUID_CONFIG | 168 | config FEATURE_SUID_CONFIG |
169 | bool "Runtime SUID/SGID configuration via /etc/busybox.conf" | 169 | bool "Runtime SUID/SGID configuration via /etc/busybox.conf" |
170 | default n if CONFIG_FEATURE_SUID | 170 | default n if FEATURE_SUID |
171 | depends on CONFIG_FEATURE_SUID | 171 | depends on FEATURE_SUID |
172 | help | 172 | help |
173 | Allow the SUID / SGID state of an applet to be determined at runtime | 173 | Allow the SUID / SGID state of an applet to be determined at runtime |
174 | by checking /etc/busybox.conf. (This is sort of a poor man's sudo.) | 174 | by checking /etc/busybox.conf. (This is sort of a poor man's sudo.) |
@@ -197,15 +197,15 @@ config CONFIG_FEATURE_SUID_CONFIG | |||
197 | Robert 'sandman' Griebl has more information here: | 197 | Robert 'sandman' Griebl has more information here: |
198 | <url: http://www.softforge.de/bb/suid.html >. | 198 | <url: http://www.softforge.de/bb/suid.html >. |
199 | 199 | ||
200 | config CONFIG_FEATURE_SUID_CONFIG_QUIET | 200 | config FEATURE_SUID_CONFIG_QUIET |
201 | bool "Suppress warning message if /etc/busybox.conf is not readable" | 201 | bool "Suppress warning message if /etc/busybox.conf is not readable" |
202 | default y | 202 | default y |
203 | depends on CONFIG_FEATURE_SUID_CONFIG | 203 | depends on FEATURE_SUID_CONFIG |
204 | help | 204 | help |
205 | /etc/busybox.conf should be readable by the user needing the SUID, check | 205 | /etc/busybox.conf should be readable by the user needing the SUID, check |
206 | this option to avoid users to be notified about missing permissions. | 206 | this option to avoid users to be notified about missing permissions. |
207 | 207 | ||
208 | config CONFIG_SELINUX | 208 | config SELINUX |
209 | bool "Support NSA Security Enhanced Linux" | 209 | bool "Support NSA Security Enhanced Linux" |
210 | default n | 210 | default n |
211 | help | 211 | help |
@@ -225,7 +225,7 @@ config CONFIG_SELINUX | |||
225 | 225 | ||
226 | Most people will leave this set to 'N'. | 226 | Most people will leave this set to 'N'. |
227 | 227 | ||
228 | config CONFIG_BUSYBOX_EXEC_PATH | 228 | config BUSYBOX_EXEC_PATH |
229 | string "Path to BusyBox executable" | 229 | string "Path to BusyBox executable" |
230 | default "/proc/self/exe" | 230 | default "/proc/self/exe" |
231 | help | 231 | help |
@@ -239,7 +239,7 @@ endmenu | |||
239 | 239 | ||
240 | menu 'Build Options' | 240 | menu 'Build Options' |
241 | 241 | ||
242 | config CONFIG_STATIC | 242 | config STATIC |
243 | bool "Build BusyBox as a static binary (no shared libs)" | 243 | bool "Build BusyBox as a static binary (no shared libs)" |
244 | default n | 244 | default n |
245 | help | 245 | help |
@@ -253,7 +253,7 @@ config CONFIG_STATIC | |||
253 | 253 | ||
254 | Most people will leave this set to 'N'. | 254 | Most people will leave this set to 'N'. |
255 | 255 | ||
256 | config CONFIG_BUILD_LIBBUSYBOX | 256 | config BUILD_LIBBUSYBOX |
257 | bool "Build shared libbusybox" | 257 | bool "Build shared libbusybox" |
258 | default n | 258 | default n |
259 | help | 259 | help |
@@ -265,10 +265,10 @@ config CONFIG_BUILD_LIBBUSYBOX | |||
265 | binary serves no purpose (and increases the size). You should | 265 | binary serves no purpose (and increases the size). You should |
266 | almost certainly say "no" to this right now. | 266 | almost certainly say "no" to this right now. |
267 | 267 | ||
268 | config CONFIG_FEATURE_FULL_LIBBUSYBOX | 268 | config FEATURE_FULL_LIBBUSYBOX |
269 | bool "Feature-complete libbusybox" | 269 | bool "Feature-complete libbusybox" |
270 | default n if !CONFIG_FEATURE_SHARED_BUSYBOX | 270 | default n if !FEATURE_SHARED_BUSYBOX |
271 | depends on CONFIG_BUILD_LIBBUSYBOX | 271 | depends on BUILD_LIBBUSYBOX |
272 | help | 272 | help |
273 | Build a libbusybox with the complete feature-set, disregarding | 273 | Build a libbusybox with the complete feature-set, disregarding |
274 | the actually selected config. | 274 | the actually selected config. |
@@ -284,15 +284,15 @@ config CONFIG_FEATURE_FULL_LIBBUSYBOX | |||
284 | 284 | ||
285 | Say 'N' if in doubt. | 285 | Say 'N' if in doubt. |
286 | 286 | ||
287 | config CONFIG_FEATURE_SHARED_BUSYBOX | 287 | config FEATURE_SHARED_BUSYBOX |
288 | bool "Use shared libbusybox for busybox" | 288 | bool "Use shared libbusybox for busybox" |
289 | default y if CONFIG_BUILD_LIBBUSYBOX | 289 | default y if BUILD_LIBBUSYBOX |
290 | depends on !CONFIG_STATIC && CONFIG_BUILD_LIBBUSYBOX | 290 | depends on !STATIC && BUILD_LIBBUSYBOX |
291 | help | 291 | help |
292 | Use libbusybox.so also for busybox itself. | 292 | Use libbusybox.so also for busybox itself. |
293 | You need to have a working dynamic linker to use this variant. | 293 | You need to have a working dynamic linker to use this variant. |
294 | 294 | ||
295 | config CONFIG_LFS | 295 | config LFS |
296 | bool "Build with Large File Support (for accessing files > 2 GB)" | 296 | bool "Build with Large File Support (for accessing files > 2 GB)" |
297 | default n | 297 | default n |
298 | select FDISK_SUPPORT_LARGE_DISKS | 298 | select FDISK_SUPPORT_LARGE_DISKS |
@@ -304,7 +304,7 @@ config CONFIG_LFS | |||
304 | cp, mount, tar, and many others. If you want to access files larger | 304 | cp, mount, tar, and many others. If you want to access files larger |
305 | than 2 Gigabytes, enable this option. Otherwise, leave it set to 'N'. | 305 | than 2 Gigabytes, enable this option. Otherwise, leave it set to 'N'. |
306 | 306 | ||
307 | config CONFIG_BUILD_AT_ONCE | 307 | config BUILD_AT_ONCE |
308 | bool "Compile all sources at once" | 308 | bool "Compile all sources at once" |
309 | default n | 309 | default n |
310 | help | 310 | help |
@@ -327,7 +327,7 @@ endmenu | |||
327 | 327 | ||
328 | menu 'Debugging Options' | 328 | menu 'Debugging Options' |
329 | 329 | ||
330 | config CONFIG_DEBUG | 330 | config DEBUG |
331 | bool "Build BusyBox with extra Debugging symbols" | 331 | bool "Build BusyBox with extra Debugging symbols" |
332 | default n | 332 | default n |
333 | help | 333 | help |
@@ -338,10 +338,10 @@ config CONFIG_DEBUG | |||
338 | 338 | ||
339 | Most people should answer N. | 339 | Most people should answer N. |
340 | 340 | ||
341 | config CONFIG_DEBUG_PESSIMIZE | 341 | config DEBUG_PESSIMIZE |
342 | bool "Disable compiler optimizations." | 342 | bool "Disable compiler optimizations." |
343 | default n | 343 | default n |
344 | depends on CONFIG_DEBUG | 344 | depends on DEBUG |
345 | help | 345 | help |
346 | The compiler's optimization of source code can eliminate and reorder | 346 | The compiler's optimization of source code can eliminate and reorder |
347 | code, resulting in an executable that's hard to understand when | 347 | code, resulting in an executable that's hard to understand when |
@@ -351,8 +351,8 @@ config CONFIG_DEBUG_PESSIMIZE | |||
351 | 351 | ||
352 | choice | 352 | choice |
353 | prompt "Additional debugging library" | 353 | prompt "Additional debugging library" |
354 | default CONFIG_NO_DEBUG_LIB | 354 | default NO_DEBUG_LIB |
355 | depends on CONFIG_DEBUG | 355 | depends on DEBUG |
356 | help | 356 | help |
357 | Using an additional debugging library will make BusyBox become | 357 | Using an additional debugging library will make BusyBox become |
358 | considerable larger and will cause it to run more slowly. You | 358 | considerable larger and will cause it to run more slowly. You |
@@ -380,18 +380,18 @@ choice | |||
380 | you are hunting a hard to find memory problem. | 380 | you are hunting a hard to find memory problem. |
381 | 381 | ||
382 | 382 | ||
383 | config CONFIG_NO_DEBUG_LIB | 383 | config NO_DEBUG_LIB |
384 | bool "None" | 384 | bool "None" |
385 | 385 | ||
386 | config CONFIG_DMALLOC | 386 | config DMALLOC |
387 | bool "Dmalloc" | 387 | bool "Dmalloc" |
388 | 388 | ||
389 | config CONFIG_EFENCE | 389 | config EFENCE |
390 | bool "Electric-fence" | 390 | bool "Electric-fence" |
391 | 391 | ||
392 | endchoice | 392 | endchoice |
393 | 393 | ||
394 | config CONFIG_DEBUG_YANK_SUSv2 | 394 | config DEBUG_YANK_SUSv2 |
395 | bool "Disable obsolete features removed before SUSv3?" | 395 | bool "Disable obsolete features removed before SUSv3?" |
396 | default y | 396 | default y |
397 | help | 397 | help |
@@ -404,7 +404,7 @@ endmenu | |||
404 | 404 | ||
405 | menu 'Installation Options' | 405 | menu 'Installation Options' |
406 | 406 | ||
407 | config CONFIG_INSTALL_NO_USR | 407 | config INSTALL_NO_USR |
408 | bool "Don't use /usr" | 408 | bool "Don't use /usr" |
409 | default n | 409 | default n |
410 | help | 410 | help |
@@ -413,27 +413,27 @@ config CONFIG_INSTALL_NO_USR | |||
413 | 413 | ||
414 | choice | 414 | choice |
415 | prompt "Applets links" | 415 | prompt "Applets links" |
416 | default CONFIG_INSTALL_APPLET_SYMLINKS | 416 | default INSTALL_APPLET_SYMLINKS |
417 | help | 417 | help |
418 | Choose how you install applets links. | 418 | Choose how you install applets links. |
419 | 419 | ||
420 | config CONFIG_INSTALL_APPLET_SYMLINKS | 420 | config INSTALL_APPLET_SYMLINKS |
421 | bool "as soft-links" | 421 | bool "as soft-links" |
422 | help | 422 | help |
423 | Install applets as soft-links to the busybox binary. This needs some | 423 | Install applets as soft-links to the busybox binary. This needs some |
424 | free inodes on the filesystem, but might help with filesystem | 424 | free inodes on the filesystem, but might help with filesystem |
425 | generators that can't cope with hard-links. | 425 | generators that can't cope with hard-links. |
426 | 426 | ||
427 | config CONFIG_INSTALL_APPLET_HARDLINKS | 427 | config INSTALL_APPLET_HARDLINKS |
428 | bool "as hard-links" | 428 | bool "as hard-links" |
429 | help | 429 | help |
430 | Install applets as hard-links to the busybox binary. This might count | 430 | Install applets as hard-links to the busybox binary. This might count |
431 | on a filesystem with few inodes. | 431 | on a filesystem with few inodes. |
432 | 432 | ||
433 | config CONFIG_INSTALL_APPLET_DONT | 433 | config INSTALL_APPLET_DONT |
434 | bool | 434 | bool |
435 | prompt "not installed" | 435 | prompt "not installed" |
436 | depends on CONFIG_FEATURE_INSTALLER || CONFIG_FEATURE_SH_STANDALONE_SHELL | 436 | depends on FEATURE_INSTALLER || FEATURE_SH_STANDALONE_SHELL |
437 | help | 437 | help |
438 | Do not install applets links. Usefull when using the -install feature | 438 | Do not install applets links. Usefull when using the -install feature |
439 | or a standalone shell for rescue pruposes. | 439 | or a standalone shell for rescue pruposes. |