diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-09-04 05:41:33 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-09-16 12:23:58 -0400 |
commit | dee745bf3d9ba14da6992b829bb168adc2d1c873 (patch) | |
tree | afdbbb8062a9d9789b128657c9d0cc38b944f0ca /scripts | |
parent | 8dffe663a2e50751150d92caf834f717d397ac80 (diff) |
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 <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.o.rg
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/multiconfig.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/multiconfig.sh b/scripts/multiconfig.sh index 76061931024..a5790428c85 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 |