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
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
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
33 # Additional clocks by subtype
34 clock-
$(CONFIG_CPU_SUBTYPE_SH4_202
) += clock-sh4-202.o
37 obj-
$(CONFIG_PERF_EVENTS
) += $(perf-y
)