[PATCH] kvx,openrisc,riscv,sandbox/dts: harmonize clean-files definition

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Fri Dec 2 00:29:54 PST 2022


I noticed while playing around with the sandbox that the mrproper make
target doesn't remove arch/sandbox/dts/sandbox.dtb.z.

Fix all dts clean-files defintion to match arm's defintion which seems
to be the most complete one.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
---
 arch/kvx/dts/Makefile      | 2 +-
 arch/openrisc/dts/Makefile | 2 +-
 arch/riscv/dts/Makefile    | 2 +-
 arch/sandbox/dts/Makefile  | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/kvx/dts/Makefile b/arch/kvx/dts/Makefile
index 3f03192750bc..41613033ce81 100644
--- a/arch/kvx/dts/Makefile
+++ b/arch/kvx/dts/Makefile
@@ -11,4 +11,4 @@ endif
 
 obj-$(CONFIG_BOARD_K200) += k200.dtb.o
 
-clean-files := *.dtb *.dtb.S .*.dtc .*.pre .*.dts
+clean-files := *.dtb *.dtb.S .*.dtc .*.pre .*.dts *.dtb.z
diff --git a/arch/openrisc/dts/Makefile b/arch/openrisc/dts/Makefile
index f43a28d6b905..6778abe1b4fd 100644
--- a/arch/openrisc/dts/Makefile
+++ b/arch/openrisc/dts/Makefile
@@ -3,4 +3,4 @@
 BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB_NAME))
 obj-$(CONFIG_BUILTIN_DTB) += $(BUILTIN_DTB).dtb.o
 
-clean-files := *.dtb *.dtb.S
+clean-files := *.dtb *.dtb.S .*.dtc .*.pre .*.dts *.dtb.z
diff --git a/arch/riscv/dts/Makefile b/arch/riscv/dts/Makefile
index 17d7d249e41a..a3c8fbd9d0d7 100644
--- a/arch/riscv/dts/Makefile
+++ b/arch/riscv/dts/Makefile
@@ -10,4 +10,4 @@ pbl-$(CONFIG_BOARD_HIFIVE) += hifive-unmatched-a00.dtb.o \
 pbl-$(CONFIG_BOARD_BEAGLEV) += jh7100-beaglev-starlight.dtb.o
 pbl-$(CONFIG_BOARD_LITEX_LINUX) += litex-linux.dtb.o
 
-clean-files := *.dtb *.dtb.S .*.dtc .*.pre .*.dts
+clean-files := *.dtb *.dtb.S .*.dtc .*.pre .*.dts *.dtb.z
diff --git a/arch/sandbox/dts/Makefile b/arch/sandbox/dts/Makefile
index 9af91cb72c03..79625b103eba 100644
--- a/arch/sandbox/dts/Makefile
+++ b/arch/sandbox/dts/Makefile
@@ -7,4 +7,4 @@ obj-$(CONFIG_OFTREE) += \
 # created.
 obj- += dummy.o
 
-clean-files := *.dtb *.dtb.S .*.dtc .*.pre .*.dts
+clean-files := *.dtb *.dtb.S .*.dtc .*.pre .*.dts *.dtb.z

base-commit: cbb5ef3d18ba7dfed9324985ea70b6bd9203622f
-- 
2.38.1




More information about the barebox mailing list