Commit | Line | Data |
---|---|---|
c793c1b0 MD |
1 | # |
2 | # Makefile for the linux kernel. | |
3 | # | |
4 | ||
5 | # Common objects | |
f14c4f14 | 6 | obj-y := timer.o console.o clock.o pm_runtime.o |
c793c1b0 MD |
7 | |
8 | # CPU objects | |
f8eef130 | 9 | obj-$(CONFIG_ARCH_SH7367) += setup-sh7367.o clock-sh7367.o intc-sh7367.o |
0163acf3 | 10 | obj-$(CONFIG_ARCH_SH7377) += setup-sh7377.o clock-sh7377.o intc-sh7377.o |
495b3cea | 11 | obj-$(CONFIG_ARCH_SH7372) += setup-sh7372.o clock-sh7372.o intc-sh7372.o |
5f53a56a | 12 | obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o clock-sh73a0.o intc-sh73a0.o |
c793c1b0 | 13 | |
1c51ed4f MD |
14 | # SMP objects |
15 | smp-y := platsmp.o headsmp.o | |
16 | smp-$(CONFIG_HOTPLUG_CPU) += hotplug.o | |
17 | smp-$(CONFIG_LOCAL_TIMERS) += localtimer.o | |
72f4d579 | 18 | smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o |
1c51ed4f | 19 | |
7fdda678 | 20 | # Pinmux setup |
09dd7ded MD |
21 | pfc-y := |
22 | pfc-$(CONFIG_ARCH_SH7367) += pfc-sh7367.o | |
23 | pfc-$(CONFIG_ARCH_SH7377) += pfc-sh7377.o | |
24 | pfc-$(CONFIG_ARCH_SH7372) += pfc-sh7372.o | |
25 | pfc-$(CONFIG_ARCH_SH73A0) += pfc-sh73a0.o | |
7fdda678 | 26 | |
863b1719 MD |
27 | # IRQ objects |
28 | obj-$(CONFIG_ARCH_SH7367) += entry-intc.o | |
29 | obj-$(CONFIG_ARCH_SH7377) += entry-intc.o | |
30 | obj-$(CONFIG_ARCH_SH7372) += entry-intc.o | |
e74a9625 | 31 | obj-$(CONFIG_ARCH_SH73A0) += entry-gic.o |
863b1719 | 32 | |
c3dada18 MD |
33 | # PM objects |
34 | obj-$(CONFIG_SUSPEND) += suspend.o | |
0af4817b | 35 | obj-$(CONFIG_CPU_IDLE) += cpuidle.o |
97991657 | 36 | obj-$(CONFIG_ARCH_SH7372) += pm-sh7372.o sleep-sh7372.o |
c3dada18 | 37 | |
c793c1b0 MD |
38 | # Board objects |
39 | obj-$(CONFIG_MACH_G3EVM) += board-g3evm.o | |
f2aaf66d | 40 | obj-$(CONFIG_MACH_G4EVM) += board-g4evm.o |
2b7eda63 | 41 | obj-$(CONFIG_MACH_AP4EVB) += board-ap4evb.o |
6d9598e2 | 42 | obj-$(CONFIG_MACH_AG5EVM) += board-ag5evm.o |
920adc75 | 43 | obj-$(CONFIG_MACH_MACKEREL) += board-mackerel.o |
28626632 | 44 | obj-$(CONFIG_MACH_KOTA2) += board-kota2.o |
09dd7ded MD |
45 | |
46 | # Framework support | |
1c51ed4f | 47 | obj-$(CONFIG_SMP) += $(smp-y) |
09dd7ded | 48 | obj-$(CONFIG_GENERIC_GPIO) += $(pfc-y) |