blob: 8aa1962c22a278dd233022b0886b9a77bba39af4 [file] [log] [blame]
Magnus Dammc793c1b2010-02-05 11:14:49 +00001#
2# Makefile for the linux kernel.
3#
4
5# Common objects
Shawn Guo21cc1b72012-04-26 21:58:41 +08006obj-y := timer.o console.o clock.o common.o
Magnus Dammc793c1b2010-02-05 11:14:49 +00007
8# CPU objects
Magnus Dammf8eef132010-02-09 03:35:42 +00009obj-$(CONFIG_ARCH_SH7367) += setup-sh7367.o clock-sh7367.o intc-sh7367.o
Magnus Damm0163acf2010-05-21 05:19:34 +000010obj-$(CONFIG_ARCH_SH7377) += setup-sh7377.o clock-sh7377.o intc-sh7377.o
Magnus Damm495b3ce2010-05-12 14:21:34 +000011obj-$(CONFIG_ARCH_SH7372) += setup-sh7372.o clock-sh7372.o intc-sh7372.o
Magnus Damm5f53a562010-12-21 08:37:32 +000012obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o clock-sh73a0.o intc-sh73a0.o
Kuninori Morimoto6c01ba42011-11-10 18:45:52 -080013obj-$(CONFIG_ARCH_R8A7740) += setup-r8a7740.o clock-r8a7740.o intc-r8a7740.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
19smp-$(CONFIG_HOTPLUG_CPU) += hotplug.o
Magnus Damm72f4d572010-12-14 16:57:11 +090020smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o
Magnus Dammf40aaf62012-01-10 17:44:39 +090021smp-$(CONFIG_ARCH_R8A7779) += smp-r8a7779.o
Magnus Dammbd5a8752012-05-16 15:45:25 +090022smp-$(CONFIG_ARCH_EMEV2) += smp-emev2.o
Magnus Damm1c51ed42010-12-14 16:56:55 +090023
Magnus Damm7fdda672010-02-10 20:10:55 +090024# Pinmux setup
Magnus Damm09dd7de2010-12-14 16:15:35 +090025pfc-y :=
26pfc-$(CONFIG_ARCH_SH7367) += pfc-sh7367.o
27pfc-$(CONFIG_ARCH_SH7377) += pfc-sh7377.o
28pfc-$(CONFIG_ARCH_SH7372) += pfc-sh7372.o
29pfc-$(CONFIG_ARCH_SH73A0) += pfc-sh73a0.o
Kuninori Morimoto5ade0672011-11-10 18:46:08 -080030pfc-$(CONFIG_ARCH_R8A7740) += pfc-r8a7740.o
Magnus Damm19c43fc2011-12-14 01:36:22 +090031pfc-$(CONFIG_ARCH_R8A7779) += pfc-r8a7779.o
Magnus Damm7fdda672010-02-10 20:10:55 +090032
Magnus Damm863b1712010-12-28 08:27:01 +000033# IRQ objects
34obj-$(CONFIG_ARCH_SH7367) += entry-intc.o
35obj-$(CONFIG_ARCH_SH7377) += entry-intc.o
36obj-$(CONFIG_ARCH_SH7372) += entry-intc.o
Kuninori Morimoto215d6cc2011-11-10 18:46:35 -080037obj-$(CONFIG_ARCH_R8A7740) += entry-intc.o
Magnus Damm863b1712010-12-28 08:27:01 +000038
Magnus Dammc3dada12011-04-29 02:23:28 +090039# PM objects
40obj-$(CONFIG_SUSPEND) += suspend.o
Magnus Damm0af48172011-04-29 02:36:07 +090041obj-$(CONFIG_CPU_IDLE) += cpuidle.o
Magnus Damm97991652011-04-29 02:28:08 +090042obj-$(CONFIG_ARCH_SH7372) += pm-sh7372.o sleep-sh7372.o
Magnus Damma662c082012-01-10 15:50:01 +090043obj-$(CONFIG_ARCH_R8A7779) += pm-r8a7779.o
Magnus Dammc3dada12011-04-29 02:23:28 +090044
Magnus Dammc793c1b2010-02-05 11:14:49 +000045# Board objects
46obj-$(CONFIG_MACH_G3EVM) += board-g3evm.o
Magnus Dammf2aaf662010-02-05 11:15:07 +000047obj-$(CONFIG_MACH_G4EVM) += board-g4evm.o
Magnus Damm2b7eda62010-02-05 11:14:58 +000048obj-$(CONFIG_MACH_AP4EVB) += board-ap4evb.o
Magnus Damm6d9598e2010-11-17 10:59:31 +000049obj-$(CONFIG_MACH_AG5EVM) += board-ag5evm.o
Kuninori Morimoto920adc72010-11-29 02:21:21 +000050obj-$(CONFIG_MACH_MACKEREL) += board-mackerel.o
Magnus Damm28626632011-08-18 05:44:07 +000051obj-$(CONFIG_MACH_KOTA2) += board-kota2.o
Kuninori Morimotod55c9a92011-11-10 18:46:45 -080052obj-$(CONFIG_MACH_BONITO) += board-bonito.o
Magnus Dammf411fad2011-12-14 01:36:12 +090053obj-$(CONFIG_MACH_MARZEN) += board-marzen.o
Kuninori Morimoto4d22e562012-04-06 01:28:59 -070054obj-$(CONFIG_MACH_ARMADILLO800EVA) += board-armadillo800eva.o
Magnus Dammc050fb12012-05-16 15:45:16 +090055obj-$(CONFIG_MACH_KZM9D) += board-kzm9d.o
Kuninori Morimoto9b93e242012-04-10 20:57:31 -070056obj-$(CONFIG_MACH_KZM9G) += board-kzm9g.o
Magnus Damm09dd7de2010-12-14 16:15:35 +090057
58# Framework support
Magnus Damm1c51ed42010-12-14 16:56:55 +090059obj-$(CONFIG_SMP) += $(smp-y)
Magnus Damm09dd7de2010-12-14 16:15:35 +090060obj-$(CONFIG_GENERIC_GPIO) += $(pfc-y)