xref: /OK3568_Linux_fs/kernel/arch/arm/mach-vexpress/Makefile (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Makefile for the linux kernel.
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyunccflags-$(CONFIG_ARCH_MULTIPLATFORM) := \
6*4882a593Smuzhiyun	-I$(srctree)/arch/arm/plat-versatile/include
7*4882a593Smuzhiyun
8*4882a593Smuzhiyunobj-$(CONFIG_ARCH_VEXPRESS)		:= v2m.o
9*4882a593Smuzhiyunobj-$(CONFIG_ARCH_VEXPRESS_DCSCB)	+= dcscb.o	dcscb_setup.o
10*4882a593SmuzhiyunCFLAGS_dcscb.o				+= -march=armv7-a
11*4882a593SmuzhiyunCFLAGS_REMOVE_dcscb.o			= -pg
12*4882a593Smuzhiyunobj-$(CONFIG_ARCH_VEXPRESS_SPC)		+= spc.o
13*4882a593SmuzhiyunCFLAGS_REMOVE_spc.o			= -pg
14*4882a593Smuzhiyunobj-$(CONFIG_ARCH_VEXPRESS_TC2_PM)	+= tc2_pm.o
15*4882a593SmuzhiyunCFLAGS_tc2_pm.o				+= -march=armv7-a
16*4882a593SmuzhiyunCFLAGS_REMOVE_tc2_pm.o			= -pg
17*4882a593Smuzhiyunobj-$(CONFIG_SMP)			+= platsmp.o
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunobj-$(CONFIG_ARCH_MPS2)			+= v2m-mps2.o
20