xref: /linux/arch/sh/kernel/cpu/sh4/Makefile (revision 41504c39726a7099e5a42508dd57fe561c8b4129)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Makefile for the Linux/SuperH SH-4 backends.
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
5de398406SYoshinori Satoobj-y	:= ex.o probe.o common.o
6de398406SYoshinori Satocommon-y	+= $(addprefix ../sh3/, entry.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)
18*41504c39SPaul Mundtifndef CONFIG_CPU_SH4A
1936ddf31bSPaul Mundtclock-$(CONFIG_CPU_SH4)			:= clock-sh4.o
20*41504c39SPaul 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