xref: /openbmc/linux/arch/arm/mach-spear/Makefile (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1*b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2a7ed099fSArnd Bergmann#
3a7ed099fSArnd Bergmann# SPEAr Platform specific Makefile
4a7ed099fSArnd Bergmann#
5a7ed099fSArnd Bergmann
6a7ed099fSArnd Bergmann# Common support
7a7ed099fSArnd Bergmannobj-y	:= restart.o time.o
8a7ed099fSArnd Bergmann
9a94d236dSArnd Bergmannsmp-$(CONFIG_SMP)		+= headsmp.o platsmp.o
10a94d236dSArnd Bergmannsmp-$(CONFIG_HOTPLUG_CPU)	+= hotplug.o
11a7ed099fSArnd Bergmann
12a94d236dSArnd Bergmannobj-$(CONFIG_ARCH_SPEAR13XX)	+= spear13xx.o $(smp-y)
13a7ed099fSArnd Bergmannobj-$(CONFIG_MACH_SPEAR1310)	+= spear1310.o
14a7ed099fSArnd Bergmannobj-$(CONFIG_MACH_SPEAR1340)	+= spear1340.o
15a7ed099fSArnd Bergmann
16a7ed099fSArnd Bergmannobj-$(CONFIG_ARCH_SPEAR3XX)	+= spear3xx.o
17a7ed099fSArnd Bergmannobj-$(CONFIG_ARCH_SPEAR3XX)	+= pl080.o
18a7ed099fSArnd Bergmannobj-$(CONFIG_MACH_SPEAR300)	+= spear300.o
19a7ed099fSArnd Bergmannobj-$(CONFIG_MACH_SPEAR310)	+= spear310.o
20a7ed099fSArnd Bergmannobj-$(CONFIG_MACH_SPEAR320)	+= spear320.o
21a7ed099fSArnd Bergmann
22a7ed099fSArnd Bergmannobj-$(CONFIG_ARCH_SPEAR6XX)	+= spear6xx.o
23a7ed099fSArnd Bergmannobj-$(CONFIG_ARCH_SPEAR6XX)	+= pl080.o
24cde35bd0SArnd Bergmann
25cde35bd0SArnd BergmannCFLAGS_hotplug.o		+= -march=armv7-a
26