imx-gpu-g2d: update to v6.2.4.p4.0

This is the version used in meta-fsl-bsp-release branch sumo-4.14.98-2.0.0_ga.
Instead of having one common .inc file and one .bb file per architecture,
we now have one common .bb file for both architectures.

https://jira.digi.com/browse/DEL-6603

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
Gabriel Valcazar 2019-05-13 12:17:01 +02:00
parent 2cbcd32c5c
commit 4d5ee19512
3 changed files with 14 additions and 25 deletions

View File

@ -1,6 +0,0 @@
require imx-gpu-g2d.inc
SRC_URI[md5sum] = "826349f67198359fddfe3e456770eb68"
SRC_URI[sha256sum] = "35a5875d795190117b7fcdd43229d18576d530fddfd32f9d79e161fc7028d29d"
COMPATIBLE_MACHINE = "(mx6q|mx6dl|mx6sx|mx6sl|mx7ulp)"

View File

@ -1,6 +0,0 @@
require imx-gpu-g2d.inc
SRC_URI[md5sum] = "3f88b8100f7784e5a754f4605e25d563"
SRC_URI[sha256sum] = "aeb21adce885bcef1c4018388b7dc2c1d3929dd29826ecf5ffcd95d48ba1865f"
COMPATIBLE_MACHINE = "(mx8)"

View File

@ -1,38 +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=6dfb32a488e5fd6bae52fbf6c7ebb086"
LIC_FILES_CHKSUM = "file://COPYING;md5=80c0478f4339af024519b3723023fe28"
DEPENDS += "libgal-imx"
PROVIDES += "virtual/libg2d"
SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
FSLBIN_NAME = "${PN}-${PV}-${TARGET_ARCH}"
S="${WORKDIR}/${PN}-${PV}"
SRC_URI = "${FSL_MIRROR}/${FSLBIN_NAME}.bin;name=${TARGET_ARCH};fsl-eula=true"
SRC_URI[aarch64.md5sum] = "ec8d8662ac31b96122a1af7736831482"
SRC_URI[aarch64.sha256sum] = "362265b9c6c6ce05b1fafb412efe6617cf142669eb21302beec5e87ebbfe6a25"
SRC_URI[arm.md5sum] = "bb1ef2e365b5d72e2a03c3b39d2016cc"
SRC_URI[arm.sha256sum] = "27557094f4b5e7bef87c73131959503f3d0c3a6ea1c4f010d86c1668078f7f22"
S="${WORKDIR}/${FSLBIN_NAME}"
inherit fsl-eula-unpack
do_install () {
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}
}
RDEPENDS_${PN} = "libgal-imx"
FILES_${PN} = "${libdir}/libg2d* /opt"
FILES_${PN}-dev = "${includedir}"
INSANE_SKIP_${PN} = "ldflags"
# Compatible with i.MX with 2D GPU but no DPU
COMPATIBLE_MACHINE_2D = "(^$)"
COMPATIBLE_MACHINE_2D_imxgpu2d = "${MACHINE}"
COMPATIBLE_MACHINE = "${COMPATIBLE_MACHINE_2D}"
COMPATIBLE_MACHINE_imxdpu = "(^$)"
RDEPENDS_${PN} = "libgal-imx"
COMPATIBLE_MACHINE = "(imxgpu2d)"