summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-10-02 13:36:41 -0300
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2026-10-02 17:48:11 +0000
commitfc1d8ff2f2719060501aad9acfa89edbae98fdb8 (patch)
tree588d23af48f56184e5237bb46074c697753c451c
parent4a424161b7f9050fd2c792b6c3212ecc03b24b08 (diff)
downloadmeta-freescale-backport-2785-to-wrynose.tar.gz
libsdl2: Only enable libdecor with meta-oebackport-2785-to-wrynose
libdecor is provided only by meta-oe, which meta-freescale does not depend on, so world has no provider for it on imx-nxp-bsp machines without it. Default to libdecor only when openembedded-layer is present. Checked with bitbake -g world on imx93-11x11-lpddr4x-evk without meta-oe; with it, libsdl2's buildhistory is unchanged. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br> (cherry picked from commit 822cff9b641433ac789f44be83c3d33ba6c12c0a)
-rw-r--r--recipes-graphics/libsdl2/libsdl2_%.bbappend4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-graphics/libsdl2/libsdl2_%.bbappend b/recipes-graphics/libsdl2/libsdl2_%.bbappend
index b2237552e..00704f17d 100644
--- a/recipes-graphics/libsdl2/libsdl2_%.bbappend
+++ b/recipes-graphics/libsdl2/libsdl2_%.bbappend
@@ -1,9 +1,9 @@
1PACKAGECONFIG:append:imx-nxp-bsp = " ${PACKAGECONFIG_LIBDECOR}" 1PACKAGECONFIG:append:imx-nxp-bsp = " ${PACKAGECONFIG_LIBDECOR}"
2# Fallback default for the machine overrides below; it cannot carry an 2# Fallback default for the machine overrides below; it cannot carry an
3# override for the machines it is the fallback for, and every consumer of it 3# override for the machines it is the fallback for, and every consumer of it
4# is override-scoped, so it is inert off-target. 4# is override-scoped, so it is inert off-target. libdecor is only in meta-oe.
5# nooelint: oelint.vars.noncoreoverride 5# nooelint: oelint.vars.noncoreoverride
6PACKAGECONFIG_LIBDECOR ??= "libdecor" 6PACKAGECONFIG_LIBDECOR ??= "${@bb.utils.contains('BBFILE_COLLECTIONS', 'openembedded-layer', 'libdecor', '', d)}"
7 7
8# what vivante driver does libsdl2 mean? Anyway it fails with missing functions as 8# what vivante driver does libsdl2 mean? Anyway it fails with missing functions as
9# VIVANTE_Create VIVANTE_GLES_GetProcAddress VIVANTE_GLES_UnloadLibrary ... 9# VIVANTE_Create VIVANTE_GLES_GetProcAddress VIVANTE_GLES_UnloadLibrary ...