18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Makefile for the linux kernel.
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci# Common objects
78c2ecf20Sopenharmony_ciobj-y				:= timer.o
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci# CPU objects
108c2ecf20Sopenharmony_ciobj-$(CONFIG_ARCH_SH73A0)	+= setup-sh73a0.o
118c2ecf20Sopenharmony_ciobj-$(CONFIG_ARCH_R8A73A4)	+= setup-r8a73a4.o
128c2ecf20Sopenharmony_ciobj-$(CONFIG_ARCH_R8A7740)	+= setup-r8a7740.o
138c2ecf20Sopenharmony_ciobj-$(CONFIG_ARCH_R8A7778)	+= setup-r8a7778.o
148c2ecf20Sopenharmony_ciobj-$(CONFIG_ARCH_R8A7779)	+= setup-r8a7779.o
158c2ecf20Sopenharmony_ciobj-$(CONFIG_ARCH_EMEV2)	+= setup-emev2.o
168c2ecf20Sopenharmony_ciobj-$(CONFIG_ARCH_R7S72100)	+= setup-r7s72100.o
178c2ecf20Sopenharmony_ciobj-$(CONFIG_ARCH_R7S9210)	+= setup-r7s9210.o
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci# CPU reset vector handling objects
208c2ecf20Sopenharmony_cicpu-y				:= platsmp.o headsmp.o
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci# Shared SoC family objects
238c2ecf20Sopenharmony_ciobj-$(CONFIG_ARCH_RCAR_GEN2)	+= setup-rcar-gen2.o platsmp-apmu.o $(cpu-y)
248c2ecf20Sopenharmony_ciCFLAGS_setup-rcar-gen2.o	+= -march=armv7-a
258c2ecf20Sopenharmony_ciobj-$(CONFIG_ARCH_R8A7790)	+= regulator-quirk-rcar-gen2.o
268c2ecf20Sopenharmony_ciobj-$(CONFIG_ARCH_R8A7791)	+= regulator-quirk-rcar-gen2.o
278c2ecf20Sopenharmony_ciobj-$(CONFIG_ARCH_R8A7793)	+= regulator-quirk-rcar-gen2.o
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci# SMP objects
308c2ecf20Sopenharmony_cismp-y				:= $(cpu-y)
318c2ecf20Sopenharmony_cismp-$(CONFIG_ARCH_RCAR_GEN2)	+= headsmp-apmu.o
328c2ecf20Sopenharmony_cismp-$(CONFIG_ARCH_SH73A0)	+= smp-sh73a0.o headsmp-scu.o platsmp-scu.o
338c2ecf20Sopenharmony_cismp-$(CONFIG_ARCH_R8A7779)	+= smp-r8a7779.o headsmp-scu.o platsmp-scu.o
348c2ecf20Sopenharmony_cismp-$(CONFIG_ARCH_EMEV2)	+= smp-emev2.o headsmp-scu.o platsmp-scu.o
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci# PM objects
378c2ecf20Sopenharmony_ciobj-$(CONFIG_SUSPEND)		+= suspend.o
388c2ecf20Sopenharmony_ciobj-$(CONFIG_ARCH_RCAR_GEN2)	+= pm-rcar-gen2.o
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ci# Framework support
418c2ecf20Sopenharmony_ciobj-$(CONFIG_SMP)		+= $(smp-y)
42