summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/scripts/define2mk.sed4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/scripts/define2mk.sed b/tools/scripts/define2mk.sed
index 6464627..af40bfa 100644
--- a/tools/scripts/define2mk.sed
+++ b/tools/scripts/define2mk.sed
@@ -7,11 +7,11 @@
#
# Only process values prefixed with #define CONFIG_
-/^#define CONFIG_[A-Za-z0-9_]\+/ {
+/^#define CONFIG_[A-Za-z0-9_][A-Za-z0-9_]*/ {
# Strip the #define prefix
s/#define *//;
# Change to form CONFIG_*=VALUE
- s/ \+/=/;
+ s/ */=/;
# Drop trailing spaces
s/ *$//;
# drop quotes around string values