Skip to contentSkip to conversation

Makefile: add file 'defconfig' to clean target

PATCH New Heinrich Schuchardt 3 participants 3 messages May 7, 2020 – May 15, 2020 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Makefile: add file 'defconfig' to clean target

File 'defconfig' is a build artifact of 'make savedefconfig'. Remove it when cleaning.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index cc99873062..88b356c40b 100644
@@ -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 \

--
2.26.2

#2 lore raw

PATCH 1/1 Makefile: add file 'defconfig' to clean target

In reply to Heinrich Schuchardt
Quoted 5 lines · Heinrich Schuchardt

File 'defconfig' is a build artifact of 'make savedefconfig'. Remove it when cleaning.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200515/8ef3a783/attachment.sig>