summaryrefslogtreecommitdiff
path: root/arch/arm/mach-spear/Makefile
blob: af9bffb94f1cd07c2f5648f21d8a969e634ff61e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#
# SPEAr Platform specific Makefile
#

ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include

# Common support
obj-y	:= restart.o time.o

obj-$(CONFIG_SMP)		+= headsmp.o platsmp.o
obj-$(CONFIG_HOTPLUG_CPU)	+= hotplug.o

obj-$(CONFIG_ARCH_SPEAR13XX)	+= spear13xx.o
obj-$(CONFIG_MACH_SPEAR1310)	+= spear1310.o
obj-$(CONFIG_MACH_SPEAR1340)	+= spear1340.o

obj-$(CONFIG_ARCH_SPEAR3XX)	+= spear3xx.o
obj-$(CONFIG_ARCH_SPEAR3XX)	+= pl080.o
obj-$(CONFIG_MACH_SPEAR300)	+= spear300.o
obj-$(CONFIG_MACH_SPEAR310)	+= spear310.o
obj-$(CONFIG_MACH_SPEAR320)	+= spear320.o

obj-$(CONFIG_ARCH_SPEAR6XX)	+= spear6xx.o
obj-$(CONFIG_ARCH_SPEAR6XX)	+= pl080.o

CFLAGS_hotplug.o		+= -march=armv7-a