blob: c5a43ef7cebf468873745ae750637605e0415eb1 [file] [log] [blame]
Magnus Dammc793c1b2010-02-05 11:14:49 +00001#
2# Makefile for the linux kernel.
3#
4
5# Common objects
Rafael J. Wysocki35f2b0b2012-08-15 20:57:27 +02006obj-y := timer.o console.o clock.o
Magnus Dammc793c1b2010-02-05 11:14:49 +00007
8# CPU objects
Magnus Damm495b3ce2010-05-12 14:21:34 +00009obj-$(CONFIG_ARCH_SH7372) += setup-sh7372.o clock-sh7372.o intc-sh7372.o
Magnus Damm5f53a562010-12-21 08:37:32 +000010obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o clock-sh73a0.o intc-sh73a0.o
Magnus Dammeccf0602013-03-26 10:34:24 +090011obj-$(CONFIG_ARCH_R8A73A4) += setup-r8a73a4.o clock-r8a73a4.o
Kuninori Morimoto6c01ba42011-11-10 18:45:52 -080012obj-$(CONFIG_ARCH_R8A7740) += setup-r8a7740.o clock-r8a7740.o intc-r8a7740.o
Magnus Dammf411fad2011-12-14 01:36:12 +090013obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o clock-r8a7779.o intc-r8a7779.o
Magnus Damm7f627f02012-05-16 15:44:58 +090014obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o clock-emev2.o
Magnus Dammc793c1b2010-02-05 11:14:49 +000015
Magnus Damm1c51ed42010-12-14 16:56:55 +090016# SMP objects
17smp-y := platsmp.o headsmp.o
Magnus Dammec0d84a2013-02-13 22:47:07 +090018smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o headsmp-scu.o
Magnus Damm4c822842013-02-13 22:47:17 +090019smp-$(CONFIG_ARCH_R8A7779) += smp-r8a7779.o headsmp-scu.o
20smp-$(CONFIG_ARCH_EMEV2) += smp-emev2.o headsmp-scu.o
Magnus Damm1c51ed42010-12-14 16:56:55 +090021
Magnus Damm863b1712010-12-28 08:27:01 +000022# IRQ objects
Magnus Damm863b1712010-12-28 08:27:01 +000023obj-$(CONFIG_ARCH_SH7372) += entry-intc.o
Kuninori Morimoto215d6cc2011-11-10 18:46:35 -080024obj-$(CONFIG_ARCH_R8A7740) += entry-intc.o
Magnus Damm863b1712010-12-28 08:27:01 +000025
Magnus Dammc3dada12011-04-29 02:23:28 +090026# PM objects
27obj-$(CONFIG_SUSPEND) += suspend.o
Magnus Damm0af48172011-04-29 02:36:07 +090028obj-$(CONFIG_CPU_IDLE) += cpuidle.o
Kuninori Morimoto8f45b112012-07-05 01:24:46 -070029obj-$(CONFIG_ARCH_SHMOBILE) += pm-rmobile.o
Magnus Damm97991652011-04-29 02:28:08 +090030obj-$(CONFIG_ARCH_SH7372) += pm-sh7372.o sleep-sh7372.o
Kuninori Morimoto84592932012-07-05 01:25:58 -070031obj-$(CONFIG_ARCH_R8A7740) += pm-r8a7740.o
Magnus Damma662c082012-01-10 15:50:01 +090032obj-$(CONFIG_ARCH_R8A7779) += pm-r8a7779.o
Bastian Hecht13baf882012-12-05 12:13:06 +000033obj-$(CONFIG_ARCH_SH73A0) += pm-sh73a0.o
Magnus Dammc3dada12011-04-29 02:23:28 +090034
Magnus Dammc793c1b2010-02-05 11:14:49 +000035# Board objects
Magnus Damm2b7eda62010-02-05 11:14:58 +000036obj-$(CONFIG_MACH_AP4EVB) += board-ap4evb.o
Magnus Damm6d9598e2010-11-17 10:59:31 +000037obj-$(CONFIG_MACH_AG5EVM) += board-ag5evm.o
Kuninori Morimoto920adc72010-11-29 02:21:21 +000038obj-$(CONFIG_MACH_MACKEREL) += board-mackerel.o
Magnus Damm28626632011-08-18 05:44:07 +000039obj-$(CONFIG_MACH_KOTA2) += board-kota2.o
Kuninori Morimotod55c9a92011-11-10 18:46:45 -080040obj-$(CONFIG_MACH_BONITO) += board-bonito.o
Magnus Dammf411fad2011-12-14 01:36:12 +090041obj-$(CONFIG_MACH_MARZEN) += board-marzen.o
Kuninori Morimoto4d22e562012-04-06 01:28:59 -070042obj-$(CONFIG_MACH_ARMADILLO800EVA) += board-armadillo800eva.o
Magnus Dammc050fb12012-05-16 15:45:16 +090043obj-$(CONFIG_MACH_KZM9D) += board-kzm9d.o
Kuninori Morimoto9b93e242012-04-10 20:57:31 -070044obj-$(CONFIG_MACH_KZM9G) += board-kzm9g.o
Magnus Damm09dd7de2010-12-14 16:15:35 +090045
46# Framework support
Magnus Damm1c51ed42010-12-14 16:56:55 +090047obj-$(CONFIG_SMP) += $(smp-y)