1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for the Linux/SuperH SH-4 backends. 4# 5 6obj-y := probe.o common.o 7common-y += $(addprefix ../sh3/, entry.o ex.o) 8 9obj-$(CONFIG_HIBERNATION) += $(addprefix ../sh3/, swsusp.o) 10obj-$(CONFIG_SH_FPU) += fpu.o softfloat.o 11obj-$(CONFIG_SH_STORE_QUEUES) += sq.o 12 13# Perf events 14perf-$(CONFIG_CPU_SUBTYPE_SH7750) := perf_event.o 15perf-$(CONFIG_CPU_SUBTYPE_SH7750S) := perf_event.o 16perf-$(CONFIG_CPU_SUBTYPE_SH7091) := perf_event.o 17 18# CPU subtype setup 19obj-$(CONFIG_CPU_SUBTYPE_SH7750) += setup-sh7750.o 20obj-$(CONFIG_CPU_SUBTYPE_SH7750R) += setup-sh7750.o 21obj-$(CONFIG_CPU_SUBTYPE_SH7750S) += setup-sh7750.o 22obj-$(CONFIG_CPU_SUBTYPE_SH7091) += setup-sh7750.o 23obj-$(CONFIG_CPU_SUBTYPE_SH7751) += setup-sh7750.o 24obj-$(CONFIG_CPU_SUBTYPE_SH7751R) += setup-sh7750.o 25obj-$(CONFIG_CPU_SUBTYPE_SH7760) += setup-sh7760.o 26 27# Primary on-chip clocks (common) 28ifndef CONFIG_CPU_SH4A 29clock-$(CONFIG_CPU_SH4) := clock-sh4.o 30endif 31 32obj-y += $(clock-y) 33obj-$(CONFIG_PERF_EVENTS) += $(perf-y) 34