Commit fb56090c authored by Rafaël Carré's avatar Rafaël Carré

contrib: ffmpeg: add flags for armv6

parent 335457ee
...@@ -198,6 +198,7 @@ check_android_sdk() ...@@ -198,6 +198,7 @@ check_android_sdk()
add_make "ANDROID_ABI := ${ANDROID_ABI}" add_make "ANDROID_ABI := ${ANDROID_ABI}"
[ ${ANDROID_ABI} = "armeabi-v7a" ] && add_make_enabled "HAVE_NEON" [ ${ANDROID_ABI} = "armeabi-v7a" ] && add_make_enabled "HAVE_NEON"
[ ${ANDROID_ABI} = "armeabi-v7a" ] && add_make_enabled "HAVE_ARMV7A" [ ${ANDROID_ABI} = "armeabi-v7a" ] && add_make_enabled "HAVE_ARMV7A"
[ ${ANDROID_ABI} = "armeabi" -a -z "${NO_ARMV6}" ] && add_make_enabled "HAVE_ARMV6"
} }
test -z "$PREFIX" || add_make "PREFIX := $PREFIX" test -z "$PREFIX" || add_make "PREFIX := $PREFIX"
......
...@@ -60,6 +60,9 @@ endif ...@@ -60,6 +60,9 @@ endif
ifdef HAVE_ARMV7A ifdef HAVE_ARMV7A
FFMPEGCONF += --cpu=cortex-a8 FFMPEGCONF += --cpu=cortex-a8
endif endif
ifdef HAVE_ARMV6
FFMPEGCONF += --cpu=armv6 --disable-neon
endif
endif endif
# MIPS stuff # MIPS stuff
......
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