mesa-demos: enable build with userland graphics drivers.

* mesa-demos can be built fine if both gles1 and egl options are
disabled. This allows to have utilities like glxinfo or glxgears

Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
This commit is contained in:
Carlos Alberto Lopez Perez 2023-03-02 21:16:48 +01:00 committed by Andrei Gherzan
parent e15b876155
commit 15206a15b4

View File

@ -1,2 +1,3 @@
# mesa-demos need libgles1 and userland driver does not have it
COMPATIBLE_HOST:rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '(.*)', 'null', d)}"
# mesa-demos userland driver doesn't provide libgles1 and the EGL headers it provides break the mesa-demos build.
# And enabling the `wayland` option without enabling `egl` is useless.
PACKAGECONFIG:remove:rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'egl gles1 wayland', d)}"