From 6e2a0572e1ca7ddfced8ff23bf513746a97c879a Mon Sep 17 00:00:00 2001 From: Luciano Dittgen Date: Mon, 29 Jun 2026 13:41:14 -0300 Subject: vulkan-wsi-layer: Require vulkan distro feature vulkan-wsi-layer depends on Vulkan being part of the distro configuration. Inherit features_check and require the vulkan distro feature so non-Vulkan builds skip the recipe cleanly. Tested as part of the series with bitbake -p and yocto-check-layer. Signed-off-by: Luciano Dittgen --- recipes-graphics/vulkan/vulkan-wsi-layer_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-graphics/vulkan/vulkan-wsi-layer_git.bb b/recipes-graphics/vulkan/vulkan-wsi-layer_git.bb index 4abe7db50..0118975a5 100644 --- a/recipes-graphics/vulkan/vulkan-wsi-layer_git.bb +++ b/recipes-graphics/vulkan/vulkan-wsi-layer_git.bb @@ -12,7 +12,9 @@ SRC_URI = "git://gitlab.freedesktop.org/mesa/vulkan-wsi-layer.git;protocol=https file://0001-wayland-Add-C-guard-before-__STDC_VERSION__-define.patch" SRCREV = "cb1a50cf7e640ad7306e673131ded98c0f133628" -inherit cmake pkgconfig +REQUIRED_DISTRO_FEATURES = "vulkan" + +inherit cmake pkgconfig features_check PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', 'headless', d)}" -- cgit v1.2.3-54-g00ecf