xref: /linux/arch/sh/kernel/cpu/sh4/Makefile (revision 2ef7f0dab6b3d171b6aff00a47077385ae3155b5)
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
8*2ef7f0daSMagnus Dammobj-$(CONFIG_HIBERNATION)		+= $(addprefix ../sh3/, swsusp.o)
9c8c0a1abSStuart Menefyobj-$(CONFIG_SH_FPU)			+= fpu.o softfloat.o
101da177e4SLinus Torvaldsobj-$(CONFIG_SH_STORE_QUEUES)		+= sq.o
111da177e4SLinus Torvalds
12959f85f8SPaul Mundt# CPU subtype setup
137dec62e9SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7750)	+= setup-sh7750.o
1405627486SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7750R)	+= setup-sh7750.o
1505627486SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7750S)	+= setup-sh7750.o
1605627486SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7091)	+= setup-sh7750.o
177dec62e9SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7751)	+= setup-sh7750.o
1805627486SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7751R)	+= setup-sh7750.o
197dec62e9SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7760)	+= setup-sh7760.o
207dec62e9SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH4_202)	+= setup-sh4-202.o
21959f85f8SPaul Mundt
2236ddf31bSPaul Mundt# Primary on-chip clocks (common)
2341504c39SPaul Mundtifndef CONFIG_CPU_SH4A
2436ddf31bSPaul Mundtclock-$(CONFIG_CPU_SH4)			:= clock-sh4.o
2541504c39SPaul Mundtendif
2636ddf31bSPaul Mundt
2736ddf31bSPaul Mundt# Additional clocks by subtype
2836ddf31bSPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SH4_202)	+= clock-sh4-202.o
2936ddf31bSPaul Mundt
3036ddf31bSPaul Mundtobj-y	+= $(clock-y)
31