diff mbox series

Makefile: add file 'defconfig' to clean target

Message ID 20200507160922.19135-1-xypron.glpk@gmx.de
State Accepted
Commit 774904c910ce9b8b1be82c784ae5163e622ca1c6
Headers show
Series Makefile: add file 'defconfig' to clean target | expand

Commit Message

Heinrich Schuchardt May 7, 2020, 4:09 p.m. UTC
File 'defconfig' is a build artifact of 'make savedefconfig'.
Remove it when cleaning.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.26.2

Comments

Simon Glass May 8, 2020, 6:33 p.m. UTC | #1
On Thu, 7 May 2020 at 10:15, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> File 'defconfig' is a build artifact of 'make savedefconfig'.
> Remove it when cleaning.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>
Tom Rini May 15, 2020, 8:53 p.m. UTC | #2
On Thu, May 07, 2020 at 06:09:22PM +0200, Heinrich Schuchardt wrote:

> File 'defconfig' is a build artifact of 'make savedefconfig'.
> Remove it when cleaning.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index cc99873062..88b356c40b 100644
--- a/Makefile
+++ b/Makefile
@@ -2037,7 +2037,7 @@  CLEAN_FILES += include/bmp_logo.h include/bmp_logo_data.h tools/version.h \
 	       boot* u-boot* MLO* SPL System.map fit-dtb.blob* \
 	       u-boot-ivt.img.log u-boot-dtb.imx.log SPL.log u-boot.imx.log \
 	       lpc32xx-* bl31.c bl31.elf bl31_*.bin image.map tispl.bin* \
-	       idbloader.img flash.bin flash.log
+	       idbloader.img flash.bin flash.log defconfig

 # Directories & files removed with 'make mrproper'
 MRPROPER_DIRS  += include/config include/generated spl tpl \