# SPDX-License-Identifier: GPL-2.0 # # Makefile for the Linux/SuperH SH-4 backends. # obj-y := probe.o common.o common-y += $(addprefix ../sh3/, entry.o ex.o) obj-$([31mCONFIG_HIBERNATION[0m) += $(addprefix ../sh3/, swsusp.o) obj-$([31mCONFIG_SH_FPU[0m) += fpu.o softfloat.o obj-$([31mCONFIG_SH_STORE_QUEUES[0m) += sq.o # Perf events perf-$([31mCONFIG_CPU_SUBTYPE_SH7750[0m) := perf_event.o perf-$([31mCONFIG_CPU_SUBTYPE_SH7750S[0m) := perf_event.o perf-$([31mCONFIG_CPU_SUBTYPE_SH7091[0m) := perf_event.o # CPU subtype setup obj-$([31mCONFIG_CPU_SUBTYPE_SH7750[0m) += setup-sh7750.o obj-$([31mCONFIG_CPU_SUBTYPE_SH7750R[0m) += setup-sh7750.o obj-$([31mCONFIG_CPU_SUBTYPE_SH7750S[0m) += setup-sh7750.o obj-$([31mCONFIG_CPU_SUBTYPE_SH7091[0m) += setup-sh7750.o obj-$([31mCONFIG_CPU_SUBTYPE_SH7751[0m) += setup-sh7750.o obj-$([31mCONFIG_CPU_SUBTYPE_SH7751R[0m) += setup-sh7750.o obj-$([31mCONFIG_CPU_SUBTYPE_SH7760[0m) += setup-sh7760.o obj-$([31mCONFIG_CPU_SUBTYPE_SH4_202[0m) += setup-sh4-202.o # Primary on-chip clocks (common) ifndef [31mCONFIG_CPU_SH4A[0m clock-$([31mCONFIG_CPU_SH4[0m) := clock-sh4.o endif # Additional clocks by subtype clock-$([31mCONFIG_CPU_SUBTYPE_SH4_202[0m) += clock-sh4-202.o obj-y += $(clock-y) obj-$([31mCONFIG_PERF_EVENTS[0m) += $(perf-y) |