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