blob: d61f1eca159ab910e3033fe37cc5aca3856e0b92 [file] [log] [blame]
Magnus Dammc793c1b2010-02-05 11:14:49 +00001#
2# Makefile for the linux kernel.
3#
4
5# Common objects
Magnus Dammf14c4f12010-07-27 08:14:35 +00006obj-y := timer.o console.o clock.o pm_runtime.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 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
18smp-$(CONFIG_LOCAL_TIMERS) += localtimer.o
Magnus Damm72f4d572010-12-14 16:57:11 +090019smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o
Magnus Damm1c51ed42010-12-14 16:56:55 +090020
Magnus Damm7fdda672010-02-10 20:10:55 +090021# Pinmux setup
Magnus Damm09dd7de2010-12-14 16:15:35 +090022pfc-y :=
23pfc-$(CONFIG_ARCH_SH7367) += pfc-sh7367.o
24pfc-$(CONFIG_ARCH_SH7377) += pfc-sh7377.o
25pfc-$(CONFIG_ARCH_SH7372) += pfc-sh7372.o
26pfc-$(CONFIG_ARCH_SH73A0) += pfc-sh73a0.o
Magnus Damm7fdda672010-02-10 20:10:55 +090027
Magnus Damm863b1712010-12-28 08:27:01 +000028# IRQ objects
29obj-$(CONFIG_ARCH_SH7367) += entry-intc.o
30obj-$(CONFIG_ARCH_SH7377) += entry-intc.o
31obj-$(CONFIG_ARCH_SH7372) += entry-intc.o
Magnus Damme74a9622010-12-28 08:27:10 +000032obj-$(CONFIG_ARCH_SH73A0) += entry-gic.o
Kuninori Morimoto6c01ba42011-11-10 18:45:52 -080033obj-$(CONFIG_ARCH_R8A7740) += entry-gic.o
Magnus Damm863b1712010-12-28 08:27:01 +000034
Magnus Dammc3dada12011-04-29 02:23:28 +090035# PM objects
36obj-$(CONFIG_SUSPEND) += suspend.o
Magnus Damm0af48172011-04-29 02:36:07 +090037obj-$(CONFIG_CPU_IDLE) += cpuidle.o
Magnus Damm97991652011-04-29 02:28:08 +090038obj-$(CONFIG_ARCH_SH7372) += pm-sh7372.o sleep-sh7372.o
Magnus Dammc3dada12011-04-29 02:23:28 +090039
Magnus Dammc793c1b2010-02-05 11:14:49 +000040# Board objects
41obj-$(CONFIG_MACH_G3EVM) += board-g3evm.o
Magnus Dammf2aaf662010-02-05 11:15:07 +000042obj-$(CONFIG_MACH_G4EVM) += board-g4evm.o
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
Magnus Damm09dd7de2010-12-14 16:15:35 +090047
48# Framework support
Magnus Damm1c51ed42010-12-14 16:56:55 +090049obj-$(CONFIG_SMP) += $(smp-y)
Magnus Damm09dd7de2010-12-14 16:15:35 +090050obj-$(CONFIG_GENERIC_GPIO) += $(pfc-y)