[U-Boot] [PATCH] 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 ---
scripts/multiconfig.sh | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/scripts/multiconfig.sh b/scripts/multiconfig.sh index 4a8737f..b5185a8 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

On 26 September 2014 03:42, Masahiro Yamada yamada.m@jp.panasonic.com wrote:
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

On Fri, Sep 26, 2014 at 06:42:36PM +0900, Masahiro Yamada wrote:
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
Applied to u-boot/master, thanks!
participants (3)
-
Masahiro Yamada
-
Simon Glass
-
Tom Rini