Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the linux kernel. |
| 3 | # |
| 4 | |
| 5 | # Common objects |
Geert Uytterhoeven | 815fc8c | 2015-08-04 20:03:08 +0200 | [diff] [blame] | 6 | obj-y := timer.o |
Magnus Damm | c793c1b | 2010-02-05 11:14:49 +0000 | [diff] [blame] | 7 | |
| 8 | # CPU objects |
Geert Uytterhoeven | 9a98639 | 2015-06-17 11:31:20 +0200 | [diff] [blame] | 9 | obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 10 | obj-$(CONFIG_ARCH_R8A73A4) += setup-r8a73a4.o |
Geert Uytterhoeven | 44d88c7 | 2015-06-17 11:31:24 +0200 | [diff] [blame] | 11 | obj-$(CONFIG_ARCH_R8A7740) += setup-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 |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 16 | obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o |
Magnus Damm | 0086df2 | 2013-09-19 05:11:11 +0900 | [diff] [blame] | 17 | obj-$(CONFIG_ARCH_R7S72100) += setup-r7s72100.o |
Magnus Damm | a360feb | 2013-07-18 05:30:59 +0900 | [diff] [blame] | 18 | |
Magnus Damm | 8b438bc | 2014-06-06 16:20:10 +0900 | [diff] [blame] | 19 | # CPU reset vector handling objects |
| 20 | cpu-y := platsmp.o headsmp.o |
Magnus Damm | 0d91843 | 2014-08-25 12:03:43 +0900 | [diff] [blame] | 21 | |
| 22 | # Shared SoC family objects |
| 23 | 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] | 24 | CFLAGS_setup-rcar-gen2.o += -march=armv7-a |
Geert Uytterhoeven | 663fbb5 | 2015-03-09 20:50:40 +0100 | [diff] [blame] | 25 | obj-$(CONFIG_ARCH_R8A7790) += regulator-quirk-rcar-gen2.o |
| 26 | obj-$(CONFIG_ARCH_R8A7791) += regulator-quirk-rcar-gen2.o |
Ulrich Hecht | 765b500 | 2015-06-01 16:22:57 +0200 | [diff] [blame] | 27 | obj-$(CONFIG_ARCH_R8A7793) += regulator-quirk-rcar-gen2.o |
Magnus Damm | 8b438bc | 2014-06-06 16:20:10 +0900 | [diff] [blame] | 28 | |
Magnus Damm | 1c51ed4 | 2010-12-14 16:56:55 +0900 | [diff] [blame] | 29 | # SMP objects |
Magnus Damm | 8b438bc | 2014-06-06 16:20:10 +0900 | [diff] [blame] | 30 | smp-y := $(cpu-y) |
Magnus Damm | 12eb847 | 2013-07-31 16:07:21 +0900 | [diff] [blame] | 31 | 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] | 32 | 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] | 33 | smp-$(CONFIG_ARCH_R8A7790) += smp-r8a7790.o |
Magnus Damm | bfe4cfa | 2014-06-06 16:21:19 +0900 | [diff] [blame] | 34 | smp-$(CONFIG_ARCH_R8A7791) += smp-r8a7791.o |
Magnus Damm | 0da6022 | 2013-07-31 16:07:40 +0900 | [diff] [blame] | 35 | 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] | 36 | |
Magnus Damm | c3dada1 | 2011-04-29 02:23:28 +0900 | [diff] [blame] | 37 | # PM objects |
| 38 | obj-$(CONFIG_SUSPEND) += suspend.o |
Magnus Damm | abebbc4 | 2014-08-25 12:04:01 +0900 | [diff] [blame] | 39 | obj-$(CONFIG_PM_RMOBILE) += pm-rmobile.o |
Gaku Inami | a8caad6 | 2015-03-16 14:48:43 +0900 | [diff] [blame] | 40 | obj-$(CONFIG_ARCH_RCAR_GEN2) += pm-rcar-gen2.o |
Magnus Damm | c3dada1 | 2011-04-29 02:23:28 +0900 | [diff] [blame] | 41 | |
Magnus Damm | 09dd7de | 2010-12-14 16:15:35 +0900 | [diff] [blame] | 42 | # Framework support |
Magnus Damm | 1c51ed4 | 2010-12-14 16:56:55 +0900 | [diff] [blame] | 43 | obj-$(CONFIG_SMP) += $(smp-y) |