mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-28 10:01:32 +00:00
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>
This commit is contained in:
parent
026330af41
commit
717a23b871
1 changed files with 2 additions and 0 deletions
|
@ -229,6 +229,8 @@ do_savedefconfig () {
|
||||||
unmatched="$unmatched%$symbol:$line"
|
unmatched="$unmatched%$symbol:$line"
|
||||||
fi
|
fi
|
||||||
done < defconfig
|
done < defconfig
|
||||||
|
|
||||||
|
output_lines="$output_lines%$unmatched"
|
||||||
done
|
done
|
||||||
|
|
||||||
rm -f defconfig
|
rm -f defconfig
|
||||||
|
|
Loading…
Add table
Reference in a new issue