aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-02-08 18:50:17 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-02-08 18:50:17 +0000
commit43433f6c46c7f5ce3012ec6943f043f2023b0dac (patch)
treec612f4c5bf25f5777364919b0f20f573ec047fd6
parent23db7470b5ff916fc7392b291c8ddae4404605c3 (diff)
downloadbusybox-w32-43433f6c46c7f5ce3012ec6943f043f2023b0dac.tar.gz
busybox-w32-43433f6c46c7f5ce3012ec6943f043f2023b0dac.tar.bz2
busybox-w32-43433f6c46c7f5ce3012ec6943f043f2023b0dac.zip
Help text update and tweak to defconfig to remove two more things that
the "maximum sane configuration" shouldn't have. (Explicit MTAB support in mount, which you should only need if you have no /proc, and FEATURE_CLEAN_UP, which exists to humor valgrind and otherwise just bloats the code). git-svn-id: svn://busybox.net/trunk/busybox@13879 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--Config.in10
-rw-r--r--Makefile13
2 files changed, 13 insertions, 10 deletions
diff --git a/Config.in b/Config.in
index 0afc34a94..070085b94 100644
--- a/Config.in
+++ b/Config.in
@@ -80,10 +80,12 @@ config CONFIG_FEATURE_CLEAN_UP
80 bool "Clean up all memory before exiting (usually not needed)" 80 bool "Clean up all memory before exiting (usually not needed)"
81 default n 81 default n
82 help 82 help
83 As a size optimization, busybox by default does not cleanup memory 83 As a size optimization, busybox normally exits without explicitly
84 that is dynamically allocated or close files before exiting. This 84 freeing dynamically allocated memory or closing files. This saves
85 saves space and is usually not needed since the OS will clean up for 85 space since the OS will clean up for us, but it can confuse debuggers
86 us. Don't enable this unless you have a really good reason to clean 86 like valgrind, which report tons of memory and resource leaks.
87
88 Don't enable this unless you have a really good reason to clean
87 things up manually. 89 things up manually.
88 90
89config CONFIG_FEATURE_SUID 91config CONFIG_FEATURE_SUID
diff --git a/Makefile b/Makefile
index 1177f147a..b69e5040f 100644
--- a/Makefile
+++ b/Makefile
@@ -121,10 +121,10 @@ help:
121 @echo 121 @echo
122 @echo 'Configuration:' 122 @echo 'Configuration:'
123 @echo ' allnoconfig - disable all symbols in .config' 123 @echo ' allnoconfig - disable all symbols in .config'
124 @echo ' allyesconfig - enable (almost) all symbols in .config' 124 @echo ' allyesconfig - enable all symbols in .config (see defconfig)'
125 @echo ' allbareconfig - enable all basics without any features' 125 @echo ' allbareconfig - enable all applets without any sub-features'
126 @echo ' config - text based configurator (of last resort)' 126 @echo ' config - text based configurator (of last resort)'
127 @echo ' defconfig - set .config to defaults' 127 @echo ' defconfig - set .config to largest generic configuration'
128 @echo ' menuconfig - interactive curses-based configurator' 128 @echo ' menuconfig - interactive curses-based configurator'
129 @echo ' oldconfig - resolve any unresolved symbols in .config' 129 @echo ' oldconfig - resolve any unresolved symbols in .config'
130 @echo 130 @echo
@@ -191,12 +191,13 @@ allyesconfig: scripts/config/conf
191allnoconfig: scripts/config/conf 191allnoconfig: scripts/config/conf
192 @./scripts/config/conf -n $(CONFIG_CONFIG_IN) 192 @./scripts/config/conf -n $(CONFIG_CONFIG_IN)
193 193
194#defconfig: scripts/config/conf 194# defconfig is allyesconfig minus any features that are specialized enough
195# @./scripts/config/conf -d $(CONFIG_CONFIG_IN) 195# or cause enough behavior change that the user really should switch them on
196# manually if that's what they want. Sort of "maximum sane config".
196 197
197defconfig: scripts/config/conf 198defconfig: scripts/config/conf
198 @./scripts/config/conf -y $(CONFIG_CONFIG_IN) 199 @./scripts/config/conf -y $(CONFIG_CONFIG_IN)
199 sed -i -r -e "s/^(USING_CROSS_COMPILER|CONFIG_(DEBUG.*|STATIC|SELINUX|FEATURE_DEVFS|BUILD_AT_ONCE|BUILD_LIBBUSYBOX|FEATURE_FULL_LIBBUSYBOX|FEATURE_SHARED_BUSYBOX))=.*/# \1 is not set/" .config 200 sed -i -r -e "s/^(USING_CROSS_COMPILER|CONFIG_(DEBUG.*|STATIC|SELINUX|BUILD_(AT_ONCE|LIBBUSYBOX)|FEATURE_(DEVFS|FULL_LIBBUSYBOX|SHARED_BUSYBOX|MTAB_SUPPORT|CLEAN_UP)))=.*/# \1 is not set/" .config
200 @./scripts/config/conf -o $(CONFIG_CONFIG_IN) 201 @./scripts/config/conf -o $(CONFIG_CONFIG_IN)
201 202
202 203