Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751985Ab0LWWNY (ORCPT ); Thu, 23 Dec 2010 17:13:24 -0500 Received: from mail-pz0-f46.google.com ([209.85.210.46]:52037 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751552Ab0LWWNW (ORCPT ); Thu, 23 Dec 2010 17:13:22 -0500 Date: Thu, 23 Dec 2010 15:13:19 -0700 From: Grant Likely To: dirk.brandewie@gmail.com Cc: linux-kernel@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, linuxppc-dev@lists.ozlabs.org, microblaze-uclinux@itee.uq.edu.au, linux-arch@vger.kernel.org, mmarek@suse.cz, linux-kbuild@vger.kernel.org Subject: Re: [PATCH 4/4] microblaze/of: Use generic rule to build dtb's Message-ID: <20101223221319.GI20384@angua.secretlab.ca> References: <1293047849-26078-1-git-send-email-dirk.brandewie@gmail.com> <1293047849-26078-5-git-send-email-dirk.brandewie@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1293047849-26078-5-git-send-email-dirk.brandewie@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1953 Lines: 61 On Wed, Dec 22, 2010 at 11:57:29AM -0800, dirk.brandewie@gmail.com wrote: > From: Dirk Brandewie > > Modify arch/powerpc/boot/Makefile to use dtc command in > scripts/Makefile.lib > > Signed-off-by: Dirk Brandewie applied, thanks g. > --- > arch/microblaze/boot/Makefile | 12 +++--------- > 1 files changed, 3 insertions(+), 9 deletions(-) > > diff --git a/arch/microblaze/boot/Makefile b/arch/microblaze/boot/Makefile > index be01d78..4c4e58e 100644 > --- a/arch/microblaze/boot/Makefile > +++ b/arch/microblaze/boot/Makefile > @@ -10,9 +10,6 @@ targets := linux.bin linux.bin.gz simpleImage.% > > OBJCOPYFLAGS := -O binary > > -# Where the DTS files live > -dtstree := $(srctree)/$(src)/dts > - > # Ensure system.dtb exists > $(obj)/linked_dtb.o: $(obj)/system.dtb > > @@ -51,14 +48,11 @@ $(obj)/simpleImage.%: vmlinux FORCE > $(call if_changed,strip) > @echo 'Kernel: $@ is ready' ' (#'`cat .version`')' > > -# Rule to build device tree blobs > -DTC = $(objtree)/scripts/dtc/dtc > > # Rule to build device tree blobs > -quiet_cmd_dtc = DTC $@ > - cmd_dtc = $(DTC) -O dtb -o $(obj)/$*.dtb -b 0 -p 1024 $(dtstree)/$*.dts > +DTC_FLAGS := -p 1024 > > -$(obj)/%.dtb: $(dtstree)/%.dts FORCE > - $(call if_changed,dtc) > +$(obj)/%.dtb: $(src)/dts/%.dts FORCE > + $(call cmd,dtc) > > clean-files += *.dtb simpleImage.*.unstrip linux.bin.ub > -- > 1.7.2.3 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/