Make 'allyesconfig' be a bit less stupid
authorEric Andersen <andersen@codepoet.org>
Tue, 6 Apr 2004 11:46:56 +0000 (11:46 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 6 Apr 2004 11:46:56 +0000 (11:46 -0000)
Makefile

index 6ebab1f..d5b23e7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -195,6 +195,9 @@ randconfig: scripts/config/conf
 
 allyesconfig: scripts/config/conf
        @./scripts/config/conf -y $(CONFIG_CONFIG_IN)
+       sed -i -e "s/^CONFIG_DEBUG.*/# CONFIG_DEBUG is not set/" .config
+       sed -i -e "s/^USING_CROSS_COMPILER.*/# USING_CROSS_COMPILER is not set/" .config
+       @./scripts/config/conf -o $(CONFIG_CONFIG_IN)
 
 allnoconfig: scripts/config/conf
        @./scripts/config/conf -n $(CONFIG_CONFIG_IN)