1
0
Fork 0

kconfig: fix another bug of "make savedefconfig"

In some cases, the last lines of SPL or TPL are not output to a file.
The entries remaining in the "unmatched" variable must be flushed.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
utp
Masahiro Yamada 2014-09-26 18:42:36 +09:00 committed by Tom Rini
parent 026330af41
commit 717a23b871
1 changed files with 2 additions and 0 deletions

View File

@ -229,6 +229,8 @@ do_savedefconfig () {
unmatched="$unmatched%$symbol:$line"
fi
done < defconfig
output_lines="$output_lines%$unmatched"
done
rm -f defconfig