提交 dee745bf 编写于 作者: M Masahiro Yamada 提交者: Tom Rini

kconfig: fix savedefconfig to handle TPL correctly

Since 3ff291f3
(kconfig: convert Kconfig helper script into a shell script),
"make savedefconfig" of TPL boards has not been working.
Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.o.rg
Acked-by: NSimon Glass <sjg@chromium.org>
上级 8dffe663
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册