diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-05-25 11:30:22 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-05-25 11:30:22 +0000 |
commit | f086ed8ddd4bed67cb255c56b835ea24065c5c5f (patch) | |
tree | 79821b32e8072042b05e73c41841b815d1c821c4 | |
parent | 1be01072e969816b6fbb5a945e15a429d91e2cfc (diff) | |
download | busybox-w32-f086ed8ddd4bed67cb255c56b835ea24065c5c5f.tar.gz busybox-w32-f086ed8ddd4bed67cb255c56b835ea24065c5c5f.tar.bz2 busybox-w32-f086ed8ddd4bed67cb255c56b835ea24065c5c5f.zip |
Do not prompt about FDISK large disk support when LFS is enabled.
Resolve a dependancy problem with the various malloc debug libs
and make them mutually exclusive.
-Erik
-rw-r--r-- | sysdeps/linux/Config.in | 40 |
1 files changed, 27 insertions, 13 deletions
diff --git a/sysdeps/linux/Config.in b/sysdeps/linux/Config.in index d288cc58c..744a84d18 100644 --- a/sysdeps/linux/Config.in +++ b/sysdeps/linux/Config.in | |||
@@ -160,6 +160,7 @@ config CONFIG_STATIC | |||
160 | config CONFIG_LFS | 160 | config CONFIG_LFS |
161 | bool "Build with Large File Support (for accessing files > 2 GB)" | 161 | bool "Build with Large File Support (for accessing files > 2 GB)" |
162 | default n | 162 | default n |
163 | select FDISK_SUPPORT_LARGE_DISKS | ||
163 | help | 164 | help |
164 | If you want to build BusyBox with large file support, then enable | 165 | If you want to build BusyBox with large file support, then enable |
165 | this option. This will have no effect if your kernel or your C | 166 | this option. This will have no effect if your kernel or your C |
@@ -244,13 +245,19 @@ config CONFIG_DEBUG | |||
244 | considerably and should only be used when doing development. | 245 | considerably and should only be used when doing development. |
245 | If you are doing development and want to debug BusyBox, answer Y. | 246 | If you are doing development and want to debug BusyBox, answer Y. |
246 | 247 | ||
247 | Otherwise, answer N. | 248 | Most people should answer N. |
248 | 249 | ||
249 | config CONFIG_DMALLOC | 250 | choice |
250 | bool "Build BusyBox with dmalloc support" | 251 | prompt "Additional debugging library" |
251 | default n | 252 | default CONFIG_NO_DEBUG_LIB |
252 | depends on CONFIG_DEBUG && !CONFIG_EFENCE | 253 | depends on CONFIG_DEBUG |
253 | help | 254 | help |
255 | Using an additional debugging library will make BusyBox become | ||
256 | considerable larger and will cause it to run more slowly. You | ||
257 | should always leave this option disabled for production use. | ||
258 | |||
259 | dmalloc support: | ||
260 | ---------------- | ||
254 | This enables compiling with dmalloc ( http://dmalloc.com/ ) | 261 | This enables compiling with dmalloc ( http://dmalloc.com/ ) |
255 | which is an excellent public domain mem leak and malloc problem | 262 | which is an excellent public domain mem leak and malloc problem |
256 | detector. To enable dmalloc, before running busybox you will | 263 | detector. To enable dmalloc, before running busybox you will |
@@ -261,14 +268,8 @@ config CONFIG_DMALLOC | |||
261 | -p check-fence -p check-heap -p check-lists -p check-blank \ | 268 | -p check-fence -p check-heap -p check-lists -p check-blank \ |
262 | -p check-funcs -p realloc-copy -p allow-free-null | 269 | -p check-funcs -p realloc-copy -p allow-free-null |
263 | 270 | ||
264 | This will make BusyBox be considerable larger and run slower, so | 271 | Electric-fence support: |
265 | you should leave this option disabled for production use. | 272 | ----------------------- |
266 | |||
267 | config CONFIG_EFENCE | ||
268 | bool "Build BusyBox with Electric-fence support" | ||
269 | default n | ||
270 | depends on CONFIG_DEBUG && !CONFIG_DMALLOC | ||
271 | help | ||
272 | This enables compiling with Electric-fence support. Electric | 273 | This enables compiling with Electric-fence support. Electric |
273 | fence is another very useful malloc debugging library which uses | 274 | fence is another very useful malloc debugging library which uses |
274 | your computer's virtual memory hardware to detect illegal memory | 275 | your computer's virtual memory hardware to detect illegal memory |
@@ -276,5 +277,18 @@ config CONFIG_EFENCE | |||
276 | and run slower, so you should leave this option disabled unless | 277 | and run slower, so you should leave this option disabled unless |
277 | you are hunting a hard to find memory problem. | 278 | you are hunting a hard to find memory problem. |
278 | 279 | ||
280 | |||
281 | config CONFIG_NO_DEBUG_LIB | ||
282 | bool "None" | ||
283 | |||
284 | config CONFIG_DMALLOC | ||
285 | bool "Dmalloc" | ||
286 | |||
287 | config CONFIG_EFENCE | ||
288 | bool "Electric-fence" | ||
289 | |||
290 | endchoice | ||
291 | |||
292 | |||
279 | endmenu | 293 | endmenu |
280 | 294 | ||