mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
virglrenderer: requires distro feature opengl
virglrenderer depends on 2 packages: * mesa: requires one of distro features opengl or vulkan * libepoxy: requires distro feature opengl So make virglrenderer requires distro feature opengl. Otherwise it fails to build world if 'opengl' doesn't exist in DISTRO_FEATURES. (From OE-Core rev: 63c98d10231271135013e04749ac351247bd6546) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -13,7 +13,10 @@ SRC_URI = "git://anongit.freedesktop.org/virglrenderer \
|
|||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
inherit autotools pkgconfig
|
inherit autotools pkgconfig distro_features_check
|
||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|
||||||
|
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||||
|
REQUIRED_DISTRO_FEATURES_class-native = ""
|
||||||
|
REQUIRED_DISTRO_FEATURES_class-nativesdk = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user