forked from Minki/linux
05627486ab
Now that select no longer works for selecting the "closest" CPU, we have to explicitly reference the precise sub-type in the few places where it actually matters (presently only setup code and some legacy sh-sci cruft). Signed-off-by: Paul Mundt <lethal@linux-sh.org>
30 lines
844 B
Makefile
30 lines
844 B
Makefile
#
|
|
# Makefile for the Linux/SuperH SH-4 backends.
|
|
#
|
|
|
|
obj-y := probe.o common.o
|
|
common-y += $(addprefix ../sh3/, entry.o ex.o)
|
|
|
|
obj-$(CONFIG_SH_FPU) += fpu.o
|
|
obj-$(CONFIG_SH_STORE_QUEUES) += sq.o
|
|
|
|
# CPU subtype setup
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7750) += setup-sh7750.o
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7750R) += setup-sh7750.o
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7750S) += setup-sh7750.o
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7091) += setup-sh7750.o
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7751) += setup-sh7750.o
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7751R) += setup-sh7750.o
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7760) += setup-sh7760.o
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH4_202) += setup-sh4-202.o
|
|
|
|
# Primary on-chip clocks (common)
|
|
ifndef CONFIG_CPU_SH4A
|
|
clock-$(CONFIG_CPU_SH4) := clock-sh4.o
|
|
endif
|
|
|
|
# Additional clocks by subtype
|
|
clock-$(CONFIG_CPU_SUBTYPE_SH4_202) += clock-sh4-202.o
|
|
|
|
obj-y += $(clock-y)
|