mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 06:32:13 +02:00
vulkan-loader: Allow headless targets to build the loader
vulkan-loader can build and work on headless targets without display engines so there isn't any need for the ANY_OF_DISTRO_FEATURES restriction. (From OE-Core rev: d6524dddc7046e420cc93cd9d49cb83e778149e9) Signed-off-by: Jordan Crouse <jorcrous@amazon.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
130b55bdf3
commit
0d27fd75bd
@@ -17,7 +17,6 @@ S = "${WORKDIR}/git"
|
||||
REQUIRED_DISTRO_FEATURES = "vulkan"
|
||||
|
||||
inherit cmake features_check pkgconfig
|
||||
ANY_OF_DISTRO_FEATURES = "x11 wayland"
|
||||
|
||||
DEPENDS += "vulkan-headers"
|
||||
|
||||
@@ -29,7 +28,6 @@ EXTRA_OECMAKE = "\
|
||||
-DVulkanRegistry_DIR=${RECIPE_SYSROOT}/${datadir} \
|
||||
"
|
||||
|
||||
# must choose x11 or wayland or both
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}"
|
||||
|
||||
PACKAGECONFIG[x11] = "-DBUILD_WSI_XLIB_SUPPORT=ON -DBUILD_WSI_XCB_SUPPORT=ON, -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF, libxcb libx11 libxrandr"
|
||||
|
||||
Reference in New Issue
Block a user