mirror of
https://git.yoctoproject.org/poky
synced 2026-05-07 16:59:22 +00:00
mesa: use PACKAGECONFIG instead of DISTRO_FEATURES to define EGL_PLATFORMS
* it makes it easier to change PACKAGECONFIG in .bbappend and get consistent EGL_PLATFORMS (From OE-Core rev: 50dcfeab2b18422f3ab067893a0b68b17706d6e2) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
85cdc71f9d
commit
e6ca54c8b1
@@ -42,8 +42,8 @@ EXTRA_OECONF += "--enable-gbm"
|
||||
PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2"
|
||||
|
||||
EGL_PLATFORMS = "drm"
|
||||
EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'x11', ',x11', '', d)}"
|
||||
EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'wayland', ',wayland', '', d)}"
|
||||
EGL_PLATFORMS .="${@base_contains('PACKAGECONFIG', 'x11', ',x11', '', d)}"
|
||||
EGL_PLATFORMS .="${@base_contains('PACKAGECONFIG', 'wayland', ',wayland', '', d)}"
|
||||
PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl"
|
||||
|
||||
# Multiple virtual/gl providers being built breaks staging
|
||||
|
||||
Reference in New Issue
Block a user