diff options
Diffstat (limited to 'recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p3.0.bb')
-rw-r--r-- | recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p3.0.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p3.0.bb b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p3.0.bb new file mode 100644 index 000000000..3c8784d0f --- /dev/null +++ b/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p3.0.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | # Copyright (C) 2016 Freescale Semiconductor | ||
2 | # Copyright 2017-2024 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=c0fb372b5d7f12181de23ef480f225f3" | ||
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 = "c600d03" | ||
15 | SRC_URI[aarch64.sha256sum] = "e6c336c0b876efab7598a2d7817111772284487f646d5d83c400692f2cdfebe3" | ||
16 | SRC_URI[arm.sha256sum] = "6e1a42f2c570582b8038d1b5c86dbdcd645e75cc10a1db23e716f662d1c1329f" | ||
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)" | ||