diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2023-05-17 10:31:54 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-17 10:31:54 -0300 |
commit | 011aa5617d287aa83fff549494a63c4baad0c171 (patch) | |
tree | f2d8eee52d65f2ae99efe3bd909dded037338845 /recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p1.0.bb | |
parent | 4b1a51b1e953b57494e1a95bc0ccfe5cd8b5e1a6 (diff) | |
parent | 448ce7db7176bd51eff3ce377cb0cb39eb49f0fb (diff) | |
download | meta-freescale-011aa5617d287aa83fff549494a63c4baad0c171.tar.gz |
Merge pull request #1535 from thochstein/graphics
Graphics
Diffstat (limited to 'recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p1.0.bb')
-rw-r--r-- | recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p1.0.bb | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p1.0.bb b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p1.0.bb new file mode 100644 index 00000000..1d4e3cc5 --- /dev/null +++ b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p1.0.bb | |||
@@ -0,0 +1,43 @@ | |||
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=ea25d099982d035af85d193c88a1b479" | ||
9 | DEPENDS = "libgal-imx" | ||
10 | PROVIDES = "virtual/libg2d" | ||
11 | |||
12 | SRC_URI = "${FSL_MIRROR}/${FSLBIN_NAME}.bin;name=${TARGET_ARCH};fsl-eula=true" | ||
13 | FSLBIN_NAME = "${PN}-${PV}-${TARGET_ARCH}" | ||
14 | SRC_URI[aarch64.md5sum] = "7aafa5910ef3e3be1c449b4bddd97b56" | ||
15 | SRC_URI[aarch64.sha256sum] = "9bf8ebbfc85245d75ab7d133c3e135a4c5f23a0430c75883af9700e9cb82c151" | ||
16 | SRC_URI[arm.md5sum] = "e0da61541b0b95083a3c95cc0bba4f63" | ||
17 | SRC_URI[arm.sha256sum] = "65427c12b43c7bb3838ec2bc91a5853c310652b920a65b2b52bacad8e761a8e4" | ||
18 | |||
19 | S = "${WORKDIR}/${FSLBIN_NAME}" | ||
20 | |||
21 | inherit fsl-eula-unpack | ||
22 | |||
23 | SOC_INSTALL_DIR = "SOC_INSTALL_DIR_NOT_SET" | ||
24 | SOC_INSTALL_DIR:mx8mm-nxp-bsp = "mx8mm" | ||
25 | |||
26 | do_install () { | ||
27 | install -d ${D}${libdir} | ||
28 | install -d ${D}${includedir} | ||
29 | cp -d ${S}/g2d/usr/lib/*.so* ${D}${libdir} | ||
30 | if [ -d ${S}/g2d/usr/lib/${SOC_INSTALL_DIR} ]; then | ||
31 | cp -d ${S}/g2d/usr/lib/${SOC_INSTALL_DIR}/*.so* ${D}${libdir} | ||
32 | fi | ||
33 | cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} | ||
34 | } | ||
35 | |||
36 | # The packaged binaries have been stripped of debug info, so disable | ||
37 | # operations accordingly. | ||
38 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
39 | INHIBIT_PACKAGE_STRIP = "1" | ||
40 | INHIBIT_SYSROOT_STRIP = "1" | ||
41 | |||
42 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
43 | COMPATIBLE_MACHINE = "(imxgpu2d)" | ||