From: Masahiro Yamada Date: Wed, 3 Sep 2014 20:41:33 +0000 (+0900) Subject: kconfig: fix savedefconfig to handle TPL correctly X-Git-Tag: v2014.10-rc3~94 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dee745bf3d9ba14da6992b829bb168adc2d1c873;p=u-boot kconfig: fix savedefconfig to handle TPL correctly 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 Acked-by: Simon Glass --- diff --git a/scripts/multiconfig.sh b/scripts/multiconfig.sh index 7606193102..a5790428c8 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