xref: /openbmc/linux/arch/sh/kernel/cpu/sh4a/Makefile (revision bc49b6ea)
1#
2# Makefile for the Linux/SuperH SH-4 backends.
3#
4
5# CPU subtype setup
6obj-$(CONFIG_CPU_SUBTYPE_SH7763)	+= setup-sh7763.o
7obj-$(CONFIG_CPU_SUBTYPE_SH7770)	+= setup-sh7770.o
8obj-$(CONFIG_CPU_SUBTYPE_SH7780)	+= setup-sh7780.o
9obj-$(CONFIG_CPU_SUBTYPE_SH7785)	+= setup-sh7785.o
10obj-$(CONFIG_CPU_SUBTYPE_SH7786)	+= setup-sh7786.o
11obj-$(CONFIG_CPU_SUBTYPE_SH7343)	+= setup-sh7343.o
12obj-$(CONFIG_CPU_SUBTYPE_SH7722)	+= setup-sh7722.o
13obj-$(CONFIG_CPU_SUBTYPE_SH7723)	+= setup-sh7723.o
14obj-$(CONFIG_CPU_SUBTYPE_SH7724)	+= setup-sh7724.o
15obj-$(CONFIG_CPU_SUBTYPE_SH7366)	+= setup-sh7366.o
16obj-$(CONFIG_CPU_SUBTYPE_SHX3)		+= setup-shx3.o
17
18# SMP setup
19smp-$(CONFIG_CPU_SUBTYPE_SHX3)		:= smp-shx3.o
20
21# Primary on-chip clocks (common)
22clock-$(CONFIG_CPU_SUBTYPE_SH7763)	:= clock-sh7763.o
23clock-$(CONFIG_CPU_SUBTYPE_SH7770)	:= clock-sh7770.o
24clock-$(CONFIG_CPU_SUBTYPE_SH7780)	:= clock-sh7780.o
25clock-$(CONFIG_CPU_SUBTYPE_SH7785)	:= clock-sh7785.o
26clock-$(CONFIG_CPU_SUBTYPE_SH7786)	:= clock-sh7786.o
27clock-$(CONFIG_CPU_SUBTYPE_SH7343)	:= clock-sh7343.o
28clock-$(CONFIG_CPU_SUBTYPE_SH7722)	:= clock-sh7722.o
29clock-$(CONFIG_CPU_SUBTYPE_SH7723)	:= clock-sh7723.o
30clock-$(CONFIG_CPU_SUBTYPE_SH7724)	:= clock-sh7724.o
31clock-$(CONFIG_CPU_SUBTYPE_SH7366)	:= clock-sh7722.o
32clock-$(CONFIG_CPU_SUBTYPE_SHX3)	:= clock-shx3.o
33
34# Pinmux setup
35pinmux-$(CONFIG_CPU_SUBTYPE_SH7722)	:= pinmux-sh7722.o
36pinmux-$(CONFIG_CPU_SUBTYPE_SH7723)	:= pinmux-sh7723.o
37pinmux-$(CONFIG_CPU_SUBTYPE_SH7724)	:= pinmux-sh7724.o
38pinmux-$(CONFIG_CPU_SUBTYPE_SH7785)	:= pinmux-sh7785.o
39pinmux-$(CONFIG_CPU_SUBTYPE_SH7786)	:= pinmux-sh7786.o
40
41obj-y			+= $(clock-y)
42obj-$(CONFIG_SMP)	+= $(smp-y)
43obj-$(CONFIG_GENERIC_GPIO)	+= $(pinmux-y)
44