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 | 8e8bfff | 2015-01-09 14:08:50 +0100 | [diff] [blame] | 9 | obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o pm-sh73a0.o |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 10 | obj-$(CONFIG_ARCH_R8A73A4) += setup-r8a73a4.o |
Magnus Damm | abebbc4 | 2014-08-25 12:04:01 +0900 | [diff] [blame] | 11 | obj-$(CONFIG_ARCH_R8A7740) += setup-r8a7740.o pm-r8a7740.o |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 12 | obj-$(CONFIG_ARCH_R8A7778) += setup-r8a7778.o |
Magnus Damm | 1a950ca | 2014-08-25 12:03:52 +0900 | [diff] [blame] | 13 | obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o pm-r8a7779.o |
Gaku Inami | a8caad6 | 2015-03-16 14:48:43 +0900 | [diff] [blame] | 14 | obj-$(CONFIG_ARCH_R8A7790) += setup-r8a7790.o |
| 15 | obj-$(CONFIG_ARCH_R8A7791) += setup-r8a7791.o |
Ulrich Hecht | 5923abb2 | 2014-09-04 16:02:28 +0200 | [diff] [blame] | 16 | obj-$(CONFIG_ARCH_R8A7794) += setup-r8a7794.o |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 17 | obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o |
Magnus Damm | 0086df2 | 2013-09-19 05:11:11 +0900 | [diff] [blame] | 18 | obj-$(CONFIG_ARCH_R7S72100) += setup-r7s72100.o |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 19 | |
| 20 | # Clock objects |
Magnus Damm | 25f5550 | 2014-03-13 08:36:17 +0900 | [diff] [blame] | 21 | ifndef CONFIG_COMMON_CLK |
Laurent Pinchart | b6c461d | 2014-10-26 15:07:32 +0200 | [diff] [blame] | 22 | obj-y += clock.o |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 23 | obj-$(CONFIG_ARCH_SH73A0) += clock-sh73a0.o |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 24 | obj-$(CONFIG_ARCH_R8A7740) += clock-r8a7740.o |
| 25 | obj-$(CONFIG_ARCH_R8A7778) += clock-r8a7778.o |
| 26 | obj-$(CONFIG_ARCH_R8A7779) += clock-r8a7779.o |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 27 | endif |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 28 | |
Magnus Damm | 8b438bc | 2014-06-06 16:20:10 +0900 | [diff] [blame] | 29 | # CPU reset vector handling objects |
| 30 | cpu-y := platsmp.o headsmp.o |
Magnus Damm | 0d91843 | 2014-08-25 12:03:43 +0900 | [diff] [blame] | 31 | |
| 32 | # Shared SoC family objects |
| 33 | 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] | 34 | CFLAGS_setup-rcar-gen2.o += -march=armv7-a |
Geert Uytterhoeven | 663fbb5 | 2015-03-09 20:50:40 +0100 | [diff] [blame] | 35 | obj-$(CONFIG_ARCH_R8A7790) += regulator-quirk-rcar-gen2.o |
| 36 | obj-$(CONFIG_ARCH_R8A7791) += regulator-quirk-rcar-gen2.o |
Magnus Damm | 8b438bc | 2014-06-06 16:20:10 +0900 | [diff] [blame] | 37 | |
Magnus Damm | 1c51ed4 | 2010-12-14 16:56:55 +0900 | [diff] [blame] | 38 | # SMP objects |
Magnus Damm | 8b438bc | 2014-06-06 16:20:10 +0900 | [diff] [blame] | 39 | smp-y := $(cpu-y) |
Magnus Damm | 12eb847 | 2013-07-31 16:07:21 +0900 | [diff] [blame] | 40 | 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] | 41 | 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] | 42 | smp-$(CONFIG_ARCH_R8A7790) += smp-r8a7790.o |
Magnus Damm | bfe4cfa | 2014-06-06 16:21:19 +0900 | [diff] [blame] | 43 | smp-$(CONFIG_ARCH_R8A7791) += smp-r8a7791.o |
Magnus Damm | 0da6022 | 2013-07-31 16:07:40 +0900 | [diff] [blame] | 44 | 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] | 45 | |
Magnus Damm | c3dada1 | 2011-04-29 02:23:28 +0900 | [diff] [blame] | 46 | # PM objects |
| 47 | obj-$(CONFIG_SUSPEND) += suspend.o |
Gaku Inami | 06e32c9 | 2014-06-03 21:02:45 +0900 | [diff] [blame] | 48 | obj-$(CONFIG_CPU_FREQ) += cpufreq.o |
Magnus Damm | 1a950ca | 2014-08-25 12:03:52 +0900 | [diff] [blame] | 49 | obj-$(CONFIG_PM_RCAR) += pm-rcar.o |
Magnus Damm | abebbc4 | 2014-08-25 12:04:01 +0900 | [diff] [blame] | 50 | obj-$(CONFIG_PM_RMOBILE) += pm-rmobile.o |
Gaku Inami | a8caad6 | 2015-03-16 14:48:43 +0900 | [diff] [blame] | 51 | obj-$(CONFIG_ARCH_RCAR_GEN2) += pm-rcar-gen2.o |
Magnus Damm | c3dada1 | 2011-04-29 02:23:28 +0900 | [diff] [blame] | 52 | |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 53 | # Board objects |
Magnus Damm | 3ae970a | 2013-10-01 19:33:15 +0900 | [diff] [blame] | 54 | ifdef CONFIG_ARCH_SHMOBILE_MULTI |
Simon Horman | 5016c81 | 2014-05-15 20:32:05 +0900 | [diff] [blame] | 55 | obj-$(CONFIG_MACH_MARZEN) += board-marzen-reference.o |
Magnus Damm | 3ae970a | 2013-10-01 19:33:15 +0900 | [diff] [blame] | 56 | else |
Kuninori Morimoto | 53e42c2 | 2013-03-21 03:03:38 -0700 | [diff] [blame] | 57 | obj-$(CONFIG_MACH_BOCKW) += board-bockw.o |
Kuninori Morimoto | cfa66a8 | 2013-07-24 00:36:51 -0700 | [diff] [blame] | 58 | obj-$(CONFIG_MACH_BOCKW_REFERENCE) += board-bockw-reference.o |
Magnus Damm | f411fad | 2011-12-14 01:36:12 +0900 | [diff] [blame] | 59 | obj-$(CONFIG_MACH_MARZEN) += board-marzen.o |
Kuninori Morimoto | 4d22e56 | 2012-04-06 01:28:59 -0700 | [diff] [blame] | 60 | obj-$(CONFIG_MACH_ARMADILLO800EVA) += board-armadillo800eva.o |
Magnus Damm | 8e8bfff | 2015-01-09 14:08:50 +0100 | [diff] [blame] | 61 | obj-$(CONFIG_MACH_KZM9G) += board-kzm9g.o intc-sh73a0.o |
Magnus Damm | 3ae970a | 2013-10-01 19:33:15 +0900 | [diff] [blame] | 62 | endif |
Magnus Damm | 09dd7de | 2010-12-14 16:15:35 +0900 | [diff] [blame] | 63 | |
| 64 | # Framework support |
Magnus Damm | 1c51ed4 | 2010-12-14 16:56:55 +0900 | [diff] [blame] | 65 | obj-$(CONFIG_SMP) += $(smp-y) |