blob: 228193cc9a3813bf9299e394d83a25b6d87bb603 [file] [log] [blame]
Magnus Dammc793c1b2010-02-05 11:14:49 +00001#
2# Makefile for the linux kernel.
3#
4
Magnus Dammefacfce2013-07-18 05:31:09 +09005ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/mach-shmobile/include
6
Magnus Dammc793c1b2010-02-05 11:14:49 +00007# Common objects
Magnus Damma360feb2013-07-18 05:30:59 +09008obj-y := timer.o console.o
Magnus Dammc793c1b2010-02-05 11:14:49 +00009
10# CPU objects
Magnus Damma360feb2013-07-18 05:30:59 +090011obj-$(CONFIG_ARCH_SH7372) += setup-sh7372.o intc-sh7372.o
12obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o intc-sh73a0.o
13obj-$(CONFIG_ARCH_R8A73A4) += setup-r8a73a4.o
Linus Torvaldsfa915152013-09-09 16:33:57 -070014obj-$(CONFIG_ARCH_R8A7740) += setup-r8a7740.o
Magnus Damma360feb2013-07-18 05:30:59 +090015obj-$(CONFIG_ARCH_R8A7778) += setup-r8a7778.o
Linus Torvaldsfa915152013-09-09 16:33:57 -070016obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o
Magnus Damma360feb2013-07-18 05:30:59 +090017obj-$(CONFIG_ARCH_R8A7790) += setup-r8a7790.o
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +090018obj-$(CONFIG_ARCH_R8A7791) += setup-r8a7791.o
Magnus Damma360feb2013-07-18 05:30:59 +090019obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o
20
21# Clock objects
22ifndef CONFIG_COMMON_CLK
23obj-y += clock.o
24obj-$(CONFIG_ARCH_SH7372) += clock-sh7372.o
25obj-$(CONFIG_ARCH_SH73A0) += clock-sh73a0.o
26obj-$(CONFIG_ARCH_R8A73A4) += clock-r8a73a4.o
27obj-$(CONFIG_ARCH_R8A7740) += clock-r8a7740.o
28obj-$(CONFIG_ARCH_R8A7778) += clock-r8a7778.o
29obj-$(CONFIG_ARCH_R8A7779) += clock-r8a7779.o
30obj-$(CONFIG_ARCH_R8A7790) += clock-r8a7790.o
Hisashi Nakamura0d0771ab2013-09-04 12:45:57 +090031obj-$(CONFIG_ARCH_R8A7791) += clock-r8a7791.o
Magnus Damma360feb2013-07-18 05:30:59 +090032obj-$(CONFIG_ARCH_EMEV2) += clock-emev2.o
33endif
Magnus Dammc793c1b2010-02-05 11:14:49 +000034
Magnus Damm1c51ed42010-12-14 16:56:55 +090035# SMP objects
36smp-y := platsmp.o headsmp.o
Magnus Damm12eb8472013-07-31 16:07:21 +090037smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o headsmp-scu.o platsmp-scu.o
Magnus Damm0ca28942013-07-31 16:07:31 +090038smp-$(CONFIG_ARCH_R8A7779) += smp-r8a7779.o headsmp-scu.o platsmp-scu.o
Magnus Damm0da60222013-07-31 16:07:40 +090039smp-$(CONFIG_ARCH_EMEV2) += smp-emev2.o headsmp-scu.o platsmp-scu.o
Magnus Damm1c51ed42010-12-14 16:56:55 +090040
Magnus Damm863b1712010-12-28 08:27:01 +000041# IRQ objects
Magnus Damm863b1712010-12-28 08:27:01 +000042obj-$(CONFIG_ARCH_SH7372) += entry-intc.o
43
Magnus Dammc3dada12011-04-29 02:23:28 +090044# PM objects
45obj-$(CONFIG_SUSPEND) += suspend.o
Magnus Damm0af48172011-04-29 02:36:07 +090046obj-$(CONFIG_CPU_IDLE) += cpuidle.o
Magnus Damm0173a742013-07-09 19:40:01 +090047obj-$(CONFIG_ARCH_SH7372) += pm-sh7372.o sleep-sh7372.o pm-rmobile.o
Bastian Hecht13baf882012-12-05 12:13:06 +000048obj-$(CONFIG_ARCH_SH73A0) += pm-sh73a0.o
Magnus Damm0173a742013-07-09 19:40:01 +090049obj-$(CONFIG_ARCH_R8A7740) += pm-r8a7740.o pm-rmobile.o
50obj-$(CONFIG_ARCH_R8A7779) += pm-r8a7779.o
Magnus Dammc3dada12011-04-29 02:23:28 +090051
Magnus Dammc793c1b2010-02-05 11:14:49 +000052# Board objects
Magnus Damm78ded162013-03-29 17:00:02 +090053obj-$(CONFIG_MACH_APE6EVM) += board-ape6evm.o
Guennadi Liakhovetski69f36662013-07-08 18:04:57 +020054obj-$(CONFIG_MACH_APE6EVM_REFERENCE) += board-ape6evm-reference.o
Kuninori Morimoto920adc72010-11-29 02:21:21 +000055obj-$(CONFIG_MACH_MACKEREL) += board-mackerel.o
Kuninori Morimoto53e42c22013-03-21 03:03:38 -070056obj-$(CONFIG_MACH_BOCKW) += board-bockw.o
Kuninori Morimotocfa66a82013-07-24 00:36:51 -070057obj-$(CONFIG_MACH_BOCKW_REFERENCE) += board-bockw-reference.o
Magnus Dammf411fad2011-12-14 01:36:12 +090058obj-$(CONFIG_MACH_MARZEN) += board-marzen.o
Simon Horman73d6a692013-01-29 11:40:18 +090059obj-$(CONFIG_MACH_MARZEN_REFERENCE) += board-marzen-reference.o
Magnus Damm3cc828f2013-03-29 17:49:37 +090060obj-$(CONFIG_MACH_LAGER) += board-lager.o
Simon Horman6dace672013-06-28 13:42:16 +090061obj-$(CONFIG_MACH_LAGER_REFERENCE) += board-lager-reference.o
Kuninori Morimoto4d22e562012-04-06 01:28:59 -070062obj-$(CONFIG_MACH_ARMADILLO800EVA) += board-armadillo800eva.o
Bastian Hecht76b92b42013-04-17 12:34:06 +020063obj-$(CONFIG_MACH_ARMADILLO800EVA_REFERENCE) += board-armadillo800eva-reference.o
Magnus Dammc050fb12012-05-16 15:45:16 +090064obj-$(CONFIG_MACH_KZM9D) += board-kzm9d.o
Magnus Damm03393e82013-07-08 15:00:30 +090065obj-$(CONFIG_MACH_KZM9D_REFERENCE) += board-kzm9d-reference.o
Kuninori Morimoto9b93e242012-04-10 20:57:31 -070066obj-$(CONFIG_MACH_KZM9G) += board-kzm9g.o
Simon Hormanb8b82b22012-11-22 00:34:25 +090067obj-$(CONFIG_MACH_KZM9G_REFERENCE) += board-kzm9g-reference.o
Magnus Damm09dd7de2010-12-14 16:15:35 +090068
69# Framework support
Magnus Damm1c51ed42010-12-14 16:56:55 +090070obj-$(CONFIG_SMP) += $(smp-y)