From 698bb64c32b0346e178b6a6655e5446b536bafd0 Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Mon, 1 Jun 2020 14:17:16 +0800 Subject: intel-media-driver: enable build for 32 bit Make sure that we can build for 32 bit and remove obsolete comment about the packaging too. The libraries are now versioned and packaged properly. Signed-off-by: Anuj Mittal --- recipes-multimedia/libva/intel-media-driver_20.1.1.bb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'recipes-multimedia/libva') 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 \ file://media_driver/media_libvpx.LICENSE;md5=d5b04755015be901744a78cc30d390d4 \ " -# Only for 64 bit until this is resolved: https://github.com/intel/media-driver/issues/356 -COMPATIBLE_HOST = '(x86_64).*-linux' +COMPATIBLE_HOST = '(i.86|x86_64).*-linux' inherit ${COMPAT_DISTRO_FEATURE_CHECK} REQUIRED_DISTRO_FEATURES = "opengl" @@ -38,12 +37,12 @@ EXTRA_OECMAKE += " \ -DMEDIA_BUILD_FATAL_WARNINGS=OFF \ " +CXXFLAGS_append_x86 = " -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" + do_configure_prepend_toolchain-clang() { sed -i -e '/-fno-tree-pre/d' ${S}/media_driver/cmake/linux/media_compile_flags_linux.cmake } -# See: https://github.com/intel/media-driver/issues/358 FILES_${PN} += " \ ${libdir}/dri/ \ - ${libdir}/igfxcmrt64.so \ " -- cgit v1.2.3-54-g00ecf