diff options
author | George G. Davis <gdavis@mvista.com> | 2006-12-05 12:28:04 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-12-07 11:01:11 -0500 |
commit | 5636810d6f17493717ef0f03efc0315026db934d (patch) | |
tree | 599c59b5a0b04c79f39eb924b94f0ad8ad21bf8f /arch | |
parent | afe4b25e7d9260d85fccb2d13c9933a987bdfc8a (diff) |
[ARM] 3982/2: Explicitly select 32-bit ARM ISA (-marm)
Do not assume that the ARM GCC toolchain defaults to building for the
32-bit ARM ISA (-marm) case. Instead, explicitly select -marm in CFLAGS
since the toolchain default can be for the 16-bit Thumb ISA (-mthumb) in
some odd/rare cases.
Signed-off-by: George G. Davis <gdavis@mvista.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index 6f4f8bf36071..b6001f97c80c 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -15,6 +15,8 @@ CPPFLAGS_vmlinux.lds = -DTEXT_OFFSET=$(TEXT_OFFSET) | |||
15 | OBJCOPYFLAGS :=-O binary -R .note -R .comment -S | 15 | OBJCOPYFLAGS :=-O binary -R .note -R .comment -S |
16 | GZFLAGS :=-9 | 16 | GZFLAGS :=-9 |
17 | #CFLAGS +=-pipe | 17 | #CFLAGS +=-pipe |
18 | # Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb: | ||
19 | CFLAGS +=$(call cc-option,-marm,) | ||
18 | 20 | ||
19 | # Do not use arch/arm/defconfig - it's always outdated. | 21 | # Do not use arch/arm/defconfig - it's always outdated. |
20 | # Select a platform tht is kept up-to-date | 22 | # Select a platform tht is kept up-to-date |