Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see scripts/kbuild/config-language.txt. |
| 4 | # |
| 5 | |
| 6 | mainmenu "BusyBox Configuration" |
| 7 | |
Eric Andersen | 068b6b0 | 2002-12-13 22:53:28 +0000 | [diff] [blame] | 8 | config HAVE_DOT_CONFIG |
| 9 | bool |
| 10 | default y |
| 11 | |
Rob Landley | 9dc6913 | 2006-03-13 02:52:23 +0000 | [diff] [blame] | 12 | menu "Busybox Settings" |
Mike Frysinger | 72d59db | 2006-03-10 23:17:17 +0000 | [diff] [blame] | 13 | |
Eric Andersen | 23b5146 | 2002-12-05 21:25:20 +0000 | [diff] [blame] | 14 | menu "General Configuration" |
| 15 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 16 | choice |
| 17 | prompt "Buffer allocation policy" |
Eric Andersen | 72d8e44 | 2003-08-05 02:18:25 +0000 | [diff] [blame] | 18 | default CONFIG_FEATURE_BUFFERS_USE_MALLOC |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 19 | help |
Eric Andersen | 5360182 | 2002-12-05 21:12:42 +0000 | [diff] [blame] | 20 | There are 3 ways BusyBox can handle buffer allocations: |
| 21 | - Use malloc. This costs code size for the call to xmalloc. |
| 22 | - Put them on stack. For some very small machines with limited stack |
| 23 | space, this can be deadly. For most folks, this works just fine. |
| 24 | - Put them in BSS. This works beautifully for computers with a real |
| 25 | MMU (and OS support), but wastes runtime RAM for uCLinux. This |
| 26 | behavior was the only one available for BusyBox versions 0.48 and |
| 27 | earlier. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 28 | |
| 29 | config CONFIG_FEATURE_BUFFERS_USE_MALLOC |
| 30 | bool "Allocate with Malloc" |
| 31 | |
| 32 | config CONFIG_FEATURE_BUFFERS_GO_ON_STACK |
| 33 | bool "Allocate on the Stack" |
| 34 | |
| 35 | config CONFIG_FEATURE_BUFFERS_GO_IN_BSS |
| 36 | bool "Allocate in the .bss section" |
| 37 | |
| 38 | endchoice |
| 39 | |
| 40 | config CONFIG_FEATURE_VERBOSE_USAGE |
| 41 | bool "Show verbose applet usage messages" |
| 42 | default n |
| 43 | help |
Eric Andersen | 5360182 | 2002-12-05 21:12:42 +0000 | [diff] [blame] | 44 | All BusyBox applets will show more verbose help messages when |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 45 | busybox is invoked with --help. This will add a lot of text to the |
Eric Andersen | 5360182 | 2002-12-05 21:12:42 +0000 | [diff] [blame] | 46 | busybox binary. In the default configuration, this will add about |
| 47 | 13k, but it can add much more depending on your configuration. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 48 | |
| 49 | config CONFIG_FEATURE_INSTALLER |
| 50 | bool "Support --install [-s] to install applet links at runtime" |
| 51 | default n |
| 52 | help |
Eric Andersen | 5360182 | 2002-12-05 21:12:42 +0000 | [diff] [blame] | 53 | Enable 'busybox --install [-s]' support. This will allow you to use |
| 54 | busybox at runtime to create hard links or symlinks for all the |
| 55 | applets that are compiled into busybox. This feature requires the |
| 56 | /proc filesystem. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 57 | |
| 58 | config CONFIG_LOCALE_SUPPORT |
| 59 | bool "Enable locale support (system needs locale for this to work)" |
| 60 | default n |
| 61 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 62 | Enable this if your system has locale support and you would like |
Eric Andersen | 5360182 | 2002-12-05 21:12:42 +0000 | [diff] [blame] | 63 | busybox to support locale settings. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 64 | |
| 65 | config CONFIG_FEATURE_DEVFS |
| 66 | bool "Support for devfs" |
| 67 | default n |
| 68 | help |
Eric Andersen | 5360182 | 2002-12-05 21:12:42 +0000 | [diff] [blame] | 69 | Enable if you want BusyBox to work with devfs. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 70 | |
| 71 | config CONFIG_FEATURE_DEVPTS |
| 72 | bool "Use the devpts filesystem for Unix98 PTYs" |
| 73 | default y if CONFIG_FEATURE_DEVFS |
| 74 | help |
Eric Andersen | 5360182 | 2002-12-05 21:12:42 +0000 | [diff] [blame] | 75 | Enable if you want BusyBox to use Unix98 PTY support. If enabled, |
| 76 | busybox will use /dev/ptmx for the master side of the pseudoterminal |
| 77 | and /dev/pts/<number> for the slave side. Otherwise, BSD style |
| 78 | /dev/ttyp<number> will be used. To use this option, you should have |
| 79 | devpts or devfs mounted. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 80 | |
| 81 | config CONFIG_FEATURE_CLEAN_UP |
| 82 | bool "Clean up all memory before exiting (usually not needed)" |
| 83 | default n |
| 84 | help |
Rob Landley | 1ab4c3d | 2006-02-08 18:50:17 +0000 | [diff] [blame] | 85 | As a size optimization, busybox normally exits without explicitly |
| 86 | freeing dynamically allocated memory or closing files. This saves |
| 87 | space since the OS will clean up for us, but it can confuse debuggers |
| 88 | like valgrind, which report tons of memory and resource leaks. |
| 89 | |
| 90 | Don't enable this unless you have a really good reason to clean |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 91 | things up manually. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 92 | |
| 93 | config CONFIG_FEATURE_SUID |
| 94 | bool "Support for SUID/SGID handling" |
| 95 | default n |
| 96 | help |
Eric Andersen | e527207 | 2003-07-22 22:15:21 +0000 | [diff] [blame] | 97 | Support SUID and SGID binaries. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 98 | |
| 99 | config CONFIG_FEATURE_SUID_CONFIG |
| 100 | bool "Runtime SUID/SGID configuration via /etc/busybox.conf" |
Eric Andersen | 5043ea1 | 2005-06-23 19:15:40 +0000 | [diff] [blame] | 101 | default n if CONFIG_FEATURE_SUID |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 102 | depends on CONFIG_FEATURE_SUID |
| 103 | help |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 104 | Allow the SUID / SGID state of an applet to be determined runtime by |
Eric Andersen | e527207 | 2003-07-22 22:15:21 +0000 | [diff] [blame] | 105 | checking /etc/busybox.conf. The format of this file is as follows: |
| 106 | |
| 107 | <applet> = [Ssx-][Ssx-][x-] (<username>|<uid>).(<groupname>|<gid>) |
Eric Andersen | 5043ea1 | 2005-06-23 19:15:40 +0000 | [diff] [blame] | 108 | |
Eric Andersen | e527207 | 2003-07-22 22:15:21 +0000 | [diff] [blame] | 109 | An example might help: |
| 110 | |
| 111 | [SUID] |
| 112 | su = ssx root.0 # applet su can be run by anyone and runs with euid=0/egid=0 |
| 113 | su = ssx # exactly the same |
| 114 | |
| 115 | mount = sx- root.disk # applet mount can be run by root and members of group disk |
| 116 | # and runs with euid=0 |
| 117 | |
| 118 | cp = --- # disable applet cp for everyone |
| 119 | |
Rob Landley | fdc4c20 | 2005-04-29 19:48:29 +0000 | [diff] [blame] | 120 | The file has to be owned by user root, group root and has to be |
| 121 | writeable only by root: |
| 122 | (chown 0.0 /etc/busybox.conf; chmod 600 /etc/busybox.conf) |
| 123 | The busybox executable has to be owned by user root, group |
| 124 | root and has to be setuid root for this to work: |
| 125 | (chown 0.0 /bin/busybox; chmod 4755 /bin/busybox) |
| 126 | |
Eric Andersen | e527207 | 2003-07-22 22:15:21 +0000 | [diff] [blame] | 127 | Robert 'sandman' Griebl has more information here: |
| 128 | <url: http://www.softforge.de/bb/suid.html >. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 129 | |
| 130 | config CONFIG_FEATURE_SUID_CONFIG_QUIET |
| 131 | bool "Suppress warning message if /etc/busybox.conf is not readable" |
| 132 | default n |
| 133 | depends on CONFIG_FEATURE_SUID_CONFIG |
| 134 | help |
Eric Andersen | e527207 | 2003-07-22 22:15:21 +0000 | [diff] [blame] | 135 | /etc/busybox.conf should be readable by the user needing the SUID, check |
| 136 | this option to avoid users to be notified about missing permissions. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 137 | |
Eric Andersen | 9e48045 | 2003-07-03 10:07:04 +0000 | [diff] [blame] | 138 | config CONFIG_SELINUX |
| 139 | bool "Support NSA Security Enhanced Linux" |
| 140 | default n |
| 141 | help |
Rob Landley | 24b0a95 | 2006-03-29 15:35:23 +0000 | [diff] [blame] | 142 | Enable support for SELinux in applets ls, ps, and id. Also provide |
| 143 | the option of compiling in SELinux applets. |
Eric Andersen | 9e48045 | 2003-07-03 10:07:04 +0000 | [diff] [blame] | 144 | |
Rob Landley | 24b0a95 | 2006-03-29 15:35:23 +0000 | [diff] [blame] | 145 | If you do not have a complete SELinux userland installed, this stuff |
| 146 | will not compile. Go visit |
Eric Andersen | 31d898f | 2004-02-05 00:18:26 +0000 | [diff] [blame] | 147 | http://www.nsa.gov/selinux/index.html |
Rob Landley | 24b0a95 | 2006-03-29 15:35:23 +0000 | [diff] [blame] | 148 | to download the necessary stuff to allow busybox to compile with |
| 149 | this option enabled. Specifially, libselinux 1.28 or better is |
| 150 | directly required by busybox. If the installation is located in a |
| 151 | non-standard directory, provide it by invoking make as follows: |
| 152 | CFLAGS=-I<libselinux-include-path> \ |
| 153 | LDFLAGS=-L<libselinux-lib-path> \ |
| 154 | make |
Eric Andersen | 31d898f | 2004-02-05 00:18:26 +0000 | [diff] [blame] | 155 | |
| 156 | Most people will leave this set to 'N'. |
| 157 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 158 | endmenu |
| 159 | |
| 160 | menu 'Build Options' |
| 161 | |
Eric Andersen | e527207 | 2003-07-22 22:15:21 +0000 | [diff] [blame] | 162 | config CONFIG_STATIC |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 163 | bool "Build BusyBox as a static binary (no shared libs)" |
| 164 | default n |
| 165 | help |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 166 | If you want to build a static BusyBox binary, which does not |
| 167 | use or require any shared libraries, then enable this option. |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 168 | This can cause BusyBox to be considerably larger, so you should |
Eric Andersen | e527207 | 2003-07-22 22:15:21 +0000 | [diff] [blame] | 169 | leave this option false unless you have a good reason (i.e. |
| 170 | your target platform does not support shared libraries, or |
| 171 | you are building an initrd which doesn't need anything but |
| 172 | BusyBox, etc). |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 173 | |
Eric Andersen | e527207 | 2003-07-22 22:15:21 +0000 | [diff] [blame] | 174 | Most people will leave this set to 'N'. |
| 175 | |
Rob Landley | 6a776e9 | 2006-03-21 16:07:39 +0000 | [diff] [blame] | 176 | # The busybox shared library feature is there so make standalone can produce |
| 177 | # smaller applets. Since make standalone isn't in yet, there's nothing using |
| 178 | # this yet, and so it's disabled. |
| 179 | config CONFIG_DISABLE_SHARED |
| 180 | bool |
| 181 | default n |
| 182 | |
Bernhard Reutner-Fischer | 2aba395 | 2006-01-24 16:14:14 +0000 | [diff] [blame] | 183 | config CONFIG_BUILD_LIBBUSYBOX |
| 184 | bool "Build shared libbusybox" |
Rob Landley | 6a776e9 | 2006-03-21 16:07:39 +0000 | [diff] [blame] | 185 | default n |
| 186 | depends on CONFIG_DISABLE_SHARED |
Bernhard Reutner-Fischer | 2aba395 | 2006-01-24 16:14:14 +0000 | [diff] [blame] | 187 | help |
| 188 | Build a shared library libbusybox.so which contains all |
| 189 | libraries used inside busybox. |
| 190 | |
| 191 | config CONFIG_FEATURE_FULL_LIBBUSYBOX |
| 192 | bool "Feature-complete libbusybox" |
| 193 | default n if !CONFIG_FEATURE_SHARED_BUSYBOX |
| 194 | depends on CONFIG_BUILD_LIBBUSYBOX |
| 195 | help |
| 196 | Build a libbusybox with the complete feature-set, disregarding |
| 197 | the actually selected config. |
| 198 | |
| 199 | Normally, libbusybox will only contain the features which are |
| 200 | used by busybox itself. If you plan to write a separate |
| 201 | standalone application which uses libbusybox say 'Y'. |
| 202 | |
Rob Landley | 9e275e3 | 2006-01-31 03:45:26 +0000 | [diff] [blame] | 203 | Note: libbusybox is GPL, not LGPL, and exports no stable API that |
| 204 | might act as a copyright barrier. We can and will modify the |
| 205 | exported function set between releases (even minor version number |
| 206 | changes), and happily break out-of-tree features. |
| 207 | |
Bernhard Reutner-Fischer | 2aba395 | 2006-01-24 16:14:14 +0000 | [diff] [blame] | 208 | Say 'N' if in doubt. |
| 209 | |
| 210 | config CONFIG_FEATURE_SHARED_BUSYBOX |
| 211 | bool "Use shared libbusybox for busybox" |
| 212 | default y if CONFIG_BUILD_LIBBUSYBOX |
| 213 | depends on !CONFIG_STATIC && CONFIG_BUILD_LIBBUSYBOX |
| 214 | help |
| 215 | Use libbusybox.so also for busybox itself. |
| 216 | You need to have a working dynamic linker to use this variant. |
| 217 | |
Eric Andersen | e527207 | 2003-07-22 22:15:21 +0000 | [diff] [blame] | 218 | config CONFIG_LFS |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 219 | bool "Build with Large File Support (for accessing files > 2 GB)" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 220 | default n |
Eric Andersen | f086ed8 | 2004-05-25 11:30:22 +0000 | [diff] [blame] | 221 | select FDISK_SUPPORT_LARGE_DISKS |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 222 | help |
| 223 | If you want to build BusyBox with large file support, then enable |
| 224 | this option. This will have no effect if your kernel or your C |
| 225 | library lacks large file support for large files. Some of the |
| 226 | programs that can benefit from large file support include dd, gzip, |
| 227 | cp, mount, tar, and many others. If you want to access files larger |
| 228 | than 2 Gigabytes, enable this option. Otherwise, leave it set to 'N'. |
| 229 | |
| 230 | config USING_CROSS_COMPILER |
| 231 | bool "Do you want to build BusyBox with a Cross Compiler?" |
| 232 | default n |
| 233 | help |
| 234 | Do you want to build BusyBox with a Cross Compiler? If so, |
| 235 | then enable this option. Otherwise leave it set to 'N'. |
| 236 | |
| 237 | config CROSS_COMPILER_PREFIX |
| 238 | string "Cross Compiler prefix" |
| 239 | default "/usr/i386-linux-uclibc/bin/i386-uclibc-" |
| 240 | depends on USING_CROSS_COMPILER |
| 241 | help |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 242 | If you want to build BusyBox with a cross compiler, then you |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 243 | will need to set this to the cross-compiler prefix. For example, |
| 244 | if my cross-compiler is /usr/i386-linux-uclibc/bin/i386-uclibc-gcc |
| 245 | then I would enter '/usr/i386-linux-uclibc/bin/i386-uclibc-' here, |
| 246 | which will ensure the correct compiler is used. |
| 247 | |
| 248 | config EXTRA_CFLAGS_OPTIONS |
| 249 | string "Any extra CFLAGS options for the compiler?" |
| 250 | default "" |
| 251 | help |
| 252 | Do you want to pass any extra CFLAGS options to the compiler as |
| 253 | you build BusyBox? If so, this is the option for you... For example, |
| 254 | if you want to add some simple compiler switches (like -march=i686), |
| 255 | or check for warnings using -Werror, just those options here. |
| 256 | |
Bernhard Reutner-Fischer | 2aba395 | 2006-01-24 16:14:14 +0000 | [diff] [blame] | 257 | config CONFIG_BUILD_AT_ONCE |
| 258 | bool "Compile all sources at once" |
| 259 | default n |
| 260 | help |
| 261 | Normally each source-file is compiled with one invocation of |
| 262 | the compiler. |
| 263 | If you set this option, all sources are compiled at once. |
| 264 | This gives the compiler more opportunities to optimize which can |
| 265 | result in smaller and/or faster binaries. |
| 266 | |
| 267 | Setting this option will consume alot of memory, e.g. if you |
| 268 | enable all applets with all features, gcc uses more than 300MB |
| 269 | RAM during compilation of busybox. |
| 270 | |
| 271 | This option is most likely only beneficial for newer compilers |
| 272 | such as gcc-4.1 and above. |
| 273 | |
| 274 | Say 'N' unless you know what you are doing. |
| 275 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 276 | endmenu |
| 277 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 278 | menu 'Debugging Options' |
| 279 | |
Eric Andersen | e527207 | 2003-07-22 22:15:21 +0000 | [diff] [blame] | 280 | config CONFIG_DEBUG |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 281 | bool "Build BusyBox with Debugging symbols" |
| 282 | default n |
| 283 | help |
| 284 | Say Y here if you wish to compile BusyBox with debugging symbols. |
| 285 | This will allow you to use a debugger to examine BusyBox internals |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 286 | while applets are running. This increases the size of the binary |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 287 | considerably and should only be used when doing development. |
| 288 | If you are doing development and want to debug BusyBox, answer Y. |
| 289 | |
Eric Andersen | f086ed8 | 2004-05-25 11:30:22 +0000 | [diff] [blame] | 290 | Most people should answer N. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 291 | |
Eric Andersen | f086ed8 | 2004-05-25 11:30:22 +0000 | [diff] [blame] | 292 | choice |
| 293 | prompt "Additional debugging library" |
| 294 | default CONFIG_NO_DEBUG_LIB |
| 295 | depends on CONFIG_DEBUG |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 296 | help |
Eric Andersen | f086ed8 | 2004-05-25 11:30:22 +0000 | [diff] [blame] | 297 | Using an additional debugging library will make BusyBox become |
| 298 | considerable larger and will cause it to run more slowly. You |
| 299 | should always leave this option disabled for production use. |
| 300 | |
| 301 | dmalloc support: |
| 302 | ---------------- |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 303 | This enables compiling with dmalloc ( http://dmalloc.com/ ) |
| 304 | which is an excellent public domain mem leak and malloc problem |
| 305 | detector. To enable dmalloc, before running busybox you will |
| 306 | want to properly set your environment, for example: |
| 307 | export DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile |
| 308 | The 'debug=' value is generated using the following command |
| 309 | dmalloc -p log-stats -p log-non-free -p log-bad-space -p log-elapsed-time \ |
| 310 | -p check-fence -p check-heap -p check-lists -p check-blank \ |
| 311 | -p check-funcs -p realloc-copy -p allow-free-null |
| 312 | |
Eric Andersen | f086ed8 | 2004-05-25 11:30:22 +0000 | [diff] [blame] | 313 | Electric-fence support: |
| 314 | ----------------------- |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 315 | This enables compiling with Electric-fence support. Electric |
Eric Andersen | 88c916b | 2003-10-22 09:58:56 +0000 | [diff] [blame] | 316 | fence is another very useful malloc debugging library which uses |
Eric Andersen | c7bda1c | 2004-03-15 08:29:22 +0000 | [diff] [blame] | 317 | your computer's virtual memory hardware to detect illegal memory |
| 318 | accesses. This support will make BusyBox be considerable larger |
| 319 | and run slower, so you should leave this option disabled unless |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 320 | you are hunting a hard to find memory problem. |
| 321 | |
Eric Andersen | f086ed8 | 2004-05-25 11:30:22 +0000 | [diff] [blame] | 322 | |
| 323 | config CONFIG_NO_DEBUG_LIB |
| 324 | bool "None" |
| 325 | |
| 326 | config CONFIG_DMALLOC |
| 327 | bool "Dmalloc" |
| 328 | |
| 329 | config CONFIG_EFENCE |
| 330 | bool "Electric-fence" |
| 331 | |
| 332 | endchoice |
| 333 | |
Rob Landley | f8fd4db | 2006-01-30 01:30:39 +0000 | [diff] [blame] | 334 | config CONFIG_DEBUG_YANK_SUSv2 |
| 335 | bool "Disable obsolete features removed before SUSv3?" |
| 336 | default y |
| 337 | help |
| 338 | This option will disable backwards compatability with SuSv2, |
| 339 | specifically, old-style numeric options ('command -1 <file>') |
| 340 | will not be supported in head, tail, and fold. (Note: should |
| 341 | yank from renice too.) |
Eric Andersen | f086ed8 | 2004-05-25 11:30:22 +0000 | [diff] [blame] | 342 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 343 | endmenu |
Mike Frysinger | 72d59db | 2006-03-10 23:17:17 +0000 | [diff] [blame] | 344 | |
| 345 | menu 'Installation Options' |
| 346 | |
| 347 | config CONFIG_INSTALL_NO_USR |
| 348 | bool "Don't use /usr" |
| 349 | default n |
| 350 | help |
| 351 | Disable use of /usr. Don't activate this option if you don't know |
| 352 | that you really want this behaviour. |
| 353 | |
| 354 | choice |
| 355 | prompt "Applets links" |
| 356 | default CONFIG_INSTALL_APPLET_SYMLINKS |
| 357 | help |
| 358 | Choose how you install applets links. |
| 359 | |
| 360 | config CONFIG_INSTALL_APPLET_SYMLINKS |
| 361 | bool "as soft-links" |
| 362 | help |
| 363 | Install applets as soft-links to the busybox binary. This needs some |
| 364 | free inodes on the filesystem, but might help with filesystem |
| 365 | generators that can't cope with hard-links. |
| 366 | |
| 367 | config CONFIG_INSTALL_APPLET_HARDLINKS |
| 368 | bool "as hard-links" |
| 369 | help |
| 370 | Install applets as hard-links to the busybox binary. This might count |
| 371 | on a filesystem with few inodes. |
| 372 | |
| 373 | config CONFIG_INSTALL_APPLET_DONT |
| 374 | bool |
| 375 | prompt "not installed" |
| 376 | depends on CONFIG_FEATURE_INSTALLER || CONFIG_FEATURE_SH_STANDALONE_SHELL |
| 377 | help |
| 378 | Do not install applets links. Usefull when using the -install feature |
| 379 | or a standalone shell for rescue pruposes. |
| 380 | |
| 381 | endchoice |
| 382 | |
| 383 | config PREFIX |
| 384 | string "BusyBox installation prefix" |
| 385 | default "./_install" |
| 386 | help |
| 387 | Define your directory to install BusyBox files/subdirs in. |
| 388 | |
| 389 | endmenu |
| 390 | |
| 391 | source libbb/Config.in |
| 392 | |
Rob Landley | 9dc6913 | 2006-03-13 02:52:23 +0000 | [diff] [blame] | 393 | endmenu |
| 394 | |
Mike Frysinger | 72d59db | 2006-03-10 23:17:17 +0000 | [diff] [blame] | 395 | comment "Applets" |
| 396 | |
| 397 | source archival/Config.in |
| 398 | source coreutils/Config.in |
| 399 | source console-tools/Config.in |
| 400 | source debianutils/Config.in |
| 401 | source editors/Config.in |
| 402 | source findutils/Config.in |
| 403 | source init/Config.in |
| 404 | source loginutils/Config.in |
| 405 | source e2fsprogs/Config.in |
| 406 | source modutils/Config.in |
| 407 | source util-linux/Config.in |
| 408 | source miscutils/Config.in |
| 409 | source networking/Config.in |
| 410 | source procps/Config.in |
| 411 | source shell/Config.in |
| 412 | source sysklogd/Config.in |