aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-01-31 14:37:01 -0500
committerRob Landley <rob@landley.net>2007-01-31 14:37:01 -0500
commitde05a7024f4be6826d05c40aa029fe2bbf6d2818 (patch)
treed4e96051360dd047d2fccbc6b4b1e6773b2c2199 /Makefile
parentbcfad872188d993efc8d1da4b79058b69e43f019 (diff)
downloadtoybox-de05a7024f4be6826d05c40aa029fe2bbf6d2818.tar.gz
Add "make defconfig". Modify global options to start with CONFIG_TOYBOX_.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c366b13c..471c089e 100644
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,10 @@ all: toybox
include kconfig/Makefile
+# defconfig is the "maximum sane config"; allyesconfig minus debugging and such.
+defconfig: allyesconfig
+ @sed -i -r -e "s/^(CONFIG_(TOYBOX_DEBUG|TOYBOX_FREE))=.*/# \1 is not set/" .config
+
.config: Config.in toys/Config.in
# The long and roundabout sed is to make old versions of sed happy. New ones