summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/libva
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-multimedia/libva')
-rw-r--r--recipes-multimedia/libva/intel-media-driver_20.1.1.bb7
1 files changed, 3 insertions, 4 deletions
diff --git a/recipes-multimedia/libva/intel-media-driver_20.1.1.bb b/recipes-multimedia/libva/intel-media-driver_20.1.1.bb
index e1c08fab..15245ee1 100644
--- a/recipes-multimedia/libva/intel-media-driver_20.1.1.bb
+++ b/recipes-multimedia/libva/intel-media-driver_20.1.1.bb
@@ -11,8 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=6aab5363823095ce682b155fef0231f0 \
11 file://media_driver/media_libvpx.LICENSE;md5=d5b04755015be901744a78cc30d390d4 \ 11 file://media_driver/media_libvpx.LICENSE;md5=d5b04755015be901744a78cc30d390d4 \
12 " 12 "
13 13
14# Only for 64 bit until this is resolved: https://github.com/intel/media-driver/issues/356 14COMPATIBLE_HOST = '(i.86|x86_64).*-linux'
15COMPATIBLE_HOST = '(x86_64).*-linux'
16 15
17inherit ${COMPAT_DISTRO_FEATURE_CHECK} 16inherit ${COMPAT_DISTRO_FEATURE_CHECK}
18REQUIRED_DISTRO_FEATURES = "opengl" 17REQUIRED_DISTRO_FEATURES = "opengl"
@@ -38,12 +37,12 @@ EXTRA_OECMAKE += " \
38 -DMEDIA_BUILD_FATAL_WARNINGS=OFF \ 37 -DMEDIA_BUILD_FATAL_WARNINGS=OFF \
39 " 38 "
40 39
40CXXFLAGS_append_x86 = " -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
41
41do_configure_prepend_toolchain-clang() { 42do_configure_prepend_toolchain-clang() {
42 sed -i -e '/-fno-tree-pre/d' ${S}/media_driver/cmake/linux/media_compile_flags_linux.cmake 43 sed -i -e '/-fno-tree-pre/d' ${S}/media_driver/cmake/linux/media_compile_flags_linux.cmake
43} 44}
44 45
45# See: https://github.com/intel/media-driver/issues/358
46FILES_${PN} += " \ 46FILES_${PN} += " \
47 ${libdir}/dri/ \ 47 ${libdir}/dri/ \
48 ${libdir}/igfxcmrt64.so \
49 " 48 "