diff options
Diffstat (limited to 'recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p3.2.bb')
| -rw-r--r-- | recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p3.2.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p3.2.bb b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p3.2.bb new file mode 100644 index 000000000..d1f23d910 --- /dev/null +++ b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p3.2.bb | |||
| @@ -0,0 +1,42 @@ | |||
| 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=a93b654673e1bc8398ed1f30e0813359" | ||
| 9 | DEPENDS = "libgal-imx" | ||
| 10 | PROVIDES = "virtual/libg2d" | ||
| 11 | |||
| 12 | SRC_URI = "${FSL_MIRROR}/${IMX_BIN_NAME}.bin;name=${TARGET_ARCH};fsl-eula=true" | ||
| 13 | IMX_BIN_NAME = "${BP}-${TARGET_ARCH}-${IMX_SRCREV_ABBREV}" | ||
| 14 | IMX_SRCREV_ABBREV = "3c5e429" | ||
| 15 | SRC_URI[aarch64.sha256sum] = "190bc9203e60e5de508e1dcf057b36d2c9bc3667c6972fd12f7df797e508a22d" | ||
| 16 | SRC_URI[arm.sha256sum] = "aaf9a38fe446af579b16a836bf297f8cb1b2842ca3a784bedc21e32d37271ab4" | ||
| 17 | |||
| 18 | S = "${UNPACKDIR}/${IMX_BIN_NAME}" | ||
| 19 | |||
| 20 | inherit fsl-eula-unpack | ||
| 21 | |||
| 22 | SOC_INSTALL_DIR = "SOC_INSTALL_DIR_NOT_SET" | ||
| 23 | SOC_INSTALL_DIR:mx8mm-nxp-bsp = "mx8mm" | ||
| 24 | |||
| 25 | do_install () { | ||
| 26 | install -d ${D}${libdir} | ||
| 27 | install -d ${D}${includedir} | ||
| 28 | cp -d ${S}/g2d/usr/lib/*.so* ${D}${libdir} | ||
| 29 | if [ -d ${S}/g2d/usr/lib/${SOC_INSTALL_DIR} ]; then | ||
| 30 | cp -d ${S}/g2d/usr/lib/${SOC_INSTALL_DIR}/*.so* ${D}${libdir} | ||
| 31 | fi | ||
| 32 | cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} | ||
| 33 | } | ||
| 34 | |||
| 35 | # The packaged binaries have been stripped of debug info, so disable | ||
| 36 | # operations accordingly. | ||
| 37 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
| 38 | INHIBIT_PACKAGE_STRIP = "1" | ||
| 39 | INHIBIT_SYSROOT_STRIP = "1" | ||
| 40 | |||
| 41 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
| 42 | COMPATIBLE_MACHINE = "(imxgpu2d)" | ||
