From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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: Wed, 22 Dec 2010 11:57:27 -0800 Message-Id: <1293047849-26078-3-git-send-email-dirk.brandewie@gmail.com> In-Reply-To: <1293047849-26078-1-git-send-email-dirk.brandewie@gmail.com> References: <1293047849-26078-1-git-send-email-dirk.brandewie@gmail.com> Cc: linux-arch@vger.kernel.org, mmarek@suse.cz, linux-kbuild@vger.kernel.org, microblaze-uclinux@itee.uq.edu.au, devicetree-discuss@lists.ozlabs.org, dirk.brandewie@gmail.com, linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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..e5f3b7b 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 cmd,dtc) +endif -- 1.7.2.3