summaryrefslogtreecommitdiff
path: root/build/make
diff options
context:
space:
mode:
authorGordana Cmiljanovic <gordana.cmiljanovic@imgtec.com>2014-08-07 19:09:47 +0200
committerJames Zern <jzern@google.com>2014-08-15 20:16:52 -0700
commit1c31e3ecc012646eb39dccfbfd2aabf28cf8636b (patch)
treefd438e08ceb0f58c76b92d030600d6fae4475b94 /build/make
parent0b8b682b70b2e007071824b2733c5c11d6f4fd6f (diff)
downloadlibvpx-1c31e3ecc012646eb39dccfbfd2aabf28cf8636b.tar
libvpx-1c31e3ecc012646eb39dccfbfd2aabf28cf8636b.tar.gz
libvpx-1c31e3ecc012646eb39dccfbfd2aabf28cf8636b.tar.bz2
libvpx-1c31e3ecc012646eb39dccfbfd2aabf28cf8636b.zip
Add support for MIPS64.
Change-Id: I78e27bf942b4a825543e76be25546b6458bad8b6
Diffstat (limited to 'build/make')
-rwxr-xr-xbuild/make/rtcd.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/make/rtcd.pl b/build/make/rtcd.pl
index 28ef69c23..5b0cefa45 100755
--- a/build/make/rtcd.pl
+++ b/build/make/rtcd.pl
@@ -365,13 +365,13 @@ if ($opts{arch} eq 'x86') {
@REQUIRES = filter(keys %required ? keys %required : qw/mmx sse sse2/);
&require(@REQUIRES);
x86;
-} elsif ($opts{arch} eq 'mips32') {
- @ALL_ARCHS = filter(qw/mips32/);
+} elsif ($opts{arch} eq 'mips32' || $opts{arch} eq 'mips64') {
+ @ALL_ARCHS = filter("$opts{arch}");
open CONFIG_FILE, $opts{config} or
die "Error opening config file '$opts{config}': $!\n";
while (<CONFIG_FILE>) {
if (/HAVE_DSPR2=yes/) {
- @ALL_ARCHS = filter(qw/mips32 dspr2/);
+ @ALL_ARCHS = filter("$opts{arch}", qw/dspr2/);
last;
}
}