diff options
| author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-12-05 08:41:41 +0000 |
|---|---|---|
| committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2002-12-05 08:41:41 +0000 |
| commit | e40a650628ce6b03e67c4c6d96ea396e7bd2afb3 (patch) | |
| tree | 72904548bb54dcaf78017d3b35296765437e0bd5 /sysdeps/linux/Config.in | |
| parent | 49ec1a2dc6dfba670b3659286524fd5baf12e6fe (diff) | |
| download | busybox-w32-e40a650628ce6b03e67c4c6d96ea396e7bd2afb3.tar.gz busybox-w32-e40a650628ce6b03e67c4c6d96ea396e7bd2afb3.tar.bz2 busybox-w32-e40a650628ce6b03e67c4c6d96ea396e7bd2afb3.zip | |
Yet another major rework of the BusyBox config system, using the considerably
modified Kbuild system I put into uClibc. With this, there should be no more
need to modify Rules.mak since I've moved all the interesting options into the
config system. I think I've got everything updated, but you never know, I may
have made some mistakes, so watch closely.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@6102 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'sysdeps/linux/Config.in')
| -rw-r--r-- | sysdeps/linux/Config.in | 209 |
1 files changed, 209 insertions, 0 deletions
diff --git a/sysdeps/linux/Config.in b/sysdeps/linux/Config.in new file mode 100644 index 000000000..0fa66eac6 --- /dev/null +++ b/sysdeps/linux/Config.in | |||
| @@ -0,0 +1,209 @@ | |||
| 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 | |||
| 8 | choice | ||
| 9 | prompt "Buffer allocation policy" | ||
| 10 | default "Allocate with Malloc" | ||
| 11 | help | ||
| 12 | Please submit a patch to add help text for this item. | ||
| 13 | |||
| 14 | config CONFIG_FEATURE_BUFFERS_USE_MALLOC | ||
| 15 | bool "Allocate with Malloc" | ||
| 16 | |||
| 17 | config CONFIG_FEATURE_BUFFERS_GO_ON_STACK | ||
| 18 | bool "Allocate on the Stack" | ||
| 19 | |||
| 20 | config CONFIG_FEATURE_BUFFERS_GO_IN_BSS | ||
| 21 | bool "Allocate in the .bss section" | ||
| 22 | |||
| 23 | endchoice | ||
| 24 | |||
| 25 | config CONFIG_FEATURE_VERBOSE_USAGE | ||
| 26 | bool "Show verbose applet usage messages" | ||
| 27 | default n | ||
| 28 | help | ||
| 29 | Please submit a patch to add help text for this item. | ||
| 30 | |||
| 31 | config CONFIG_FEATURE_INSTALLER | ||
| 32 | bool "Support --install [-s] to install applet links at runtime" | ||
| 33 | default n | ||
| 34 | help | ||
| 35 | Please submit a patch to add help text for this item. | ||
| 36 | |||
| 37 | config CONFIG_LOCALE_SUPPORT | ||
| 38 | bool "Enable locale support (system needs locale for this to work)" | ||
| 39 | default n | ||
| 40 | help | ||
| 41 | Please submit a patch to add help text for this item. | ||
| 42 | |||
| 43 | config CONFIG_FEATURE_DEVFS | ||
| 44 | bool "Support for devfs" | ||
| 45 | default n | ||
| 46 | help | ||
| 47 | Please submit a patch to add help text for this item. | ||
| 48 | |||
| 49 | config CONFIG_FEATURE_DEVPTS | ||
| 50 | bool "Use the devpts filesystem for Unix98 PTYs" | ||
| 51 | default y if CONFIG_FEATURE_DEVFS | ||
| 52 | help | ||
| 53 | Please submit a patch to add help text for this item. | ||
| 54 | |||
| 55 | config CONFIG_FEATURE_CLEAN_UP | ||
| 56 | bool "Clean up all memory before exiting (usually not needed)" | ||
| 57 | default n | ||
| 58 | help | ||
| 59 | Please submit a patch to add help text for this item. | ||
| 60 | |||
| 61 | config CONFIG_FEATURE_SUID | ||
| 62 | bool "Support for SUID/SGID handling" | ||
| 63 | default n | ||
| 64 | help | ||
| 65 | Please submit a patch to add help text for this item. | ||
| 66 | |||
| 67 | config CONFIG_FEATURE_SUID_CONFIG | ||
| 68 | bool "Runtime SUID/SGID configuration via /etc/busybox.conf" | ||
| 69 | default y if CONFIG_FEATURE_SUID | ||
| 70 | depends on CONFIG_FEATURE_SUID | ||
| 71 | help | ||
| 72 | Please submit a patch to add help text for this item. | ||
| 73 | |||
| 74 | config CONFIG_FEATURE_SUID_CONFIG_QUIET | ||
| 75 | bool "Suppress warning message if /etc/busybox.conf is not readable" | ||
| 76 | default n | ||
| 77 | depends on CONFIG_FEATURE_SUID_CONFIG | ||
| 78 | help | ||
| 79 | Please submit a patch to add help text for this item. | ||
| 80 | |||
| 81 | endmenu | ||
| 82 | |||
| 83 | menu 'Build Options' | ||
| 84 | |||
| 85 | config DOSTATIC | ||
| 86 | bool "Build BusyBox as a static binary (no shared libs)" | ||
| 87 | default n | ||
| 88 | help | ||
| 89 | If you want to build a static BusyBox binary, which does not | ||
| 90 | use or require any shared libraries, then enable this option. | ||
| 91 | |||
| 92 | config DOLFS | ||
| 93 | bool "Build with Large File Support (for accessing files > 2 GB)" | ||
| 94 | default n | ||
| 95 | help | ||
| 96 | If you want to build BusyBox with large file support, then enable | ||
| 97 | this option. This will have no effect if your kernel or your C | ||
| 98 | library lacks large file support for large files. Some of the | ||
| 99 | programs that can benefit from large file support include dd, gzip, | ||
| 100 | cp, mount, tar, and many others. If you want to access files larger | ||
| 101 | than 2 Gigabytes, enable this option. Otherwise, leave it set to 'N'. | ||
| 102 | |||
| 103 | config USING_CROSS_COMPILER | ||
| 104 | bool "Do you want to build BusyBox with a Cross Compiler?" | ||
| 105 | default n | ||
| 106 | help | ||
| 107 | Do you want to build BusyBox with a Cross Compiler? If so, | ||
| 108 | then enable this option. Otherwise leave it set to 'N'. | ||
| 109 | |||
| 110 | config CROSS_COMPILER_PREFIX | ||
| 111 | string "Cross Compiler prefix" | ||
| 112 | default "/usr/i386-linux-uclibc/bin/i386-uclibc-" | ||
| 113 | depends on USING_CROSS_COMPILER | ||
| 114 | help | ||
| 115 | If you want to build BusyBox with a cross compiler, then you | ||
| 116 | will need to set this to the cross-compiler prefix. For example, | ||
| 117 | if my cross-compiler is /usr/i386-linux-uclibc/bin/i386-uclibc-gcc | ||
| 118 | then I would enter '/usr/i386-linux-uclibc/bin/i386-uclibc-' here, | ||
| 119 | which will ensure the correct compiler is used. | ||
| 120 | |||
| 121 | config EXTRA_CFLAGS_OPTIONS | ||
| 122 | string "Any extra CFLAGS options for the compiler?" | ||
| 123 | default "" | ||
| 124 | help | ||
| 125 | Do you want to pass any extra CFLAGS options to the compiler as | ||
| 126 | you build BusyBox? If so, this is the option for you... For example, | ||
| 127 | if you want to add some simple compiler switches (like -march=i686), | ||
| 128 | or check for warnings using -Werror, just those options here. | ||
| 129 | |||
| 130 | endmenu | ||
| 131 | |||
| 132 | source archival/Config.in | ||
| 133 | source console-tools/Config.in | ||
| 134 | source debianutils/Config.in | ||
| 135 | source editors/Config.in | ||
| 136 | source fileutils/Config.in | ||
| 137 | source findutils/Config.in | ||
| 138 | source init/Config.in | ||
| 139 | source loginutils/Config.in | ||
| 140 | source miscutils/Config.in | ||
| 141 | source modutils/Config.in | ||
| 142 | source networking/Config.in | ||
| 143 | source procps/Config.in | ||
| 144 | source shell/Config.in | ||
| 145 | source shellutils/Config.in | ||
| 146 | source sysklogd/Config.in | ||
| 147 | source textutils/Config.in | ||
| 148 | source util-linux/Config.in | ||
| 149 | |||
| 150 | menu 'Debugging Options' | ||
| 151 | |||
| 152 | config DOSTATIC | ||
| 153 | bool "Build BusyBox as a static binary (no shared libs)" | ||
| 154 | default n | ||
| 155 | help | ||
| 156 | If you want to build a static BusyBox binary, which does not | ||
| 157 | use or require any shared libraries, then enable this option. | ||
| 158 | This will make BusyBox be considerable larger, so you should | ||
| 159 | leave this option false unless you have a good reason (i.e. | ||
| 160 | your target platform does not support shared libraries, or | ||
| 161 | you are building an initrd which doesn't need anything but | ||
| 162 | BusyBox, etc). | ||
| 163 | |||
| 164 | Most people will leave this set to 'N'. | ||
| 165 | |||
| 166 | config DODEBUG | ||
| 167 | bool "Build BusyBox with Debugging symbols" | ||
| 168 | default n | ||
| 169 | help | ||
| 170 | Say Y here if you wish to compile BusyBox with debugging symbols. | ||
| 171 | This will allow you to use a debugger to examine BusyBox internals | ||
| 172 | while applets are running. This increases the size of the binary | ||
| 173 | considerably and should only be used when doing development. | ||
| 174 | If you are doing development and want to debug BusyBox, answer Y. | ||
| 175 | |||
| 176 | Otherwise, answer N. | ||
| 177 | |||
| 178 | config DODMALLOC | ||
| 179 | bool "Build BusyBox with dmalloc support" | ||
| 180 | default n | ||
| 181 | depends on DODEBUG && !DOEFENCE | ||
| 182 | help | ||
| 183 | This enables compiling with dmalloc ( http://dmalloc.com/ ) | ||
| 184 | which is an excellent public domain mem leak and malloc problem | ||
| 185 | detector. To enable dmalloc, before running busybox you will | ||
| 186 | want to properly set your environment, for example: | ||
| 187 | export DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile | ||
| 188 | The 'debug=' value is generated using the following command | ||
| 189 | dmalloc -p log-stats -p log-non-free -p log-bad-space -p log-elapsed-time \ | ||
| 190 | -p check-fence -p check-heap -p check-lists -p check-blank \ | ||
| 191 | -p check-funcs -p realloc-copy -p allow-free-null | ||
| 192 | |||
| 193 | This will make BusyBox be considerable larger and run slower, so | ||
| 194 | you should leave this option disabled for production use. | ||
| 195 | |||
| 196 | config DOEFENCE | ||
| 197 | bool "Build BusyBox with Electric-fence support" | ||
| 198 | default n | ||
| 199 | depends on DODEBUG && !DODMALLOC | ||
| 200 | help | ||
| 201 | This enables compiling with Electric-fence support. Electric | ||
| 202 | fence is another very useful malloc debugging library which used | ||
| 203 | your computers virtual memory hardware to detect illegal memory | ||
| 204 | accesses. This support will make BusyBox be considerable larger | ||
| 205 | and run slower, so you should leave this option disabled unless | ||
| 206 | you are hunting a hard to find memory problem. | ||
| 207 | |||
| 208 | endmenu | ||
| 209 | |||
