diff mbox series

[PATHv3,8/8] Makefile: add dtbs to clean

Message ID 20231226154619.5071-9-maxim.uvarov@linaro.org
State Accepted
Commit d914487f8ffbb466086b3d6259e4b05f73147cf6
Headers show
Series net fixes prior lwip | expand

Commit Message

Maxim Uvarov Dec. 26, 2023, 3:46 p.m. UTC
CI test checks that generated dtb has to be cleaned up.
Use the same clean procedure as Linux top level Makefile has.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)

Comments

Tom Rini Dec. 26, 2023, 4:11 p.m. UTC | #1
On Tue, Dec 26, 2023 at 09:46:19PM +0600, Maxim Uvarov wrote:

> CI test checks that generated dtb has to be cleaned up.
> Use the same clean procedure as Linux top level Makefile has.
> 
> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

Reviewed-by: Tom Rini <trini@konsulko.com>
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 220411a293..b443831a93 100644
--- a/Makefile
+++ b/Makefile
@@ -2195,6 +2195,8 @@  clean: $(clean-dirs)
 	@find $(if $(KBUILD_EXTMOD), $(KBUILD_EXTMOD), .) $(RCS_FIND_IGNORE) \
 		\( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \
 		-o -name '*.ko.*' -o -name '*.su' -o -name '*.pyc' \
+		-o -name '*.dtb' -o -name '*.dtbo' \
+		-o -name '*.dtb.S' -o -name '*.dtbo.S' \
 		-o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \
 		-o -name '*.lex.c' -o -name '*.tab.[ch]' \
 		-o -name '*.asn1.[ch]' \