Makefile 917 字节
Newer Older
L
Linus Torvalds 已提交
1 2 3 4
#
# Makefile for the Linux/SuperH SH-4 backends.
#

5 6
obj-y	:= probe.o common.o
common-y	+= $(addprefix ../sh3/, entry.o ex.o)
L
Linus Torvalds 已提交
7

M
Magnus Damm 已提交
8
obj-$(CONFIG_HIBERNATION)		+= $(addprefix ../sh3/, swsusp.o)
9
obj-$(CONFIG_SH_FPU)			+= fpu.o softfloat.o
L
Linus Torvalds 已提交
10 11
obj-$(CONFIG_SH_STORE_QUEUES)		+= sq.o

12
# CPU subtype setup
13
obj-$(CONFIG_CPU_SUBTYPE_SH7750)	+= setup-sh7750.o
P
Paul Mundt 已提交
14 15 16
obj-$(CONFIG_CPU_SUBTYPE_SH7750R)	+= setup-sh7750.o
obj-$(CONFIG_CPU_SUBTYPE_SH7750S)	+= setup-sh7750.o
obj-$(CONFIG_CPU_SUBTYPE_SH7091)	+= setup-sh7750.o
17
obj-$(CONFIG_CPU_SUBTYPE_SH7751)	+= setup-sh7750.o
P
Paul Mundt 已提交
18
obj-$(CONFIG_CPU_SUBTYPE_SH7751R)	+= setup-sh7750.o
19 20
obj-$(CONFIG_CPU_SUBTYPE_SH7760)	+= setup-sh7760.o
obj-$(CONFIG_CPU_SUBTYPE_SH4_202)	+= setup-sh4-202.o
21

22
# Primary on-chip clocks (common)
P
Paul Mundt 已提交
23
ifndef CONFIG_CPU_SH4A
24
clock-$(CONFIG_CPU_SH4)			:= clock-sh4.o
P
Paul Mundt 已提交
25
endif
26 27 28 29 30

# Additional clocks by subtype
clock-$(CONFIG_CPU_SUBTYPE_SH4_202)	+= clock-sh4-202.o

obj-y	+= $(clock-y)