summaryrefslogtreecommitdiff
path: root/package/libvpx/patches/patch-build_make_rtcd_sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/libvpx/patches/patch-build_make_rtcd_sh')
-rw-r--r--package/libvpx/patches/patch-build_make_rtcd_sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/libvpx/patches/patch-build_make_rtcd_sh b/package/libvpx/patches/patch-build_make_rtcd_sh
new file mode 100644
index 000000000..75ddffe61
--- /dev/null
+++ b/package/libvpx/patches/patch-build_make_rtcd_sh
@@ -0,0 +1,18 @@
+--- libvpx-v1.2.0.orig/build/make/rtcd.sh 2013-10-14 20:16:36.000000000 +0200
++++ libvpx-v1.2.0/build/make/rtcd.sh 2014-01-06 11:24:01.457213627 +0100
+@@ -338,6 +338,15 @@ case $arch in
+ fi
+ mips
+ ;;
++ mips64)
++ ALL_ARCHS=$(filter mips64)
++ dspr2=$([ -f "$config_file" ] && eval echo $(grep HAVE_DSPR2 "$config_file"))
++ HAVE_DSPR2="${dspr2#*=}"
++ if [ "$HAVE_DSPR2" = "yes" ]; then
++ ALL_ARCHS=$(filter mips64 dspr2)
++ fi
++ mips
++ ;;
+ armv5te)
+ ALL_ARCHS=$(filter edsp)
+ arm