diff options
Diffstat (limited to 'recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.14.bb')
| -rw-r--r-- | recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.14.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.14.bb b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.14.bb new file mode 100644 index 000000000..23168ae16 --- /dev/null +++ b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.1.14.bb | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | # Copyright (C) 2016 Freescale Semiconductor | ||
| 2 | # Copyright 2017-2024 NXP | ||
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
| 4 | |||
| 5 | DESCRIPTION = "G2D library using i.MX DPU" | ||
| 6 | LICENSE = "Proprietary" | ||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" | ||
| 8 | |||
| 9 | DEPENDS = "libdrm ${LIBGAL_IMX}" | ||
| 10 | LIBGAL_IMX = "libgal-imx" | ||
| 11 | LIBGAL_IMX:mx95-nxp-bsp = "" | ||
| 12 | |||
| 13 | PROVIDES += "virtual/libg2d" | ||
| 14 | |||
| 15 | SRC_URI = "${FSL_MIRROR}/${IMX_BIN_NAME}.bin;fsl-eula=true;name=${IMX_SRC_URI_NAME}" | ||
| 16 | IMX_BIN_NAME = "${BPN}-${IMX_SRC_URI_NAME}-${PV}-${IMX_SRCREV_ABBREV}" | ||
| 17 | |||
| 18 | IMX_SRCREV_ABBREV = "6a00326" | ||
| 19 | IMX_SRC_URI_NAME = "v1" | ||
| 20 | SRC_URI[v1.md5sum] = "470ad0bdef7dec171395991d47b39e2c" | ||
| 21 | SRC_URI[v1.sha256sum] = "4d8e4b536bd24eedfbce375a06c19ab74603291b8b5a5be36b03fbf6e016e940" | ||
| 22 | |||
| 23 | IMX_SRCREV_ABBREV:mx95-nxp-bsp = "6a00326" | ||
| 24 | IMX_SRC_URI_NAME:mx95-nxp-bsp = "v2" | ||
| 25 | SRC_URI[v2.md5sum] = "cf807c38a110763c19a12d6d595b4b09" | ||
| 26 | SRC_URI[v2.sha256sum] = "1b86d4fecd5026e871da0de8ed6382c962460468d8151ae2f95b72d00bca17ee" | ||
| 27 | |||
| 28 | S = "${WORKDIR}/${IMX_BIN_NAME}" | ||
| 29 | |||
| 30 | inherit fsl-eula-unpack | ||
| 31 | |||
| 32 | do_install () { | ||
| 33 | install -d ${D}${libdir} | ||
| 34 | install -d ${D}${includedir} | ||
| 35 | cp -d ${S}/g2d/usr/lib/*.so* ${D}${libdir} | ||
| 36 | cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} | ||
| 37 | } | ||
| 38 | |||
| 39 | INSANE_SKIP:append:libc-musl = " file-rdeps" | ||
| 40 | RDEPENDS:${PN}:append:libc-musl = " gcompat" | ||
| 41 | |||
| 42 | # The packaged binaries have been stripped of debug info, so disable | ||
| 43 | # operations accordingly. | ||
| 44 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
| 45 | INHIBIT_PACKAGE_STRIP = "1" | ||
| 46 | INHIBIT_SYSROOT_STRIP = "1" | ||
| 47 | |||
| 48 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
| 49 | COMPATIBLE_MACHINE = "(imxdpu)" | ||
