Devicetree
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@googlemail.com>
To: linaro-dev@lists.linaro.org, devicetree-discuss@lists.ozlabs.org,
	linux-arm-kernel@lists.infradead.org, rob.herring@calxeda.com,
	grant.likely@linaro.org
Cc: Grant Likely <grant.likely@secretlab.ca>,
	Dirk Behme <dirk.behme@de.bosch.com>,
	Jason Liu <jason.hui@linaro.org>,
	Shawn Guo <shawn.guo@freescale.com>
Subject: [PATCH] distclean: Remove generated .dtb files
Date: Sat,  5 Nov 2011 07:19:15 +0100	[thread overview]
Message-ID: <1320473955-4500-1-git-send-email-dirk.behme@de.bosch.com> (raw)

The patch 'arm/dt: Add dtb make rule' adds support to
create a .dtb file. But this is never removed afterwards.
Remove the generated .dtb file if 'distclean' is called.

Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
CC: Rob Herring <rob.herring@calxeda.com>
CC: Shawn Guo <shawn.guo@freescale.com>
CC: Jason Liu <jason.hui@linaro.org>
CC: Grant Likely <grant.likely@secretlab.ca>
---
 arch/arm/boot/Makefile |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/Makefile b/arch/arm/boot/Makefile
index 1cd9b0a..08f0d35 100644
--- a/arch/arm/boot/Makefile
+++ b/arch/arm/boot/Makefile
@@ -71,6 +71,8 @@ $(obj)/%.dtb: $(src)/dts/%.dts
 
 $(obj)/dtbs: $(addprefix $(obj)/, $(dtb-y))
 
+clean-files := *.dtb
+
 quiet_cmd_uimage = UIMAGE  $@
       cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A arm -O linux -T kernel \
 		   -C none -a $(LOADADDR) -e $(STARTADDR) \
-- 
1.7.0.4

             reply	other threads:[~2011-11-05  6:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-05  6:19 Dirk Behme [this message]
     [not found] ` <1320473955-4500-1-git-send-email-dirk.behme-V5te9oGctAVWk0Htik3J/w@public.gmane.org>
2011-11-06 18:38   ` [PATCH] distclean: Remove generated .dtb files Grant Likely
     [not found]     ` <20111106183802.GB2546-e0URQFbLeQY2iJbIjFUEsiwD8/FfD2ys@public.gmane.org>
2011-11-06 18:42       ` Grant Likely
     [not found]         ` <CACxGe6vK24j=L_WQWf5eqmdKXf0gCD=waAbJj4eq9d63O8mbvA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-11-07  6:25           ` Dirk Behme
     [not found]             ` <4EB779CF.4040007-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
2011-11-07 13:42               ` Grant Likely
2011-11-07 13:51   ` Rob Herring
     [not found]     ` <4EB7E24D.8080804-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-11-08 17:20       ` Dirk Behme

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=1320473955-4500-1-git-send-email-dirk.behme@de.bosch.com \
    --to=dirk.behme@googlemail.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=dirk.behme@de.bosch.com \
    --cc=grant.likely@linaro.org \
    --cc=grant.likely@secretlab.ca \
    --cc=jason.hui@linaro.org \
    --cc=linaro-dev@lists.linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=rob.herring@calxeda.com \
    --cc=shawn.guo@freescale.com \
    /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