diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-11-08 05:11:19 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-11-26 05:51:05 -0500 |
commit | 283a1b92e25fe3a62c766a042f96dad2eefa7d17 (patch) | |
tree | 3bd026babf438fd2ffc64d593825e4bc7443d20d /arch/arm/kernel/Makefile | |
parent | 6d803ba736abb5e122dede70a4720e4843dd6df4 (diff) |
ARM: always build swp_emulate as ARMv7
swp_emulate is only used on ARMv7+, and includes ARMv7+ assembly
instructions. Allow the assembler to accept ARMv7 instructions,
but leave the compiler's code generation options alone.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/Makefile')
-rw-r--r-- | arch/arm/kernel/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kernel/Makefile b/arch/arm/kernel/Makefile index 119a6bb59bde..4036a5926465 100644 --- a/arch/arm/kernel/Makefile +++ b/arch/arm/kernel/Makefile | |||
@@ -43,6 +43,7 @@ obj-$(CONFIG_ARM_UNWIND) += unwind.o | |||
43 | obj-$(CONFIG_HAVE_TCM) += tcm.o | 43 | obj-$(CONFIG_HAVE_TCM) += tcm.o |
44 | obj-$(CONFIG_CRASH_DUMP) += crash_dump.o | 44 | obj-$(CONFIG_CRASH_DUMP) += crash_dump.o |
45 | obj-$(CONFIG_SWP_EMULATE) += swp_emulate.o | 45 | obj-$(CONFIG_SWP_EMULATE) += swp_emulate.o |
46 | CFLAGS_swp_emulate.o := -Wa,-march=armv7-a | ||
46 | obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o | 47 | obj-$(CONFIG_HAVE_HW_BREAKPOINT) += hw_breakpoint.o |
47 | 48 | ||
48 | obj-$(CONFIG_CRUNCH) += crunch.o crunch-bits.o | 49 | obj-$(CONFIG_CRUNCH) += crunch.o crunch-bits.o |