summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-07-15 11:01:08 -0300
committerLuciano Dittgen <luciano.dittgen@ossystems.com.br>2026-07-21 14:20:07 -0300
commit7e58f40304988c7586f9190379ba2597d94873de (patch)
tree679b55a42762f2f806ff1c04e817cc25295d884d /recipes-graphics
parent54c1c7682509a4bb2f7fbeb7668c93c6a8f2a440 (diff)
downloadmeta-freescale-7e58f40304988c7586f9190379ba2597d94873de.tar.gz
imx-dpu-g2d: Order DEPENDS and fix do_install copies per oelint
Address the oelint findings for the recipe: - Order the DEPENDS entries so the ${LIBGAL_IMX} reference precedes the literal libdrm (dependsordered sorts ${...} tokens first). - Replace the "cp -d" and "cp -Pr" calls in do_install with a bare "cp -R". GNU cp defaults to -P under --recursive, so the versioned shared-object symlinks and the header tree are still copied verbatim, and the bare recursive form clears task.nocopy. - Accept the musl-specific INSANE_SKIP with an inline # nooelint. The remaining vars.specific findings on the imxviv/imxmali overrides are single-file-scan artifacts absent from the full-layer baseline. No functional change. Signed-off-by: Luciano Dittgen <luciano.dittgen@ossystems.com.br>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/imx-g2d/imx-dpu-g2d_2.5.0.2.bb9
1 files changed, 6 insertions, 3 deletions
diff --git a/recipes-graphics/imx-g2d/imx-dpu-g2d_2.5.0.2.bb b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.5.0.2.bb
index 320ba3017..a7ec541ae 100644
--- a/recipes-graphics/imx-g2d/imx-dpu-g2d_2.5.0.2.bb
+++ b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.5.0.2.bb
@@ -9,7 +9,7 @@ SECTION = "graphics"
9LICENSE = "Proprietary" 9LICENSE = "Proprietary"
10LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" 10LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac"
11 11
12DEPENDS = "libdrm ${LIBGAL_IMX}" 12DEPENDS = "${LIBGAL_IMX} libdrm"
13LIBGAL_IMX = "" 13LIBGAL_IMX = ""
14LIBGAL_IMX:imxviv = "libgal-imx" 14LIBGAL_IMX:imxviv = "libgal-imx"
15 15
@@ -32,12 +32,15 @@ inherit fsl-eula-unpack
32do_install () { 32do_install () {
33 install -d ${D}${libdir} 33 install -d ${D}${libdir}
34 install -d ${D}${includedir} 34 install -d ${D}${includedir}
35 cp -d ${S}/g2d/usr/lib/*.so* ${D}${libdir} 35 cp -R ${S}/g2d/usr/lib/*.so* ${D}${libdir}
36 cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} 36 cp -R ${S}/g2d/usr/include/* ${D}${includedir}
37} 37}
38 38
39PACKAGE_ARCH = "${MACHINE_SOCARCH}" 39PACKAGE_ARCH = "${MACHINE_SOCARCH}"
40 40
41# musl needs gcompat for these glibc-built prebuilt blobs; their runtime
42# deps can't be mapped by QA.
43# nooelint: oelint.vars.insaneskip
41INSANE_SKIP:append:libc-musl = " file-rdeps" 44INSANE_SKIP:append:libc-musl = " file-rdeps"
42RDEPENDS:${PN}:append:libc-musl = " gcompat" 45RDEPENDS:${PN}:append:libc-musl = " gcompat"
43 46