diff options
-rw-r--r-- | tools/depends/target/ffmpeg/CMakeLists.txt | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/tools/depends/target/ffmpeg/CMakeLists.txt b/tools/depends/target/ffmpeg/CMakeLists.txt index 5bc3d791f9..0a9e9d38ea 100644 --- a/tools/depends/target/ffmpeg/CMakeLists.txt +++ b/tools/depends/target/ffmpeg/CMakeLists.txt @@ -57,15 +57,10 @@ elseif(CORE_SYSTEM_NAME STREQUAL osx) --target-os=darwin --disable-securetransport) elseif(CORE_SYSTEM_NAME STREQUAL rbpi) - if(CPU STREQUAL "cortex-a7" OR CPU STREQUAL "cortex-a53") - list(APPEND ffmpeg_conf --cpu=${CPU} --enable-pic --disable-armv5te --disable-armv6t2) - endif() - list(APPEND ffmpeg_conf --enable-hardcoded-tables --disable-vaapi --disable-vdpau --enable-mmal - --enable-omx-rpi) - + list(APPEND ffmpeg_conf --cpu=${CPU} --disable-vaapi --disable-vdpau) endif() -if(CPU MATCHES arm) +if(CPU MATCHES arm OR CORE_SYSTEM_NAME STREQUAL rbpi) list(APPEND ffmpeg_conf --enable-pic --disable-armv5te --disable-armv6t2) elseif(CPU MATCHES mips) list(APPEND ffmpeg_conf --disable-mips32r2 --disable-mipsdspr1 --disable-mipsdspr2) |