summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p3.2.bb
diff options
context:
space:
mode:
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.bb42
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
6DESCRIPTION = "G2D library using i.MX GPU"
7LICENSE = "Proprietary"
8LIC_FILES_CHKSUM = "file://COPYING;md5=a93b654673e1bc8398ed1f30e0813359"
9DEPENDS = "libgal-imx"
10PROVIDES = "virtual/libg2d"
11
12SRC_URI = "${FSL_MIRROR}/${IMX_BIN_NAME}.bin;name=${TARGET_ARCH};fsl-eula=true"
13IMX_BIN_NAME = "${BP}-${TARGET_ARCH}-${IMX_SRCREV_ABBREV}"
14IMX_SRCREV_ABBREV = "3c5e429"
15SRC_URI[aarch64.sha256sum] = "190bc9203e60e5de508e1dcf057b36d2c9bc3667c6972fd12f7df797e508a22d"
16SRC_URI[arm.sha256sum] = "aaf9a38fe446af579b16a836bf297f8cb1b2842ca3a784bedc21e32d37271ab4"
17
18S = "${UNPACKDIR}/${IMX_BIN_NAME}"
19
20inherit fsl-eula-unpack
21
22SOC_INSTALL_DIR = "SOC_INSTALL_DIR_NOT_SET"
23SOC_INSTALL_DIR:mx8mm-nxp-bsp = "mx8mm"
24
25do_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.
37INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
38INHIBIT_PACKAGE_STRIP = "1"
39INHIBIT_SYSROOT_STRIP = "1"
40
41PACKAGE_ARCH = "${MACHINE_SOCARCH}"
42COMPATIBLE_MACHINE = "(imxgpu2d)"