1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux kernel.
4#
5ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := \
6	-I$(srctree)/arch/arm/plat-versatile/include
7
8obj-$(CONFIG_ARCH_VEXPRESS)		:= v2m.o
9obj-$(CONFIG_ARCH_VEXPRESS_DCSCB)	+= dcscb.o	dcscb_setup.o
10CFLAGS_dcscb.o				+= -march=armv7-a
11CFLAGS_REMOVE_dcscb.o			= -pg
12obj-$(CONFIG_ARCH_VEXPRESS_SPC)		+= spc.o
13CFLAGS_REMOVE_spc.o			= -pg
14obj-$(CONFIG_ARCH_VEXPRESS_TC2_PM)	+= tc2_pm.o
15CFLAGS_tc2_pm.o				+= -march=armv7-a
16CFLAGS_REMOVE_tc2_pm.o			= -pg
17obj-$(CONFIG_SMP)			+= platsmp.o
18
19obj-$(CONFIG_ARCH_MPS2)			+= v2m-mps2.o
20