summaryrefslogtreecommitdiff
path: root/arch/x86/platform/olpc/Makefile
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2011-03-13 15:10:17 +0000
committerH. Peter Anvin <hpa@linux.intel.com>2011-03-15 14:17:23 -0700
commit45bb1674b976ef81429c1e42de05844b49d45dea (patch)
tree51030fa434bed1756d24d6b7595dfc7bb2be2f7b /arch/x86/platform/olpc/Makefile
parent25874a299ef8037df03ce4ada570bc4e42f9748f (diff)
x86, olpc: Use device tree for platform identification
Make OLPC fully depend on device tree, and use it to identify the OLPC platform details. Some nodes are exposed as platform devices where we plan to use device tree for device probing. Signed-off-by: Daniel Drake <dsd@laptop.org> Acked-by: Grant Likely <grant.likely@secretlab.ca> LKML-Reference: <20110313151017.C255F9D401E@zog.reactivated.net> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/platform/olpc/Makefile')
-rw-r--r--arch/x86/platform/olpc/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/platform/olpc/Makefile b/arch/x86/platform/olpc/Makefile
index c2a8cab65e5d..81c5e2165c24 100644
--- a/arch/x86/platform/olpc/Makefile
+++ b/arch/x86/platform/olpc/Makefile
@@ -1,4 +1,2 @@
-obj-$(CONFIG_OLPC) += olpc.o
+obj-$(CONFIG_OLPC) += olpc.o olpc_ofw.o olpc_dt.o
obj-$(CONFIG_OLPC_XO1) += olpc-xo1.o
-obj-$(CONFIG_OLPC) += olpc_ofw.o
-obj-$(CONFIG_OF_PROMTREE) += olpc_dt.o