diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2023-01-10 08:34:31 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-10 08:34:31 -0300 |
commit | 1cfd9c034ea323f198f1bfadd74f589ffa3cc061 (patch) | |
tree | 0d470d8a9dee5406ca3800e9252af4b9a910ae2f /recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.3.p4.6.bb | |
parent | af4f812d7a899f96f3aba7b6d66f78cb1a6fec8f (diff) | |
parent | e2c4b9b9fa9a2bccdf8a9a6b030112103e41052d (diff) | |
download | meta-freescale-1cfd9c034ea323f198f1bfadd74f589ffa3cc061.tar.gz |
Merge pull request #1372 from Freescale/backport-1366-to-kirkstone
[Backport kirkstone] Update Graphics libs to LF5.15.71_2.2.0
Diffstat (limited to 'recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.3.p4.6.bb')
-rw-r--r-- | recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.3.p4.6.bb | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.3.p4.6.bb b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.3.p4.6.bb new file mode 100644 index 00000000..d513c720 --- /dev/null +++ b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.3.p4.6.bb | |||
@@ -0,0 +1,46 @@ | |||
1 | # Copyright (C) 2016 Freescale Semiconductor | ||
2 | # Copyright 2017-2022 NXP | ||
3 | # Copyright 2018 (C) O.S. Systems Software LTDA. | ||
4 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
5 | |||
6 | DESCRIPTION = "G2D library using i.MX GPU" | ||
7 | LICENSE = "Proprietary" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=5a0bf11f745e68024f37b4724a5364fe" | ||
9 | DEPENDS = "libgal-imx" | ||
10 | PROVIDES = "virtual/libg2d" | ||
11 | |||
12 | FSLBIN_NAME = "${PN}-${PV}-${TARGET_ARCH}" | ||
13 | |||
14 | SRC_URI = "${FSL_MIRROR}/${FSLBIN_NAME}.bin;name=${TARGET_ARCH};fsl-eula=true" | ||
15 | SRC_URI[aarch64.md5sum] = "41e6c3a6f8d4151d30c1f34341465b30" | ||
16 | SRC_URI[aarch64.sha256sum] = "70e007f66459ee6a392f4a21f4d4a753ff22a75b728cc7d952251b00ba3ab51e" | ||
17 | SRC_URI[arm.md5sum] = "4c751218aa4db1f545bcec17ee963cc0" | ||
18 | SRC_URI[arm.sha256sum] = "288f78419d825e71563c38a39a738f040e098b581b76e6f8b8fc5895e7d9d7c4" | ||
19 | |||
20 | S = "${WORKDIR}/${FSLBIN_NAME}" | ||
21 | |||
22 | inherit fsl-eula-unpack | ||
23 | |||
24 | SOC_INSTALL_DIR = "SOC_INSTALL_DIR_NOT_SET" | ||
25 | SOC_INSTALL_DIR:mx8mm-nxp-bsp = "mx8mm" | ||
26 | |||
27 | do_install () { | ||
28 | install -d ${D}${libdir} | ||
29 | install -d ${D}${includedir} | ||
30 | cp -d ${S}/g2d/usr/lib/*.so* ${D}${libdir} | ||
31 | if [ -d ${S}/g2d/usr/lib/${SOC_INSTALL_DIR} ]; then | ||
32 | cp -d ${S}/g2d/usr/lib/${SOC_INSTALL_DIR}/*.so* ${D}${libdir} | ||
33 | fi | ||
34 | cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} | ||
35 | } | ||
36 | |||
37 | # The packaged binaries have been stripped of debug info, so disable | ||
38 | # operations accordingly. | ||
39 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
40 | INHIBIT_PACKAGE_STRIP = "1" | ||
41 | INHIBIT_SYSROOT_STRIP = "1" | ||
42 | |||
43 | INSANE_SKIP:${PN} = "ldflags" | ||
44 | |||
45 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
46 | COMPATIBLE_MACHINE = "(imxgpu2d)" | ||