Commit 1c31e3ec authored by Gordana Cmiljanovic's avatar Gordana Cmiljanovic Committed by James Zern

Add support for MIPS64.

Change-Id: I78e27bf942b4a825543e76be25546b6458bad8b6
parent 0b8b682b
...@@ -65,6 +65,7 @@ COMPILING THE APPLICATIONS/LIBRARIES: ...@@ -65,6 +65,7 @@ COMPILING THE APPLICATIONS/LIBRARIES:
armv7-win32-vs12 armv7-win32-vs12
armv7s-darwin-gcc armv7s-darwin-gcc
mips32-linux-gcc mips32-linux-gcc
mips64-linux-gcc
ppc32-darwin8-gcc ppc32-darwin8-gcc
ppc32-darwin9-gcc ppc32-darwin9-gcc
ppc32-linux-gcc ppc32-linux-gcc
......
...@@ -365,13 +365,13 @@ if ($opts{arch} eq 'x86') { ...@@ -365,13 +365,13 @@ if ($opts{arch} eq 'x86') {
@REQUIRES = filter(keys %required ? keys %required : qw/mmx sse sse2/); @REQUIRES = filter(keys %required ? keys %required : qw/mmx sse sse2/);
&require(@REQUIRES); &require(@REQUIRES);
x86; x86;
} elsif ($opts{arch} eq 'mips32') { } elsif ($opts{arch} eq 'mips32' || $opts{arch} eq 'mips64') {
@ALL_ARCHS = filter(qw/mips32/); @ALL_ARCHS = filter("$opts{arch}");
open CONFIG_FILE, $opts{config} or open CONFIG_FILE, $opts{config} or
die "Error opening config file '$opts{config}': $!\n"; die "Error opening config file '$opts{config}': $!\n";
while (<CONFIG_FILE>) { while (<CONFIG_FILE>) {
if (/HAVE_DSPR2=yes/) { if (/HAVE_DSPR2=yes/) {
@ALL_ARCHS = filter(qw/mips32 dspr2/); @ALL_ARCHS = filter("$opts{arch}", qw/dspr2/);
last; last;
} }
} }
......
...@@ -111,6 +111,7 @@ all_platforms="${all_platforms} armv7-win32-vs11" ...@@ -111,6 +111,7 @@ all_platforms="${all_platforms} armv7-win32-vs11"
all_platforms="${all_platforms} armv7-win32-vs12" all_platforms="${all_platforms} armv7-win32-vs12"
all_platforms="${all_platforms} armv7s-darwin-gcc" all_platforms="${all_platforms} armv7s-darwin-gcc"
all_platforms="${all_platforms} mips32-linux-gcc" all_platforms="${all_platforms} mips32-linux-gcc"
all_platforms="${all_platforms} mips64-linux-gcc"
all_platforms="${all_platforms} ppc32-darwin8-gcc" all_platforms="${all_platforms} ppc32-darwin8-gcc"
all_platforms="${all_platforms} ppc32-darwin9-gcc" all_platforms="${all_platforms} ppc32-darwin9-gcc"
all_platforms="${all_platforms} ppc32-linux-gcc" all_platforms="${all_platforms} ppc32-linux-gcc"
...@@ -254,6 +255,8 @@ ARCH_EXT_LIST=" ...@@ -254,6 +255,8 @@ ARCH_EXT_LIST="
mips32 mips32
dspr2 dspr2
mips64
mmx mmx
sse sse
sse2 sse2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment