[U-Boot] [PATCH] kconfig: fix a bug of savedefconfig

Masahiro Yamada yamada.m at jp.panasonic.com
Wed Sep 3 06:51:46 CEST 2014


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

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

Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
---

 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