summaryrefslogtreecommitdiff
path: root/packages/linux/openzaurus-pxa-2.4.18-rmk7-pxa3-embedix20031107/deviceinfo.patch
blob: 58343c5b55cfcf128474cb93cef647cc4e2e060a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- linux/arch/arm/mach-pxa/Makefile.old	2004-09-24 20:49:09.000000000 +0930
+++ linux/arch/arm/mach-pxa/Makefile	2004-09-24 20:49:11.000000000 +0930
@@ -94,6 +94,23 @@
   endif
 endif
 
+ifeq ($(CONFIG_DEVICEINFO),m)
+  obj-$(CONFIG_DEVICEINFO) += devinfo.o
+  ifeq ($(CONFIG_SABINAL_DISCOVERY),y)
+    devinfo-objs-m += deviceinfo.o
+    devinfo-objs-$(CONFIG_DISCOVERY_DEVICEINFO) += discovery_deviceinfo.o
+  endif
+  ifeq ($(CONFIG_ARCH_PXA_POODLE),y)
+    devinfo-objs-m += sharpsl_deviceinfo.o
+  endif
+  ifeq ($(CONFIG_ARCH_PXA_CORGI),y)
+    devinfo-objs-m += sharpsl_deviceinfo.o
+  endif
+  ifeq ($(CONFIG_ARCH_PXA_TOSA),y)
+    devinfo-objs-m += sharpsl_deviceinfo.o
+  endif
+endif
+
 obj-m += registers.o
 
 include $(TOPDIR)/Rules.make