From patchwork Mon Dec 6 17:36:02 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: dirk.brandewie@gmail.com X-Patchwork-Id: 74410 X-Patchwork-Delegate: benh@kernel.crashing.org Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from bilbo.ozlabs.org (localhost [127.0.0.1]) by ozlabs.org (Postfix) with ESMTP id 191A0B71E1 for ; Tue, 7 Dec 2010 04:37:23 +1100 (EST) Received: from mail-iw0-f179.google.com (mail-iw0-f179.google.com [209.85.214.179]) by ozlabs.org (Postfix) with ESMTP id 1EE86B71F6; Tue, 7 Dec 2010 04:36:24 +1100 (EST) Received: by iwn41 with SMTP id 41so142727iwn.38 for ; Mon, 06 Dec 2010 09:36:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=qA2IStRNnla/Z8Rlr7ATK0mVdcsxzGza0N+xbHg+8fM=; b=MFWnzqgthPhl7k6SZRz/ejdbJ6DyteAakvEjgCm/trLz8IO+OYor8lm9X0BDWolCFq Hg5kfD6hkbuDAHBgzvIgtu5kL2pngA/90bUvUFw+PgAYeePYw25vor8ZsEL5v6D4GK8j HBgbGffX9nst/GglL43Q7zAHnh86FYp7NxWvM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=pd+kC9sMGSWFQ6atR3wjDIGfjTgOi5kx97V8rfxAZQpvsJZRWvUnseDKg4bPGCKYua 2sIhmX3Wm8n9rkDrO680rR5ZV7/jyS1rY/225fn5NZIJ5CVvgyKgrpDPXBuQeX1acJfK IOnqMLPjot+qJTkt9lJKYPRlcUs8h5N8wQ63o= Received: by 10.231.10.137 with SMTP id p9mr6211156ibp.186.1291656983524; Mon, 06 Dec 2010 09:36:23 -0800 (PST) Received: from localhost.localdomain (pool-173-50-249-160.ptldor.fios.verizon.net [173.50.249.160]) by mx.google.com with ESMTPS id d21sm5187815ibg.9.2010.12.06.09.36.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 06 Dec 2010 09:36:22 -0800 (PST) From: dirk.brandewie@gmail.com To: linux-kernel@vger.kernel.org Subject: [PATCH 4/4] microblaze/of: Use generic rule to build dtb's Date: Mon, 6 Dec 2010 09:36:02 -0800 Message-Id: <166d47e864aa8a41b2aa0f9ebc42d9b60afba21f.1291656753.git.dirk.brandewie@gmail.com> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: References: Cc: linux-arch@vger.kernel.org, mmarek@suse.cz, microblaze-uclinux@itee.uq.edu.au, devicetree-discuss@lists.ozlabs.org, sodaville@linutronix.de, Dirk Brandewie , linuxppc-dev@lists.ozlabs.org X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org From: Dirk Brandewie Modify arch/powerpc/boot/Makefile to use dtc command in scripts/Makefile.lib Signed-off-by: Dirk Brandewie --- arch/microblaze/boot/Makefile | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/arch/microblaze/boot/Makefile b/arch/microblaze/boot/Makefile index be01d78..52430e5 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 +$(obj)/%.dtb: $(src)/dts/%.dts FORCE $(call if_changed,dtc) clean-files += *.dtb simpleImage.*.unstrip linux.bin.ub