kconfig: fix savedefconfig to output empty defconfig

Commit 3ff291f371
(kconfig: convert Kconfig helper script into a shell script)
introduced a minor regression.

make alldefconfig; make savedefconfig
should create an empty 'defconfig'.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Masahiro Yamada 2014-09-04 05:41:31 +09:00 committed by Tom Rini
parent 2d5db193ee
commit 93481b9f6b

View file

@ -217,6 +217,7 @@ do_savedefconfig () {
done
rm -f defconfig
touch defconfig
for line in $output_lines
do
echo $line >> defconfig