Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / arch / sh / kernel / cpu / sh4 / Makefile
blob3a1dbc709831f389d6c33e77929d51e2b4f46709
2 # Makefile for the Linux/SuperH SH-4 backends.
5 obj-y := probe.o common.o
6 common-y += $(addprefix ../sh3/, entry.o ex.o)
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
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
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
27 # Primary on-chip clocks (common)
28 ifndef CONFIG_CPU_SH4A
29 clock-$(CONFIG_CPU_SH4) := clock-sh4.o
30 endif
32 # Additional clocks by subtype
33 clock-$(CONFIG_CPU_SUBTYPE_SH4_202) += clock-sh4-202.o
35 obj-y += $(clock-y)
36 obj-$(CONFIG_PERF_EVENTS) += $(perf-y)