[U-Boot] [PATCH v2 1/4] kconfig: fix savedefconfig to output empty defconfig

Masahiro Yamada yamada.m at jp.panasonic.com
Wed Sep 3 22:41:31 CEST 2014


Commit 3ff291f371fa9858426774f3732924bacb61ed1c
(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 at jp.panasonic.com>
Acked-by: Simon Glass <sjg at chromium.org>
---

Changes in v2:
  - Resend as a series.
  - Change the commit subject

 scripts/multiconfig.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/multiconfig.sh b/scripts/multiconfig.sh
index 4190798..785f563 100644
--- a/scripts/multiconfig.sh
+++ b/scripts/multiconfig.sh
@@ -217,6 +217,7 @@ do_savedefconfig () {
 	done
 
 	rm -f defconfig
+	touch defconfig
 	for line in $output_lines
 	do
 		echo $line >> defconfig
-- 
1.9.1



More information about the U-Boot mailing list