1*b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 21da177e4SLinus Torvalds# 31da177e4SLinus Torvalds# Makefile for the Linux/SuperH SH-4 backends. 41da177e4SLinus Torvalds# 51da177e4SLinus Torvalds 600bf0610SPaul Mundtobj-y := probe.o common.o 700bf0610SPaul Mundtcommon-y += $(addprefix ../sh3/, entry.o ex.o) 81da177e4SLinus Torvalds 92ef7f0daSMagnus Dammobj-$(CONFIG_HIBERNATION) += $(addprefix ../sh3/, swsusp.o) 10c8c0a1abSStuart Menefyobj-$(CONFIG_SH_FPU) += fpu.o softfloat.o 111da177e4SLinus Torvaldsobj-$(CONFIG_SH_STORE_QUEUES) += sq.o 121da177e4SLinus Torvalds 131d823323SPaul Mundt# Perf events 14c4e708dcSPaul Mundtperf-$(CONFIG_CPU_SUBTYPE_SH7750) := perf_event.o 15c4e708dcSPaul Mundtperf-$(CONFIG_CPU_SUBTYPE_SH7750S) := perf_event.o 16c4e708dcSPaul Mundtperf-$(CONFIG_CPU_SUBTYPE_SH7091) := perf_event.o 171d823323SPaul Mundt 18959f85f8SPaul Mundt# CPU subtype setup 197dec62e9SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7750) += setup-sh7750.o 2005627486SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7750R) += setup-sh7750.o 2105627486SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7750S) += setup-sh7750.o 2205627486SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7091) += setup-sh7750.o 237dec62e9SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7751) += setup-sh7750.o 2405627486SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7751R) += setup-sh7750.o 257dec62e9SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7760) += setup-sh7760.o 26959f85f8SPaul Mundt 2736ddf31bSPaul Mundt# Primary on-chip clocks (common) 2841504c39SPaul Mundtifndef CONFIG_CPU_SH4A 2936ddf31bSPaul Mundtclock-$(CONFIG_CPU_SH4) := clock-sh4.o 3041504c39SPaul Mundtendif 3136ddf31bSPaul Mundt 3236ddf31bSPaul Mundtobj-y += $(clock-y) 33c4e708dcSPaul Mundtobj-$(CONFIG_PERF_EVENTS) += $(perf-y) 34