Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the linux kernel. |
| 3 | # |
| 4 | |
Magnus Damm | efacfce | 2013-07-18 05:31:09 +0900 | [diff] [blame] | 5 | ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/arch/arm/mach-shmobile/include |
| 6 | |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 7 | # Common objects |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 8 | obj-y := timer.o console.o |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 9 | |
| 10 | # CPU objects |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 11 | obj-$(CONFIG_ARCH_SH7372) += setup-sh7372.o intc-sh7372.o |
| 12 | obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o intc-sh73a0.o |
| 13 | obj-$(CONFIG_ARCH_R8A73A4) += setup-r8a73a4.o |
Linus Torvalds | fa91515 | 2013-09-09 16:33:57 -0700 | [diff] [blame] | 14 | obj-$(CONFIG_ARCH_R8A7740) += setup-r8a7740.o |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 15 | obj-$(CONFIG_ARCH_R8A7778) += setup-r8a7778.o |
Linus Torvalds | fa91515 | 2013-09-09 16:33:57 -0700 | [diff] [blame] | 16 | obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 17 | obj-$(CONFIG_ARCH_R8A7790) += setup-r8a7790.o |
Magnus Damm | 629cc70 | 2013-09-12 09:32:49 +0900 | [diff] [blame] | 18 | obj-$(CONFIG_ARCH_R8A7790) += setup-r8a7790.o setup-rcar-gen2.o |
Magnus Damm | ca1e6f2 | 2013-10-01 17:12:48 +0900 | [diff] [blame] | 19 | obj-$(CONFIG_ARCH_R8A7791) += setup-r8a7791.o setup-rcar-gen2.o |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 20 | obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o |
Magnus Damm | 0086df2 | 2013-09-19 05:11:11 +0900 | [diff] [blame] | 21 | obj-$(CONFIG_ARCH_R7S72100) += setup-r7s72100.o |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 22 | |
| 23 | # Clock objects |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 24 | obj-y += clock.o |
Magnus Damm | 25f5550 | 2014-03-13 08:36:17 +0900 | [diff] [blame] | 25 | ifndef CONFIG_COMMON_CLK |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 26 | obj-$(CONFIG_ARCH_SH7372) += clock-sh7372.o |
| 27 | obj-$(CONFIG_ARCH_SH73A0) += clock-sh73a0.o |
| 28 | obj-$(CONFIG_ARCH_R8A73A4) += clock-r8a73a4.o |
| 29 | obj-$(CONFIG_ARCH_R8A7740) += clock-r8a7740.o |
| 30 | obj-$(CONFIG_ARCH_R8A7778) += clock-r8a7778.o |
| 31 | obj-$(CONFIG_ARCH_R8A7779) += clock-r8a7779.o |
| 32 | obj-$(CONFIG_ARCH_R8A7790) += clock-r8a7790.o |
Hisashi Nakamura | 0d0771ab | 2013-09-04 12:45:57 +0900 | [diff] [blame] | 33 | obj-$(CONFIG_ARCH_R8A7791) += clock-r8a7791.o |
Magnus Damm | 0086df2 | 2013-09-19 05:11:11 +0900 | [diff] [blame] | 34 | obj-$(CONFIG_ARCH_R7S72100) += clock-r7s72100.o |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 35 | endif |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 36 | |
Magnus Damm | 8b438bc | 2014-06-06 16:20:10 +0900 | [diff] [blame^] | 37 | # CPU reset vector handling objects |
| 38 | cpu-y := platsmp.o headsmp.o |
| 39 | |
Magnus Damm | 1c51ed4 | 2010-12-14 16:56:55 +0900 | [diff] [blame] | 40 | # SMP objects |
Magnus Damm | 8b438bc | 2014-06-06 16:20:10 +0900 | [diff] [blame^] | 41 | smp-y := $(cpu-y) |
Magnus Damm | 12eb847 | 2013-07-31 16:07:21 +0900 | [diff] [blame] | 42 | smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o headsmp-scu.o platsmp-scu.o |
Magnus Damm | 0ca2894 | 2013-07-31 16:07:31 +0900 | [diff] [blame] | 43 | smp-$(CONFIG_ARCH_R8A7779) += smp-r8a7779.o headsmp-scu.o platsmp-scu.o |
Magnus Damm | ad09cb8 | 2013-08-29 08:22:07 +0900 | [diff] [blame] | 44 | smp-$(CONFIG_ARCH_R8A7790) += smp-r8a7790.o platsmp-apmu.o |
Magnus Damm | 2349199 | 2013-10-01 17:13:16 +0900 | [diff] [blame] | 45 | smp-$(CONFIG_ARCH_R8A7791) += smp-r8a7791.o platsmp-apmu.o |
Magnus Damm | 0da6022 | 2013-07-31 16:07:40 +0900 | [diff] [blame] | 46 | smp-$(CONFIG_ARCH_EMEV2) += smp-emev2.o headsmp-scu.o platsmp-scu.o |
Magnus Damm | 1c51ed4 | 2010-12-14 16:56:55 +0900 | [diff] [blame] | 47 | |
Magnus Damm | c3dada1 | 2011-04-29 02:23:28 +0900 | [diff] [blame] | 48 | # PM objects |
| 49 | obj-$(CONFIG_SUSPEND) += suspend.o |
Magnus Damm | 0af4817 | 2011-04-29 02:36:07 +0900 | [diff] [blame] | 50 | obj-$(CONFIG_CPU_IDLE) += cpuidle.o |
Magnus Damm | 0173a74 | 2013-07-09 19:40:01 +0900 | [diff] [blame] | 51 | obj-$(CONFIG_ARCH_SH7372) += pm-sh7372.o sleep-sh7372.o pm-rmobile.o |
Bastian Hecht | 13baf88 | 2012-12-05 12:13:06 +0000 | [diff] [blame] | 52 | obj-$(CONFIG_ARCH_SH73A0) += pm-sh73a0.o |
Magnus Damm | 0173a74 | 2013-07-09 19:40:01 +0900 | [diff] [blame] | 53 | obj-$(CONFIG_ARCH_R8A7740) += pm-r8a7740.o pm-rmobile.o |
Magnus Damm | a6557eb | 2014-01-15 16:43:08 +0900 | [diff] [blame] | 54 | obj-$(CONFIG_ARCH_R8A7779) += pm-r8a7779.o pm-rcar.o |
Hisashi Nakamura | a48f165 | 2014-01-15 21:25:49 +0900 | [diff] [blame] | 55 | obj-$(CONFIG_ARCH_R8A7790) += pm-r8a7790.o pm-rcar.o |
keita kobayashi | 5f6108b | 2014-05-30 14:18:48 +0900 | [diff] [blame] | 56 | obj-$(CONFIG_ARCH_R8A7791) += pm-r8a7791.o pm-rcar.o |
Magnus Damm | c3dada1 | 2011-04-29 02:23:28 +0900 | [diff] [blame] | 57 | |
Magnus Damm | 8b438bc | 2014-06-06 16:20:10 +0900 | [diff] [blame^] | 58 | # IRQ objects |
| 59 | obj-$(CONFIG_ARCH_SH7372) += entry-intc.o |
| 60 | |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 61 | # Board objects |
Magnus Damm | 3ae970a | 2013-10-01 19:33:15 +0900 | [diff] [blame] | 62 | ifdef CONFIG_ARCH_SHMOBILE_MULTI |
Magnus Damm | 7d91c46 | 2013-11-07 08:31:25 +0900 | [diff] [blame] | 63 | obj-$(CONFIG_MACH_GENMAI) += board-genmai-reference.o |
Magnus Damm | 6d75bc6 | 2013-11-06 19:40:01 +0900 | [diff] [blame] | 64 | obj-$(CONFIG_MACH_KOELSCH) += board-koelsch-reference.o |
Laurent Pinchart | 0ef3cde | 2013-12-11 15:13:52 +0100 | [diff] [blame] | 65 | obj-$(CONFIG_MACH_LAGER) += board-lager-reference.o |
Magnus Damm | 3ae970a | 2013-10-01 19:33:15 +0900 | [diff] [blame] | 66 | else |
Magnus Damm | 78ded16 | 2013-03-29 17:00:02 +0900 | [diff] [blame] | 67 | obj-$(CONFIG_MACH_APE6EVM) += board-ape6evm.o |
Guennadi Liakhovetski | 69f3666 | 2013-07-08 18:04:57 +0200 | [diff] [blame] | 68 | obj-$(CONFIG_MACH_APE6EVM_REFERENCE) += board-ape6evm-reference.o |
Kuninori Morimoto | 920adc7 | 2010-11-29 02:21:21 +0000 | [diff] [blame] | 69 | obj-$(CONFIG_MACH_MACKEREL) += board-mackerel.o |
Kuninori Morimoto | 53e42c2 | 2013-03-21 03:03:38 -0700 | [diff] [blame] | 70 | obj-$(CONFIG_MACH_BOCKW) += board-bockw.o |
Kuninori Morimoto | cfa66a8 | 2013-07-24 00:36:51 -0700 | [diff] [blame] | 71 | obj-$(CONFIG_MACH_BOCKW_REFERENCE) += board-bockw-reference.o |
Magnus Damm | a4ed412 | 2013-09-19 05:11:29 +0900 | [diff] [blame] | 72 | obj-$(CONFIG_MACH_GENMAI) += board-genmai.o |
Magnus Damm | f411fad | 2011-12-14 01:36:12 +0900 | [diff] [blame] | 73 | obj-$(CONFIG_MACH_MARZEN) += board-marzen.o |
Simon Horman | 73d6a69 | 2013-01-29 11:40:18 +0900 | [diff] [blame] | 74 | obj-$(CONFIG_MACH_MARZEN_REFERENCE) += board-marzen-reference.o |
Magnus Damm | 3cc828f | 2013-03-29 17:49:37 +0900 | [diff] [blame] | 75 | obj-$(CONFIG_MACH_LAGER) += board-lager.o |
Kuninori Morimoto | 4d22e56 | 2012-04-06 01:28:59 -0700 | [diff] [blame] | 76 | obj-$(CONFIG_MACH_ARMADILLO800EVA) += board-armadillo800eva.o |
Bastian Hecht | 76b92b4 | 2013-04-17 12:34:06 +0200 | [diff] [blame] | 77 | obj-$(CONFIG_MACH_ARMADILLO800EVA_REFERENCE) += board-armadillo800eva-reference.o |
Hisashi Nakamura | 1f52c65 | 2013-09-04 12:46:49 +0900 | [diff] [blame] | 78 | obj-$(CONFIG_MACH_KOELSCH) += board-koelsch.o |
Kuninori Morimoto | 9b93e24 | 2012-04-10 20:57:31 -0700 | [diff] [blame] | 79 | obj-$(CONFIG_MACH_KZM9G) += board-kzm9g.o |
Simon Horman | b8b82b2 | 2012-11-22 00:34:25 +0900 | [diff] [blame] | 80 | obj-$(CONFIG_MACH_KZM9G_REFERENCE) += board-kzm9g-reference.o |
Magnus Damm | 3ae970a | 2013-10-01 19:33:15 +0900 | [diff] [blame] | 81 | endif |
Magnus Damm | 09dd7de | 2010-12-14 16:15:35 +0900 | [diff] [blame] | 82 | |
| 83 | # Framework support |
Magnus Damm | 1c51ed4 | 2010-12-14 16:56:55 +0900 | [diff] [blame] | 84 | obj-$(CONFIG_SMP) += $(smp-y) |