Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the linux kernel. |
| 3 | # |
| 4 | |
| 5 | # Common objects |
Shawn Guo | 21cc1b7 | 2012-04-26 21:58:41 +0800 | [diff] [blame] | 6 | obj-y := timer.o console.o clock.o common.o |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 7 | |
| 8 | # CPU objects |
Magnus Damm | f8eef13 | 2010-02-09 03:35:42 +0000 | [diff] [blame] | 9 | obj-$(CONFIG_ARCH_SH7367) += setup-sh7367.o clock-sh7367.o intc-sh7367.o |
Magnus Damm | 0163acf | 2010-05-21 05:19:34 +0000 | [diff] [blame] | 10 | obj-$(CONFIG_ARCH_SH7377) += setup-sh7377.o clock-sh7377.o intc-sh7377.o |
Magnus Damm | 495b3ce | 2010-05-12 14:21:34 +0000 | [diff] [blame] | 11 | obj-$(CONFIG_ARCH_SH7372) += setup-sh7372.o clock-sh7372.o intc-sh7372.o |
Magnus Damm | 5f53a56 | 2010-12-21 08:37:32 +0000 | [diff] [blame] | 12 | obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o clock-sh73a0.o intc-sh73a0.o |
Kuninori Morimoto | 6c01ba4 | 2011-11-10 18:45:52 -0800 | [diff] [blame] | 13 | obj-$(CONFIG_ARCH_R8A7740) += setup-r8a7740.o clock-r8a7740.o intc-r8a7740.o |
Magnus Damm | f411fad | 2011-12-14 01:36:12 +0900 | [diff] [blame] | 14 | obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o clock-r8a7779.o intc-r8a7779.o |
Magnus Damm | 7f627f0 | 2012-05-16 15:44:58 +0900 | [diff] [blame] | 15 | obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o clock-emev2.o |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 16 | |
Magnus Damm | 1c51ed4 | 2010-12-14 16:56:55 +0900 | [diff] [blame] | 17 | # SMP objects |
| 18 | smp-y := platsmp.o headsmp.o |
| 19 | smp-$(CONFIG_HOTPLUG_CPU) += hotplug.o |
Magnus Damm | 72f4d57 | 2010-12-14 16:57:11 +0900 | [diff] [blame] | 20 | smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o |
Magnus Damm | f40aaf6 | 2012-01-10 17:44:39 +0900 | [diff] [blame] | 21 | smp-$(CONFIG_ARCH_R8A7779) += smp-r8a7779.o |
Magnus Damm | bd5a875 | 2012-05-16 15:45:25 +0900 | [diff] [blame] | 22 | smp-$(CONFIG_ARCH_EMEV2) += smp-emev2.o |
Magnus Damm | 1c51ed4 | 2010-12-14 16:56:55 +0900 | [diff] [blame] | 23 | |
Magnus Damm | 7fdda67 | 2010-02-10 20:10:55 +0900 | [diff] [blame] | 24 | # Pinmux setup |
Magnus Damm | 09dd7de | 2010-12-14 16:15:35 +0900 | [diff] [blame] | 25 | pfc-y := |
| 26 | pfc-$(CONFIG_ARCH_SH7367) += pfc-sh7367.o |
| 27 | pfc-$(CONFIG_ARCH_SH7377) += pfc-sh7377.o |
| 28 | pfc-$(CONFIG_ARCH_SH7372) += pfc-sh7372.o |
| 29 | pfc-$(CONFIG_ARCH_SH73A0) += pfc-sh73a0.o |
Kuninori Morimoto | 5ade067 | 2011-11-10 18:46:08 -0800 | [diff] [blame] | 30 | pfc-$(CONFIG_ARCH_R8A7740) += pfc-r8a7740.o |
Magnus Damm | 19c43fc | 2011-12-14 01:36:22 +0900 | [diff] [blame] | 31 | pfc-$(CONFIG_ARCH_R8A7779) += pfc-r8a7779.o |
Magnus Damm | 7fdda67 | 2010-02-10 20:10:55 +0900 | [diff] [blame] | 32 | |
Magnus Damm | 863b171 | 2010-12-28 08:27:01 +0000 | [diff] [blame] | 33 | # IRQ objects |
| 34 | obj-$(CONFIG_ARCH_SH7367) += entry-intc.o |
| 35 | obj-$(CONFIG_ARCH_SH7377) += entry-intc.o |
| 36 | obj-$(CONFIG_ARCH_SH7372) += entry-intc.o |
Kuninori Morimoto | 215d6cc | 2011-11-10 18:46:35 -0800 | [diff] [blame] | 37 | obj-$(CONFIG_ARCH_R8A7740) += entry-intc.o |
Magnus Damm | 863b171 | 2010-12-28 08:27:01 +0000 | [diff] [blame] | 38 | |
Magnus Damm | c3dada1 | 2011-04-29 02:23:28 +0900 | [diff] [blame] | 39 | # PM objects |
| 40 | obj-$(CONFIG_SUSPEND) += suspend.o |
Magnus Damm | 0af4817 | 2011-04-29 02:36:07 +0900 | [diff] [blame] | 41 | obj-$(CONFIG_CPU_IDLE) += cpuidle.o |
Magnus Damm | 9799165 | 2011-04-29 02:28:08 +0900 | [diff] [blame] | 42 | obj-$(CONFIG_ARCH_SH7372) += pm-sh7372.o sleep-sh7372.o |
Magnus Damm | a662c08 | 2012-01-10 15:50:01 +0900 | [diff] [blame] | 43 | obj-$(CONFIG_ARCH_R8A7779) += pm-r8a7779.o |
Magnus Damm | c3dada1 | 2011-04-29 02:23:28 +0900 | [diff] [blame] | 44 | |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 45 | # Board objects |
| 46 | obj-$(CONFIG_MACH_G3EVM) += board-g3evm.o |
Magnus Damm | f2aaf66 | 2010-02-05 11:15:07 +0000 | [diff] [blame] | 47 | obj-$(CONFIG_MACH_G4EVM) += board-g4evm.o |
Magnus Damm | 2b7eda6 | 2010-02-05 11:14:58 +0000 | [diff] [blame] | 48 | obj-$(CONFIG_MACH_AP4EVB) += board-ap4evb.o |
Magnus Damm | 6d9598e | 2010-11-17 10:59:31 +0000 | [diff] [blame] | 49 | obj-$(CONFIG_MACH_AG5EVM) += board-ag5evm.o |
Kuninori Morimoto | 920adc7 | 2010-11-29 02:21:21 +0000 | [diff] [blame] | 50 | obj-$(CONFIG_MACH_MACKEREL) += board-mackerel.o |
Magnus Damm | 2862663 | 2011-08-18 05:44:07 +0000 | [diff] [blame] | 51 | obj-$(CONFIG_MACH_KOTA2) += board-kota2.o |
Kuninori Morimoto | d55c9a9 | 2011-11-10 18:46:45 -0800 | [diff] [blame] | 52 | obj-$(CONFIG_MACH_BONITO) += board-bonito.o |
Magnus Damm | f411fad | 2011-12-14 01:36:12 +0900 | [diff] [blame] | 53 | obj-$(CONFIG_MACH_MARZEN) += board-marzen.o |
Kuninori Morimoto | 4d22e56 | 2012-04-06 01:28:59 -0700 | [diff] [blame] | 54 | obj-$(CONFIG_MACH_ARMADILLO800EVA) += board-armadillo800eva.o |
Magnus Damm | c050fb1 | 2012-05-16 15:45:16 +0900 | [diff] [blame] | 55 | obj-$(CONFIG_MACH_KZM9D) += board-kzm9d.o |
Kuninori Morimoto | 9b93e24 | 2012-04-10 20:57:31 -0700 | [diff] [blame] | 56 | obj-$(CONFIG_MACH_KZM9G) += board-kzm9g.o |
Magnus Damm | 09dd7de | 2010-12-14 16:15:35 +0900 | [diff] [blame] | 57 | |
| 58 | # Framework support |
Magnus Damm | 1c51ed4 | 2010-12-14 16:56:55 +0900 | [diff] [blame] | 59 | obj-$(CONFIG_SMP) += $(smp-y) |
Magnus Damm | 09dd7de | 2010-12-14 16:15:35 +0900 | [diff] [blame] | 60 | obj-$(CONFIG_GENERIC_GPIO) += $(pfc-y) |