From patchwork Tue Nov 16 22:41:39 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: 330001 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oAGMhQMO031260 for ; Tue, 16 Nov 2010 22:43:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757857Ab0KPWmX (ORCPT ); Tue, 16 Nov 2010 17:42:23 -0500 Received: from mail-iw0-f174.google.com ([209.85.214.174]:38110 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757009Ab0KPWmW (ORCPT ); Tue, 16 Nov 2010 17:42:22 -0500 Received: by mail-iw0-f174.google.com with SMTP id 35so1357519iwn.19 for ; Tue, 16 Nov 2010 14:42:21 -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=dRuiCB3/r86OJlqi6NIWB0DDB2sdSHoiSXo5RsIR4VY=; b=lvb0kU8mPpRvJuuUY6KRQ40BxueSrfv1RUkcaoPkVRPAKmKG+UZs1IXXVn/p30W0H1 jro/ajpUbHha5TVwypqbtIvz1km/g9LZK33d6UP462tmpgzfBrhtsu0NvHBiSvpoQBSZ o+01stkJHSSc8t4hDOIkwfliuICdws+gZRmb0= 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=Tj581bxAzZ4nhy4BmOXrJCYcWHTsiJpJi8f3XXaA1JtT3sa582G0Y5bVPwC08qc5gh EBbBm2tq3XsdxvY0KQxa8X7Iho7OCFQfd4l3SfHYf9i+ZYdk3Oizquvw7pZ2gPAUHoiq a0RskK4HbSPU5AJQddxiaSW7iuoQvcEIqDwfw= Received: by 10.231.59.12 with SMTP id j12mr6351519ibh.11.1289947340797; Tue, 16 Nov 2010 14:42:20 -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.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 16 Nov 2010 14:42:20 -0800 (PST) From: dirk.brandewie@gmail.com To: devicetree-discuss@lists.ozlabs.org Cc: sodaville@linutronix.de, arjan@linux.intel.com, dirk.brandewie@gmail.com, linuxppc-dev@lists.ozlabs.org, microblaze-uclinux@itee.uq.edu.au, linux-arch@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/5] of/powerpc: Move build to use generic dts->dtb rule Date: Tue, 16 Nov 2010 14:41:39 -0800 Message-Id: X-Mailer: git-send-email 1.7.2.3 In-Reply-To: References: Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 16 Nov 2010 22:43:26 +0000 (UTC) diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile index fae8192..d90c674 100644 --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile @@ -147,8 +147,6 @@ targets += $(patsubst $(obj)/%,%,$(obj-boot) wrapper.a) extra-y := $(obj)/wrapper.a $(obj-plat) $(obj)/empty.o \ $(obj)/zImage.lds $(obj)/zImage.coff.lds $(obj)/zImage.ps3.lds -dtstree := $(srctree)/$(src)/dts - wrapper :=$(srctree)/$(src)/wrapper wrapperbits := $(extra-y) $(addprefix $(obj)/,addnote hack-coff mktree) \ $(wrapper) FORCE @@ -331,11 +329,6 @@ $(obj)/treeImage.initrd.%: vmlinux $(obj)/%.dtb $(wrapperbits) $(obj)/treeImage.%: vmlinux $(obj)/%.dtb $(wrapperbits) $(call if_changed,wrap,treeboot-$*,,$(obj)/$*.dtb) -# Rule to build device tree blobs -DTC = $(objtree)/scripts/dtc/dtc - -$(obj)/%.dtb: $(dtstree)/%.dts - $(DTC) -O dtb -o $(obj)/$*.dtb -b 0 $(DTS_FLAGS) $(dtstree)/$*.dts # If there isn't a platform selected then just strip the vmlinux. ifeq (,$(image-y))