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

sunil.m at techveda.org sunil.m at techveda.org
Fri Aug 16 07:02:29 UTC 2019


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>
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 3b0864a..c740fde 100644
--- a/Makefile
+++ b/Makefile
@@ -1840,7 +1840,7 @@ clean: $(clean-dirs)
 		-o -name '*.symtypes' -o -name 'modules.order' \
 		-o -name modules.builtin -o -name '.tmp_*.o.*' \
 		-o -name 'dsdt.aml' -o -name 'dsdt.asl.tmp' -o -name 'dsdt.c' \
-		-o -name '*.efi' -o -name '*.gcno' -o -name '*.so' \) \
+		-o -name '*.efi' -o -name '*.gcno' -o -name '*.so' -o -name '*_HS' \) \
 		-type f -print | xargs rm -f \
 		bl31.c bl31.elf bl31_*.bin image.map
 
@@ -1868,7 +1868,7 @@ distclean: mrproper
 		\( -name '*.orig' -o -name '*.rej' -o -name '*~' \
 		-o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
 		-o -name '.*.rej' -o -name '*%' -o -name 'core' \
-		-o -name '*.pyc' \) \
+		-o -name '*.pyc' -o -name '*_HS' \) \
 		-type f -print | xargs rm -f
 	@rm -f boards.cfg CHANGELOG
 
-- 
2.7.4



More information about the U-Boot mailing list