summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2025-09-11 16:26:12 -0500
committerTom Hochstein <tom.hochstein@nxp.com>2025-09-11 16:44:11 -0500
commit4d0d409a4ca831b1a643bfee1b6504f63c6179a3 (patch)
treeb7c7e02d1a97d6b19776eed581db98478efa5369
parent49ac835929ba5f6dcbf102d103f7dcf7391da866 (diff)
downloadmeta-freescale-4d0d409a4ca831b1a643bfee1b6504f63c6179a3.tar.gz
vulkan-loader: Fix version-specific patching
The build fails because it cannot find the patch files in the version- specific folder. The problem is the bbappend uses `PN`. However, it turns out that `BP` doesn't work either: ``` ERROR: /.../poky/meta/recipes-graphics/vulkan/vulkan-loader_1.4.321.0.bb: Unable to get checksum for vulkan-loader SRC_URI entry 0001-LF-11869-change-mali-wsi-layer-activating-order.patch: file could not be found The following paths were searched: /.../meta-freescale/recipes-graphics/vulkan/defaultpkgname-1.0/fsl/0001-LF-11869-change-mali-wsi-layer-activating-order.patch [ %< SNIP %< ] ``` When `FILESEXTRAPATHS` is prepended, `BP` is not ready since the immediate expansion operator `:=` is used, hence the folder name `defaultpkgname-1.0` shown in the error log. Fix the problem with hard-coded values. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
-rw-r--r--recipes-graphics/vulkan/vulkan-loader_%.bbappend2
-rw-r--r--recipes-graphics/vulkan/vulkan-loader_1.3.275.0.imx.bbappend1
-rw-r--r--recipes-graphics/vulkan/vulkan-loader_1.4.321.0.bbappend1
3 files changed, 2 insertions, 2 deletions
diff --git a/recipes-graphics/vulkan/vulkan-loader_%.bbappend b/recipes-graphics/vulkan/vulkan-loader_%.bbappend
index f72f5b017..18970c60d 100644
--- a/recipes-graphics/vulkan/vulkan-loader_%.bbappend
+++ b/recipes-graphics/vulkan/vulkan-loader_%.bbappend
@@ -1,5 +1,3 @@
1FILESEXTRAPATHS:prepend:imx-nxp-bsp := "${THISDIR}/${PN}:"
2
3SRC_URI:append:imx-nxp-bsp = " \ 1SRC_URI:append:imx-nxp-bsp = " \
4 file://0001-LF-11869-change-mali-wsi-layer-activating-order.patch \ 2 file://0001-LF-11869-change-mali-wsi-layer-activating-order.patch \
5" 3"
diff --git a/recipes-graphics/vulkan/vulkan-loader_1.3.275.0.imx.bbappend b/recipes-graphics/vulkan/vulkan-loader_1.3.275.0.imx.bbappend
new file mode 100644
index 000000000..8cac41b53
--- /dev/null
+++ b/recipes-graphics/vulkan/vulkan-loader_1.3.275.0.imx.bbappend
@@ -0,0 +1 @@
FILESEXTRAPATHS:prepend:imx-nxp-bsp := "${THISDIR}/vulkan-loader-1.3.275.0.imx:"
diff --git a/recipes-graphics/vulkan/vulkan-loader_1.4.321.0.bbappend b/recipes-graphics/vulkan/vulkan-loader_1.4.321.0.bbappend
new file mode 100644
index 000000000..8d8d974d4
--- /dev/null
+++ b/recipes-graphics/vulkan/vulkan-loader_1.4.321.0.bbappend
@@ -0,0 +1 @@
FILESEXTRAPATHS:prepend:imx-nxp-bsp := "${THISDIR}/vulkan-loader-1.4.321.0:"