[PATCH] sh: Simplistic clock framework
[linux-2.6.git] / arch / sh / kernel / cpu / sh4 / Makefile
index ead1071eac738d0e87e2057da65c62cca4413828..3d5cafc71ae307d8c9c2abc6c730a889436b8ffb 100644 (file)
@@ -5,6 +5,15 @@
 obj-y  := ex.o probe.o
 
 obj-$(CONFIG_SH_FPU)                    += fpu.o
-obj-$(CONFIG_CPU_SUBTYPE_ST40STB1)     += irq_intc2.o
 obj-$(CONFIG_SH_STORE_QUEUES)          += sq.o
 
+# Primary on-chip clocks (common)
+clock-$(CONFIG_CPU_SH4)                        := clock-sh4.o
+clock-$(CONFIG_CPU_SUBTYPE_SH73180)    := clock-sh73180.o
+clock-$(CONFIG_CPU_SUBTYPE_SH7770)     := clock-sh7770.o
+clock-$(CONFIG_CPU_SUBTYPE_SH7780)     := clock-sh7780.o
+
+# Additional clocks by subtype
+clock-$(CONFIG_CPU_SUBTYPE_SH4_202)    += clock-sh4-202.o
+
+obj-y  += $(clock-y)