blob: 3651a1ed0f2b197f875470782bc60f745ed4b5dd [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Russell Kingceade892010-02-11 21:44:53 +00002#
3# Makefile for the linux kernel.
4#
Pawel Moll81cc3f82014-11-25 18:17:34 +00005ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := \
Rob Herring61727632012-09-06 13:43:04 -05006 -I$(srctree)/arch/arm/plat-versatile/include
Russell Kingceade892010-02-11 21:44:53 +00007
Vladimir Murzin18471192016-04-25 09:49:13 +01008obj-$(CONFIG_ARCH_VEXPRESS) := v2m.o
Dave Martind41418c02012-07-17 14:25:44 +01009obj-$(CONFIG_ARCH_VEXPRESS_DCSCB) += dcscb.o dcscb_setup.o
Nicolas Pitre3c78d112013-09-09 12:31:04 -040010CFLAGS_dcscb.o += -march=armv7-a
Dave Martinea36d2a2014-02-14 12:46:02 +010011CFLAGS_REMOVE_dcscb.o = -pg
Sudeep KarkadaNageshaf7cd2d82013-10-29 12:18:37 +000012obj-$(CONFIG_ARCH_VEXPRESS_SPC) += spc.o
Dave Martinea36d2a2014-02-14 12:46:02 +010013CFLAGS_REMOVE_spc.o = -pg
Sudeep KarkadaNageshaf7cd2d82013-10-29 12:18:37 +000014obj-$(CONFIG_ARCH_VEXPRESS_TC2_PM) += tc2_pm.o
Nicolas Pitre3c78d112013-09-09 12:31:04 -040015CFLAGS_tc2_pm.o += -march=armv7-a
Dave Martinea36d2a2014-02-14 12:46:02 +010016CFLAGS_REMOVE_tc2_pm.o = -pg
Russell King0462b442011-01-19 10:24:56 +000017obj-$(CONFIG_SMP) += platsmp.o
Vladimir Murzin18471192016-04-25 09:49:13 +010018
19obj-$(CONFIG_ARCH_MPS2) += v2m-mps2.o