ARM: spear: build hotplug.o for armv7-a
authorArnd Bergmann <arnd@arndb.de>
Tue, 19 Mar 2013 21:03:13 +0000 (22:03 +0100)
committerArnd Bergmann <arnd@arndb.de>
Tue, 19 Mar 2013 21:03:13 +0000 (22:03 +0100)
The hotplug.c file uses assembly instructions that are only available
on ARMv7 but not on ARMv6. This is ok because we know that code will
only run on arm ARMv7 SPEARr13xx, but it produces build errors when
we also enable one of the ARMv6 targets in a multiplatform configuration.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-spear/Makefile

index dc9ce80508ad1642899b4476c882d8b793cf2327..af9bffb94f1cd07c2f5648f21d8a969e634ff61e 100644 (file)
@@ -22,3 +22,5 @@ obj-$(CONFIG_MACH_SPEAR320)   += spear320.o
 
 obj-$(CONFIG_ARCH_SPEAR6XX)    += spear6xx.o
 obj-$(CONFIG_ARCH_SPEAR6XX)    += pl080.o
+
+CFLAGS_hotplug.o               += -march=armv7-a
This page took 0.02798 seconds and 5 git commands to generate.