blob: f6aba6d61d8995d7810eede64e27fb50fc62af65 [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
Kuninori Morimoto6c01ba42011-11-10 18:45:52 -080011obj-$(CONFIG_ARCH_R8A7740) += setup-r8a7740.o clock-r8a7740.o intc-r8a7740.o
Magnus Dammf411fad2011-12-14 01:36:12 +090012obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o clock-r8a7779.o intc-r8a7779.o
Magnus Damm7f627f02012-05-16 15:44:58 +090013obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o clock-emev2.o
Magnus Dammc793c1b2010-02-05 11:14:49 +000014
Magnus Damm1c51ed42010-12-14 16:56:55 +090015# SMP objects
16smp-y := platsmp.o headsmp.o
17smp-$(CONFIG_HOTPLUG_CPU) += hotplug.o
Magnus Damm72f4d572010-12-14 16:57:11 +090018smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o
Magnus Dammf40aaf62012-01-10 17:44:39 +090019smp-$(CONFIG_ARCH_R8A7779) += smp-r8a7779.o
Magnus Dammbd5a8752012-05-16 15:45:25 +090020smp-$(CONFIG_ARCH_EMEV2) += smp-emev2.o
Magnus Damm1c51ed42010-12-14 16:56:55 +090021
Magnus Damm7fdda672010-02-10 20:10:55 +090022# Pinmux setup
Magnus Damm09dd7de2010-12-14 16:15:35 +090023pfc-y :=
Magnus Damm09dd7de2010-12-14 16:15:35 +090024pfc-$(CONFIG_ARCH_SH7372) += pfc-sh7372.o
25pfc-$(CONFIG_ARCH_SH73A0) += pfc-sh73a0.o
Kuninori Morimoto5ade0672011-11-10 18:46:08 -080026pfc-$(CONFIG_ARCH_R8A7740) += pfc-r8a7740.o
Magnus Damm19c43fc2011-12-14 01:36:22 +090027pfc-$(CONFIG_ARCH_R8A7779) += pfc-r8a7779.o
Magnus Damm7fdda672010-02-10 20:10:55 +090028
Magnus Damm863b1712010-12-28 08:27:01 +000029# IRQ objects
Magnus Damm863b1712010-12-28 08:27:01 +000030obj-$(CONFIG_ARCH_SH7372) += entry-intc.o
Kuninori Morimoto215d6cc2011-11-10 18:46:35 -080031obj-$(CONFIG_ARCH_R8A7740) += entry-intc.o
Magnus Damm863b1712010-12-28 08:27:01 +000032
Magnus Dammc3dada12011-04-29 02:23:28 +090033# PM objects
34obj-$(CONFIG_SUSPEND) += suspend.o
Magnus Damm0af48172011-04-29 02:36:07 +090035obj-$(CONFIG_CPU_IDLE) += cpuidle.o
Kuninori Morimoto8f45b112012-07-05 01:24:46 -070036obj-$(CONFIG_ARCH_SHMOBILE) += pm-rmobile.o
Magnus Damm97991652011-04-29 02:28:08 +090037obj-$(CONFIG_ARCH_SH7372) += pm-sh7372.o sleep-sh7372.o
Kuninori Morimoto84592932012-07-05 01:25:58 -070038obj-$(CONFIG_ARCH_R8A7740) += pm-r8a7740.o
Magnus Damma662c082012-01-10 15:50:01 +090039obj-$(CONFIG_ARCH_R8A7779) += pm-r8a7779.o
Bastian Hecht13baf882012-12-05 12:13:06 +000040obj-$(CONFIG_ARCH_SH73A0) += pm-sh73a0.o
Magnus Dammc3dada12011-04-29 02:23:28 +090041
Magnus Dammc793c1b2010-02-05 11:14:49 +000042# Board objects
Magnus Damm2b7eda62010-02-05 11:14:58 +000043obj-$(CONFIG_MACH_AP4EVB) += board-ap4evb.o
Magnus Damm6d9598e2010-11-17 10:59:31 +000044obj-$(CONFIG_MACH_AG5EVM) += board-ag5evm.o
Kuninori Morimoto920adc72010-11-29 02:21:21 +000045obj-$(CONFIG_MACH_MACKEREL) += board-mackerel.o
Magnus Damm28626632011-08-18 05:44:07 +000046obj-$(CONFIG_MACH_KOTA2) += board-kota2.o
Kuninori Morimotod55c9a92011-11-10 18:46:45 -080047obj-$(CONFIG_MACH_BONITO) += board-bonito.o
Magnus Dammf411fad2011-12-14 01:36:12 +090048obj-$(CONFIG_MACH_MARZEN) += board-marzen.o
Kuninori Morimoto4d22e562012-04-06 01:28:59 -070049obj-$(CONFIG_MACH_ARMADILLO800EVA) += board-armadillo800eva.o
Magnus Dammc050fb12012-05-16 15:45:16 +090050obj-$(CONFIG_MACH_KZM9D) += board-kzm9d.o
Kuninori Morimoto9b93e242012-04-10 20:57:31 -070051obj-$(CONFIG_MACH_KZM9G) += board-kzm9g.o
Magnus Damm09dd7de2010-12-14 16:15:35 +090052
53# Framework support
Magnus Damm1c51ed42010-12-14 16:56:55 +090054obj-$(CONFIG_SMP) += $(smp-y)
Magnus Damm09dd7de2010-12-14 16:15:35 +090055obj-$(CONFIG_GENERIC_GPIO) += $(pfc-y)