From: Masahiro Yamada Date: Fri, 26 Sep 2014 09:42:36 +0000 (+0900) Subject: kconfig: fix another bug of "make savedefconfig" X-Git-Tag: v2014.10~27 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=717a23b871d1563bc3a063ebceccf13a2ca2d10b;p=oweals%2Fu-boot.git 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 Acked-by: Simon Glass --- diff --git a/scripts/multiconfig.sh b/scripts/multiconfig.sh index 4a8737f352..b5185a84cf 100644 --- a/scripts/multiconfig.sh +++ b/scripts/multiconfig.sh @@ -229,6 +229,8 @@ do_savedefconfig () { unmatched="$unmatched%$symbol:$line" fi done < defconfig + + output_lines="$output_lines%$unmatched" done rm -f defconfig