diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2020-06-01 14:17:16 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2020-06-01 15:21:58 +0800 |
commit | 698bb64c32b0346e178b6a6655e5446b536bafd0 (patch) | |
tree | 3587fc2a46d54ba23b4d4e14ffba636074391389 | |
parent | b7bb8251eb447a8df157e2c88d25ae966b4b95cd (diff) | |
download | meta-intel-698bb64c32b0346e178b6a6655e5446b536bafd0.tar.gz |
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 <anuj.mittal@intel.com>
-rw-r--r-- | recipes-multimedia/libva/intel-media-driver_20.1.1.bb | 7 |
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 | 14 | COMPATIBLE_HOST = '(i.86|x86_64).*-linux' |
15 | COMPATIBLE_HOST = '(x86_64).*-linux' | ||
16 | 15 | ||
17 | inherit ${COMPAT_DISTRO_FEATURE_CHECK} | 16 | inherit ${COMPAT_DISTRO_FEATURE_CHECK} |
18 | REQUIRED_DISTRO_FEATURES = "opengl" | 17 | REQUIRED_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 | ||
40 | CXXFLAGS_append_x86 = " -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE" | ||
41 | |||
41 | do_configure_prepend_toolchain-clang() { | 42 | do_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 | ||
46 | FILES_${PN} += " \ | 46 | FILES_${PN} += " \ |
47 | ${libdir}/dri/ \ | 47 | ${libdir}/dri/ \ |
48 | ${libdir}/igfxcmrt64.so \ | ||
49 | " | 48 | " |