summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-09-26 18:42:36 +0900
committerTom Rini <trini@ti.com>2014-10-10 09:44:42 -0400
commit717a23b871d1563bc3a063ebceccf13a2ca2d10b (patch)
tree2ae680572ce776fa527f4f83b79dfaf546432ec2 /scripts
parent026330af41842e7752a291012428a5ddf2c06449 (diff)
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/multiconfig.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/multiconfig.sh b/scripts/multiconfig.sh
index 4a8737f3521..b5185a84cf6 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