summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-04 10:52:28 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-04 10:52:28 +0000
commitfde367d91f696f712ed0b70e74656656d00237df (patch)
treed81d2ee13ea22b3f2308bdfc066afa3e0b550f63 /test
parent2034056a27f62ac794f8f6c6b8409cc26cb00dd3 (diff)
Fixup arch substitution
Diffstat (limited to 'test')
-rw-r--r--test/Rules.mak14
1 files changed, 12 insertions, 2 deletions
diff --git a/test/Rules.mak b/test/Rules.mak
index 8c945afe9..05f44c780 100644
--- a/test/Rules.mak
+++ b/test/Rules.mak
@@ -10,8 +10,18 @@ include $(TESTDIR)../Config
include $(TESTDIR)Config
-NATIVE_ARCH = ${shell uname -m | sed -e 's/i.86/i386/' -e 's/sparc.*/sparc/' \
- -e 's/arm.*/arm/g' -e 's/m68k.*/m68k/' -e 's/ppc/powerpc/'}
+# Use NATIVE_ARCH here since running these test is not
+# even possible when cross compiling...
+NATIVE_ARCH = ${shell uname -m | sed \
+ -e 's/i.86/i386/' \
+ -e 's/sparc.*/sparc/' \
+ -e 's/arm.*/arm/g' \
+ -e 's/m68k.*/m68k/' \
+ -e 's/ppc/powerpc/g' \
+ -e 's/v850.*/v850/g' \
+ -e 's/sh[234].*/sh/' \
+ -e 's/mips.*/mips/' \
+ }
# If you are running a cross compiler, you may want to set this
# to something more interesting...