mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] kvx,openrisc,riscv,sandbox/dts: harmonize clean-files definition
@ 2022-12-02  8:29 Uwe Kleine-König
  2022-12-02  9:02 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2022-12-02  8:29 UTC (permalink / raw)
  To: barebox

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@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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] kvx,openrisc,riscv,sandbox/dts: harmonize clean-files definition
  2022-12-02  8:29 [PATCH] kvx,openrisc,riscv,sandbox/dts: harmonize clean-files definition Uwe Kleine-König
@ 2022-12-02  9:02 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2022-12-02  9:02 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: barebox

On Fri, Dec 02, 2022 at 09:29:54AM +0100, Uwe Kleine-König wrote:
> 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@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(-)

Applied, thanks

Sascha

> 
> 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
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-02  9:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-02  8:29 [PATCH] kvx,openrisc,riscv,sandbox/dts: harmonize clean-files definition Uwe Kleine-König
2022-12-02  9:02 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox