kconfig: fix another bug of "make savedefconfig"
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Fri, 26 Sep 2014 09:42:36 +0000 (18:42 +0900)
committerTom Rini <trini@ti.com>
Fri, 10 Oct 2014 13:44:42 +0000 (09:44 -0400)
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>
scripts/multiconfig.sh

index 4a8737f3521d5686cd83fddada363244058ea4cd..b5185a84cf62c4ccc224c270b77ef66ce87f3348 100644 (file)
@@ -229,6 +229,8 @@ do_savedefconfig () {
                                unmatched="$unmatched%$symbol:$line"
                        fi
                done < defconfig
+
+               output_lines="$output_lines%$unmatched"
        done
 
        rm -f defconfig