[U-Boot] [PATCH] Makefile: clean *dtb_HS

Lokesh Vutla lokeshvutla at ti.com
Fri Aug 16 08:06:04 UTC 2019



On 16/08/19 12:32 PM, sunil.m at techveda.org wrote:
> From: Suniel Mahesh <sunil.m at techveda.org>
> 
> All TI HS platforms generate HS images/binaries along with
> the normal images. These *dtb_HS are generated in dts dir
> and there is no rule for cleanup. Added entry for cleanup
> in clean and distclean targets.
> 
> Signed-off-by: Suniel Mahesh <sunil.m at techveda.org>

Instead can you do this in arch/arm/dts/Makefile

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 484e21e678..7492a28c1b 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -586,4 +586,4 @@ PHONY += dtbs
 dtbs: $(addprefix $(obj)/, $(dtb-y))
 	@:

-clean-files := *.dtb *.dtbo
+clean-files := *.dtb *.dtbo *._HS

Thanks and regards,
Lokesh


More information about the U-Boot mailing list