summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2005-10-08 11:08:28 +0000
committerBernhard Reutner-Fischer2005-10-08 11:08:28 +0000
commitbe5c10314dc8b80614e80c9a753af8865ba75f1a (patch)
tree8e8c666d0c647f62d81232e758094604e451a0ef /Makefile
parent25413bfe0046db6989d309efc8d5b95f078ccbcc (diff)
downloadbusybox-be5c10314dc8b80614e80c9a753af8865ba75f1a.zip
busybox-be5c10314dc8b80614e80c9a753af8865ba75f1a.tar.gz
- rename bareconfig to allbareconfig and emit "is not set" strings needed for
oldconfig.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index cfe62cc..d213dc5 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@
# You shouldn't need to mess with anything beyond this point...
#--------------------------------------------------------------
noconfig_targets := menuconfig config oldconfig randconfig \
- defconfig allyesconfig allnoconfig bareconfig \
+ defconfig allyesconfig allnoconfig allbareconfig \
clean distclean \
release tags
@@ -119,7 +119,7 @@ help:
@echo 'Configuration:'
@echo ' allnoconfig - disable all symbols in .config'
@echo ' allyesconfig - enable (almost) all symbols in .config'
- @echo ' bareconfig - enable all basics without any features'
+ @echo ' allbareconfig - enable all basics without any features'
@echo ' config - text based configurator (of last resort)'
@echo ' defconfig - set .config to defaults'
@echo ' menuconfig - interactive curses-based configurator'
@@ -191,9 +191,12 @@ allnoconfig: scripts/config/conf
defconfig: scripts/config/conf
@./scripts/config/conf -d $(CONFIG_CONFIG_IN)
-bareconfig: allyesconfig
- sed -i '/FEATURE/d' .config
- @./scripts/config/conf -d $(CONFIG_CONFIG_IN)
+allbareconfig: scripts/config/conf
+ @./scripts/config/conf -y $(CONFIG_CONFIG_IN)
+ sed -i -r -e "s/^(CONFIG_DEBUG|USING_CROSS_COMPILER|CONFIG_STATIC|CONFIG_SELINUX).*/# \1 is not set/" .config
+ sed -i -e "/FEATURE/s/=.*//;/^[^#]/s/.*FEATURE.*/# \0 is not set/;" .config
+ @echo "CONFIG_FEATURE_BUFFERS_GO_ON_STACK=y" >> .config
+ @./scripts/config/conf -o $(CONFIG_CONFIG_IN)
else # ifneq ($(strip $(HAVE_DOT_CONFIG)),y)