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 |
Hisashi Nakamura | 0d0771ab | 2013-09-04 12:45:57 +0900 | [diff] [blame^] | 18 | obj-$(CONFIG_ARCH_R8A7791) += setup-r8a7791.o |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 19 | obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o |
| 20 | |
| 21 | # Clock objects |
| 22 | ifndef CONFIG_COMMON_CLK |
| 23 | obj-y += clock.o |
| 24 | obj-$(CONFIG_ARCH_SH7372) += clock-sh7372.o |
| 25 | obj-$(CONFIG_ARCH_SH73A0) += clock-sh73a0.o |
| 26 | obj-$(CONFIG_ARCH_R8A73A4) += clock-r8a73a4.o |
| 27 | obj-$(CONFIG_ARCH_R8A7740) += clock-r8a7740.o |
| 28 | obj-$(CONFIG_ARCH_R8A7778) += clock-r8a7778.o |
| 29 | obj-$(CONFIG_ARCH_R8A7779) += clock-r8a7779.o |
| 30 | obj-$(CONFIG_ARCH_R8A7790) += clock-r8a7790.o |
Hisashi Nakamura | 0d0771ab | 2013-09-04 12:45:57 +0900 | [diff] [blame^] | 31 | obj-$(CONFIG_ARCH_R8A7791) += clock-r8a7791.o |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 32 | obj-$(CONFIG_ARCH_EMEV2) += clock-emev2.o |
| 33 | endif |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 34 | |
Magnus Damm | 1c51ed4 | 2010-12-14 16:56:55 +0900 | [diff] [blame] | 35 | # SMP objects |
| 36 | smp-y := platsmp.o headsmp.o |
Magnus Damm | 12eb847 | 2013-07-31 16:07:21 +0900 | [diff] [blame] | 37 | 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] | 38 | smp-$(CONFIG_ARCH_R8A7779) += smp-r8a7779.o headsmp-scu.o platsmp-scu.o |
Magnus Damm | 0da6022 | 2013-07-31 16:07:40 +0900 | [diff] [blame] | 39 | 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] | 40 | |
Magnus Damm | 863b171 | 2010-12-28 08:27:01 +0000 | [diff] [blame] | 41 | # IRQ objects |
Magnus Damm | 863b171 | 2010-12-28 08:27:01 +0000 | [diff] [blame] | 42 | obj-$(CONFIG_ARCH_SH7372) += entry-intc.o |
| 43 | |
Magnus Damm | c3dada1 | 2011-04-29 02:23:28 +0900 | [diff] [blame] | 44 | # PM objects |
| 45 | obj-$(CONFIG_SUSPEND) += suspend.o |
Magnus Damm | 0af4817 | 2011-04-29 02:36:07 +0900 | [diff] [blame] | 46 | obj-$(CONFIG_CPU_IDLE) += cpuidle.o |
Magnus Damm | 0173a74 | 2013-07-09 19:40:01 +0900 | [diff] [blame] | 47 | 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] | 48 | obj-$(CONFIG_ARCH_SH73A0) += pm-sh73a0.o |
Magnus Damm | 0173a74 | 2013-07-09 19:40:01 +0900 | [diff] [blame] | 49 | obj-$(CONFIG_ARCH_R8A7740) += pm-r8a7740.o pm-rmobile.o |
| 50 | obj-$(CONFIG_ARCH_R8A7779) += pm-r8a7779.o |
Magnus Damm | c3dada1 | 2011-04-29 02:23:28 +0900 | [diff] [blame] | 51 | |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 52 | # Board objects |
Magnus Damm | 78ded16 | 2013-03-29 17:00:02 +0900 | [diff] [blame] | 53 | obj-$(CONFIG_MACH_APE6EVM) += board-ape6evm.o |
Guennadi Liakhovetski | 69f3666 | 2013-07-08 18:04:57 +0200 | [diff] [blame] | 54 | obj-$(CONFIG_MACH_APE6EVM_REFERENCE) += board-ape6evm-reference.o |
Kuninori Morimoto | 920adc7 | 2010-11-29 02:21:21 +0000 | [diff] [blame] | 55 | obj-$(CONFIG_MACH_MACKEREL) += board-mackerel.o |
Kuninori Morimoto | 53e42c2 | 2013-03-21 03:03:38 -0700 | [diff] [blame] | 56 | obj-$(CONFIG_MACH_BOCKW) += board-bockw.o |
Kuninori Morimoto | cfa66a8 | 2013-07-24 00:36:51 -0700 | [diff] [blame] | 57 | obj-$(CONFIG_MACH_BOCKW_REFERENCE) += board-bockw-reference.o |
Magnus Damm | f411fad | 2011-12-14 01:36:12 +0900 | [diff] [blame] | 58 | obj-$(CONFIG_MACH_MARZEN) += board-marzen.o |
Simon Horman | 73d6a69 | 2013-01-29 11:40:18 +0900 | [diff] [blame] | 59 | obj-$(CONFIG_MACH_MARZEN_REFERENCE) += board-marzen-reference.o |
Magnus Damm | 3cc828f | 2013-03-29 17:49:37 +0900 | [diff] [blame] | 60 | obj-$(CONFIG_MACH_LAGER) += board-lager.o |
Simon Horman | 6dace67 | 2013-06-28 13:42:16 +0900 | [diff] [blame] | 61 | obj-$(CONFIG_MACH_LAGER_REFERENCE) += board-lager-reference.o |
Kuninori Morimoto | 4d22e56 | 2012-04-06 01:28:59 -0700 | [diff] [blame] | 62 | obj-$(CONFIG_MACH_ARMADILLO800EVA) += board-armadillo800eva.o |
Bastian Hecht | 76b92b4 | 2013-04-17 12:34:06 +0200 | [diff] [blame] | 63 | obj-$(CONFIG_MACH_ARMADILLO800EVA_REFERENCE) += board-armadillo800eva-reference.o |
Magnus Damm | c050fb1 | 2012-05-16 15:45:16 +0900 | [diff] [blame] | 64 | obj-$(CONFIG_MACH_KZM9D) += board-kzm9d.o |
Magnus Damm | 03393e8 | 2013-07-08 15:00:30 +0900 | [diff] [blame] | 65 | obj-$(CONFIG_MACH_KZM9D_REFERENCE) += board-kzm9d-reference.o |
Kuninori Morimoto | 9b93e24 | 2012-04-10 20:57:31 -0700 | [diff] [blame] | 66 | obj-$(CONFIG_MACH_KZM9G) += board-kzm9g.o |
Simon Horman | b8b82b2 | 2012-11-22 00:34:25 +0900 | [diff] [blame] | 67 | obj-$(CONFIG_MACH_KZM9G_REFERENCE) += board-kzm9g-reference.o |
Magnus Damm | 09dd7de | 2010-12-14 16:15:35 +0900 | [diff] [blame] | 68 | |
| 69 | # Framework support |
Magnus Damm | 1c51ed4 | 2010-12-14 16:56:55 +0900 | [diff] [blame] | 70 | obj-$(CONFIG_SMP) += $(smp-y) |