blob: 6165a517f5806228ec6e09ba8aace908f45458ce [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 Damm0468b2d2013-03-28 00:49:34 +090015obj-$(CONFIG_ARCH_R8A7790) += setup-r8a7790.o clock-r8a7790.o
Magnus Damm7f627f02012-05-16 15:44:58 +090016obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o clock-emev2.o
Magnus Dammc793c1b2010-02-05 11:14:49 +000017
Magnus Damm1c51ed42010-12-14 16:56:55 +090018# SMP objects
19smp-y := platsmp.o headsmp.o
Magnus Dammec0d84a2013-02-13 22:47:07 +090020smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o headsmp-scu.o
Magnus Damm4c822842013-02-13 22:47:17 +090021smp-$(CONFIG_ARCH_R8A7779) += smp-r8a7779.o headsmp-scu.o
22smp-$(CONFIG_ARCH_EMEV2) += smp-emev2.o headsmp-scu.o
Magnus Damm1c51ed42010-12-14 16:56:55 +090023
Magnus Damm863b1712010-12-28 08:27:01 +000024# IRQ objects
Magnus Damm863b1712010-12-28 08:27:01 +000025obj-$(CONFIG_ARCH_SH7372) += entry-intc.o
Kuninori Morimoto215d6cc2011-11-10 18:46:35 -080026obj-$(CONFIG_ARCH_R8A7740) += entry-intc.o
Magnus Damm863b1712010-12-28 08:27:01 +000027
Magnus Dammc3dada12011-04-29 02:23:28 +090028# PM objects
29obj-$(CONFIG_SUSPEND) += suspend.o
Magnus Damm0af48172011-04-29 02:36:07 +090030obj-$(CONFIG_CPU_IDLE) += cpuidle.o
Kuninori Morimoto8f45b112012-07-05 01:24:46 -070031obj-$(CONFIG_ARCH_SHMOBILE) += pm-rmobile.o
Magnus Damm97991652011-04-29 02:28:08 +090032obj-$(CONFIG_ARCH_SH7372) += pm-sh7372.o sleep-sh7372.o
Kuninori Morimoto84592932012-07-05 01:25:58 -070033obj-$(CONFIG_ARCH_R8A7740) += pm-r8a7740.o
Magnus Damma662c082012-01-10 15:50:01 +090034obj-$(CONFIG_ARCH_R8A7779) += pm-r8a7779.o
Bastian Hecht13baf882012-12-05 12:13:06 +000035obj-$(CONFIG_ARCH_SH73A0) += pm-sh73a0.o
Magnus Dammc3dada12011-04-29 02:23:28 +090036
Magnus Dammc793c1b2010-02-05 11:14:49 +000037# Board objects
Magnus Damm6d9598e2010-11-17 10:59:31 +000038obj-$(CONFIG_MACH_AG5EVM) += board-ag5evm.o
Magnus Damm78ded162013-03-29 17:00:02 +090039obj-$(CONFIG_MACH_APE6EVM) += board-ape6evm.o
Kuninori Morimoto920adc72010-11-29 02:21:21 +000040obj-$(CONFIG_MACH_MACKEREL) += board-mackerel.o
Magnus Damm28626632011-08-18 05:44:07 +000041obj-$(CONFIG_MACH_KOTA2) += board-kota2.o
Kuninori Morimoto53e42c22013-03-21 03:03:38 -070042obj-$(CONFIG_MACH_BOCKW) += board-bockw.o
Magnus Dammf411fad2011-12-14 01:36:12 +090043obj-$(CONFIG_MACH_MARZEN) += board-marzen.o
Simon Horman73d6a692013-01-29 11:40:18 +090044obj-$(CONFIG_MACH_MARZEN_REFERENCE) += board-marzen-reference.o
Magnus Damm3cc828f2013-03-29 17:49:37 +090045obj-$(CONFIG_MACH_LAGER) += board-lager.o
Kuninori Morimoto4d22e562012-04-06 01:28:59 -070046obj-$(CONFIG_MACH_ARMADILLO800EVA) += board-armadillo800eva.o
Bastian Hecht76b92b42013-04-17 12:34:06 +020047obj-$(CONFIG_MACH_ARMADILLO800EVA_REFERENCE) += board-armadillo800eva-reference.o
Magnus Dammc050fb12012-05-16 15:45:16 +090048obj-$(CONFIG_MACH_KZM9D) += board-kzm9d.o
Kuninori Morimoto9b93e242012-04-10 20:57:31 -070049obj-$(CONFIG_MACH_KZM9G) += board-kzm9g.o
Simon Hormanb8b82b22012-11-22 00:34:25 +090050obj-$(CONFIG_MACH_KZM9G_REFERENCE) += board-kzm9g-reference.o
Magnus Damm09dd7de2010-12-14 16:15:35 +090051
52# Framework support
Magnus Damm1c51ed42010-12-14 16:56:55 +090053obj-$(CONFIG_SMP) += $(smp-y)