diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-01-09 10:20:35 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-01-09 10:20:35 +0000 |
commit | cf53afff95c253b8ef12c6f712c8022304f53dc2 (patch) | |
tree | 90e39f57e33a27e549b1ab7f79ea76fa07e240c7 /Rules.mak | |
parent | f605da2fb6ec413fbd86e45a78f53cb2e721ab74 (diff) |
Fixup v850 architecture autodetection, from Miles Bader
<miles@lsi.nec.co.jp>
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -37,9 +37,11 @@ LIBC=$(TOPDIR)libc/libc.a BUILDTIME = ${shell TZ=UTC date --utc "+%Y.%m.%d-%H:%M%z"} GCCINCDIR = ${shell $(CC) -print-search-dirs | sed -ne "s/install: \(.*\)/\1include/gp"} 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/arm.*/arm/g' -e 's/m68k.*/m68k/' -e 's/ppc/powerpc/g' \ + -e 's/v850.*/v850/g'} TARGET_ARCH=${shell $(CC) -dumpmachine | sed -e s'/-.*//' -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/arm.*/arm/g' -e 's/m68k.*/m68k/' -e 's/ppc/powerpc/g' \ + -e 's/v850.*/v850/g'} # Some nice architecture specific optimizations ifndef OPTIMIZATION |