From b2036716f45d13c3db9d86bbfe596a8b41294cab Mon Sep 17 00:00:00 2001 From: Andrey Zhizhikin Date: Tue, 14 Apr 2020 16:40:55 +0000 Subject: imx-gpu-g2d: update to 6.4.0.p2.0 Update recipe to p2 stepping to include support for kernel 5.4.3 from NXP. Updated component use V10 of NXP EULA, therefore license md5 has been modified to match the version. Signed-off-by: Andrey Zhizhikin --- .../imx-gpu-g2d/imx-gpu-g2d_6.4.0.p1.0.bb | 39 ---------------------- .../imx-gpu-g2d/imx-gpu-g2d_6.4.0.p2.0.bb | 39 ++++++++++++++++++++++ 2 files changed, 39 insertions(+), 39 deletions(-) delete mode 100644 recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.4.0.p1.0.bb create mode 100644 recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.4.0.p2.0.bb diff --git a/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.4.0.p1.0.bb b/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.4.0.p1.0.bb deleted file mode 100644 index d1e3e0570..000000000 --- a/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.4.0.p1.0.bb +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright (C) 2016 Freescale Semiconductor -# Copyright 2017-2018 NXP -# Copyright 2018 (C) O.S. Systems Software LTDA. -# Released under the MIT license (see COPYING.MIT for the terms) - -DESCRIPTION = "GPU G2D library and apps for i.MX with 2D GPU and no DPU" -LICENSE = "Proprietary" -LIC_FILES_CHKSUM = "file://COPYING;md5=6c12031a11b81db21cdfe0be88cac4b3" - -DEPENDS += "libgal-imx" -PROVIDES += "virtual/libg2d" - -FSLBIN_NAME = "${PN}-${PV}-${TARGET_ARCH}" - -SRC_URI = "${FSL_MIRROR}/${FSLBIN_NAME}.bin;name=${TARGET_ARCH};fsl-eula=true" -SRC_URI[aarch64.md5sum] = "ec60e831fbc588b49aeb852aa824d268" -SRC_URI[aarch64.sha256sum] = "35885f435dbe951d2c0f439a376ed8a59a50b67a1b7e1e14fa2ab03995abb1ad" -SRC_URI[arm.md5sum] = "c7c5a9f6cd45b1a716d0f41479919c9e" -SRC_URI[arm.sha256sum] = "6d6d02d035d988cbdb2014794f2efe970a3f5ac277202882bbf553bb7fd789d2" - -S = "${WORKDIR}/${FSLBIN_NAME}" - -inherit fsl-eula-unpack - -do_install () { - install -d ${D}${libdir} - install -d ${D}${includedir} - cp ${S}/g2d/usr/lib/*.so* ${D}${libdir} - cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} - cp -r ${S}/gpu-demos/opt ${D} -} - -FILES_${PN} = "${libdir}/libg2d* /opt" -FILES_${PN}-dev = "${includedir}" -INSANE_SKIP_${PN} = "ldflags" - -RDEPENDS_${PN} = "libgal-imx" - -COMPATIBLE_MACHINE = "(imxgpu2d)" diff --git a/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.4.0.p2.0.bb b/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.4.0.p2.0.bb new file mode 100644 index 000000000..8de2c35fd --- /dev/null +++ b/recipes-graphics/imx-gpu-g2d/imx-gpu-g2d_6.4.0.p2.0.bb @@ -0,0 +1,39 @@ +# Copyright (C) 2016 Freescale Semiconductor +# Copyright 2017-2018 NXP +# Copyright 2018 (C) O.S. Systems Software LTDA. +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "GPU G2D library and apps for i.MX with 2D GPU and no DPU" +LICENSE = "Proprietary" +LIC_FILES_CHKSUM = "file://COPYING;md5=fd4b227530cd88a82af6a5982cfb724d" + +DEPENDS += "libgal-imx" +PROVIDES += "virtual/libg2d" + +FSLBIN_NAME = "${PN}-${PV}-${TARGET_ARCH}" + +SRC_URI = "${FSL_MIRROR}/${FSLBIN_NAME}.bin;name=${TARGET_ARCH};fsl-eula=true" +SRC_URI[aarch64.md5sum] = "46a25ffb33312b36b4c1b8dea38c05f4" +SRC_URI[aarch64.sha256sum] = "3278d4e2bae91e86d148c7e142178d50d4d8eb476fc1ee4a2e265f7e66334741" +SRC_URI[arm.md5sum] = "69532382092c1a5e754be594d1a486b7" +SRC_URI[arm.sha256sum] = "c618c3ac6adc5f28439ceb88cb46889b78daaf36655ab82ea2ac6f50a88297f5" + +S = "${WORKDIR}/${FSLBIN_NAME}" + +inherit fsl-eula-unpack + +do_install () { + install -d ${D}${libdir} + install -d ${D}${includedir} + cp ${S}/g2d/usr/lib/*.so* ${D}${libdir} + cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} + cp -r ${S}/gpu-demos/opt ${D} +} + +FILES_${PN} = "${libdir}/libg2d* /opt" +FILES_${PN}-dev = "${includedir}" +INSANE_SKIP_${PN} = "ldflags" + +RDEPENDS_${PN} = "libgal-imx" + +COMPATIBLE_MACHINE = "(imxgpu2d)" -- cgit v1.2.3-54-g00ecf