diff mbox series

[meta-arago,kirkstone/master] arago.conf: set khronos cts build for wayland or surfaceless

Message ID 20230610015252.3826848-1-rs@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,kirkstone/master] arago.conf: set khronos cts build for wayland or surfaceless | expand

Commit Message

Randolph Sapp June 10, 2023, 1:52 a.m. UTC
From: Randolph Sapp <rs@ti.com>

Variably set the cts build for wayland or surfaceless depending on the
presence of the wayland distro feature.

Signed-off-by: Randolph Sapp <rs@ti.com>
---
 meta-arago-distro/conf/distro/arago.conf | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-arago-distro/conf/distro/arago.conf b/meta-arago-distro/conf/distro/arago.conf
index 528635e3..95c6d7af 100644
--- a/meta-arago-distro/conf/distro/arago.conf
+++ b/meta-arago-distro/conf/distro/arago.conf
@@ -98,6 +98,8 @@  PACKAGECONFIG:pn-glmark2 = "drm-gles2 wayland-gles2"
 
 # Enable testing for opencl and vulkan with piglit
 PACKAGECONFIG:append:pn-piglit = " ${@bb.utils.filter("DISTRO_FEATURES", "opencl vulkan", d)}"
+PACKAGECONFIG:pn-opengl-es-cts = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "wayland", "surfaceless", d)}"
+PACKAGECONFIG:pn-vulkan-cts = "${@bb.utils.contains("DISTRO_FEATURES", "wayland", "wayland", "surfaceless", d)}"
 
 # Enable encryption support in open62541
 PACKAGECONFIG:append:pn-open62541 = " encrypt"