meta-imx/meta-imx-bsp/recipes-graphics/imx-g2d/imx-gpu-g2d_6.4.11.p2.12.bb
i.MX Yocto Project Release 4a4b6e5a3d imx-gpu-g2d: Update imx-gpu-g2d-6.4.11.p2.12-arm to commit 37208f1
Signed-off-by: i.MX Yocto Project Release <imx.release@nxp.com>
2024-11-19 22:49:32 +01:00

43 lines
1.4 KiB
BlitzBasic

# Copyright (C) 2016 Freescale Semiconductor
# Copyright 2017-2022 NXP
# Copyright 2018 (C) O.S. Systems Software LTDA.
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "G2D library using i.MX GPU"
LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837"
DEPENDS = "libgal-imx"
PROVIDES = "virtual/libg2d"
SRC_URI = "${FSL_MIRROR}/${IMX_BIN_NAME}.bin;name=${TARGET_ARCH};fsl-eula=true"
IMX_BIN_NAME = "${BP}-${TARGET_ARCH}-${IMX_SRCREV_ABBREV}"
IMX_SRCREV_ABBREV = "37208f1"
SRC_URI[aarch64.sha256sum] = "9693e8794b63b8d4f7712cf64b61eece50ead4236e2b387357f351be0c6fe6d5"
SRC_URI[arm.sha256sum] = "8e49f3bf461c839abb7d28e58d875462338cc5c151377b6d71fa5603aa74c72c"
S = "${WORKDIR}/${IMX_BIN_NAME}"
inherit fsl-eula-unpack
SOC_INSTALL_DIR = "SOC_INSTALL_DIR_NOT_SET"
SOC_INSTALL_DIR:mx8mm-nxp-bsp = "mx8mm"
do_install () {
install -d ${D}${libdir}
install -d ${D}${includedir}
cp -d ${S}/g2d/usr/lib/*.so* ${D}${libdir}
if [ -d ${S}/g2d/usr/lib/${SOC_INSTALL_DIR} ]; then
cp -d ${S}/g2d/usr/lib/${SOC_INSTALL_DIR}/*.so* ${D}${libdir}
fi
cp -Pr ${S}/g2d/usr/include/* ${D}${includedir}
}
# The packaged binaries have been stripped of debug info, so disable
# operations accordingly.
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"
PACKAGE_ARCH = "${MACHINE_SOCARCH}"
COMPATIBLE_MACHINE = "(imxgpu2d)"