diff options
| author | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-07-15 11:01:08 -0300 |
|---|---|---|
| committer | Luciano Dittgen <luciano.dittgen@ossystems.com.br> | 2026-07-21 14:20:07 -0300 |
| commit | 7e58f40304988c7586f9190379ba2597d94873de (patch) | |
| tree | 679b55a42762f2f806ff1c04e817cc25295d884d /recipes-graphics | |
| parent | 54c1c7682509a4bb2f7fbeb7668c93c6a8f2a440 (diff) | |
| download | meta-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.bb | 9 |
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" | |||
| 9 | LICENSE = "Proprietary" | 9 | LICENSE = "Proprietary" |
| 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" |
| 11 | 11 | ||
| 12 | DEPENDS = "libdrm ${LIBGAL_IMX}" | 12 | DEPENDS = "${LIBGAL_IMX} libdrm" |
| 13 | LIBGAL_IMX = "" | 13 | LIBGAL_IMX = "" |
| 14 | LIBGAL_IMX:imxviv = "libgal-imx" | 14 | LIBGAL_IMX:imxviv = "libgal-imx" |
| 15 | 15 | ||
| @@ -32,12 +32,15 @@ inherit fsl-eula-unpack | |||
| 32 | do_install () { | 32 | do_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 | ||
| 39 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | 39 | PACKAGE_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 | ||
| 41 | INSANE_SKIP:append:libc-musl = " file-rdeps" | 44 | INSANE_SKIP:append:libc-musl = " file-rdeps" |
| 42 | RDEPENDS:${PN}:append:libc-musl = " gcompat" | 45 | RDEPENDS:${PN}:append:libc-musl = " gcompat" |
| 43 | 46 | ||
