mirror of
git://git.yoctoproject.org/meta-intel
synced 2026-01-01 13:58:05 +00:00
meta-intel: support distro without OpenGL
When a distro disables OpenGL or using meta-intel without any distro set, a world build fails for all recipes depending directly or indirectly on libva, because libva is disables unless opengl is in DISTRO_FEATURES. "opengl" must be checked for in all those recipes. The specific use case was testing of meta-intel with yocto-compat-layer.py against just OE-core with the local.conf.sample from OE-core, i.e. DISTRO unset. Without this change, that failed with: ERROR: Nothing PROVIDES 'libva' (but /fast/work/meta-intel/common/recipes-multimedia/libyami/libyami-utils_1.1.0.bb, /fast/work/meta-intel/common/recipes-multimedia/libyami/libyami_1.1.0.bb, /fast/work/meta-intel/common/recipes-multimedia/libva/libva-intel-driver_1.7.3.bb DEPENDS on or otherwise requires it) ERROR: libva was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES) ERROR: Nothing RPROVIDES 'libyami-dev' (but /fast/work/meta-intel/common/recipes-multimedia/libyami/libyami_1.1.0.bb RDEPENDS on or otherwise requires it) ERROR: No eligible RPROVIDERs exist for 'libyami-dev' NOTE: Runtime target 'libyami-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['libyami-dev'] ERROR: Nothing RPROVIDES 'libva' (but /fast/work/meta-intel/common/recipes-multimedia/libva/va-intel.bb RDEPENDS on or otherwise requires it) ERROR: libva was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES) NOTE: Runtime target 'libva' is unbuildable, removing... Missing or unbuildable dependency chain was: ['libva'] ERROR: Nothing RPROVIDES 'libva-intel-driver' (but /fast/work/meta-intel/common/recipes-multimedia/libva/libva-intel-driver_1.7.3.bb RDEPENDS on or otherwise requires it) ERROR: No eligible RPROVIDERs exist for 'libva-intel-driver' NOTE: Runtime target 'libva-intel-driver' is unbuildable, removing... Missing or unbuildable dependency chain was: ['libva-intel-driver'] ERROR: Nothing RPROVIDES 'libyami-utils' (but /fast/work/meta-intel/common/recipes-multimedia/libyami/libyami-utils_1.1.0.bb RDEPENDS on or otherwise requires it) ERROR: No eligible RPROVIDERs exist for 'libyami-utils' NOTE: Runtime target 'libyami-utils' is unbuildable, removing... Missing or unbuildable dependency chain was: ['libyami-utils'] ERROR: Nothing RPROVIDES 'libyami-utils-dev' (but /fast/work/meta-intel/common/recipes-multimedia/libyami/libyami-utils_1.1.0.bb RDEPENDS on or otherwise requires it) ERROR: No eligible RPROVIDERs exist for 'libyami-utils-dev' NOTE: Runtime target 'libyami-utils-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['libyami-utils-dev'] ERROR: Nothing RPROVIDES 'libyami' (but /fast/work/meta-intel/common/recipes-multimedia/libyami/libyami_1.1.0.bb RDEPENDS on or otherwise requires it) ERROR: No eligible RPROVIDERs exist for 'libyami' NOTE: Runtime target 'libyami' is unbuildable, removing... Missing or unbuildable dependency chain was: ['libyami'] ERROR: Nothing RPROVIDES 'libva-intel-driver-dev' (but /fast/work/meta-intel/common/recipes-multimedia/libva/libva-intel-driver_1.7.3.bb RDEPENDS on or otherwise requires it) ERROR: No eligible RPROVIDERs exist for 'libva-intel-driver-dev' NOTE: Runtime target 'libva-intel-driver-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['libva-intel-driver-dev'] Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
This commit is contained in:
parent
e726360655
commit
600c8a342c
|
|
@ -19,7 +19,9 @@ SRCREV = "c747c3428cd862869b75e96b737fa61532d6f27f"
|
|||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools pkgconfig distro_features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "x11", "x11", "", d)} \
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "opengl wayland", "wayland", "", d)}"
|
||||
|
|
|
|||
|
|
@ -26,3 +26,7 @@ RDEPENDS_va-intel = " \
|
|||
"
|
||||
|
||||
COMPATIBLE_HOST = '(i.86|x86_64).*-linux*'
|
||||
|
||||
inherit distro_features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||
|
|
|
|||
|
|
@ -18,4 +18,6 @@ DEPENDS = "libva libyami"
|
|||
|
||||
EXTRA_OECONF = " --enable-tests-gles --disable-md5"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools pkgconfig distro_features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||
|
|
|
|||
|
|
@ -19,4 +19,6 @@ PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "x11", "x11", "", d)}
|
|||
PACKAGECONFIG[x11] = "--enable-x11,--disable-x11,virtual/libx11 libxrandr libxrender"
|
||||
|
||||
DEPENDS = "libva"
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools pkgconfig distro_features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user