Arnd Bergmann | a7ed099 | 2012-12-02 15:12:47 +0100 | [diff] [blame] | 1 | # |
| 2 | # SPEAr Platform specific Makefile |
| 3 | # |
| 4 | |
Arnd Bergmann | 5b65fc5 | 2012-12-06 14:51:56 +0100 | [diff] [blame] | 5 | ccflags-$(CONFIG_ARCH_MULTIPLATFORM) := -I$(srctree)/$(src)/include |
| 6 | |
Arnd Bergmann | a7ed099 | 2012-12-02 15:12:47 +0100 | [diff] [blame] | 7 | # Common support |
| 8 | obj-y := restart.o time.o |
| 9 | |
Arnd Bergmann | a94d236 | 2013-04-30 14:53:19 +0200 | [diff] [blame] | 10 | smp-$(CONFIG_SMP) += headsmp.o platsmp.o |
| 11 | smp-$(CONFIG_HOTPLUG_CPU) += hotplug.o |
Arnd Bergmann | a7ed099 | 2012-12-02 15:12:47 +0100 | [diff] [blame] | 12 | |
Arnd Bergmann | a94d236 | 2013-04-30 14:53:19 +0200 | [diff] [blame] | 13 | obj-$(CONFIG_ARCH_SPEAR13XX) += spear13xx.o $(smp-y) |
Arnd Bergmann | a7ed099 | 2012-12-02 15:12:47 +0100 | [diff] [blame] | 14 | obj-$(CONFIG_MACH_SPEAR1310) += spear1310.o |
| 15 | obj-$(CONFIG_MACH_SPEAR1340) += spear1340.o |
| 16 | |
| 17 | obj-$(CONFIG_ARCH_SPEAR3XX) += spear3xx.o |
| 18 | obj-$(CONFIG_ARCH_SPEAR3XX) += pl080.o |
| 19 | obj-$(CONFIG_MACH_SPEAR300) += spear300.o |
| 20 | obj-$(CONFIG_MACH_SPEAR310) += spear310.o |
| 21 | obj-$(CONFIG_MACH_SPEAR320) += spear320.o |
| 22 | |
| 23 | obj-$(CONFIG_ARCH_SPEAR6XX) += spear6xx.o |
| 24 | obj-$(CONFIG_ARCH_SPEAR6XX) += pl080.o |
Arnd Bergmann | cde35bd | 2013-03-19 22:03:13 +0100 | [diff] [blame] | 25 | |
| 26 | CFLAGS_hotplug.o += -march=armv7-a |