Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the linux kernel. |
| 3 | # |
| 4 | |
| 5 | # Common objects |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 6 | obj-y := timer.o console.o |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 7 | |
| 8 | # CPU objects |
Magnus Damm | abebbc4 | 2014-08-25 12:04:01 +0900 | [diff] [blame] | 9 | obj-$(CONFIG_ARCH_SH7372) += setup-sh7372.o intc-sh7372.o pm-sh7372.o |
| 10 | obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o intc-sh73a0.o pm-sh73a0.o |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 11 | obj-$(CONFIG_ARCH_R8A73A4) += setup-r8a73a4.o |
Magnus Damm | abebbc4 | 2014-08-25 12:04:01 +0900 | [diff] [blame] | 12 | obj-$(CONFIG_ARCH_R8A7740) += setup-r8a7740.o pm-r8a7740.o |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 13 | obj-$(CONFIG_ARCH_R8A7778) += setup-r8a7778.o |
Magnus Damm | 1a950ca | 2014-08-25 12:03:52 +0900 | [diff] [blame] | 14 | obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o pm-r8a7779.o |
| 15 | obj-$(CONFIG_ARCH_R8A7790) += setup-r8a7790.o pm-r8a7790.o |
| 16 | obj-$(CONFIG_ARCH_R8A7791) += setup-r8a7791.o pm-r8a7791.o |
Ulrich Hecht | 5923abb2 | 2014-09-04 16:02:28 +0200 | [diff] [blame] | 17 | obj-$(CONFIG_ARCH_R8A7794) += setup-r8a7794.o |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 18 | obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o |
Magnus Damm | 0086df2 | 2013-09-19 05:11:11 +0900 | [diff] [blame] | 19 | obj-$(CONFIG_ARCH_R7S72100) += setup-r7s72100.o |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 20 | |
| 21 | # Clock objects |
Magnus Damm | 25f5550 | 2014-03-13 08:36:17 +0900 | [diff] [blame] | 22 | ifndef CONFIG_COMMON_CLK |
Laurent Pinchart | b6c461d | 2014-10-26 15:07:32 +0200 | [diff] [blame] | 23 | obj-y += clock.o |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 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 |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 31 | endif |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 32 | |
Magnus Damm | 8b438bc | 2014-06-06 16:20:10 +0900 | [diff] [blame] | 33 | # CPU reset vector handling objects |
| 34 | cpu-y := platsmp.o headsmp.o |
Magnus Damm | 0d91843 | 2014-08-25 12:03:43 +0900 | [diff] [blame] | 35 | |
| 36 | # Shared SoC family objects |
| 37 | obj-$(CONFIG_ARCH_RCAR_GEN2) += setup-rcar-gen2.o platsmp-apmu.o $(cpu-y) |
Arnd Bergmann | e3d1633 | 2014-11-11 16:36:50 +0100 | [diff] [blame] | 38 | CFLAGS_setup-rcar-gen2.o += -march=armv7-a |
Magnus Damm | 8b438bc | 2014-06-06 16:20:10 +0900 | [diff] [blame] | 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 | 06f2c5d | 2014-06-06 16:21:03 +0900 | [diff] [blame] | 44 | smp-$(CONFIG_ARCH_R8A7790) += smp-r8a7790.o |
Magnus Damm | bfe4cfa | 2014-06-06 16:21:19 +0900 | [diff] [blame] | 45 | smp-$(CONFIG_ARCH_R8A7791) += smp-r8a7791.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 |
Gaku Inami | 06e32c9 | 2014-06-03 21:02:45 +0900 | [diff] [blame] | 51 | obj-$(CONFIG_CPU_FREQ) += cpufreq.o |
Magnus Damm | 1a950ca | 2014-08-25 12:03:52 +0900 | [diff] [blame] | 52 | obj-$(CONFIG_PM_RCAR) += pm-rcar.o |
Magnus Damm | abebbc4 | 2014-08-25 12:04:01 +0900 | [diff] [blame] | 53 | obj-$(CONFIG_PM_RMOBILE) += pm-rmobile.o |
Magnus Damm | c3dada1 | 2011-04-29 02:23:28 +0900 | [diff] [blame] | 54 | |
Magnus Damm | abebbc4 | 2014-08-25 12:04:01 +0900 | [diff] [blame] | 55 | # special sh7372 handling for IRQ objects and low level sleep code |
| 56 | obj-$(CONFIG_ARCH_SH7372) += entry-intc.o sleep-sh7372.o |
Magnus Damm | f2aaf66 | 2010-02-05 11:15:07 +0000 | [diff] [blame] | 57 | |
Magnus Damm | 2b7eda6 | 2010-02-05 11:14:58 +0000 | [diff] [blame] | 58 | # Board objects |
Magnus Damm | 3ae970a | 2013-10-01 19:33:15 +0900 | [diff] [blame] | 59 | ifdef CONFIG_ARCH_SHMOBILE_MULTI |
Laurent Pinchart | 0ef3cde | 2013-12-11 15:13:52 +0100 | [diff] [blame] | 60 | obj-$(CONFIG_MACH_LAGER) += board-lager-reference.o |
Simon Horman | 5016c81 | 2014-05-15 20:32:05 +0900 | [diff] [blame] | 61 | obj-$(CONFIG_MACH_MARZEN) += board-marzen-reference.o |
Magnus Damm | 3ae970a | 2013-10-01 19:33:15 +0900 | [diff] [blame] | 62 | else |
Magnus Damm | 78ded16 | 2013-03-29 17:00:02 +0900 | [diff] [blame] | 63 | obj-$(CONFIG_MACH_APE6EVM) += board-ape6evm.o |
Guennadi Liakhovetski | 69f3666 | 2013-07-08 18:04:57 +0200 | [diff] [blame] | 64 | obj-$(CONFIG_MACH_APE6EVM_REFERENCE) += board-ape6evm-reference.o |
Kuninori Morimoto | 920adc7 | 2010-11-29 02:21:21 +0000 | [diff] [blame] | 65 | obj-$(CONFIG_MACH_MACKEREL) += board-mackerel.o |
Kuninori Morimoto | 53e42c2 | 2013-03-21 03:03:38 -0700 | [diff] [blame] | 66 | obj-$(CONFIG_MACH_BOCKW) += board-bockw.o |
Kuninori Morimoto | cfa66a8 | 2013-07-24 00:36:51 -0700 | [diff] [blame] | 67 | obj-$(CONFIG_MACH_BOCKW_REFERENCE) += board-bockw-reference.o |
Magnus Damm | f411fad | 2011-12-14 01:36:12 +0900 | [diff] [blame] | 68 | obj-$(CONFIG_MACH_MARZEN) += board-marzen.o |
Magnus Damm | 3cc828f | 2013-03-29 17:49:37 +0900 | [diff] [blame] | 69 | obj-$(CONFIG_MACH_LAGER) += board-lager.o |
Kuninori Morimoto | 4d22e56 | 2012-04-06 01:28:59 -0700 | [diff] [blame] | 70 | obj-$(CONFIG_MACH_ARMADILLO800EVA) += board-armadillo800eva.o |
Kuninori Morimoto | 9b93e24 | 2012-04-10 20:57:31 -0700 | [diff] [blame] | 71 | obj-$(CONFIG_MACH_KZM9G) += board-kzm9g.o |
Simon Horman | b8b82b2 | 2012-11-22 00:34:25 +0900 | [diff] [blame] | 72 | obj-$(CONFIG_MACH_KZM9G_REFERENCE) += board-kzm9g-reference.o |
Magnus Damm | 3ae970a | 2013-10-01 19:33:15 +0900 | [diff] [blame] | 73 | endif |
Magnus Damm | 09dd7de | 2010-12-14 16:15:35 +0900 | [diff] [blame] | 74 | |
| 75 | # Framework support |
Magnus Damm | 1c51ed4 | 2010-12-14 16:56:55 +0900 | [diff] [blame] | 76 | obj-$(CONFIG_SMP) += $(smp-y) |