xref: /linux/arch/sh/kernel/cpu/sh4/Makefile (revision 05627486ab7f31ea09d8bb7a83582ca0185dc283)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the Linux/SuperH SH-4 backends.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
500bf0610SPaul Mundtobj-y	:= probe.o common.o
600bf0610SPaul Mundtcommon-y	+= $(addprefix ../sh3/, entry.o ex.o)
71da177e4SLinus Torvalds
81da177e4SLinus Torvaldsobj-$(CONFIG_SH_FPU)			+= fpu.o
91da177e4SLinus Torvaldsobj-$(CONFIG_SH_STORE_QUEUES)		+= sq.o
101da177e4SLinus Torvalds
11959f85f8SPaul Mundt# CPU subtype setup
127dec62e9SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7750)	+= setup-sh7750.o
13*05627486SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7750R)	+= setup-sh7750.o
14*05627486SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7750S)	+= setup-sh7750.o
15*05627486SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7091)	+= setup-sh7750.o
167dec62e9SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7751)	+= setup-sh7750.o
17*05627486SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7751R)	+= setup-sh7750.o
187dec62e9SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7760)	+= setup-sh7760.o
197dec62e9SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH4_202)	+= setup-sh4-202.o
20959f85f8SPaul Mundt
2136ddf31bSPaul Mundt# Primary on-chip clocks (common)
2241504c39SPaul Mundtifndef CONFIG_CPU_SH4A
2336ddf31bSPaul Mundtclock-$(CONFIG_CPU_SH4)			:= clock-sh4.o
2441504c39SPaul Mundtendif
2536ddf31bSPaul Mundt
2636ddf31bSPaul Mundt# Additional clocks by subtype
2736ddf31bSPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SH4_202)	+= clock-sh4-202.o
2836ddf31bSPaul Mundt
2936ddf31bSPaul Mundtobj-y	+= $(clock-y)
30