blob: 5591646cb9bbfd33def30a3f91529acb99c7ed1b [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Magnus Dammc793c1b2010-02-05 11:14:49 +00002#
3# Makefile for the linux kernel.
4#
5
6# Common objects
Geert Uytterhoeven815fc8c2015-08-04 20:03:08 +02007obj-y := timer.o
Magnus Dammc793c1b2010-02-05 11:14:49 +00008
9# CPU objects
Geert Uytterhoeven9a986392015-06-17 11:31:20 +020010obj-$(CONFIG_ARCH_SH73A0) += setup-sh73a0.o
Magnus Damma360feb2013-07-18 05:30:59 +090011obj-$(CONFIG_ARCH_R8A73A4) += setup-r8a73a4.o
Geert Uytterhoeven44d88c72015-06-17 11:31:24 +020012obj-$(CONFIG_ARCH_R8A7740) += setup-r8a7740.o
Magnus Damma360feb2013-07-18 05:30:59 +090013obj-$(CONFIG_ARCH_R8A7778) += setup-r8a7778.o
Geert Uytterhoeven16acd532018-05-30 17:25:15 +020014obj-$(CONFIG_ARCH_R8A7779) += setup-r8a7779.o
Magnus Damma360feb2013-07-18 05:30:59 +090015obj-$(CONFIG_ARCH_EMEV2) += setup-emev2.o
Magnus Damm0086df22013-09-19 05:11:11 +090016obj-$(CONFIG_ARCH_R7S72100) += setup-r7s72100.o
Chris Brandt332df982018-07-25 16:22:18 -050017obj-$(CONFIG_ARCH_R7S9210) += setup-r7s9210.o
Magnus Damma360feb2013-07-18 05:30:59 +090018
Magnus Damm8b438bc2014-06-06 16:20:10 +090019# CPU reset vector handling objects
20cpu-y := platsmp.o headsmp.o
Magnus Damm0d918432014-08-25 12:03:43 +090021
22# Shared SoC family objects
23obj-$(CONFIG_ARCH_RCAR_GEN2) += setup-rcar-gen2.o platsmp-apmu.o $(cpu-y)
Arnd Bergmanne3d16332014-11-11 16:36:50 +010024CFLAGS_setup-rcar-gen2.o += -march=armv7-a
Geert Uytterhoeven663fbb52015-03-09 20:50:40 +010025obj-$(CONFIG_ARCH_R8A7790) += regulator-quirk-rcar-gen2.o
26obj-$(CONFIG_ARCH_R8A7791) += regulator-quirk-rcar-gen2.o
Ulrich Hecht765b5002015-06-01 16:22:57 +020027obj-$(CONFIG_ARCH_R8A7793) += regulator-quirk-rcar-gen2.o
Magnus Damm8b438bc2014-06-06 16:20:10 +090028
Magnus Damm1c51ed42010-12-14 16:56:55 +090029# SMP objects
Magnus Damm8b438bc2014-06-06 16:20:10 +090030smp-y := $(cpu-y)
Geert Uytterhoeven23295ae2018-06-19 19:20:49 +020031smp-$(CONFIG_ARCH_RCAR_GEN2) += headsmp-apmu.o
Magnus Damm12eb8472013-07-31 16:07:21 +090032smp-$(CONFIG_ARCH_SH73A0) += smp-sh73a0.o headsmp-scu.o platsmp-scu.o
Magnus Damm0ca28942013-07-31 16:07:31 +090033smp-$(CONFIG_ARCH_R8A7779) += smp-r8a7779.o headsmp-scu.o platsmp-scu.o
Magnus Damm0da60222013-07-31 16:07:40 +090034smp-$(CONFIG_ARCH_EMEV2) += smp-emev2.o headsmp-scu.o platsmp-scu.o
Magnus Damm1c51ed42010-12-14 16:56:55 +090035
Magnus Dammc3dada12011-04-29 02:23:28 +090036# PM objects
37obj-$(CONFIG_SUSPEND) += suspend.o
Magnus Dammabebbc42014-08-25 12:04:01 +090038obj-$(CONFIG_PM_RMOBILE) += pm-rmobile.o
Gaku Inamia8caad62015-03-16 14:48:43 +090039obj-$(CONFIG_ARCH_RCAR_GEN2) += pm-rcar-gen2.o
Magnus Dammc3dada12011-04-29 02:23:28 +090040
Magnus Damm09dd7de2010-12-14 16:15:35 +090041# Framework support
Magnus Damm1c51ed42010-12-14 16:56:55 +090042obj-$(CONFIG_SMP) += $(smp-y)