diff options
| author | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-06-29 13:41:14 -0300 |
|---|---|---|
| committer | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-06-30 16:39:56 -0300 |
| commit | 6e2a0572e1ca7ddfced8ff23bf513746a97c879a (patch) | |
| tree | 12f6277c49f529b8a5eba850b7afe57063df4871 /recipes-graphics | |
| parent | daa98924994608985236d3729f21dfd395b94323 (diff) | |
| download | meta-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.bb | 4 |
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" |
| 13 | SRCREV = "cb1a50cf7e640ad7306e673131ded98c0f133628" | 13 | SRCREV = "cb1a50cf7e640ad7306e673131ded98c0f133628" |
| 14 | 14 | ||
| 15 | inherit cmake pkgconfig | 15 | REQUIRED_DISTRO_FEATURES = "vulkan" |
| 16 | |||
| 17 | inherit cmake pkgconfig features_check | ||
| 16 | 18 | ||
| 17 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', 'headless', d)}" | 19 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', 'headless', d)}" |
| 18 | 20 | ||
