summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-09-28 18:22:40 -0300
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2026-10-01 14:34:34 +0000
commit97261b037050f73bd320ab04ce4166d688742eaf (patch)
treeb9fa5390694aa338961c64369010276dc2b10c63
parent604e657e4c9cd51ce2412577c856c14dfd7431e4 (diff)
downloadmeta-freescale-97261b037050f73bd320ab04ce4166d688742eaf.tar.gz
mesa-demos: Keep the i.MX changes off other machines
The bbappend defined PACKAGECONFIG[glu], and every flag is a dependency of PACKAGECONFIG, so mesa-demos' signatures moved on every machine (yocto-check-layer test_signatures). glu only added libglu, so depend on it directly under imxgpu, and scope the PACKAGECONFIG edits there too. qemux86-64 sigs now match without the layer; imx8mm packages unchanged. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br> (cherry picked from commit c50bea737070764d185b3fcff59eef0899d5b270)
-rw-r--r--recipes-graphics/mesa/mesa-demos_%.bbappend30
1 files changed, 8 insertions, 22 deletions
diff --git a/recipes-graphics/mesa/mesa-demos_%.bbappend b/recipes-graphics/mesa/mesa-demos_%.bbappend
index 275065de3..a00185b88 100644
--- a/recipes-graphics/mesa/mesa-demos_%.bbappend
+++ b/recipes-graphics/mesa/mesa-demos_%.bbappend
@@ -7,6 +7,11 @@
7# nooelint: oelint.vars.noncoreoverride 7# nooelint: oelint.vars.noncoreoverride
8FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 8FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
9 9
10# A PACKAGECONFIG[glu] flag would change the recipe's signature on every
11# machine (each flag is a dependency of PACKAGECONFIG); it only ever added
12# this dependency, so add it directly.
13DEPENDS:append:imxgpu = " libglu"
14
10SRC_URI:append:imxgpu = " \ 15SRC_URI:append:imxgpu = " \
11 file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch \ 16 file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch \
12 file://fix-clear-build-break.patch \ 17 file://fix-clear-build-break.patch \
@@ -16,30 +21,11 @@ SRC_URI:append:imxgpu = " \
16 21
17REQUIRED_DISTRO_FEATURES:remove:imxgpu = "x11" 22REQUIRED_DISTRO_FEATURES:remove:imxgpu = "x11"
18 23
19# Dispatch line consumes machine-specialized helper vars; the helpers below 24# Scoped to imxgpu so the recipe is untouched elsewhere: an unscoped
20# default to "" and are overridden per i.MX GPU variant. 25# dispatch left whitespace in PACKAGECONFIG on every machine.
21# No-op off-target: the helper it consumes expands empty. 26PACKAGECONFIG:remove:imxgpu = "${PACKAGECONFIG_REMOVE_IF_2D_ONLY} x11"
22# nooelint: oelint.vars.noncoreoverride
23PACKAGECONFIG:remove = "\
24 ${PACKAGECONFIG_REMOVE_IF_2D_ONLY} \
25 ${PACKAGECONFIG_REMOVE_IF_GPU}"
26# Fallback default for the machine overrides below. 27# Fallback default for the machine overrides below.
27# nooelint: oelint.vars.noncoreoverride 28# nooelint: oelint.vars.noncoreoverride
28PACKAGECONFIG_REMOVE_IF_2D_ONLY = "" 29PACKAGECONFIG_REMOVE_IF_2D_ONLY = ""
29PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu2d = "gles1 gles2" 30PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu2d = "gles1 gles2"
30PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu3d = "" 31PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu3d = ""
31# Fallback default for the machine overrides below.
32# nooelint: oelint.vars.noncoreoverride
33PACKAGECONFIG_REMOVE_IF_GPU = ""
34PACKAGECONFIG_REMOVE_IF_GPU:imxgpu = "x11"
35
36# No-op off-target: the helper it consumes expands empty.
37# nooelint: oelint.vars.noncoreoverride
38PACKAGECONFIG:append = " \
39 ${PACKAGECONFIG_APPEND_IF_GPU}"
40# Fallback default for the machine overrides below.
41# nooelint: oelint.vars.noncoreoverride
42PACKAGECONFIG_APPEND_IF_GPU = ""
43PACKAGECONFIG_APPEND_IF_GPU:imxgpu = "glu"
44
45PACKAGECONFIG[glu] = ",,libglu"