From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Subject: Re: [PATCH] distclean: Remove generated .dtb files Date: Sun, 6 Nov 2011 11:38:02 -0700 Message-ID: <20111106183802.GB2546@ponder.secretlab.ca> References: <1320473955-4500-1-git-send-email-dirk.behme@de.bosch.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1320473955-4500-1-git-send-email-dirk.behme-V5te9oGctAVWk0Htik3J/w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Dirk Behme Cc: Dirk Behme , linaro-dev-cunTk1MwBs8s++Sfvej+rw@public.gmane.org, devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Jason Liu , rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org, grant.likely-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org On Sat, Nov 05, 2011 at 07:19:15AM +0100, Dirk Behme wrote: > 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 > CC: Rob Herring > CC: Shawn Guo > CC: Jason Liu > CC: Grant Likely Acked-by: Grant Likely > --- > 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 >