blob: 2d42de46db8d876d3735227aa85914e0f720ac31 [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
Kuninori Morimotoccb7cc72013-03-21 03:01:36 -070013obj-$(CONFIG_ARCH_R8A7778) += setup-r8a7778.o clock-r8a7778.o
Magnus Dammf411fad2011-12-14 01:36:12 +090014obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o clock-r8a7779.o intc-r8a7779.o
Magnus Damm7f627f02012-05-16 15:44:58 +090015obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o clock-emev2.o
Magnus Dammc793c1b2010-02-05 11:14:49 +000016
Magnus Damm1c51ed42010-12-14 16:56:55 +090017# SMP objects
18smp-y := platsmp.o headsmp.o
Magnus Dammec0d84a2013-02-13 22:47:07 +090019smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o headsmp-scu.o
Magnus Damm4c822842013-02-13 22:47:17 +090020smp-$(CONFIG_ARCH_R8A7779) += smp-r8a7779.o headsmp-scu.o
21smp-$(CONFIG_ARCH_EMEV2) += smp-emev2.o headsmp-scu.o
Magnus Damm1c51ed42010-12-14 16:56:55 +090022
Magnus Damm863b1712010-12-28 08:27:01 +000023# IRQ objects
Magnus Damm863b1712010-12-28 08:27:01 +000024obj-$(CONFIG_ARCH_SH7372) += entry-intc.o
Kuninori Morimoto215d6cc2011-11-10 18:46:35 -080025obj-$(CONFIG_ARCH_R8A7740) += entry-intc.o
Magnus Damm863b1712010-12-28 08:27:01 +000026
Magnus Dammc3dada12011-04-29 02:23:28 +090027# PM objects
28obj-$(CONFIG_SUSPEND) += suspend.o
Magnus Damm0af48172011-04-29 02:36:07 +090029obj-$(CONFIG_CPU_IDLE) += cpuidle.o
Kuninori Morimoto8f45b112012-07-05 01:24:46 -070030obj-$(CONFIG_ARCH_SHMOBILE) += pm-rmobile.o
Magnus Damm97991652011-04-29 02:28:08 +090031obj-$(CONFIG_ARCH_SH7372) += pm-sh7372.o sleep-sh7372.o
Kuninori Morimoto84592932012-07-05 01:25:58 -070032obj-$(CONFIG_ARCH_R8A7740) += pm-r8a7740.o
Magnus Damma662c082012-01-10 15:50:01 +090033obj-$(CONFIG_ARCH_R8A7779) += pm-r8a7779.o
Bastian Hecht13baf882012-12-05 12:13:06 +000034obj-$(CONFIG_ARCH_SH73A0) += pm-sh73a0.o
Magnus Dammc3dada12011-04-29 02:23:28 +090035
Magnus Dammc793c1b2010-02-05 11:14:49 +000036# Board objects
Magnus Damm2b7eda62010-02-05 11:14:58 +000037obj-$(CONFIG_MACH_AP4EVB) += board-ap4evb.o
Magnus Damm6d9598e2010-11-17 10:59:31 +000038obj-$(CONFIG_MACH_AG5EVM) += board-ag5evm.o
Kuninori Morimoto920adc72010-11-29 02:21:21 +000039obj-$(CONFIG_MACH_MACKEREL) += board-mackerel.o
Magnus Damm28626632011-08-18 05:44:07 +000040obj-$(CONFIG_MACH_KOTA2) += board-kota2.o
Kuninori Morimotod55c9a92011-11-10 18:46:45 -080041obj-$(CONFIG_MACH_BONITO) += board-bonito.o
Magnus Dammf411fad2011-12-14 01:36:12 +090042obj-$(CONFIG_MACH_MARZEN) += board-marzen.o
Kuninori Morimoto4d22e562012-04-06 01:28:59 -070043obj-$(CONFIG_MACH_ARMADILLO800EVA) += board-armadillo800eva.o
Magnus Dammc050fb12012-05-16 15:45:16 +090044obj-$(CONFIG_MACH_KZM9D) += board-kzm9d.o
Kuninori Morimoto9b93e242012-04-10 20:57:31 -070045obj-$(CONFIG_MACH_KZM9G) += board-kzm9g.o
Magnus Damm09dd7de2010-12-14 16:15:35 +090046
47# Framework support
Magnus Damm1c51ed42010-12-14 16:56:55 +090048obj-$(CONFIG_SMP) += $(smp-y)