diff options
| author | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-09-28 18:22:40 -0300 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2026-10-01 14:34:34 +0000 |
| commit | 97261b037050f73bd320ab04ce4166d688742eaf (patch) | |
| tree | b9fa5390694aa338961c64369010276dc2b10c63 | |
| parent | 604e657e4c9cd51ce2412577c856c14dfd7431e4 (diff) | |
| download | meta-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_%.bbappend | 30 |
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 |
| 8 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | 8 | FILESEXTRAPATHS: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. | ||
| 13 | DEPENDS:append:imxgpu = " libglu" | ||
| 14 | |||
| 10 | SRC_URI:append:imxgpu = " \ | 15 | SRC_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 | ||
| 17 | REQUIRED_DISTRO_FEATURES:remove:imxgpu = "x11" | 22 | REQUIRED_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. | 26 | PACKAGECONFIG:remove:imxgpu = "${PACKAGECONFIG_REMOVE_IF_2D_ONLY} x11" |
| 22 | # nooelint: oelint.vars.noncoreoverride | ||
| 23 | PACKAGECONFIG: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 |
| 28 | PACKAGECONFIG_REMOVE_IF_2D_ONLY = "" | 29 | PACKAGECONFIG_REMOVE_IF_2D_ONLY = "" |
| 29 | PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu2d = "gles1 gles2" | 30 | PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu2d = "gles1 gles2" |
| 30 | PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu3d = "" | 31 | PACKAGECONFIG_REMOVE_IF_2D_ONLY:imxgpu3d = "" |
| 31 | # Fallback default for the machine overrides below. | ||
| 32 | # nooelint: oelint.vars.noncoreoverride | ||
| 33 | PACKAGECONFIG_REMOVE_IF_GPU = "" | ||
| 34 | PACKAGECONFIG_REMOVE_IF_GPU:imxgpu = "x11" | ||
| 35 | |||
| 36 | # No-op off-target: the helper it consumes expands empty. | ||
| 37 | # nooelint: oelint.vars.noncoreoverride | ||
| 38 | PACKAGECONFIG:append = " \ | ||
| 39 | ${PACKAGECONFIG_APPEND_IF_GPU}" | ||
| 40 | # Fallback default for the machine overrides below. | ||
| 41 | # nooelint: oelint.vars.noncoreoverride | ||
| 42 | PACKAGECONFIG_APPEND_IF_GPU = "" | ||
| 43 | PACKAGECONFIG_APPEND_IF_GPU:imxgpu = "glu" | ||
| 44 | |||
| 45 | PACKAGECONFIG[glu] = ",,libglu" | ||
