From patchwork Wed Dec 1 19:41:33 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: 73889 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 1D259B7580 for ; Thu, 2 Dec 2010 06:43:34 +1100 (EST) Received: from mail-yw0-f51.google.com (mail-yw0-f51.google.com [209.85.213.51]) by ozlabs.org (Postfix) with ESMTP id 475BFB70EA; Thu, 2 Dec 2010 06:42:30 +1100 (EST) Received: by mail-yw0-f51.google.com with SMTP id 8so727372ywg.38 for ; Wed, 01 Dec 2010 11:42:29 -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:in-reply-to:references; bh=t0Mj6fZTkfXag/k0YCNhsYErPstAs1Yv6l2LhBnyaE0=; b=LeoRKwwhko+4uZQRr25RMXO+qe4TPfDkLvvu7sQxlSSjqavNnjPPq7MimXOmq2Yn0i F2CtTqlrhyybfI1ZEX0/FbFEPzeEYtE//BiWJNFvK+knGfF5YwhhqWgPm2BNMm4dQmPS dmuOKWdRxlZKKIJzcYdN/lYIyLAJsu967vsSE= 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=XZTInq7xa71NVUhbZMk8mhcw9ZtWsTP0SAhBupC9sYPOe9RTY6DETOBa+USm6kBASY nGdDvnq0Lb6IjLsiSJmFLMCUVG0FWcucPH0jq/BamHVIig05e7vpsiljsKkAdn5r3JKW 6u73X+zFTAn2yyPKluvotuTkhuv6bCNghe3nA= Received: by 10.42.218.4 with SMTP id ho4mr2632677icb.527.1291232549578; Wed, 01 Dec 2010 11:42:29 -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 i16sm196995ibl.12.2010.12.01.11.42.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 01 Dec 2010 11:42:28 -0800 (PST) From: dirk.brandewie@gmail.com To: linux-serial@vger.kernel.org Subject: [PATCH 2/4] x86/of: Add building device tree blob(s) into image. Date: Wed, 1 Dec 2010 11:41:33 -0800 Message-Id: X-Mailer: git-send-email 1.7.2.3 In-Reply-To: References: 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 This patch adds linking device tree blob into vmlinux. DTB's are added by adding the blob object name to list of objects to be linked into the image. Signed-off-by: Dirk Brandewie --- arch/x86/platform/ce4100/Makefile | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/x86/platform/ce4100/Makefile b/arch/x86/platform/ce4100/Makefile index 91fc929..3b49187 100644 --- a/arch/x86/platform/ce4100/Makefile +++ b/arch/x86/platform/ce4100/Makefile @@ -1 +1,11 @@ obj-$(CONFIG_X86_INTEL_CE) += ce4100.o +clean-files := *dtb.S + +ifdef CONFIG_X86_OF +### +# device tree blob +obj-$(CONFIG_X86_INTEL_CE) += ce4100.dtb.o + +$(obj)/%.dtb: $(src)/%.dts + $(call if_changed,dtc) +endif