aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2009-01-30 16:17:35 -0600
committerRob Landley <rob@landley.net>2009-01-30 16:17:35 -0600
commit687bea581152bc1b90a352c09780127cd8c67597 (patch)
tree9bfa39830a9c6fa3d92be0f8171ed2af7a08e3d7 /scripts
parent1193a029f76b0825dd8cf417506a06b1937099d6 (diff)
downloadtoybox-687bea581152bc1b90a352c09780127cd8c67597.tar.gz
Convert non-bool config values (such as int) into config.h entries.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/make.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/make.sh b/scripts/make.sh
index 89eb3c61..9cd5ccd6 100755
--- a/scripts/make.sh
+++ b/scripts/make.sh
@@ -67,6 +67,7 @@ sed -n \
-e 't notset' \
-e 's/^CONFIG_\(.*\)=y.*/\1/' \
-e 't isset' \
+ -e 's/^CONFIG_\([^=]*\)=\(.*\)/#define CFG_\1 \2/p' \
-e 'd' \
-e ':notset' \
-e 'h' \