xref: /linux/arch/sh/kernel/cpu/sh4/Makefile (revision 1d823323f2e92287a07a25570aebf0b2d3864703)
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
82ef7f0daSMagnus 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
12*1d823323SPaul Mundt# Perf events
13*1d823323SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7750)	+= perf_event.o
14*1d823323SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7750S)	+= perf_event.o
15*1d823323SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7091)	+= perf_event.o
16*1d823323SPaul Mundt
17959f85f8SPaul Mundt# CPU subtype setup
187dec62e9SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7750)	+= setup-sh7750.o
1905627486SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7750R)	+= setup-sh7750.o
2005627486SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7750S)	+= setup-sh7750.o
2105627486SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7091)	+= setup-sh7750.o
227dec62e9SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7751)	+= setup-sh7750.o
2305627486SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7751R)	+= setup-sh7750.o
247dec62e9SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH7760)	+= setup-sh7760.o
257dec62e9SPaul Mundtobj-$(CONFIG_CPU_SUBTYPE_SH4_202)	+= setup-sh4-202.o
26959f85f8SPaul Mundt
2736ddf31bSPaul Mundt# Primary on-chip clocks (common)
2841504c39SPaul Mundtifndef CONFIG_CPU_SH4A
2936ddf31bSPaul Mundtclock-$(CONFIG_CPU_SH4)			:= clock-sh4.o
3041504c39SPaul Mundtendif
3136ddf31bSPaul Mundt
3236ddf31bSPaul Mundt# Additional clocks by subtype
3336ddf31bSPaul Mundtclock-$(CONFIG_CPU_SUBTYPE_SH4_202)	+= clock-sh4-202.o
3436ddf31bSPaul Mundt
3536ddf31bSPaul Mundtobj-y	+= $(clock-y)
36