blob: 51c35e2b737aa6eb6123b384ab36880d0f5fa633 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001# 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
18obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
19
20obj-$(CONFIG_ARCH_MPS2) += v2m-mps2.o