blob: a3cad5360a71b63bafdbed612e19fb43354fe5dd [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
Magnus Dammc793c1b2010-02-05 11:14:49 +000013
Magnus Damm1c51ed42010-12-14 16:56:55 +090014# SMP objects
15smp-y := platsmp.o headsmp.o
16smp-$(CONFIG_HOTPLUG_CPU) += hotplug.o
17smp-$(CONFIG_LOCAL_TIMERS) += localtimer.o
Magnus Damm72f4d572010-12-14 16:57:11 +090018smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o
Magnus Damm1c51ed42010-12-14 16:56:55 +090019
Magnus Damm7fdda672010-02-10 20:10:55 +090020# Pinmux setup
Magnus Damm09dd7de2010-12-14 16:15:35 +090021pfc-y :=
22pfc-$(CONFIG_ARCH_SH7367) += pfc-sh7367.o
23pfc-$(CONFIG_ARCH_SH7377) += pfc-sh7377.o
24pfc-$(CONFIG_ARCH_SH7372) += pfc-sh7372.o
25pfc-$(CONFIG_ARCH_SH73A0) += pfc-sh73a0.o
Magnus Damm7fdda672010-02-10 20:10:55 +090026
Magnus Damm863b1712010-12-28 08:27:01 +000027# IRQ objects
28obj-$(CONFIG_ARCH_SH7367) += entry-intc.o
29obj-$(CONFIG_ARCH_SH7377) += entry-intc.o
30obj-$(CONFIG_ARCH_SH7372) += entry-intc.o
Magnus Damme74a9622010-12-28 08:27:10 +000031obj-$(CONFIG_ARCH_SH73A0) += entry-gic.o
Magnus Damm863b1712010-12-28 08:27:01 +000032
Magnus Dammc3dada12011-04-29 02:23:28 +090033# PM objects
34obj-$(CONFIG_SUSPEND) += suspend.o
35
Magnus Dammc793c1b2010-02-05 11:14:49 +000036# Board objects
37obj-$(CONFIG_MACH_G3EVM) += board-g3evm.o
Magnus Dammf2aaf662010-02-05 11:15:07 +000038obj-$(CONFIG_MACH_G4EVM) += board-g4evm.o
Magnus Damm2b7eda62010-02-05 11:14:58 +000039obj-$(CONFIG_MACH_AP4EVB) += board-ap4evb.o
Magnus Damm6d9598e2010-11-17 10:59:31 +000040obj-$(CONFIG_MACH_AG5EVM) += board-ag5evm.o
Kuninori Morimoto920adc72010-11-29 02:21:21 +000041obj-$(CONFIG_MACH_MACKEREL) += board-mackerel.o
Magnus Damm09dd7de2010-12-14 16:15:35 +090042
43# Framework support
Magnus Damm1c51ed42010-12-14 16:56:55 +090044obj-$(CONFIG_SMP) += $(smp-y)
Magnus Damm09dd7de2010-12-14 16:15:35 +090045obj-$(CONFIG_GENERIC_GPIO) += $(pfc-y)