blob: 04c97455e640e1a3239b1204517073bf30c7962d [file] [log] [blame]
Magnus Dammc793c1b2010-02-05 11:14:49 +00001#
2# Makefile for the linux kernel.
3#
4
5# Common objects
Paul Mundt750a7ee2011-11-11 15:41:50 +09006obj-y := timer.o console.o clock.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 Dammc793c1b2010-02-05 11:14:49 +000015
Magnus Damm1c51ed42010-12-14 16:56:55 +090016# SMP objects
17smp-y := platsmp.o headsmp.o
18smp-$(CONFIG_HOTPLUG_CPU) += hotplug.o
19smp-$(CONFIG_LOCAL_TIMERS) += localtimer.o
Magnus Damm72f4d572010-12-14 16:57:11 +090020smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.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 :=
24pfc-$(CONFIG_ARCH_SH7367) += pfc-sh7367.o
25pfc-$(CONFIG_ARCH_SH7377) += pfc-sh7377.o
26pfc-$(CONFIG_ARCH_SH7372) += pfc-sh7372.o
27pfc-$(CONFIG_ARCH_SH73A0) += pfc-sh73a0.o
Kuninori Morimoto5ade0672011-11-10 18:46:08 -080028pfc-$(CONFIG_ARCH_R8A7740) += pfc-r8a7740.o
Magnus Damm7fdda672010-02-10 20:10:55 +090029
Magnus Damm863b1712010-12-28 08:27:01 +000030# IRQ objects
31obj-$(CONFIG_ARCH_SH7367) += entry-intc.o
32obj-$(CONFIG_ARCH_SH7377) += entry-intc.o
33obj-$(CONFIG_ARCH_SH7372) += entry-intc.o
Kuninori Morimoto215d6cc2011-11-10 18:46:35 -080034obj-$(CONFIG_ARCH_R8A7740) += entry-intc.o
Magnus Damm863b1712010-12-28 08:27:01 +000035
Magnus Dammc3dada12011-04-29 02:23:28 +090036# PM objects
37obj-$(CONFIG_SUSPEND) += suspend.o
Magnus Damm0af48172011-04-29 02:36:07 +090038obj-$(CONFIG_CPU_IDLE) += cpuidle.o
Magnus Damm97991652011-04-29 02:28:08 +090039obj-$(CONFIG_ARCH_SH7372) += pm-sh7372.o sleep-sh7372.o
Magnus Dammc3dada12011-04-29 02:23:28 +090040
Magnus Dammc793c1b2010-02-05 11:14:49 +000041# Board objects
42obj-$(CONFIG_MACH_G3EVM) += board-g3evm.o
Magnus Dammf2aaf662010-02-05 11:15:07 +000043obj-$(CONFIG_MACH_G4EVM) += board-g4evm.o
Magnus Damm2b7eda62010-02-05 11:14:58 +000044obj-$(CONFIG_MACH_AP4EVB) += board-ap4evb.o
Magnus Damm6d9598e2010-11-17 10:59:31 +000045obj-$(CONFIG_MACH_AG5EVM) += board-ag5evm.o
Kuninori Morimoto920adc72010-11-29 02:21:21 +000046obj-$(CONFIG_MACH_MACKEREL) += board-mackerel.o
Magnus Damm28626632011-08-18 05:44:07 +000047obj-$(CONFIG_MACH_KOTA2) += board-kota2.o
Magnus Dammf411fad2011-12-14 01:36:12 +090048obj-$(CONFIG_MACH_MARZEN) += board-marzen.o
Magnus Damm09dd7de2010-12-14 16:15:35 +090049
50# Framework support
Magnus Damm1c51ed42010-12-14 16:56:55 +090051obj-$(CONFIG_SMP) += $(smp-y)
Magnus Damm09dd7de2010-12-14 16:15:35 +090052obj-$(CONFIG_GENERIC_GPIO) += $(pfc-y)