[U-Boot] [PATCH v2 3/4] kconfig: fix savedefconfig to handle TPL correctly
Masahiro Yamada
yamada.m at jp.panasonic.com
Wed Sep 3 22:41:33 CEST 2014
Since 3ff291f371fa9858426774f3732924bacb61ed1c
(kconfig: convert Kconfig helper script into a shell script),
"make savedefconfig" of TPL boards has not been working.
Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
---
Changes in v2:
- Newly added
scripts/multiconfig.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/multiconfig.sh b/scripts/multiconfig.sh
index 7606193..a579042 100644
--- a/scripts/multiconfig.sh
+++ b/scripts/multiconfig.sh
@@ -194,14 +194,14 @@ do_savedefconfig () {
for i in $output_lines
do
case "$i" in
- "[+A-Z]*:$line")
+ [+A-Z]*:$line)
tmp="$tmp%$unmatched"
i=$(echo "$i" | \
- sed -e "s/^\([^:]\)*/\1$symbol/")
+ sed -e "s/^\([^:]*\)/\1$symbol/")
tmp="$tmp%$i"
match=1
;;
- "$line")
+ $line)
tmp="$tmp%$unmatched"
tmp="$tmp%+$symbol:$i"
match=1
--
1.9.1
More information about the U-Boot
mailing list