Commit 717a23b871d1563bc3a063ebceccf13a2ca2d10b

Authored by Masahiro Yamada
Committed by Tom Rini
1 parent 026330af41

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>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

scripts/multiconfig.sh
... ... @@ -229,6 +229,8 @@
229 229 unmatched="$unmatched%$symbol:$line"
230 230 fi
231 231 done < defconfig
  232 +
  233 + output_lines="$output_lines%$unmatched"
232 234 done
233 235  
234 236 rm -f defconfig