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
This commit is contained in:
Eric Andersen 2004-05-25 11:30:22 +00:00
parent 1be01072e9
commit f086ed8ddd

View File

@ -160,6 +160,7 @@ config CONFIG_STATIC
config CONFIG_LFS config CONFIG_LFS
bool "Build with Large File Support (for accessing files > 2 GB)" bool "Build with Large File Support (for accessing files > 2 GB)"
default n default n
select FDISK_SUPPORT_LARGE_DISKS
help help
If you want to build BusyBox with large file support, then enable If you want to build BusyBox with large file support, then enable
this option. This will have no effect if your kernel or your C this option. This will have no effect if your kernel or your C
@ -244,13 +245,19 @@ config CONFIG_DEBUG
considerably and should only be used when doing development. considerably and should only be used when doing development.
If you are doing development and want to debug BusyBox, answer Y. If you are doing development and want to debug BusyBox, answer Y.
Otherwise, answer N. Most people should answer N.
config CONFIG_DMALLOC choice
bool "Build BusyBox with dmalloc support" prompt "Additional debugging library"
default n default CONFIG_NO_DEBUG_LIB
depends on CONFIG_DEBUG && !CONFIG_EFENCE depends on CONFIG_DEBUG
help help
Using an additional debugging library will make BusyBox become
considerable larger and will cause it to run more slowly. You
should always leave this option disabled for production use.
dmalloc support:
----------------
This enables compiling with dmalloc ( http://dmalloc.com/ ) This enables compiling with dmalloc ( http://dmalloc.com/ )
which is an excellent public domain mem leak and malloc problem which is an excellent public domain mem leak and malloc problem
detector. To enable dmalloc, before running busybox you will detector. To enable dmalloc, before running busybox you will
@ -261,14 +268,8 @@ config CONFIG_DMALLOC
-p check-fence -p check-heap -p check-lists -p check-blank \ -p check-fence -p check-heap -p check-lists -p check-blank \
-p check-funcs -p realloc-copy -p allow-free-null -p check-funcs -p realloc-copy -p allow-free-null
This will make BusyBox be considerable larger and run slower, so Electric-fence support:
you should leave this option disabled for production use. -----------------------
config CONFIG_EFENCE
bool "Build BusyBox with Electric-fence support"
default n
depends on CONFIG_DEBUG && !CONFIG_DMALLOC
help
This enables compiling with Electric-fence support. Electric This enables compiling with Electric-fence support. Electric
fence is another very useful malloc debugging library which uses fence is another very useful malloc debugging library which uses
your computer's virtual memory hardware to detect illegal memory your computer's virtual memory hardware to detect illegal memory
@ -276,5 +277,18 @@ config CONFIG_EFENCE
and run slower, so you should leave this option disabled unless and run slower, so you should leave this option disabled unless
you are hunting a hard to find memory problem. you are hunting a hard to find memory problem.
config CONFIG_NO_DEBUG_LIB
bool "None"
config CONFIG_DMALLOC
bool "Dmalloc"
config CONFIG_EFENCE
bool "Electric-fence"
endchoice
endmenu endmenu