xref: /openbmc/linux/arch/arm/mach-shmobile/Makefile (revision 39b6f3aa)
1#
2# Makefile for the linux kernel.
3#
4
5# Common objects
6obj-y				:= timer.o console.o clock.o
7
8# CPU objects
9obj-$(CONFIG_ARCH_SH7372)	+= setup-sh7372.o clock-sh7372.o intc-sh7372.o
10obj-$(CONFIG_ARCH_SH73A0)	+= setup-sh73a0.o clock-sh73a0.o intc-sh73a0.o
11obj-$(CONFIG_ARCH_R8A73A4)	+= setup-r8a73a4.o clock-r8a73a4.o
12obj-$(CONFIG_ARCH_R8A7740)	+= setup-r8a7740.o clock-r8a7740.o intc-r8a7740.o
13obj-$(CONFIG_ARCH_R8A7778)	+= setup-r8a7778.o clock-r8a7778.o
14obj-$(CONFIG_ARCH_R8A7779)	+= setup-r8a7779.o clock-r8a7779.o intc-r8a7779.o
15obj-$(CONFIG_ARCH_R8A7790)	+= setup-r8a7790.o clock-r8a7790.o
16obj-$(CONFIG_ARCH_EMEV2)	+= setup-emev2.o clock-emev2.o
17
18# SMP objects
19smp-y				:= platsmp.o headsmp.o
20smp-$(CONFIG_ARCH_SH73A0)	+= smp-sh73a0.o headsmp-scu.o
21smp-$(CONFIG_ARCH_R8A7779)	+= smp-r8a7779.o headsmp-scu.o
22smp-$(CONFIG_ARCH_EMEV2)	+= smp-emev2.o headsmp-scu.o
23
24# IRQ objects
25obj-$(CONFIG_ARCH_SH7372)	+= entry-intc.o
26obj-$(CONFIG_ARCH_R8A7740)	+= entry-intc.o
27
28# PM objects
29obj-$(CONFIG_SUSPEND)		+= suspend.o
30obj-$(CONFIG_CPU_IDLE)		+= cpuidle.o
31obj-$(CONFIG_ARCH_SHMOBILE)	+= pm-rmobile.o
32obj-$(CONFIG_ARCH_SH7372)	+= pm-sh7372.o sleep-sh7372.o
33obj-$(CONFIG_ARCH_R8A7740)	+= pm-r8a7740.o
34obj-$(CONFIG_ARCH_R8A7779)	+= pm-r8a7779.o
35obj-$(CONFIG_ARCH_SH73A0)	+= pm-sh73a0.o
36
37# Board objects
38obj-$(CONFIG_MACH_AP4EVB)	+= board-ap4evb.o
39obj-$(CONFIG_MACH_AG5EVM)	+= board-ag5evm.o
40obj-$(CONFIG_MACH_APE6EVM)	+= board-ape6evm.o
41obj-$(CONFIG_MACH_MACKEREL)	+= board-mackerel.o
42obj-$(CONFIG_MACH_KOTA2)	+= board-kota2.o
43obj-$(CONFIG_MACH_BONITO)	+= board-bonito.o
44obj-$(CONFIG_MACH_BOCKW)	+= board-bockw.o
45obj-$(CONFIG_MACH_MARZEN)	+= board-marzen.o
46obj-$(CONFIG_MACH_MARZEN_REFERENCE)	+= board-marzen-reference.o
47obj-$(CONFIG_MACH_LAGER)	+= board-lager.o
48obj-$(CONFIG_MACH_ARMADILLO800EVA)	+= board-armadillo800eva.o
49obj-$(CONFIG_MACH_KZM9D)	+= board-kzm9d.o
50obj-$(CONFIG_MACH_KZM9G)	+= board-kzm9g.o
51obj-$(CONFIG_MACH_KZM9G_REFERENCE)	+= board-kzm9g-reference.o
52
53# Framework support
54obj-$(CONFIG_SMP)		+= $(smp-y)
55