Browse Source

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>
Masahiro Yamada 10 năm trước cách đây
mục cha
commit
717a23b871
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      scripts/multiconfig.sh

+ 2 - 0
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