xref: /linux/arch/arm/mach-versatile/Makefile (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Makefile for the linux kernel.
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
6*d7445676SArnd Bergmann# versatile
7*d7445676SArnd Bergmannobj-$(CONFIG_ARCH_VERSATILE)		+= versatile.o
8*d7445676SArnd Bergmann
9*d7445676SArnd Bergmann# integrator
10*d7445676SArnd Bergmannobj-$(CONFIG_ARCH_INTEGRATOR)		+= integrator.o
11*d7445676SArnd Bergmannobj-$(CONFIG_ARCH_INTEGRATOR_AP)	+= integrator_ap.o
12*d7445676SArnd Bergmannobj-$(CONFIG_ARCH_INTEGRATOR_CP)	+= integrator_cp.o
13*d7445676SArnd Bergmann
14*d7445676SArnd Bergmann# realview
15*d7445676SArnd Bergmannobj-$(CONFIG_ARCH_REALVIEW)		+= realview.o
16*d7445676SArnd Bergmann
17*d7445676SArnd Bergmann# vexpress
18*d7445676SArnd Bergmannobj-$(CONFIG_ARCH_VEXPRESS)		:= v2m.o
19*d7445676SArnd Bergmannobj-$(CONFIG_ARCH_VEXPRESS_SPC)		+= spc.o
20*d7445676SArnd BergmannCFLAGS_REMOVE_spc.o			= -pg
21*d7445676SArnd Bergmannobj-$(CONFIG_ARCH_VEXPRESS_TC2_PM)	+= tc2_pm.o
22*d7445676SArnd BergmannCFLAGS_tc2_pm.o				+= -march=armv7-a
23*d7445676SArnd BergmannCFLAGS_REMOVE_tc2_pm.o			= -pg
24*d7445676SArnd Bergmann
25*d7445676SArnd Bergmann# mps2
26*d7445676SArnd Bergmannobj-$(CONFIG_ARCH_MPS2)			+= v2m-mps2.o
27*d7445676SArnd Bergmann
28*d7445676SArnd Bergmannifdef CONFIG_SMP
29*d7445676SArnd Bergmannobj-y					+= headsmp.o platsmp.o
30*d7445676SArnd Bergmannobj-$(CONFIG_ARCH_REALVIEW)		+= platsmp-realview.o
31*d7445676SArnd Bergmannobj-$(CONFIG_ARCH_VEXPRESS)		+= platsmp-vexpress.o
32*d7445676SArnd Bergmannobj-$(CONFIG_HOTPLUG_CPU)		+= hotplug.o
33*d7445676SArnd Bergmannendif
34