From 9ec62ed4cc22b0149eb5cc57c5c3803cdec0ac29 Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Wed, 29 Dec 2021 14:02:24 +0100 Subject: [PATCH] hardknott: libgpuperfcnt: sync with meta-imx hardknott-5.10.72-2.2.0 branch Add these recipes, which are needed by some eIQ packages Signed-off-by: Gabriel Valcazar --- .../libgpuperfcnt/gputop_6.4.3.p2.4.bb | 34 +++++++++++++++++++ .../libgpuperfcnt/libgpuperfcnt_6.4.3.p2.4.bb | 31 +++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 meta-digi-dey/recipes-graphics/libgpuperfcnt/gputop_6.4.3.p2.4.bb create mode 100644 meta-digi-dey/recipes-graphics/libgpuperfcnt/libgpuperfcnt_6.4.3.p2.4.bb diff --git a/meta-digi-dey/recipes-graphics/libgpuperfcnt/gputop_6.4.3.p2.4.bb b/meta-digi-dey/recipes-graphics/libgpuperfcnt/gputop_6.4.3.p2.4.bb new file mode 100644 index 000000000..651750cdf --- /dev/null +++ b/meta-digi-dey/recipes-graphics/libgpuperfcnt/gputop_6.4.3.p2.4.bb @@ -0,0 +1,34 @@ +# Copyright 2017-2021 NXP + +DESCRIPTION = "Sample program to monitor i.MX GPU performance data" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=bcacc6777a7173f8b95b5d1e0ac341ae" + +DEPENDS = "libgpuperfcnt" + +GPUTOP_SRC ?= "git://source.codeaurora.org/external/imx/imx-gputop.git;protocol=https" +SRCBRANCH = "release" +SRC_URI = "${GPUTOP_SRC};branch=${SRCBRANCH} " +SRCREV = "ecd0b278c9ed4ab6ecde83d3c6deeae9367fa828" + +S = "${WORKDIR}/git" + +inherit cmake pkgconfig + +do_compile_append () { + oe_runmake -C ${S} man +} + +do_install_append() { + install -d ${D}/${mandir} + install -m 0444 ${S}/man/* ${D}/${mandir} +} + +PACKAGE_ARCH = "${MACHINE_SOCARCH}" +PACKAGES = "${PN}" +FILES_${PN} += "${mandir}/*" +INSANE_SKIP_${PN} += "installed-vs-shipped dev-so rpaths dev-deps" + +# Compatible only with i.MX with GPU +COMPATIBLE_MACHINE = "(^$)" +COMPATIBLE_MACHINE_imxgpu = "${MACHINE}" diff --git a/meta-digi-dey/recipes-graphics/libgpuperfcnt/libgpuperfcnt_6.4.3.p2.4.bb b/meta-digi-dey/recipes-graphics/libgpuperfcnt/libgpuperfcnt_6.4.3.p2.4.bb new file mode 100644 index 000000000..17cfe674e --- /dev/null +++ b/meta-digi-dey/recipes-graphics/libgpuperfcnt/libgpuperfcnt_6.4.3.p2.4.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "A library to retrieve i.MX GPU performance data" +LICENSE = "Proprietary" +LIC_FILES_CHKSUM = "file://COPYING;md5=03bcadc8dc0a788f66ca9e2b89f56c6f" + +SRC_URI[arm-fb.md5sum] = "46b3a9bf9381ff2cbba5823636d62a99" +SRC_URI[arm-fb.sha256sum] = "8088718cadfbaa562c6059187ac4ed95bd1f3b7139cc41a3c9c6967e69a8f1e4" + +SRC_URI[arm-wayland.md5sum] = "466f66646d567a19f9048d11b7bab354" +SRC_URI[arm-wayland.sha256sum] = "dd8b1f9a20cce47ca926c0cc677b33118ed50ae698a147d842375db595508794" + +SRC_URI[arm-x11.md5sum] = "62788042779d29e9f69931f607c79826" +SRC_URI[arm-x11.sha256sum] = "35fb8d4fb54e0a64d783ee0d602c42b5bc1511f0c8dd4a0946a287cf6247f80b" + +SRC_URI[aarch64-fb.md5sum] = "87163a5e983e9016c5c4811ecfc190fb" +SRC_URI[aarch64-fb.sha256sum] = "9ef818398077493551185925974fced3b81aff5bf15e77942a232557229c881e" + +SRC_URI[aarch64-wayland.md5sum] = "29b3c472c3e509853ced72a6a1a9ceac" +SRC_URI[aarch64-wayland.sha256sum] = "bef1e9859c495e14a4402aaa5b87adaa50e0889fb674c25bc35dd40bb50995a7" + +SRC_URI[aarch64-x11.md5sum] = "bb862e55b8ee79ee5a83b0119618cd07" +SRC_URI[aarch64-x11.sha256sum] = "85c1b51d33e5939600af311d509191387b864db2e0b55e11347b93831e662228" + +inherit fsl-eula-unpack2 fsl-eula-graphics + +PACKAGE_ARCH = "${MACHINE_SOCARCH}" + +RDEPENDS_${PN} = "imx-gpu-viv" + +# Compatible only with i.MX with GPU +COMPATIBLE_MACHINE = "(^$)" +COMPATIBLE_MACHINE_imxgpu = "${MACHINE}"