summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-10-24 04:11:50 +0000
committerEric Andersen <andersen@codepoet.org>2003-10-24 04:11:50 +0000
commitda19a2dfd6554bf021669cb84fe576c5223b554b (patch)
tree98ddda3176326fc93418e07a1b11e3fb97734b36 /Rules.mak
parent39ae188998b11650f5ca959eb86bc5bb5bc0bad2 (diff)
better tuning for xscale that copes with generally available toolchains
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rules.mak b/Rules.mak
index 7d27d7664..0ac462110 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -147,8 +147,8 @@ ifeq ($(strip $(TARGET_ARCH)),arm)
CPU_CFLAGS-$(CONFIG_ARM926T)+=-mtune=arm9tdmi -march=armv4
CPU_CFLAGS-$(CONFIG_ARM_SA110)+=-mtune=strongarm110 -march=armv4
CPU_CFLAGS-$(CONFIG_ARM_SA1100)+=-mtune=strongarm1100 -march=armv4
- CPU_CFLAGS-$(CONFIG_ARM_XSCALE)+=$(call check_gcc,-mtune=xscale,-mtune=strongarm110) \
- $(call check_gcc,-march=armv5te,-march=armv4 -Wa$(comma)-mxscale)
+ CPU_CFLAGS-$(CONFIG_ARM_XSCALE)+=$(call check_gcc,-mtune=xscale,-mtune=strongarm110)
+ CPU_CFLAGS-$(CONFIG_ARM_XSCALE)+=-march=armv4 -Wa,-mcpu=xscale
endif
ifeq ($(strip $(TARGET_ARCH)),sh)