Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
[linux-2.6.git] / arch / sh / kernel / cpu / sh4 / Makefile
1 #
2 # Makefile for the Linux/SuperH SH-4 backends.
3 #
4
5 obj-y   := probe.o common.o
6 common-y        += $(addprefix ../sh3/, entry.o ex.o)
7
8 obj-$(CONFIG_HIBERNATION)               += $(addprefix ../sh3/, swsusp.o)
9 obj-$(CONFIG_SH_FPU)                    += fpu.o softfloat.o
10 obj-$(CONFIG_SH_STORE_QUEUES)           += sq.o
11
12 # Perf events
13 perf-$(CONFIG_CPU_SUBTYPE_SH7750)       := perf_event.o
14 perf-$(CONFIG_CPU_SUBTYPE_SH7750S)      := perf_event.o
15 perf-$(CONFIG_CPU_SUBTYPE_SH7091)       := perf_event.o
16
17 # CPU subtype setup
18 obj-$(CONFIG_CPU_SUBTYPE_SH7750)        += setup-sh7750.o
19 obj-$(CONFIG_CPU_SUBTYPE_SH7750R)       += setup-sh7750.o
20 obj-$(CONFIG_CPU_SUBTYPE_SH7750S)       += setup-sh7750.o
21 obj-$(CONFIG_CPU_SUBTYPE_SH7091)        += setup-sh7750.o
22 obj-$(CONFIG_CPU_SUBTYPE_SH7751)        += setup-sh7750.o
23 obj-$(CONFIG_CPU_SUBTYPE_SH7751R)       += setup-sh7750.o
24 obj-$(CONFIG_CPU_SUBTYPE_SH7760)        += setup-sh7760.o
25 obj-$(CONFIG_CPU_SUBTYPE_SH4_202)       += setup-sh4-202.o
26
27 # Primary on-chip clocks (common)
28 ifndef CONFIG_CPU_SH4A
29 clock-$(CONFIG_CPU_SH4)                 := clock-sh4.o
30 endif
31
32 # Additional clocks by subtype
33 clock-$(CONFIG_CPU_SUBTYPE_SH4_202)     += clock-sh4-202.o
34
35 obj-y                                   += $(clock-y)
36 obj-$(CONFIG_PERF_EVENTS)               += $(perf-y)