Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Russell King | ceade89 | 2010-02-11 21:44:53 +0000 | [diff] [blame] | 2 | # |
| 3 | # Makefile for the linux kernel. |
| 4 | # |
Pawel Moll | 81cc3f8 | 2014-11-25 18:17:34 +0000 | [diff] [blame] | 5 | ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := \ |
Rob Herring | 6172763 | 2012-09-06 13:43:04 -0500 | [diff] [blame] | 6 | -I$(srctree)/arch/arm/plat-versatile/include |
Russell King | ceade89 | 2010-02-11 21:44:53 +0000 | [diff] [blame] | 7 | |
Vladimir Murzin | 1847119 | 2016-04-25 09:49:13 +0100 | [diff] [blame] | 8 | obj-$(CONFIG_ARCH_VEXPRESS) := v2m.o |
Dave Martin | d41418c0 | 2012-07-17 14:25:44 +0100 | [diff] [blame] | 9 | obj-$(CONFIG_ARCH_VEXPRESS_DCSCB) += dcscb.o dcscb_setup.o |
Nicolas Pitre | 3c78d11 | 2013-09-09 12:31:04 -0400 | [diff] [blame] | 10 | CFLAGS_dcscb.o += -march=armv7-a |
Dave Martin | ea36d2a | 2014-02-14 12:46:02 +0100 | [diff] [blame] | 11 | CFLAGS_REMOVE_dcscb.o = -pg |
Sudeep KarkadaNagesha | f7cd2d8 | 2013-10-29 12:18:37 +0000 | [diff] [blame] | 12 | obj-$(CONFIG_ARCH_VEXPRESS_SPC) += spc.o |
Dave Martin | ea36d2a | 2014-02-14 12:46:02 +0100 | [diff] [blame] | 13 | CFLAGS_REMOVE_spc.o = -pg |
Sudeep KarkadaNagesha | f7cd2d8 | 2013-10-29 12:18:37 +0000 | [diff] [blame] | 14 | obj-$(CONFIG_ARCH_VEXPRESS_TC2_PM) += tc2_pm.o |
Nicolas Pitre | 3c78d11 | 2013-09-09 12:31:04 -0400 | [diff] [blame] | 15 | CFLAGS_tc2_pm.o += -march=armv7-a |
Dave Martin | ea36d2a | 2014-02-14 12:46:02 +0100 | [diff] [blame] | 16 | CFLAGS_REMOVE_tc2_pm.o = -pg |
Russell King | 0462b44 | 2011-01-19 10:24:56 +0000 | [diff] [blame] | 17 | obj-$(CONFIG_SMP) += platsmp.o |
Vladimir Murzin | 1847119 | 2016-04-25 09:49:13 +0100 | [diff] [blame] | 18 | |
| 19 | obj-$(CONFIG_ARCH_MPS2) += v2m-mps2.o |