summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-06-29 13:41:14 -0300
committerLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-06-30 16:39:56 -0300
commit6e2a0572e1ca7ddfced8ff23bf513746a97c879a (patch)
tree12f6277c49f529b8a5eba850b7afe57063df4871 /recipes-graphics
parentdaa98924994608985236d3729f21dfd395b94323 (diff)
downloadmeta-freescale-6e2a0572e1ca7ddfced8ff23bf513746a97c879a.tar.gz
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 <luciano.dittgen@ossystems.com.br>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/vulkan/vulkan-wsi-layer_git.bb4
1 files changed, 3 insertions, 1 deletions
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
12 file://0001-wayland-Add-C-guard-before-__STDC_VERSION__-define.patch" 12 file://0001-wayland-Add-C-guard-before-__STDC_VERSION__-define.patch"
13SRCREV = "cb1a50cf7e640ad7306e673131ded98c0f133628" 13SRCREV = "cb1a50cf7e640ad7306e673131ded98c0f133628"
14 14
15inherit cmake pkgconfig 15REQUIRED_DISTRO_FEATURES = "vulkan"
16
17inherit cmake pkgconfig features_check
16 18
17PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', 'headless', d)}" 19PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', 'headless', d)}"
18 20