]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Kbuild: Fix cleanup of *.dtb for some archs
authorTobias Deiminger <tdmg@linutronix.de>
Mon, 19 Jun 2023 22:41:05 +0000 (00:41 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 7 Jul 2023 20:25:56 +0000 (16:25 -0400)
'make clean' did not descend into arch/$ARCH/dts for arc, m68k, nios2,
sh, xtensa.

Fix it by adding the missing archs to the explicit clean-dirs list.

Signed-off-by: Tobias Deiminger <tdmg@linutronix.de>
dts/Makefile

index cb311138295914f2447472cbb549194538a804a4..3437e54033dbde816d8082de61b6d6d0e8f5e83d 100644 (file)
@@ -63,4 +63,6 @@ spl_dtbs: $(obj)/dt-$(SPL_NAME).dtb
 clean-files := dt.dtb.S
 
 # Let clean descend into dts directories
-subdir- += ../arch/arm/dts ../arch/microblaze/dts ../arch/mips/dts ../arch/sandbox/dts ../arch/x86/dts ../arch/powerpc/dts ../arch/riscv/dts
+subdir- += ../arch/arc/dts ../arch/arm/dts ../arch/m68k/dts ../arch/microblaze/dts     \
+          ../arch/mips/dts ../arch/nios2/dts ../arch/powerpc/dts ../arch/riscv/dts     \
+          ../arch/sandbox/dts ../arch/sh/dts ../arch/x86/dts ../arch/xtensa/dts