meta-imx/meta-imx-bsp/recipes-graphics/imx-g2d/imx-dpu-g2d_2.2.4.bb
i.MX Yocto Project Release db0e7ecf50 imx-dpu-g2d: Update imx-dpu-g2d-v1-2.2.4 to commit e2dce80
Signed-off-by: i.MX Yocto Project Release <imx.release@nxp.com>
2024-11-19 18:56:26 +01:00

48 lines
1.4 KiB
BlitzBasic

# Copyright (C) 2016 Freescale Semiconductor
# Copyright 2017-2022 NXP
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "G2D library using i.MX DPU"
LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837"
DEPENDS = "libdrm ${LIBGAL_IMX}"
LIBGAL_IMX = "libgal-imx"
LIBGAL_IMX:mx95-nxp-bsp = ""
PROVIDES += "virtual/libg2d"
SRC_URI = "${FSL_MIRROR}/${IMX_BIN_NAME}.bin;fsl-eula=true;name=${IMX_SRC_URI_NAME}"
IMX_BIN_NAME = "${BPN}-${IMX_SRC_URI_NAME}-${PV}-${IMX_SRCREV_ABBREV}"
IMX_SRCREV_ABBREV = "e2dce80"
IMX_SRC_URI_NAME = "v1"
SRC_URI[v1.sha256sum] = "a532aee85c1dda9b1f315b0c0d06e1a2be6dde914cd9030c4a6f8a7767ce5c07"
IMX_SRCREV_ABBREV:mx95-nxp-bsp = "e2dce80"
IMX_SRC_URI_NAME:mx95-nxp-bsp = "v2"
SRC_URI[v2.sha256sum] = "11c2d4ea860be68a6a33ee13877de1328736dcb3aa76255f543e617b9565fa6f"
S = "${WORKDIR}/${IMX_BIN_NAME}"
inherit fsl-eula-unpack
do_install () {
install -d ${D}${libdir}
install -d ${D}${includedir}
cp -d ${S}/g2d/usr/lib/*.so* ${D}${libdir}
cp -Pr ${S}/g2d/usr/include/* ${D}${includedir}
}
INSANE_SKIP:append:libc-musl = " file-rdeps"
RDEPENDS:${PN}:append:libc-musl = " gcompat"
# 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 = "(imxdpu)"