Makefile 1.7 KB
Newer Older
P
Paul Mundt 已提交
1 2 3 4 5
#
# Makefile for the Linux/SuperH SH-4 backends.
#

# CPU subtype setup
6
obj-$(CONFIG_CPU_SUBTYPE_SH7763)	+= setup-sh7763.o
P
Paul Mundt 已提交
7 8
obj-$(CONFIG_CPU_SUBTYPE_SH7770)	+= setup-sh7770.o
obj-$(CONFIG_CPU_SUBTYPE_SH7780)	+= setup-sh7780.o
9
obj-$(CONFIG_CPU_SUBTYPE_SH7785)	+= setup-sh7785.o
10
obj-$(CONFIG_CPU_SUBTYPE_SH7786)	+= setup-sh7786.o
P
Paul Mundt 已提交
11 12
obj-$(CONFIG_CPU_SUBTYPE_SH7343)	+= setup-sh7343.o
obj-$(CONFIG_CPU_SUBTYPE_SH7722)	+= setup-sh7722.o
13
obj-$(CONFIG_CPU_SUBTYPE_SH7723)	+= setup-sh7723.o
14
obj-$(CONFIG_CPU_SUBTYPE_SH7724)	+= setup-sh7724.o
15
obj-$(CONFIG_CPU_SUBTYPE_SH7366)	+= setup-sh7366.o
16
obj-$(CONFIG_CPU_SUBTYPE_SHX3)		+= setup-shx3.o
P
Paul Mundt 已提交
17

P
Paul Mundt 已提交
18
# SMP setup
P
Paul Mundt 已提交
19
smp-$(CONFIG_CPU_SHX3)			:= smp-shx3.o
P
Paul Mundt 已提交
20

P
Paul Mundt 已提交
21
# Primary on-chip clocks (common)
22
clock-$(CONFIG_CPU_SUBTYPE_SH7763)	:= clock-sh7763.o
P
Paul Mundt 已提交
23 24
clock-$(CONFIG_CPU_SUBTYPE_SH7770)	:= clock-sh7770.o
clock-$(CONFIG_CPU_SUBTYPE_SH7780)	:= clock-sh7780.o
25
clock-$(CONFIG_CPU_SUBTYPE_SH7785)	:= clock-sh7785.o
26
clock-$(CONFIG_CPU_SUBTYPE_SH7786)	:= clock-sh7786.o
M
Magnus Damm 已提交
27
clock-$(CONFIG_CPU_SUBTYPE_SH7343)	:= clock-sh7343.o
M
Magnus Damm 已提交
28
clock-$(CONFIG_CPU_SUBTYPE_SH7722)	:= clock-sh7722.o hwblk-sh7722.o
M
Magnus Damm 已提交
29
clock-$(CONFIG_CPU_SUBTYPE_SH7723)	:= clock-sh7723.o hwblk-sh7723.o
M
Magnus Damm 已提交
30
clock-$(CONFIG_CPU_SUBTYPE_SH7724)	:= clock-sh7724.o hwblk-sh7724.o
M
Magnus Damm 已提交
31
clock-$(CONFIG_CPU_SUBTYPE_SH7366)	:= clock-sh7366.o
32
clock-$(CONFIG_CPU_SUBTYPE_SHX3)	:= clock-shx3.o
P
Paul Mundt 已提交
33

M
Magnus Damm 已提交
34 35
# Pinmux setup
pinmux-$(CONFIG_CPU_SUBTYPE_SH7722)	:= pinmux-sh7722.o
M
Magnus Damm 已提交
36
pinmux-$(CONFIG_CPU_SUBTYPE_SH7723)	:= pinmux-sh7723.o
37
pinmux-$(CONFIG_CPU_SUBTYPE_SH7724)	:= pinmux-sh7724.o
M
Magnus Damm 已提交
38
pinmux-$(CONFIG_CPU_SUBTYPE_SH7785)	:= pinmux-sh7785.o
39
pinmux-$(CONFIG_CPU_SUBTYPE_SH7786)	:= pinmux-sh7786.o
M
Magnus Damm 已提交
40

P
Paul Mundt 已提交
41 42
obj-y				+= $(clock-y)
obj-$(CONFIG_SMP)		+= $(smp-y)
M
Magnus Damm 已提交
43
obj-$(CONFIG_GENERIC_GPIO)	+= $(pinmux-y)