]> git.ipfire.org Git - thirdparty/kernel/linux.git/blob - arch/arm/mach-spear/Makefile
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / arch / arm / mach-spear / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 #
3 # SPEAr Platform specific Makefile
4 #
5
6 ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include
7
8 # Common support
9 obj-y := restart.o time.o
10
11 smp-$(CONFIG_SMP) += headsmp.o platsmp.o
12 smp-$(CONFIG_HOTPLUG_CPU) += hotplug.o
13
14 obj-$(CONFIG_ARCH_SPEAR13XX) += spear13xx.o $(smp-y)
15 obj-$(CONFIG_MACH_SPEAR1310) += spear1310.o
16 obj-$(CONFIG_MACH_SPEAR1340) += spear1340.o
17
18 obj-$(CONFIG_ARCH_SPEAR3XX) += spear3xx.o
19 obj-$(CONFIG_ARCH_SPEAR3XX) += pl080.o
20 obj-$(CONFIG_MACH_SPEAR300) += spear300.o
21 obj-$(CONFIG_MACH_SPEAR310) += spear310.o
22 obj-$(CONFIG_MACH_SPEAR320) += spear320.o
23
24 obj-$(CONFIG_ARCH_SPEAR6XX) += spear6xx.o
25 obj-$(CONFIG_ARCH_SPEAR6XX) += pl080.o
26
27 CFLAGS_hotplug.o += -march=armv7-a