1# SPDX-License-Identifier: GPL-2.0 2# 3# SPEAr Platform specific Makefile 4# 5 6# Common support 7obj-y := restart.o time.o 8 9smp-$(CONFIG_SMP) += headsmp.o platsmp.o 10smp-$(CONFIG_HOTPLUG_CPU) += hotplug.o 11 12obj-$(CONFIG_ARCH_SPEAR13XX) += spear13xx.o $(smp-y) 13obj-$(CONFIG_MACH_SPEAR1310) += spear1310.o 14obj-$(CONFIG_MACH_SPEAR1340) += spear1340.o 15 16obj-$(CONFIG_ARCH_SPEAR3XX) += spear3xx.o 17obj-$(CONFIG_ARCH_SPEAR3XX) += pl080.o 18obj-$(CONFIG_MACH_SPEAR300) += spear300.o 19obj-$(CONFIG_MACH_SPEAR310) += spear310.o 20obj-$(CONFIG_MACH_SPEAR320) += spear320.o 21 22obj-$(CONFIG_ARCH_SPEAR6XX) += spear6xx.o 23obj-$(CONFIG_ARCH_SPEAR6XX) += pl080.o 24 25CFLAGS_hotplug.o += -march=armv7-a 26