From patchwork Tue Nov 16 22:41:40 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: 71478 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 09559B84BC for ; Wed, 17 Nov 2010 10:34:11 +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 34202B71D6; Wed, 17 Nov 2010 09:42:22 +1100 (EST) Received: by mail-iw0-f179.google.com with SMTP id 2so1386858iwn.38 for ; Tue, 16 Nov 2010 14:42:22 -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=u1EUyJ04un68VsZovvxp9/glasFpof+iAbVj3XzsAvA=; b=b70C2lFrOx1jk6k7Yf/9fD4mU2Fa6qrcPKn6mOK7Vp1vzC5Q2+7ySvU0x+THZ+0D6D hQYTLCivUDBBB5vxMaAhZQZZNje9zk9c9kIbfEYyeJZGNGy9W502QY9hJoYeACZnYjDw IIqa3lEEyNx5FtE6WS22lvs36SsOOr+M0QCw0= 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=YdF8imRk9H2sDtso+LpF0GNYpLydFSyn9TjbLj2lFVifA0Ti9S5z8Q9O+9LhQi+G2e G+lA3rI5ff4g1c3Qq4KWCjnM86mRqRbnEPoVM05dO3rcInZ1FCi/7VT3CJTwdyujzHKa YbvGroWS/SL6KAVG4fesSnkQurdZYw6F6LGuc= Received: by 10.231.13.136 with SMTP id c8mr6192856iba.19.1289947342628; Tue, 16 Nov 2010 14:42:22 -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 gy41sm1485952ibb.5.2010.11.16.14.42.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Nov 2010 14:42:22 -0800 (PST) From: dirk.brandewie@gmail.com To: devicetree-discuss@lists.ozlabs.org Subject: [PATCH 5/5] of/microblaze: Move build to use generic dts->dtb rule Date: Tue, 16 Nov 2010 14:41:40 -0800 Message-Id: <7828dfd67fafcc2bb41e5bde40ac2ed7ef429142.1289943240.git.dirk.brandewie@gmail.com> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: References: X-Mailman-Approved-At: Wed, 17 Nov 2010 10:33:12 +1100 Cc: linux-arch@vger.kernel.org, linux-kbuild@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, sodaville@linutronix.de, microblaze-uclinux@itee.uq.edu.au, dirk.brandewie@gmail.com, arjan@linux.intel.com 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 This patch changes arch/microblaze/boot/Makefile to use the generic rule build the device tree blobs in scripts/Makefile.lib Signed-off-by: Dirk Brandewie --- arch/microblaze/boot/Makefile | 13 +------------ 1 files changed, 1 insertions(+), 12 deletions(-) diff --git a/arch/microblaze/boot/Makefile b/arch/microblaze/boot/Makefile index be01d78..4fda765 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,6 @@ $(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 - -$(obj)/%.dtb: $(dtstree)/%.dts FORCE - $(call if_changed,dtc) +DTS_FLAGS := -p 1024 clean-files += *.dtb simpleImage.*.unstrip linux.bin.ub