2012-12-02 15:12:47 +01:00
|
|
|
#
|
|
|
|
# SPEAr Platform specific Makefile
|
|
|
|
#
|
|
|
|
|
2012-12-06 14:51:56 +01:00
|
|
|
ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include
|
|
|
|
|
2012-12-02 15:12:47 +01:00
|
|
|
# Common support
|
|
|
|
obj-y := restart.o time.o
|
|
|
|
|
2013-04-30 14:53:19 +02:00
|
|
|
smp-$(CONFIG_SMP) += headsmp.o platsmp.o
|
|
|
|
smp-$(CONFIG_HOTPLUG_CPU) += hotplug.o
|
2012-12-02 15:12:47 +01:00
|
|
|
|
2013-04-30 14:53:19 +02:00
|
|
|
obj-$(CONFIG_ARCH_SPEAR13XX) += spear13xx.o $(smp-y)
|
2012-12-02 15:12:47 +01:00
|
|
|
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
|
2013-03-19 22:03:13 +01:00
|
|
|
|
|
|
|
CFLAGS_hotplug.o += -march=armv7-a
|