diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2026-09-30 11:17:09 -0300 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2026-09-30 11:17:33 -0300 |
| commit | c79d2755aea1647d427b58d84f5bbf551cecf727 (patch) | |
| tree | c5232315fadb3c2fdd267f3587816094ad00a282 | |
| parent | cc36f9d4584ffecdb52c6f64355355caf216b477 (diff) | |
| download | meta-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.inc | 4 | ||||
| -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.bb | 2 |
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 | ||
| 596 | PREFERRED_PROVIDER_virtual/libg2d ?= "imx-g2d-gpu" | 596 | PREFERRED_PROVIDER_virtual/libg2d ?= "imx-g2d-gpu" |
| 597 | PREFERRED_PROVIDER_virtual/libg2d:imxdpu ?= "imx-g2d-dpu" | 597 | PREFERRED_PROVIDER_virtual/libg2d:imxdpu ?= "imx-g2d-dpu" |
| 598 | PREFERRED_PROVIDER_virtual/libg2d:mx93-nxp-bsp ?= "imx-pxp-g2d" | 598 | PREFERRED_PROVIDER_virtual/libg2d:mx93-nxp-bsp ?= "imx-g2d-pxp" |
| 599 | PREFERRED_PROVIDER_virtual/libg2d:mx943-nxp-bsp ?= "imx-pxp-g2d" | 599 | PREFERRED_PROVIDER_virtual/libg2d:mx943-nxp-bsp ?= "imx-g2d-pxp" |
| 600 | 600 | ||
| 601 | # Set preferred Vulkan ICD runtime | 601 | # Set preferred Vulkan ICD runtime |
| 602 | PREFERRED_RPROVIDER_virtual-vulkan-icd ?= "mesa-vulkan-drivers" | 602 | PREFERRED_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" | |||
| 9 | LICENSE = "BSD-3-Clause" | 9 | LICENSE = "BSD-3-Clause" |
| 10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=0a977e480eb69a215e364c381ff61aec" | 10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=0a977e480eb69a215e364c381ff61aec" |
| 11 | 11 | ||
| 12 | PROVIDES += "virtual/libg2d" | 12 | PROVIDES += "virtual/libg2d imx-pxp-g2d" |
| 13 | 13 | ||
| 14 | PV = "2.5.0+git" | 14 | PV = "2.5.0+git" |
| 15 | 15 | ||
| 16 | SRC_URI = "${IMX_PXP_G2D_SRC};branch=${SRCBRANCH}" | 16 | SRC_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. | ||
| 19 | IMX_G2D_PXP_SRC ?= "${IMX_PXP_G2D_SRC}" | ||
| 17 | IMX_PXP_G2D_SRC ?= "git://github.com/nxp-imx/imx-g2d-pxp.git;protocol=https" | 20 | IMX_PXP_G2D_SRC ?= "git://github.com/nxp-imx/imx-g2d-pxp.git;protocol=https" |
| 18 | SRCBRANCH = "imx_2.5" | 21 | SRCBRANCH = "imx_2.5" |
| 19 | SRCREV = "9551dd7f97c37af80b42cd8845ffb5aa190145dc" | 22 | SRCREV = "9551dd7f97c37af80b42cd8845ffb5aa190145dc" |
| @@ -29,4 +32,9 @@ do_install() { | |||
| 29 | } | 32 | } |
| 30 | 33 | ||
| 31 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 34 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" |
| 35 | |||
| 36 | # Upgrade path for feeds and images built before the rename. | ||
| 37 | RPROVIDES:${PN} = "imx-pxp-g2d" | ||
| 38 | RREPLACES:${PN} = "imx-pxp-g2d" | ||
| 39 | RCONFLICTS:${PN} = "imx-pxp-g2d" | ||
| 32 | COMPATIBLE_MACHINE = "(mx93-nxp-bsp|mx943-nxp-bsp)" | 40 | COMPATIBLE_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] = " \ | |||
| 56 | PACKAGECONFIG[pxp] = " \ | 56 | PACKAGECONFIG[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" |
