blob: 5884bea3c3dadcd5e496048518b09b8598038190 [file] [log] [blame]
Magnus Dammc793c1b2010-02-05 11:14:49 +00001#
2# Makefile for the linux kernel.
3#
4
5# Common objects
Magnus Damma360feb2013-07-18 05:30:59 +09006obj-y := timer.o console.o
Magnus Dammc793c1b2010-02-05 11:14:49 +00007
8# CPU objects
Magnus Damma360feb2013-07-18 05:30:59 +09009obj-$(CONFIG_ARCH_SH7372) += setup-sh7372.o intc-sh7372.o
10obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o intc-sh73a0.o
11obj-$(CONFIG_ARCH_R8A73A4) += setup-r8a73a4.o
12obj-$(CONFIG_ARCH_R8A7740) += setup-r8a7740.o intc-r8a7740.o
13obj-$(CONFIG_ARCH_R8A7778) += setup-r8a7778.o
14obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o intc-r8a7779.o
15obj-$(CONFIG_ARCH_R8A7790) += setup-r8a7790.o
16obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o
17
18# Clock objects
19ifndef CONFIG_COMMON_CLK
20obj-y += clock.o
21obj-$(CONFIG_ARCH_SH7372) += clock-sh7372.o
22obj-$(CONFIG_ARCH_SH73A0) += clock-sh73a0.o
23obj-$(CONFIG_ARCH_R8A73A4) += clock-r8a73a4.o
24obj-$(CONFIG_ARCH_R8A7740) += clock-r8a7740.o
25obj-$(CONFIG_ARCH_R8A7778) += clock-r8a7778.o
26obj-$(CONFIG_ARCH_R8A7779) += clock-r8a7779.o
27obj-$(CONFIG_ARCH_R8A7790) += clock-r8a7790.o
28obj-$(CONFIG_ARCH_EMEV2) += clock-emev2.o
29endif
Magnus Dammc793c1b2010-02-05 11:14:49 +000030
Magnus Damm1c51ed42010-12-14 16:56:55 +090031# SMP objects
32smp-y := platsmp.o headsmp.o
Magnus Dammec0d84a2013-02-13 22:47:07 +090033smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o headsmp-scu.o
Magnus Damm4c822842013-02-13 22:47:17 +090034smp-$(CONFIG_ARCH_R8A7779) += smp-r8a7779.o headsmp-scu.o
35smp-$(CONFIG_ARCH_EMEV2) += smp-emev2.o headsmp-scu.o
Magnus Damm1c51ed42010-12-14 16:56:55 +090036
Magnus Damm863b1712010-12-28 08:27:01 +000037# IRQ objects
Magnus Damm863b1712010-12-28 08:27:01 +000038obj-$(CONFIG_ARCH_SH7372) += entry-intc.o
Kuninori Morimoto215d6cc2011-11-10 18:46:35 -080039obj-$(CONFIG_ARCH_R8A7740) += entry-intc.o
Magnus Damm863b1712010-12-28 08:27:01 +000040
Magnus Dammc3dada12011-04-29 02:23:28 +090041# PM objects
42obj-$(CONFIG_SUSPEND) += suspend.o
Magnus Damm0af48172011-04-29 02:36:07 +090043obj-$(CONFIG_CPU_IDLE) += cpuidle.o
Kuninori Morimoto8f45b112012-07-05 01:24:46 -070044obj-$(CONFIG_ARCH_SHMOBILE) += pm-rmobile.o
Magnus Damm97991652011-04-29 02:28:08 +090045obj-$(CONFIG_ARCH_SH7372) += pm-sh7372.o sleep-sh7372.o
Kuninori Morimoto84592932012-07-05 01:25:58 -070046obj-$(CONFIG_ARCH_R8A7740) += pm-r8a7740.o
Magnus Damma662c082012-01-10 15:50:01 +090047obj-$(CONFIG_ARCH_R8A7779) += pm-r8a7779.o
Bastian Hecht13baf882012-12-05 12:13:06 +000048obj-$(CONFIG_ARCH_SH73A0) += pm-sh73a0.o
Magnus Dammc3dada12011-04-29 02:23:28 +090049
Magnus Dammc793c1b2010-02-05 11:14:49 +000050# Board objects
Magnus Damm6d9598e2010-11-17 10:59:31 +000051obj-$(CONFIG_MACH_AG5EVM) += board-ag5evm.o
Magnus Damm78ded162013-03-29 17:00:02 +090052obj-$(CONFIG_MACH_APE6EVM) += board-ape6evm.o
Kuninori Morimoto920adc72010-11-29 02:21:21 +000053obj-$(CONFIG_MACH_MACKEREL) += board-mackerel.o
Magnus Damm28626632011-08-18 05:44:07 +000054obj-$(CONFIG_MACH_KOTA2) += board-kota2.o
Kuninori Morimoto53e42c22013-03-21 03:03:38 -070055obj-$(CONFIG_MACH_BOCKW) += board-bockw.o
Magnus Dammf411fad2011-12-14 01:36:12 +090056obj-$(CONFIG_MACH_MARZEN) += board-marzen.o
Simon Horman73d6a692013-01-29 11:40:18 +090057obj-$(CONFIG_MACH_MARZEN_REFERENCE) += board-marzen-reference.o
Magnus Damm3cc828f2013-03-29 17:49:37 +090058obj-$(CONFIG_MACH_LAGER) += board-lager.o
Kuninori Morimoto4d22e562012-04-06 01:28:59 -070059obj-$(CONFIG_MACH_ARMADILLO800EVA) += board-armadillo800eva.o
Bastian Hecht76b92b42013-04-17 12:34:06 +020060obj-$(CONFIG_MACH_ARMADILLO800EVA_REFERENCE) += board-armadillo800eva-reference.o
Magnus Dammc050fb12012-05-16 15:45:16 +090061obj-$(CONFIG_MACH_KZM9D) += board-kzm9d.o
Magnus Damm03393e82013-07-08 15:00:30 +090062obj-$(CONFIG_MACH_KZM9D_REFERENCE) += board-kzm9d-reference.o
Kuninori Morimoto9b93e242012-04-10 20:57:31 -070063obj-$(CONFIG_MACH_KZM9G) += board-kzm9g.o
Simon Hormanb8b82b22012-11-22 00:34:25 +090064obj-$(CONFIG_MACH_KZM9G_REFERENCE) += board-kzm9g-reference.o
Magnus Damm09dd7de2010-12-14 16:15:35 +090065
66# Framework support
Magnus Damm1c51ed42010-12-14 16:56:55 +090067obj-$(CONFIG_SMP) += $(smp-y)