mesa-demos,piglit,packagegroup-core-tools-testapps: Remove dependency on mesa-demos

mesa-demos demand libgles1 and userland driver does not have it, therefore make it
conditional on choice of graphics driver, remove it when using userland driver and
keep it when using vc4 graphics driver.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2018-07-07 17:32:25 -07:00 committed by Andrei Gherzan
parent 52255ae3af
commit a0beccee73
4 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,2 @@
# mesa-demos needs gles1 and userland driver does not have it, works ok with vc4 graphics driver
X11GLTOOLS_remove_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'mesa-demos', d)}"

View File

@ -1,2 +1,2 @@
EGLINFO_DEVICE_rpi = "raspberrypi"
COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 'null', '"(.*)"', d)}"
COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 'null', '(.*)', d)}"

View File

@ -0,0 +1,2 @@
# mesa-demos need libgles1 and userland driver does not have it
COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '(.*)', 'null', d)}"

View File

@ -0,0 +1,2 @@
# mesa-demos need libgles1 and userland driver does not have it so remove it from piglit rdeps
RDEPENDS_${PN}_remove_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'mesa-demos', d)}"