diff mbox series

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

Message ID 20200107185032.26621-1-festevam@gmail.com
State Accepted
Commit 05bd943aa94154afc2f60cfc14e1a7f51b03710b
Headers show
Series Makefile: Let mrproper remove flash.bin and flash.log | expand

Commit Message

Fabio Estevam Jan. 7, 2020, 6:50 p.m. UTC
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'.

Signed-off-by: Fabio Estevam <festevam at gmail.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Jan. 23, 2020, 9:59 p.m. UTC | #1
On Tue, Jan 07, 2020 at 03:50:32PM -0300, Fabio Estevam wrote:

> 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'.
> 
> Signed-off-by: Fabio Estevam <festevam at gmail.com>

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

Patch

diff --git a/Makefile b/Makefile
index 1766f5ab18..306939bb4e 100644
--- a/Makefile
+++ b/Makefile
@@ -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 \