diff options
| -rw-r--r-- | recipes-graphics/imx-g2d/imx-dpu-g2d_1.9.4.bb | 35 | ||||
| -rw-r--r-- | recipes-graphics/imx-g2d/imx-dpu-g2d_2.0.0.bb | 27 |
2 files changed, 27 insertions, 35 deletions
diff --git a/recipes-graphics/imx-g2d/imx-dpu-g2d_1.9.4.bb b/recipes-graphics/imx-g2d/imx-dpu-g2d_1.9.4.bb deleted file mode 100644 index c340505e0..000000000 --- a/recipes-graphics/imx-g2d/imx-dpu-g2d_1.9.4.bb +++ /dev/null | |||
| @@ -1,35 +0,0 @@ | |||
| 1 | # Copyright (C) 2016 Freescale Semiconductor | ||
| 2 | # Copyright 2017-2021 NXP | ||
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
| 4 | |||
| 5 | DESCRIPTION = "GPU G2D library and apps for i.MX with 2D GPU and DPU" | ||
| 6 | LICENSE = "Proprietary" | ||
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=e565271ec9a80ce47abbddc4bffe56fa" | ||
| 8 | PROVIDES += "virtual/libg2d" | ||
| 9 | |||
| 10 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" | ||
| 11 | SRC_URI[md5sum] = "0b7fc529b3af3ecc3087a99cca0c627d" | ||
| 12 | SRC_URI[sha256sum] = "42d470373fd72b2e2aa8d8a226e133c61b0a88e4e5bddbfec9509f7d2764f206" | ||
| 13 | |||
| 14 | inherit fsl-eula-unpack | ||
| 15 | |||
| 16 | do_install () { | ||
| 17 | install -d ${D}${libdir} | ||
| 18 | install -d ${D}${includedir} | ||
| 19 | cp -r ${S}/g2d/usr/lib/*.so* ${D}${libdir} | ||
| 20 | cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} | ||
| 21 | cp -r ${S}/gpu-demos/opt ${D} | ||
| 22 | } | ||
| 23 | |||
| 24 | FILES:${PN} = "${libdir}/libg2d* /opt" | ||
| 25 | FILES:${PN}-dev = "${libdir}/libg2d${SOLIBSDEV} ${includedir}" | ||
| 26 | INSANE_SKIP:${PN} += "ldflags" | ||
| 27 | |||
| 28 | RDEPENDS:${PN} = "libgal-imx libdrm libopencl-imx" | ||
| 29 | |||
| 30 | # This is required to provide support for VPU Amphion HEVC tile format | ||
| 31 | # From NXP [MGS-5547] (commit e175d6b4f78deab24d319b852998bef55cdecc99): | ||
| 32 | # VPU Amphion HEVC tile support was added using OpenCL, so add a dependency on libopencl-imx. | ||
| 33 | RDEPENDS:${PN} += "libopencl-imx" | ||
| 34 | |||
| 35 | COMPATIBLE_MACHINE = "(imxdpu)" | ||
diff --git a/recipes-graphics/imx-g2d/imx-dpu-g2d_2.0.0.bb b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.0.0.bb new file mode 100644 index 000000000..c8e4169d9 --- /dev/null +++ b/recipes-graphics/imx-g2d/imx-dpu-g2d_2.0.0.bb | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | # Copyright (C) 2016 Freescale Semiconductor | ||
| 2 | # Copyright 2017-2022 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=be5ff43682ed6c57dfcbeb97651c2829" | ||
| 8 | |||
| 9 | DEPENDS = "libgal-imx libdrm" | ||
| 10 | PROVIDES += "virtual/libg2d" | ||
| 11 | |||
| 12 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" | ||
| 13 | SRC_URI[md5sum] = "96bc124401896dec1272a86cb2baef54" | ||
| 14 | SRC_URI[sha256sum] = "8e636b65b08cba6b4c2130c8dbff81ee1af42ef818c013aede81ab7e321899a4" | ||
| 15 | |||
| 16 | inherit fsl-eula-unpack | ||
| 17 | |||
| 18 | do_install () { | ||
| 19 | install -d ${D}${libdir} | ||
| 20 | install -d ${D}${includedir} | ||
| 21 | cp -r ${S}/g2d/usr/lib/*.so* ${D}${libdir} | ||
| 22 | cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} | ||
| 23 | } | ||
| 24 | |||
| 25 | INSANE_SKIP:${PN} += "ldflags" | ||
| 26 | |||
| 27 | COMPATIBLE_MACHINE = "(imxdpu)" | ||
