162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Makefile for the linux kernel.
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci# Common objects
762306a36Sopenharmony_ciobj-y				:= timer.o
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci# CPU objects
1062306a36Sopenharmony_ciobj-$(CONFIG_ARCH_SH73A0)	+= setup-sh73a0.o
1162306a36Sopenharmony_ciobj-$(CONFIG_ARCH_R8A73A4)	+= setup-r8a73a4.o
1262306a36Sopenharmony_ciobj-$(CONFIG_ARCH_R8A7740)	+= setup-r8a7740.o
1362306a36Sopenharmony_ciobj-$(CONFIG_ARCH_R8A7778)	+= setup-r8a7778.o
1462306a36Sopenharmony_ciobj-$(CONFIG_ARCH_R8A7779)	+= setup-r8a7779.o
1562306a36Sopenharmony_ciobj-$(CONFIG_ARCH_EMEV2)	+= setup-emev2.o
1662306a36Sopenharmony_ciobj-$(CONFIG_ARCH_R7S72100)	+= setup-r7s72100.o
1762306a36Sopenharmony_ciobj-$(CONFIG_ARCH_R7S9210)	+= setup-r7s9210.o
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci# CPU reset vector handling objects
2062306a36Sopenharmony_cicpu-y				:= platsmp.o headsmp.o
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci# Shared SoC family objects
2362306a36Sopenharmony_ciobj-$(CONFIG_ARCH_RCAR_GEN2)	+= setup-rcar-gen2.o platsmp-apmu.o $(cpu-y)
2462306a36Sopenharmony_ciCFLAGS_setup-rcar-gen2.o	+= -march=armv7-a
2562306a36Sopenharmony_ciobj-$(CONFIG_ARCH_R8A7790)	+= regulator-quirk-rcar-gen2.o
2662306a36Sopenharmony_ciobj-$(CONFIG_ARCH_R8A7791)	+= regulator-quirk-rcar-gen2.o
2762306a36Sopenharmony_ciobj-$(CONFIG_ARCH_R8A7793)	+= regulator-quirk-rcar-gen2.o
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ci# SMP objects
3062306a36Sopenharmony_cismp-y				:= $(cpu-y)
3162306a36Sopenharmony_cismp-$(CONFIG_ARCH_RCAR_GEN2)	+= headsmp-apmu.o
3262306a36Sopenharmony_cismp-$(CONFIG_ARCH_SH73A0)	+= smp-sh73a0.o headsmp-scu.o platsmp-scu.o
3362306a36Sopenharmony_cismp-$(CONFIG_ARCH_R8A7779)	+= smp-r8a7779.o headsmp-scu.o platsmp-scu.o
3462306a36Sopenharmony_cismp-$(CONFIG_ARCH_EMEV2)	+= smp-emev2.o headsmp-scu.o platsmp-scu.o
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ci# PM objects
3762306a36Sopenharmony_ciobj-$(CONFIG_SUSPEND)		+= suspend.o
3862306a36Sopenharmony_ciobj-$(CONFIG_ARCH_RCAR_GEN2)	+= pm-rcar-gen2.o
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ci# Framework support
4162306a36Sopenharmony_ciobj-$(CONFIG_SMP)		+= $(smp-y)
42