Makefile: Let mrproper remove flash.bin and flash.log
authorFabio Estevam <festevam@gmail.com>
Tue, 7 Jan 2020 18:50:32 +0000 (15:50 -0300)
committerTom Rini <trini@konsulko.com>
Thu, 23 Jan 2020 12:29:58 +0000 (07:29 -0500)
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@gmail.com>
Makefile

index 9d7d8c269c80118d19d400b2d3c5fce5adf79f60..880ffacbc2470eb2491ed2eb75d6f6ce8bf962ab 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1932,7 +1932,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 \