From patchwork Mon Dec 6 17:36:00 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: 74411 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 E65EBB76D6 for ; Tue, 7 Dec 2010 04:37:40 +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 95A14B7265; Tue, 7 Dec 2010 04:36:26 +1100 (EST) Received: by mail-iw0-f179.google.com with SMTP id 41so142711iwn.38 for ; Mon, 06 Dec 2010 09:36:26 -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=t0Mj6fZTkfXag/k0YCNhsYErPstAs1Yv6l2LhBnyaE0=; b=nqlLLAYguIbrXcRTqplnSMsMBJjedTiXER2UfqZZNSeMmqRK/9Hi5fywcJZGLkBajG Cqx0VwldIsHNNr0Ka2CjTcmf0bGT6+/KmQxCxBAili1UVSPRMAxFhlzrIFYNwmf5a6G+ aUMLx02/E26/h+Z6MHcOajBblko4iFtjJQGCY= 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=EyuBXZF1uETutg8+mkPABZUfF3N6WU0PqkrdIP8W7N2Q/Bx8JQV3Jy8LewOCmREGqj hirKY53RmX/0gbsMtX+TrbMiwiXcvFvHaQp9WnyHx9eN4UBOU1469qEeBuZQseyQUxjy SJBlpR0DIxTS3bT9R8+uY30v8ywrmQM58wk5E= Received: by 10.231.39.129 with SMTP id g1mr6149752ibe.178.1291656979554; Mon, 06 Dec 2010 09:36:19 -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.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 06 Dec 2010 09:36:18 -0800 (PST) From: dirk.brandewie@gmail.com To: linux-kernel@vger.kernel.org Subject: [PATCH 2/4] x86/of: Add building device tree blob(s) into image. Date: Mon, 6 Dec 2010 09:36:00 -0800 Message-Id: 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 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