]> git.sur5r.net Git - u-boot/commitdiff
kconfig: fix savedefconfig to output empty defconfig
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Wed, 3 Sep 2014 20:41:31 +0000 (05:41 +0900)
committerTom Rini <trini@ti.com>
Tue, 16 Sep 2014 16:23:58 +0000 (12:23 -0400)
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@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
scripts/multiconfig.sh

index 4190798a9762effc774cb7195de6eebc9bd1a274..785f5639a6961619b9005155d70a766caf5749a1 100644 (file)
@@ -217,6 +217,7 @@ do_savedefconfig () {
        done
 
        rm -f defconfig
+       touch defconfig
        for line in $output_lines
        do
                echo $line >> defconfig