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