summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-12-03 23:12:09 +0000
committerEric Andersen <andersen@codepoet.org>2002-12-03 23:12:09 +0000
commite766a1819da2331c964793379d24e204e3c0fa69 (patch)
tree3a13b459f8b719fc9c8dee00eaf14b478f93fa98 /Rules.mak
parenta2f661dc3db3ee13acab8430b0a4d7adb000363f (diff)
Make the arm cpu-specific optimizations work properly
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rules.mak b/Rules.mak
index dd3a6cab0..97aa4b6fc 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -132,9 +132,9 @@ endif
ifeq ($(strip $(TARGET_ARCH)),arm)
OPTIMIZATION+=-fstrict-aliasing
CPU_CFLAGS-$(CONFIG_GENERIC_ARM):=
- CPU_CFLAGS-$(CONFIG_ARM7TDMI):="-mcpu=arm7tdmi"
- CPU_CFLAGS-$(CONFIG_STRONGARM):="-mcpu=strongarm"
- CPU_CFLAGS-$(CONFIG_XSCALE):="$(call check_gcc,-mcpu=xscale,-mcpu=strongarm)"
+ CPU_CFLAGS-$(CONFIG_ARM7TDMI):="-mtune=arm7tdmi"
+ CPU_CFLAGS-$(CONFIG_STRONGARM):="-mtune=strongarm"
+ CPU_CFLAGS-$(CONFIG_XSCALE):="-mtune=xscale"
endif
ifeq ($(strip $(TARGET_ARCH)),sh)