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