diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-09-09 08:56:45 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-09-09 08:56:45 -0400 |
commit | 80cec14a83ad0ad109d822b3f3482a379bc481ba (patch) | |
tree | f4d9a326b7088556dc9d34e3cfc42fe4e2c3fb2e /arch/arm/boot | |
parent | fbd3bdb213e91e9e698959caae1f3b4ead515602 (diff) |
[ARM] Add -march=all to assembly file build in arch/arm/boot/compressed
This allows assembly files to be crafted to cover all ARM CPU types
rather than erroring out on instructions only in later CPUs. We
are careful in these files to only execute CPU specific code when
the CPU ID says we can.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/compressed/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile index 94462a097f86..7a03f2007882 100644 --- a/arch/arm/boot/compressed/Makefile +++ b/arch/arm/boot/compressed/Makefile | |||
@@ -76,7 +76,7 @@ KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS)) | |||
76 | endif | 76 | endif |
77 | 77 | ||
78 | EXTRA_CFLAGS := -fpic -fno-builtin | 78 | EXTRA_CFLAGS := -fpic -fno-builtin |
79 | EXTRA_AFLAGS := | 79 | EXTRA_AFLAGS := -Wa,-march=all |
80 | 80 | ||
81 | # Supply ZRELADDR, INITRD_PHYS and PARAMS_PHYS to the decompressor via | 81 | # Supply ZRELADDR, INITRD_PHYS and PARAMS_PHYS to the decompressor via |
82 | # linker symbols. We only define initrd_phys and params_phys if the | 82 | # linker symbols. We only define initrd_phys and params_phys if the |