2005-04-16 22:20:36 +00:00
|
|
|
#
|
|
|
|
# Makefile for the Linux/SuperH SH-4 backends.
|
|
|
|
#
|
|
|
|
|
2007-05-08 04:01:37 +00:00
|
|
|
obj-y := probe.o common.o
|
|
|
|
common-y += $(addprefix ../sh3/, entry.o ex.o)
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2009-03-06 09:47:02 +00:00
|
|
|
obj-$(CONFIG_HIBERNATION) += $(addprefix ../sh3/, swsusp.o)
|
2007-11-30 09:42:27 +00:00
|
|
|
obj-$(CONFIG_SH_FPU) += fpu.o softfloat.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_SH_STORE_QUEUES) += sq.o
|
|
|
|
|
2009-11-05 08:02:03 +00:00
|
|
|
# Perf events
|
2009-11-12 07:20:36 +00:00
|
|
|
perf-$(CONFIG_CPU_SUBTYPE_SH7750) := perf_event.o
|
|
|
|
perf-$(CONFIG_CPU_SUBTYPE_SH7750S) := perf_event.o
|
|
|
|
perf-$(CONFIG_CPU_SUBTYPE_SH7091) := perf_event.o
|
2009-11-05 08:02:03 +00:00
|
|
|
|
2006-09-27 07:43:28 +00:00
|
|
|
# CPU subtype setup
|
2006-09-27 08:30:35 +00:00
|
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7750) += setup-sh7750.o
|
2007-05-15 07:25:47 +00:00
|
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7750R) += setup-sh7750.o
|
|
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7750S) += setup-sh7750.o
|
|
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7091) += setup-sh7750.o
|
2006-09-27 08:30:35 +00:00
|
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7751) += setup-sh7750.o
|
2007-05-15 07:25:47 +00:00
|
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7751R) += setup-sh7750.o
|
2006-09-27 08:30:35 +00:00
|
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7760) += setup-sh7760.o
|
|
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH4_202) += setup-sh4-202.o
|
2006-09-27 07:43:28 +00:00
|
|
|
|
2006-01-17 06:14:17 +00:00
|
|
|
# Primary on-chip clocks (common)
|
2006-12-11 11:28:03 +00:00
|
|
|
ifndef CONFIG_CPU_SH4A
|
2006-01-17 06:14:17 +00:00
|
|
|
clock-$(CONFIG_CPU_SH4) := clock-sh4.o
|
2006-12-11 11:28:03 +00:00
|
|
|
endif
|
2006-01-17 06:14:17 +00:00
|
|
|
|
|
|
|
# Additional clocks by subtype
|
|
|
|
clock-$(CONFIG_CPU_SUBTYPE_SH4_202) += clock-sh4-202.o
|
|
|
|
|
2009-11-12 07:20:36 +00:00
|
|
|
obj-y += $(clock-y)
|
|
|
|
obj-$(CONFIG_PERF_EVENTS) += $(perf-y)
|