summaryrefslogtreecommitdiffstats
path: root/recipes-downgrade/vulkan/vulkan-tools_1.2.182.0.bb
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2022-10-04 13:06:32 -0500
committerTom Hochstein <tom.hochstein@nxp.com>2022-10-11 16:38:16 -0500
commit705d5ca01245e1b0aa42d7380ad79ff1c3db8fcb (patch)
treee152773a2de4478bee18118f56c86d7de22007b9 /recipes-downgrade/vulkan/vulkan-tools_1.2.182.0.bb
parent1b9f6007753bcd6e55fcff1f8b22c96c827b9e83 (diff)
downloadmeta-freescale-705d5ca01245e1b0aa42d7380ad79ff1c3db8fcb.tar.gz
vulkan: Downgrade to 1.2.182.0 for i.MX GPU
i.MX GPU drivers work with an older version of vulkan, so add the older recipes. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-downgrade/vulkan/vulkan-tools_1.2.182.0.bb')
-rw-r--r--recipes-downgrade/vulkan/vulkan-tools_1.2.182.0.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-downgrade/vulkan/vulkan-tools_1.2.182.0.bb b/recipes-downgrade/vulkan/vulkan-tools_1.2.182.0.bb
new file mode 100644
index 00000000..242b8973
--- /dev/null
+++ b/recipes-downgrade/vulkan/vulkan-tools_1.2.182.0.bb
@@ -0,0 +1,32 @@
1SUMMARY = "Vulkan Utilities and Tools"
2DESCRIPTION = "Assist development by enabling developers to verify their applications correct use of the Vulkan API."
3HOMEPAGE = "https://www.khronos.org/vulkan/"
4BUGTRACKER = "https://github.com/KhronosGroup/Vulkan-Tools"
5SECTION = "libs"
6
7LICENSE = "Apache-2.0"
8LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"
9SRC_URI = "git://github.com/KhronosGroup/Vulkan-Tools.git;protocol=https;branch=sdk-1.2.182"
10SRCREV = "9d3305731c3be8de05c9f223a79959d448506a37"
11
12S = "${WORKDIR}/git"
13
14inherit cmake features_check
15ANY_OF_DISTRO_FEATURES = "x11 wayland"
16REQUIRED_DISTRO_FEATURES = "vulkan"
17
18DEPENDS += "vulkan-headers vulkan-loader"
19
20EXTRA_OECMAKE = "\
21 -DBUILD_TESTS=OFF \
22 -DBUILD_CUBE=OFF \
23 -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python3 \
24 "
25
26# must choose x11 or wayland or both
27PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}"
28
29PACKAGECONFIG[x11] = "-DBUILD_WSI_XLIB_SUPPORT=ON -DBUILD_WSI_XCB_SUPPORT=ON, -DBUILD_WSI_XLIB_SUPPORT=OFF -DBUILD_WSI_XCB_SUPPORT=OFF, libxcb libx11 libxrandr"
30PACKAGECONFIG[wayland] = "-DBUILD_WSI_WAYLAND_SUPPORT=ON, -DBUILD_WSI_WAYLAND_SUPPORT=OFF, wayland"
31
32UPSTREAM_CHECK_GITTAGREGEX = "sdk-(?P<pver>\d+(\.\d+)+)"