Initial commit
[wrt350n-kernel.git] / arch / sh / kernel / cpu / sh4 / Makefile
blobd608557c7a3f7246dee6797d2c1836230a29a8ff
2 # Makefile for the Linux/SuperH SH-4 backends.
5 obj-y := probe.o common.o
6 common-y += $(addprefix ../sh3/, entry.o ex.o)
8 obj-$(CONFIG_SH_FPU) += fpu.o softfloat.o
9 obj-$(CONFIG_SH_STORE_QUEUES) += sq.o
11 # CPU subtype setup
12 obj-$(CONFIG_CPU_SUBTYPE_SH7750) += setup-sh7750.o
13 obj-$(CONFIG_CPU_SUBTYPE_SH7750R) += setup-sh7750.o
14 obj-$(CONFIG_CPU_SUBTYPE_SH7750S) += setup-sh7750.o
15 obj-$(CONFIG_CPU_SUBTYPE_SH7091) += setup-sh7750.o
16 obj-$(CONFIG_CPU_SUBTYPE_SH7751) += setup-sh7750.o
17 obj-$(CONFIG_CPU_SUBTYPE_SH7751R) += setup-sh7750.o
18 obj-$(CONFIG_CPU_SUBTYPE_SH7760) += setup-sh7760.o
19 obj-$(CONFIG_CPU_SUBTYPE_SH4_202) += setup-sh4-202.o
21 # Primary on-chip clocks (common)
22 ifndef CONFIG_CPU_SH4A
23 clock-$(CONFIG_CPU_SH4) := clock-sh4.o
24 endif
26 # Additional clocks by subtype
27 clock-$(CONFIG_CPU_SUBTYPE_SH4_202) += clock-sh4-202.o
29 obj-y += $(clock-y)