xref: /linux/arch/sh/kernel/cpu/sh4/Makefile (revision 00bf0610e4cdbb9fd79ce4718e12b24cd7876dd7)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the Linux/SuperH SH-4 backends.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
5*00bf0610SPaul Mundtobj-y	:= probe.o common.o
6*00bf0610SPaul 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
137dec62e9SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7751)	+= setup-sh7750.o
147dec62e9SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7760)	+= setup-sh7760.o
157dec62e9SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH4_202)	+= setup-sh4-202.o
16959f85f8SPaul Mundt
1736ddf31bSPaul Mundt# Primary on-chip clocks (common)
1841504c39SPaul Mundtifndef CONFIG_CPU_SH4A
1936ddf31bSPaul Mundtclock-$(CONFIG_CPU_SH4)			:= clock-sh4.o
2041504c39SPaul Mundtendif
2136ddf31bSPaul Mundt
2236ddf31bSPaul Mundt# Additional clocks by subtype
2336ddf31bSPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SH4_202)	+= clock-sh4-202.o
2436ddf31bSPaul Mundt
2536ddf31bSPaul Mundtobj-y	+= $(clock-y)
26