Changeset 1770 in MondoRescue for branches/stable/mindi-busybox/Config.in
- Timestamp:
- Nov 6, 2007, 11:01:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mindi-busybox/Config.in
r902 r1770 14 14 menu "General Configuration" 15 15 16 config CONFIG_NITPICK16 config NITPICK 17 17 bool "See lots more (probably unnecessary) configuration options." 18 18 default n … … 30 30 You have been warned. 31 31 32 config DESKTOP 33 bool "Enable options for full-blown desktop systems" 34 default n 35 help 36 Enable options and features which are not essential. 37 Select this only if you plan to use busybox on full-blown 38 desktop machine with common Linux distro, not on an embedded box. 39 32 40 choice 33 41 prompt "Buffer allocation policy" 34 default CONFIG_FEATURE_BUFFERS_USE_MALLOC35 depends on CONFIG_NITPICK42 default FEATURE_BUFFERS_USE_MALLOC 43 depends on NITPICK 36 44 help 37 45 There are 3 ways BusyBox can handle buffer allocations: … … 44 52 earlier. 45 53 46 config CONFIG_FEATURE_BUFFERS_USE_MALLOC54 config FEATURE_BUFFERS_USE_MALLOC 47 55 bool "Allocate with Malloc" 48 56 49 config CONFIG_FEATURE_BUFFERS_GO_ON_STACK57 config FEATURE_BUFFERS_GO_ON_STACK 50 58 bool "Allocate on the Stack" 51 59 52 config CONFIG_FEATURE_BUFFERS_GO_IN_BSS60 config FEATURE_BUFFERS_GO_IN_BSS 53 61 bool "Allocate in the .bss section" 54 62 55 63 endchoice 56 64 57 config CONFIG_SHOW_USAGE65 config SHOW_USAGE 58 66 bool "Show terse applet usage messages" 59 67 default y … … 64 72 This will save you up to 7k. 65 73 66 config CONFIG_FEATURE_VERBOSE_USAGE74 config FEATURE_VERBOSE_USAGE 67 75 bool "Show verbose applet usage messages" 68 76 default n 69 select CONFIG_SHOW_USAGE77 select SHOW_USAGE 70 78 help 71 79 All BusyBox applets will show more verbose help messages when … … 74 82 13k, but it can add much more depending on your configuration. 75 83 76 config CONFIG_FEATURE_COMPRESS_USAGE84 config FEATURE_COMPRESS_USAGE 77 85 bool "Store applet usage messages in compressed form" 78 86 default y 79 depends on CONFIG_SHOW_USAGE87 depends on SHOW_USAGE 80 88 help 81 89 Store usage messages in compressed form, uncompress them on-the-fly … … 88 96 you probably want this. 89 97 90 config CONFIG_FEATURE_INSTALLER98 config FEATURE_INSTALLER 91 99 bool "Support --install [-s] to install applet links at runtime" 92 100 default n … … 94 102 Enable 'busybox --install [-s]' support. This will allow you to use 95 103 busybox at runtime to create hard links or symlinks for all the 96 applets that are compiled into busybox. This feature requires the 97 /proc filesystem. 98 99 config CONFIG_LOCALE_SUPPORT 104 applets that are compiled into busybox. 105 106 config LOCALE_SUPPORT 100 107 bool "Enable locale support (system needs locale for this to work)" 101 108 default n … … 104 111 busybox to support locale settings. 105 112 106 config CONFIG_GETOPT_LONG 107 bool 108 default y 109 # bool "Enable support for --long-options" 110 # default n 111 # help 112 # Enable this if you want busybox applets to use the gnu --long-option 113 # style, in addition to single character -a -b -c style options. 114 115 config CONFIG_FEATURE_DEVPTS 113 config GETOPT_LONG 114 bool "Enable support for --long-options" 115 default y 116 help 117 Enable this if you want busybox applets to use the gnu --long-option 118 style, in addition to single character -a -b -c style options. 119 120 config FEATURE_DEVPTS 116 121 bool "Use the devpts filesystem for Unix98 PTYs" 117 122 default y … … 123 128 devpts mounted. 124 129 125 config CONFIG_FEATURE_CLEAN_UP130 config FEATURE_CLEAN_UP 126 131 bool "Clean up all memory before exiting (usually not needed)" 127 132 default n 128 depends on CONFIG_NITPICK133 depends on NITPICK 129 134 help 130 135 As a size optimization, busybox normally exits without explicitly … … 136 141 things up manually. 137 142 138 config CONFIG_FEATURE_SUID 143 config FEATURE_PIDFILE 144 bool "Support writing pidfiles" 145 default n 146 help 147 This option makes some applets (e.g. crond, syslogd, inetd) write 148 a pidfile in /var/run. Some applications rely on them. 149 150 config FEATURE_SUID 139 151 bool "Support for SUID/SGID handling" 140 152 default n … … 151 163 and vlock. 152 164 153 config CONFIG_FEATURE_SUID_CONFIG165 config FEATURE_SUID_CONFIG 154 166 bool "Runtime SUID/SGID configuration via /etc/busybox.conf" 155 default n if CONFIG_FEATURE_SUID156 depends on CONFIG_FEATURE_SUID167 default n if FEATURE_SUID 168 depends on FEATURE_SUID 157 169 help 158 170 Allow the SUID / SGID state of an applet to be determined at runtime … … 183 195 <url: http://www.softforge.de/bb/suid.html >. 184 196 185 config CONFIG_FEATURE_SUID_CONFIG_QUIET197 config FEATURE_SUID_CONFIG_QUIET 186 198 bool "Suppress warning message if /etc/busybox.conf is not readable" 187 199 default y 188 depends on CONFIG_FEATURE_SUID_CONFIG200 depends on FEATURE_SUID_CONFIG 189 201 help 190 202 /etc/busybox.conf should be readable by the user needing the SUID, check 191 203 this option to avoid users to be notified about missing permissions. 192 204 193 config CONFIG_SELINUX205 config SELINUX 194 206 bool "Support NSA Security Enhanced Linux" 195 207 default n … … 211 223 Most people will leave this set to 'N'. 212 224 213 config CONFIG_BUSYBOX_EXEC_PATH 225 config FEATURE_PREFER_APPLETS 226 bool "exec prefers applets" 227 default n 228 help 229 This is an experimental option which directs applets about to 230 call 'exec' to try and find an applicable busybox applet before 231 searching the PATH. This is typically done by exec'ing 232 /proc/self/exe. 233 This may affect shell, find -exec, xargs and similar applets. 234 They will use applets even if /bin/<applet> -> busybox link 235 is missing (or is not a link to busybox). However, this causes 236 problems in chroot jails without mounted /proc and with ps/top 237 (command name can be shown as 'exe' for applets started this way). 238 239 config BUSYBOX_EXEC_PATH 214 240 string "Path to BusyBox executable" 215 241 default "/proc/self/exe" … … 221 247 want to run BusyBox from. 222 248 249 # These are auto-selected by other options 250 251 config FEATURE_SYSLOG 252 bool "Support for logging to syslog" 253 default n 254 help 255 This option is auto-selected when you select any applet which may 256 send its output to syslog. You do not need to select it manually. 257 258 config FEATURE_HAVE_RPC 259 bool "RPC support" 260 default n 261 help 262 This is automatically selected if any of enabled applets need it. 263 You do not need to select it manually. 264 223 265 endmenu 224 266 225 267 menu 'Build Options' 226 268 227 config CONFIG_STATIC269 config STATIC 228 270 bool "Build BusyBox as a static binary (no shared libs)" 229 271 default n … … 239 281 Most people will leave this set to 'N'. 240 282 241 config CONFIG_BUILD_LIBBUSYBOX283 config BUILD_LIBBUSYBOX 242 284 bool "Build shared libbusybox" 243 285 default n … … 251 293 almost certainly say "no" to this right now. 252 294 253 config CONFIG_FEATURE_FULL_LIBBUSYBOX295 config FEATURE_FULL_LIBBUSYBOX 254 296 bool "Feature-complete libbusybox" 255 default n if ! CONFIG_FEATURE_SHARED_BUSYBOX256 depends on CONFIG_BUILD_LIBBUSYBOX297 default n if !FEATURE_SHARED_BUSYBOX 298 depends on BUILD_LIBBUSYBOX 257 299 help 258 300 Build a libbusybox with the complete feature-set, disregarding … … 270 312 Say 'N' if in doubt. 271 313 272 config CONFIG_FEATURE_SHARED_BUSYBOX314 config FEATURE_SHARED_BUSYBOX 273 315 bool "Use shared libbusybox for busybox" 274 default y if CONFIG_BUILD_LIBBUSYBOX275 depends on ! CONFIG_STATIC && CONFIG_BUILD_LIBBUSYBOX316 default y if BUILD_LIBBUSYBOX 317 depends on !STATIC && BUILD_LIBBUSYBOX 276 318 help 277 319 Use libbusybox.so also for busybox itself. 278 320 You need to have a working dynamic linker to use this variant. 279 321 280 config CONFIG_LFS322 config LFS 281 323 bool "Build with Large File Support (for accessing files > 2 GB)" 282 324 default n … … 290 332 than 2 Gigabytes, enable this option. Otherwise, leave it set to 'N'. 291 333 292 config USING_CROSS_COMPILER 293 bool "Do you want to build BusyBox with a Cross Compiler?" 294 default n 295 help 296 Do you want to build BusyBox with a Cross Compiler? If so, 297 then enable this option. Otherwise leave it set to 'N'. 298 299 config CROSS_COMPILER_PREFIX 300 string "Cross Compiler prefix" 301 default "/usr/i386-linux-uclibc/bin/i386-uclibc-" 302 depends on USING_CROSS_COMPILER 303 help 304 If you want to build BusyBox with a cross compiler, then you 305 will need to set this to the cross-compiler prefix. For example, 306 if my cross-compiler is /usr/i386-linux-uclibc/bin/i386-uclibc-gcc 307 then I would enter '/usr/i386-linux-uclibc/bin/i386-uclibc-' here, 308 which will ensure the correct compiler is used. 309 310 config CONFIG_BUILD_AT_ONCE 334 config BUILD_AT_ONCE 311 335 bool "Compile all sources at once" 312 336 default n … … 331 355 menu 'Debugging Options' 332 356 333 config CONFIG_DEBUG357 config DEBUG 334 358 bool "Build BusyBox with extra Debugging symbols" 335 359 default n … … 342 366 Most people should answer N. 343 367 344 config CONFIG_DEBUG_PESSIMIZE 345 bool "Disable compiler optimizations." 346 default n 347 depends on CONFIG_DEBUG 348 help 349 The compiler's optimization of source code can eliminate and reorder 350 code, resulting in an executable that's hard to understand when 351 stepping through it with a debugger. This switches it off, resulting 352 in a much bigger executable that more closely matches the source 353 code. 368 config WERROR 369 bool "Abort compilation on any warning" 370 default n 371 help 372 Selecting this will add -Werror to gcc command line. 373 374 Most people should answer N. 375 376 # Seems to be unused 377 #config DEBUG_PESSIMIZE 378 # bool "Disable compiler optimizations." 379 # default n 380 # depends on DEBUG 381 # help 382 # The compiler's optimization of source code can eliminate and reorder 383 # code, resulting in an executable that's hard to understand when 384 # stepping through it with a debugger. This switches it off, resulting 385 # in a much bigger executable that more closely matches the source 386 # code. 354 387 355 388 choice 356 389 prompt "Additional debugging library" 357 default CONFIG_NO_DEBUG_LIB 358 depends on CONFIG_DEBUG 390 default NO_DEBUG_LIB 359 391 help 360 392 Using an additional debugging library will make BusyBox become … … 384 416 385 417 386 config CONFIG_NO_DEBUG_LIB418 config NO_DEBUG_LIB 387 419 bool "None" 388 420 389 config CONFIG_DMALLOC421 config DMALLOC 390 422 bool "Dmalloc" 391 423 392 config CONFIG_EFENCE424 config EFENCE 393 425 bool "Electric-fence" 394 426 395 427 endchoice 396 428 397 config CONFIG_DEBUG_YANK_SUSv2398 bool " Disable obsolete features removed before SUSv3?"399 default y 400 help 401 This option will disable backwards compatibility with SuSv2,429 config INCLUDE_SUSv2 430 bool "Enable obsolete features removed before SUSv3?" 431 default y 432 help 433 This option will enable backwards compatibility with SuSv2, 402 434 specifically, old-style numeric options ('command -1 <file>') 403 will notbe supported in head, tail, and fold. (Note: should404 yank fromrenice too.)435 will be supported in head, tail, and fold. (Note: should 436 affect renice too.) 405 437 406 438 endmenu … … 408 440 menu 'Installation Options' 409 441 410 config CONFIG_INSTALL_NO_USR442 config INSTALL_NO_USR 411 443 bool "Don't use /usr" 412 444 default n … … 416 448 417 449 choice 418 prompt "Applets links" 419 default CONFIG_INSTALL_APPLET_SYMLINKS 420 help 421 Choose how you install applets links. 422 423 config CONFIG_INSTALL_APPLET_SYMLINKS 424 bool "as soft-links" 425 help 426 Install applets as soft-links to the busybox binary. This needs some 427 free inodes on the filesystem, but might help with filesystem 428 generators that can't cope with hard-links. 429 430 config CONFIG_INSTALL_APPLET_HARDLINKS 431 bool "as hard-links" 432 help 433 Install applets as hard-links to the busybox binary. This might count 434 on a filesystem with few inodes. 435 436 config CONFIG_INSTALL_APPLET_DONT 437 bool 438 prompt "not installed" 439 depends on CONFIG_FEATURE_INSTALLER || CONFIG_FEATURE_SH_STANDALONE_SHELL 440 help 441 Do not install applets links. Usefull when using the -install feature 442 or a standalone shell for rescue pruposes. 450 prompt "Applets links" 451 default INSTALL_APPLET_SYMLINKS 452 help 453 Choose how you install applets links. 454 455 config INSTALL_APPLET_SYMLINKS 456 bool "as soft-links" 457 help 458 Install applets as soft-links to the busybox binary. This needs some 459 free inodes on the filesystem, but might help with filesystem 460 generators that can't cope with hard-links. 461 462 config INSTALL_APPLET_HARDLINKS 463 bool "as hard-links" 464 help 465 Install applets as hard-links to the busybox binary. This might count 466 on a filesystem with few inodes. 467 468 config INSTALL_APPLET_DONT 469 bool "not installed" 470 depends on FEATURE_INSTALLER || FEATURE_SH_STANDALONE || FEATURE_PREFER_APPLETS 471 help 472 Do not install applet links. Useful when using the -install feature 473 or a standalone shell for rescue purposes. 443 474 444 475 endchoice … … 474 505 source shell/Config.in 475 506 source sysklogd/Config.in 507 source runit/Config.in 508 source selinux/Config.in 509 source ipsvd/Config.in
Note:
See TracChangeset
for help on using the changeset viewer.