# 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=db4762b09b6bda63da103963e6e081de" DEPENDS = "libgal-imx libdrm" PROVIDES += "virtual/libg2d" SRC_URI = "${FSL_MIRROR}/${IMX_BIN_NAME}.bin;fsl-eula=true" IMX_BIN_NAME = "${BP}-${IMX_SRCREV_ABBREV}" IMX_SRCREV_ABBREV = "7ed5396" SRC_URI[md5sum] = "eed4f724973192564474efbda83f67bc" SRC_URI[sha256sum] = "bca725e442c1438990cf1b41a59194e6efbd080c63d9b683a0d572e27f900e25" 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" COMPATIBLE_MACHINE = "(imxdpu)"