diff mbox

[2/4] x86/of: Add building device tree blob(s) into image.

Message ID 1293047849-26078-3-git-send-email-dirk.brandewie@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

dirk.brandewie@gmail.com Dec. 22, 2010, 7:57 p.m. UTC
None
diff mbox

Patch

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