diff mbox series

Makelfile: clean target should remove itb*

Message ID 20210923101159.41580-1-heinrich.schuchardt@canonical.com
State Superseded, archived
Delegated to: Tom Rini
Headers show
Series Makelfile: clean target should remove itb* | expand

Commit Message

Heinrich Schuchardt Sept. 23, 2021, 10:11 a.m. UTC
In the U-Boot directory files itb.fit.fit, itb.fit.itb, itb.map are
created (e.g. for sifive_unmatched_defconfig). These should be removed by
the clean target.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bin Meng Sept. 23, 2021, 12:44 p.m. UTC | #1
Hi Heinrich,

On Thu, Sep 23, 2021 at 6:12 PM Heinrich Schuchardt
<heinrich.schuchardt@canonical.com> wrote:
>
> In the U-Boot directory files itb.fit.fit, itb.fit.itb, itb.map are
> created (e.g. for sifive_unmatched_defconfig). These should be removed by
> the clean target.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

See http://patchwork.ozlabs.org/project/uboot/patch/20210505141557.23901-8-bmeng.cn@gmail.com/

Simon suggested binman should be updated to output the generated files.

Regards,
Bin
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 3014788e14..720fea3ca9 100644
--- a/Makefile
+++ b/Makefile
@@ -2095,7 +2095,7 @@  CLEAN_DIRS  += $(MODVERDIR) \
 			$(filter-out include, $(shell ls -1 $d 2>/dev/null))))
 
 CLEAN_FILES += include/bmp_logo.h include/bmp_logo_data.h tools/version.h \
-	       boot* u-boot* MLO* SPL System.map fit-dtb.blob* \
+	       boot* u-boot* MLO* SPL System.map fit-dtb.blob* itb.* \
 	       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 defconfig keep-syms-lto.c