mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <sha@pengutronix.de>
To: Ahmad Fatoum <ahmad@a3f.at>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH master] treewide: add missing device tree artifact cleanup where needed
Date: Tue, 11 Apr 2023 14:01:44 +0200	[thread overview]
Message-ID: <20230411120144.GH19113@pengutronix.de> (raw)
In-Reply-To: <20230408080616.938638-1-ahmad@a3f.at>

On Sat, Apr 08, 2023 at 10:06:16AM +0200, Ahmad Fatoum wrote:
> The DTs in arch/$ARCH/dts are all cleaned up when invoking the make
> target, but we have a few DTs outside these directories.
> 
> Clean those up as well and add a clean line for the overlay too.
> 
> Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
> ---
>  arch/riscv/boards/riscvemu/Makefile | 3 +++
>  common/boards/qemu-virt/Makefile    | 3 +++
>  test/self/Makefile                  | 3 +++
>  3 files changed, 9 insertions(+)

Applied, thanks

Sascha

> 
> diff --git a/arch/riscv/boards/riscvemu/Makefile b/arch/riscv/boards/riscvemu/Makefile
> index 56949c2357c8..ec7e89479e77 100644
> --- a/arch/riscv/boards/riscvemu/Makefile
> +++ b/arch/riscv/boards/riscvemu/Makefile
> @@ -3,3 +3,6 @@
>  obj-y += board.o
>  obj-y += overlay-of-sram.dtb.o
>  bbenv-$(CONFIG_CMD_TUTORIAL) += defaultenv-riscvemu
> +
> +clean-files := *.dtb *.dtb.S .*.dtc .*.pre .*.dts *.dtb.z
> +clean-files += *.dtbo *.dtbo.S .*.dtso
> diff --git a/common/boards/qemu-virt/Makefile b/common/boards/qemu-virt/Makefile
> index 88184e9a7969..8cacfafee734 100644
> --- a/common/boards/qemu-virt/Makefile
> +++ b/common/boards/qemu-virt/Makefile
> @@ -5,3 +5,6 @@ obj-y += overlay-of-flash.dtb.o
>  ifeq ($(CONFIG_RISCV),y)
>  DTC_CPP_FLAGS_overlay-of-flash.dtb := -DRISCV_VIRT=1
>  endif
> +
> +clean-files := *.dtb *.dtb.S .*.dtc .*.pre .*.dts *.dtb.z
> +clean-files += *.dtbo *.dtbo.S .*.dtso
> diff --git a/test/self/Makefile b/test/self/Makefile
> index 4d2c0374c9c3..d55d9133be23 100644
> --- a/test/self/Makefile
> +++ b/test/self/Makefile
> @@ -8,3 +8,6 @@ obj-$(CONFIG_SELFTEST_OF_MANIPULATION) += of_manipulation.o of_manipulation.dtb.
>  obj-$(CONFIG_SELFTEST_ENVIRONMENT_VARIABLES) += envvar.o
>  obj-$(CONFIG_SELFTEST_FS_RAMFS) += ramfs.o
>  obj-$(CONFIG_SELFTEST_JSON) += json.o
> +
> +clean-files := *.dtb *.dtb.S .*.dtc .*.pre .*.dts *.dtb.z
> +clean-files += *.dtbo *.dtbo.S .*.dtso
> -- 
> 2.38.4
> 
> 
> 

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



      reply	other threads:[~2023-04-11 12:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-08  8:06 Ahmad Fatoum
2023-04-11 12:01 ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230411120144.GH19113@pengutronix.de \
    --to=sha@pengutronix.de \
    --cc=ahmad@a3f.at \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox