Skip to contentSkip to conversation

Makefile: Let mrproper remove flash.bin and flash.log

PATCH New Fabio Estevam 2 participants 2 messages Jan 7, 2020 – Jan 23, 2020 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Makefile: Let mrproper remove flash.bin and flash.log

In order to generate a bootable U-Boot binary for i.MX8QXP MEK we need to run:

$ make imx8qxp_mek_defconfig
$ make flash.bin

The resultant flash.bin and flash.log are not removed after running 'make mrproper'.

Include these files into the CLEAN_FILES list entry so that they can be properly deleted after 'make mrproper'.

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index 1766f5ab18..306939bb4e 100644
@@ -1928,7 +1928,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
+	       idbloader.img flash.bin flash.log
 
 # Directories & files removed with 'make mrproper'
 MRPROPER_DIRS  += include/config include/generated spl tpl \
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 Makefile: Let mrproper remove flash.bin and flash.log

Quoted 6 lines · Fabio Estevam

In order to generate a bootable U-Boot binary for i.MX8QXP MEK we need to run:

$ make imx8qxp_mek_defconfig
$ make flash.bin
Quoted 7 lines

The resultant flash.bin and flash.log are not removed after running 'make mrproper'.

Include these files into the CLEAN_FILES list entry so that they can be properly deleted after 'make mrproper'.

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: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200123/56786200/attachment.sig>