aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2005-10-08 11:08:28 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2005-10-08 11:08:28 +0000
commitbe5c10314dc8b80614e80c9a753af8865ba75f1a (patch)
tree8e8c666d0c647f62d81232e758094604e451a0ef
parent25413bfe0046db6989d309efc8d5b95f078ccbcc (diff)
downloadbusybox-w32-be5c10314dc8b80614e80c9a753af8865ba75f1a.tar.gz
busybox-w32-be5c10314dc8b80614e80c9a753af8865ba75f1a.tar.bz2
busybox-w32-be5c10314dc8b80614e80c9a753af8865ba75f1a.zip
- rename bareconfig to allbareconfig and emit "is not set" strings needed for
oldconfig.
-rw-r--r--Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index cfe62cc32..d213dc597 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@
9# You shouldn't need to mess with anything beyond this point... 9# You shouldn't need to mess with anything beyond this point...
10#-------------------------------------------------------------- 10#--------------------------------------------------------------
11noconfig_targets := menuconfig config oldconfig randconfig \ 11noconfig_targets := menuconfig config oldconfig randconfig \
12 defconfig allyesconfig allnoconfig bareconfig \ 12 defconfig allyesconfig allnoconfig allbareconfig \
13 clean distclean \ 13 clean distclean \
14 release tags 14 release tags
15 15
@@ -119,7 +119,7 @@ help:
119 @echo 'Configuration:' 119 @echo 'Configuration:'
120 @echo ' allnoconfig - disable all symbols in .config' 120 @echo ' allnoconfig - disable all symbols in .config'
121 @echo ' allyesconfig - enable (almost) all symbols in .config' 121 @echo ' allyesconfig - enable (almost) all symbols in .config'
122 @echo ' bareconfig - enable all basics without any features' 122 @echo ' allbareconfig - enable all basics without any features'
123 @echo ' config - text based configurator (of last resort)' 123 @echo ' config - text based configurator (of last resort)'
124 @echo ' defconfig - set .config to defaults' 124 @echo ' defconfig - set .config to defaults'
125 @echo ' menuconfig - interactive curses-based configurator' 125 @echo ' menuconfig - interactive curses-based configurator'
@@ -191,9 +191,12 @@ allnoconfig: scripts/config/conf
191defconfig: scripts/config/conf 191defconfig: scripts/config/conf
192 @./scripts/config/conf -d $(CONFIG_CONFIG_IN) 192 @./scripts/config/conf -d $(CONFIG_CONFIG_IN)
193 193
194bareconfig: allyesconfig 194allbareconfig: scripts/config/conf
195 sed -i '/FEATURE/d' .config 195 @./scripts/config/conf -y $(CONFIG_CONFIG_IN)
196 @./scripts/config/conf -d $(CONFIG_CONFIG_IN) 196 sed -i -r -e "s/^(CONFIG_DEBUG|USING_CROSS_COMPILER|CONFIG_STATIC|CONFIG_SELINUX).*/# \1 is not set/" .config
197 sed -i -e "/FEATURE/s/=.*//;/^[^#]/s/.*FEATURE.*/# \0 is not set/;" .config
198 @echo "CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y" >> .config
199 @./scripts/config/conf -o $(CONFIG_CONFIG_IN)
197 200
198else # ifneq ($(strip $(HAVE_DOT_CONFIG)),y) 201else # ifneq ($(strip $(HAVE_DOT_CONFIG)),y)
199 202