Makefile (7483d45f0aee3afc0646d185cabd4af9f6cab58c) Makefile (fea88a0c02822fbb91a0b8301bf9af04377876a3)
1#
2# Makefile for the Linux/SuperH SH-4 backends.
3#
4
5# CPU subtype setup
6obj-$(CONFIG_CPU_SUBTYPE_SH7757) += setup-sh7757.o
7obj-$(CONFIG_CPU_SUBTYPE_SH7763) += setup-sh7763.o
8obj-$(CONFIG_CPU_SUBTYPE_SH7770) += setup-sh7770.o
9obj-$(CONFIG_CPU_SUBTYPE_SH7780) += setup-sh7780.o
10obj-$(CONFIG_CPU_SUBTYPE_SH7785) += setup-sh7785.o
11obj-$(CONFIG_CPU_SUBTYPE_SH7786) += setup-sh7786.o intc-shx3.o
12obj-$(CONFIG_CPU_SUBTYPE_SH7343) += setup-sh7343.o
13obj-$(CONFIG_CPU_SUBTYPE_SH7722) += setup-sh7722.o serial-sh7722.o
14obj-$(CONFIG_CPU_SUBTYPE_SH7723) += setup-sh7723.o
15obj-$(CONFIG_CPU_SUBTYPE_SH7724) += setup-sh7724.o
1#
2# Makefile for the Linux/SuperH SH-4 backends.
3#
4
5# CPU subtype setup
6obj-$(CONFIG_CPU_SUBTYPE_SH7757) += setup-sh7757.o
7obj-$(CONFIG_CPU_SUBTYPE_SH7763) += setup-sh7763.o
8obj-$(CONFIG_CPU_SUBTYPE_SH7770) += setup-sh7770.o
9obj-$(CONFIG_CPU_SUBTYPE_SH7780) += setup-sh7780.o
10obj-$(CONFIG_CPU_SUBTYPE_SH7785) += setup-sh7785.o
11obj-$(CONFIG_CPU_SUBTYPE_SH7786) += setup-sh7786.o intc-shx3.o
12obj-$(CONFIG_CPU_SUBTYPE_SH7343) += setup-sh7343.o
13obj-$(CONFIG_CPU_SUBTYPE_SH7722) += setup-sh7722.o serial-sh7722.o
14obj-$(CONFIG_CPU_SUBTYPE_SH7723) += setup-sh7723.o
15obj-$(CONFIG_CPU_SUBTYPE_SH7724) += setup-sh7724.o
16obj-$(CONFIG_CPU_SUBTYPE_SH7734) += setup-sh7734.o
16obj-$(CONFIG_CPU_SUBTYPE_SH7366) += setup-sh7366.o
17obj-$(CONFIG_CPU_SUBTYPE_SHX3) += setup-shx3.o intc-shx3.o
18
19# SMP setup
20smp-$(CONFIG_CPU_SHX3) := smp-shx3.o
21
22# Primary on-chip clocks (common)
23clock-$(CONFIG_CPU_SUBTYPE_SH7757) := clock-sh7757.o
24clock-$(CONFIG_CPU_SUBTYPE_SH7763) := clock-sh7763.o
25clock-$(CONFIG_CPU_SUBTYPE_SH7770) := clock-sh7770.o
26clock-$(CONFIG_CPU_SUBTYPE_SH7780) := clock-sh7780.o
27clock-$(CONFIG_CPU_SUBTYPE_SH7785) := clock-sh7785.o
28clock-$(CONFIG_CPU_SUBTYPE_SH7786) := clock-sh7786.o
29clock-$(CONFIG_CPU_SUBTYPE_SH7343) := clock-sh7343.o
30clock-$(CONFIG_CPU_SUBTYPE_SH7722) := clock-sh7722.o
31clock-$(CONFIG_CPU_SUBTYPE_SH7723) := clock-sh7723.o
32clock-$(CONFIG_CPU_SUBTYPE_SH7724) := clock-sh7724.o
17obj-$(CONFIG_CPU_SUBTYPE_SH7366) += setup-sh7366.o
18obj-$(CONFIG_CPU_SUBTYPE_SHX3) += setup-shx3.o intc-shx3.o
19
20# SMP setup
21smp-$(CONFIG_CPU_SHX3) := smp-shx3.o
22
23# Primary on-chip clocks (common)
24clock-$(CONFIG_CPU_SUBTYPE_SH7757) := clock-sh7757.o
25clock-$(CONFIG_CPU_SUBTYPE_SH7763) := clock-sh7763.o
26clock-$(CONFIG_CPU_SUBTYPE_SH7770) := clock-sh7770.o
27clock-$(CONFIG_CPU_SUBTYPE_SH7780) := clock-sh7780.o
28clock-$(CONFIG_CPU_SUBTYPE_SH7785) := clock-sh7785.o
29clock-$(CONFIG_CPU_SUBTYPE_SH7786) := clock-sh7786.o
30clock-$(CONFIG_CPU_SUBTYPE_SH7343) := clock-sh7343.o
31clock-$(CONFIG_CPU_SUBTYPE_SH7722) := clock-sh7722.o
32clock-$(CONFIG_CPU_SUBTYPE_SH7723) := clock-sh7723.o
33clock-$(CONFIG_CPU_SUBTYPE_SH7724) := clock-sh7724.o
34clock-$(CONFIG_CPU_SUBTYPE_SH7734) := clock-sh7734.o
33clock-$(CONFIG_CPU_SUBTYPE_SH7366) := clock-sh7366.o
34clock-$(CONFIG_CPU_SUBTYPE_SHX3) := clock-shx3.o
35
36# Pinmux setup
37pinmux-$(CONFIG_CPU_SUBTYPE_SH7722) := pinmux-sh7722.o
38pinmux-$(CONFIG_CPU_SUBTYPE_SH7723) := pinmux-sh7723.o
39pinmux-$(CONFIG_CPU_SUBTYPE_SH7724) := pinmux-sh7724.o
40pinmux-$(CONFIG_CPU_SUBTYPE_SH7757) := pinmux-sh7757.o
41pinmux-$(CONFIG_CPU_SUBTYPE_SH7785) := pinmux-sh7785.o
42pinmux-$(CONFIG_CPU_SUBTYPE_SH7786) := pinmux-sh7786.o
43pinmux-$(CONFIG_CPU_SUBTYPE_SHX3) := pinmux-shx3.o
44
45obj-y += $(clock-y)
46obj-$(CONFIG_SMP) += $(smp-y)
47obj-$(CONFIG_GENERIC_GPIO) += $(pinmux-y)
48obj-$(CONFIG_PERF_EVENTS) += perf_event.o
49obj-$(CONFIG_HAVE_HW_BREAKPOINT) += ubc.o
35clock-$(CONFIG_CPU_SUBTYPE_SH7366) := clock-sh7366.o
36clock-$(CONFIG_CPU_SUBTYPE_SHX3) := clock-shx3.o
37
38# Pinmux setup
39pinmux-$(CONFIG_CPU_SUBTYPE_SH7722) := pinmux-sh7722.o
40pinmux-$(CONFIG_CPU_SUBTYPE_SH7723) := pinmux-sh7723.o
41pinmux-$(CONFIG_CPU_SUBTYPE_SH7724) := pinmux-sh7724.o
42pinmux-$(CONFIG_CPU_SUBTYPE_SH7757) := pinmux-sh7757.o
43pinmux-$(CONFIG_CPU_SUBTYPE_SH7785) := pinmux-sh7785.o
44pinmux-$(CONFIG_CPU_SUBTYPE_SH7786) := pinmux-sh7786.o
45pinmux-$(CONFIG_CPU_SUBTYPE_SHX3) := pinmux-shx3.o
46
47obj-y += $(clock-y)
48obj-$(CONFIG_SMP) += $(smp-y)
49obj-$(CONFIG_GENERIC_GPIO) += $(pinmux-y)
50obj-$(CONFIG_PERF_EVENTS) += perf_event.o
51obj-$(CONFIG_HAVE_HW_BREAKPOINT) += ubc.o