From 61f575e51a7880c7c4ae4887f0512b7ca8d13650 Mon Sep 17 00:00:00 2001 From: Tom Hochstein Date: Wed, 16 Oct 2024 20:02:03 -0500 Subject: [PATCH] fixup! piglit: Disable gbm for 6 and 7 Note that the dma_buf tests do require gbm, so disable x11 since that enables dma_buf. Signed-off-by: Tom Hochstein --- meta-imx-bsp/recipes-graphics/piglit/piglit_%.bbappend | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta-imx-bsp/recipes-graphics/piglit/piglit_%.bbappend b/meta-imx-bsp/recipes-graphics/piglit/piglit_%.bbappend index a727bd566e..b375013a2d 100644 --- a/meta-imx-bsp/recipes-graphics/piglit/piglit_%.bbappend +++ b/meta-imx-bsp/recipes-graphics/piglit/piglit_%.bbappend @@ -5,6 +5,8 @@ SRC_URI += "file://0001-tests-Fix-cl-test-Include-Directories-error-Error-0-.pat PACKAGECONFIG:append = " \ ${PACKAGECONFIG_GBM} \ ${PACKAGECONFIG_VULKAN}" +PACKAGECONFIG:remove = " \ + ${PACKAGECONFIG_REMOVE_X11}" PACKAGECONFIG_GBM ?= "gbm" PACKAGECONFIG_GBM:imxgpu:mx6-nxp-bsp = "" @@ -12,4 +14,8 @@ PACKAGECONFIG_GBM:imxgpu:mx7-nxp-bsp = "" PACKAGECONFIG_VULKAN ?= "${@bb.utils.filter('DISTRO_FEATURES', 'vulkan', d)}" +PACKAGECONFIG_REMOVE_X11 ?= "" +PACKAGECONFIG_REMOVE_X11:imxgpu:mx6-nxp-bsp = "x11" +PACKAGECONFIG_REMOVE_X11:imxgpu:mx7-nxp-bsp = "x11" + PACKAGECONFIG[gbm] = "-DPIGLIT_USE_GBM=1,-DPIGLIT_USE_GBM=0,virtual/libgbm"