summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2026-09-30 11:17:09 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2026-09-30 11:17:33 -0300
commitc79d2755aea1647d427b58d84f5bbf551cecf727 (patch)
treec5232315fadb3c2fdd267f3587816094ad00a282
parentcc36f9d4584ffecdb52c6f64355355caf216b477 (diff)
downloadmeta-freescale-g2d-rename.tar.gz
imx-pxp-g2d: Rename to imx-g2d-pxpg2d-rename
NXP is moving the G2D implementations to an imx-g2d-<backend> naming scheme, which groups them with imx-g2d-samples and matches the already-renamed nxp-imx/imx-g2d-pxp repository. Nothing changes for layers that go through virtual/libg2d. For the rest, the rename keeps the old name working: - PROVIDES the old name, so DEPENDS on imx-pxp-g2d still resolve. - RPROVIDES, RREPLACES and RCONFLICTS the old package, so package feeds and images built before the rename upgrade cleanly. - IMX_G2D_PXP_SRC defaults to the old IMX_PXP_G2D_SRC, so existing mirror overrides keep applying. A imx-pxp-g2d_%.bbappend in another layer must be renamed; BitBake reports it as dangling otherwise. PREFERRED_PROVIDER_virtual/libg2d set to the old name must be updated as well, since it is matched against the recipe name. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--conf/machine/include/imx-base.inc4
-rw-r--r--recipes-graphics/imx-g2d/imx-g2d-pxp_git.bb (renamed from recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb)12
-rw-r--r--recipes-graphics/imx-g2d/imx-g2d-samples_git.bb2
3 files changed, 13 insertions, 5 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 22f9623ea..985d11ec9 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -595,8 +595,8 @@ PREFERRED_RPROVIDER_virtual-opencl-icd:imxmali ?= "mali-imx-libopencl"
595 595
596PREFERRED_PROVIDER_virtual/libg2d ?= "imx-g2d-gpu" 596PREFERRED_PROVIDER_virtual/libg2d ?= "imx-g2d-gpu"
597PREFERRED_PROVIDER_virtual/libg2d:imxdpu ?= "imx-g2d-dpu" 597PREFERRED_PROVIDER_virtual/libg2d:imxdpu ?= "imx-g2d-dpu"
598PREFERRED_PROVIDER_virtual/libg2d:mx93-nxp-bsp ?= "imx-pxp-g2d" 598PREFERRED_PROVIDER_virtual/libg2d:mx93-nxp-bsp ?= "imx-g2d-pxp"
599PREFERRED_PROVIDER_virtual/libg2d:mx943-nxp-bsp ?= "imx-pxp-g2d" 599PREFERRED_PROVIDER_virtual/libg2d:mx943-nxp-bsp ?= "imx-g2d-pxp"
600 600
601# Set preferred Vulkan ICD runtime 601# Set preferred Vulkan ICD runtime
602PREFERRED_RPROVIDER_virtual-vulkan-icd ?= "mesa-vulkan-drivers" 602PREFERRED_RPROVIDER_virtual-vulkan-icd ?= "mesa-vulkan-drivers"
diff --git a/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb b/recipes-graphics/imx-g2d/imx-g2d-pxp_git.bb
index 7af23b2c6..d25ff8f56 100644
--- a/recipes-graphics/imx-g2d/imx-pxp-g2d_git.bb
+++ b/recipes-graphics/imx-g2d/imx-g2d-pxp_git.bb
@@ -9,11 +9,14 @@ SECTION = "graphics"
9LICENSE = "BSD-3-Clause" 9LICENSE = "BSD-3-Clause"
10LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=0a977e480eb69a215e364c381ff61aec" 10LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=0a977e480eb69a215e364c381ff61aec"
11 11
12PROVIDES += "virtual/libg2d" 12PROVIDES += "virtual/libg2d imx-pxp-g2d"
13 13
14PV = "2.5.0+git" 14PV = "2.5.0+git"
15 15
16SRC_URI = "${IMX_PXP_G2D_SRC};branch=${SRCBRANCH}" 16SRC_URI = "${IMX_G2D_PXP_SRC};branch=${SRCBRANCH}"
17# IMX_PXP_G2D_SRC is the name used before the rename to imx-g2d-pxp; keep
18# honouring it so existing mirror overrides are not silently dropped.
19IMX_G2D_PXP_SRC ?= "${IMX_PXP_G2D_SRC}"
17IMX_PXP_G2D_SRC ?= "git://github.com/nxp-imx/imx-g2d-pxp.git;protocol=https" 20IMX_PXP_G2D_SRC ?= "git://github.com/nxp-imx/imx-g2d-pxp.git;protocol=https"
18SRCBRANCH = "imx_2.5" 21SRCBRANCH = "imx_2.5"
19SRCREV = "9551dd7f97c37af80b42cd8845ffb5aa190145dc" 22SRCREV = "9551dd7f97c37af80b42cd8845ffb5aa190145dc"
@@ -29,4 +32,9 @@ do_install() {
29} 32}
30 33
31PACKAGE_ARCH = "${MACHINE_SOCARCH}" 34PACKAGE_ARCH = "${MACHINE_SOCARCH}"
35
36# Upgrade path for feeds and images built before the rename.
37RPROVIDES:${PN} = "imx-pxp-g2d"
38RREPLACES:${PN} = "imx-pxp-g2d"
39RCONFLICTS:${PN} = "imx-pxp-g2d"
32COMPATIBLE_MACHINE = "(mx93-nxp-bsp|mx943-nxp-bsp)" 40COMPATIBLE_MACHINE = "(mx93-nxp-bsp|mx943-nxp-bsp)"
diff --git a/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb b/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb
index c61b20f90..47a58da01 100644
--- a/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb
+++ b/recipes-graphics/imx-g2d/imx-g2d-samples_git.bb
@@ -56,7 +56,7 @@ PACKAGECONFIG[gpu-fbdev] = " \
56PACKAGECONFIG[pxp] = " \ 56PACKAGECONFIG[pxp] = " \
57 BUILD_IMPLEMENTATION=pxp, \ 57 BUILD_IMPLEMENTATION=pxp, \
58 , \ 58 , \
59 imx-pxp-g2d wayland-native wayland wayland-protocols, \ 59 imx-g2d-pxp wayland-native wayland wayland-protocols, \
60 , \ 60 , \
61 , \ 61 , \
62 dpu dpu95 gpu-drm gpu-fbdev" 62 dpu dpu95 gpu-drm gpu-fbdev"