meta-digi-dey: add libgpuperfcnt version r50.4

This is the version supporting the i.MX95. This library is a dependence
of the gputop package.

As a requirement to allow building this library for the ccimx95-dvk,
update the fsl-eula-graphics bbclass with the latest changes in meta-imx.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2025-10-09 17:44:04 +02:00
parent 8a9e8094bb
commit 4786ff1c7f
2 changed files with 18 additions and 2 deletions

View File

@ -1,9 +1,11 @@
# fsl-eula-graphics.bbclass extends the naming scheme in fsl-eula.bbclass
# to allow for graphics-backend-specific archives.
IMX_PACKAGE_NAME:append:class-target = "${IMX_PACKAGE_NAME_APPEND}${IMX_PACKAGE_NAME_APPEND_MALI}"
SRC_URI_NAME:append:class-target = "${IMX_PACKAGE_NAME_APPEND}${IMX_PACKAGE_NAME_APPEND_MALI}"
IMX_PACKAGE_NAME_APPEND = ""
IMX_PACKAGE_NAME_APPEND:class-target = \
"${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '-wayland', \
bb.utils.contains('DISTRO_FEATURES', 'x11', '-x11', \
'-fb', d), d)}"
IMX_PACKAGE_NAME:append:class-target = "${IMX_PACKAGE_NAME_APPEND}"
SRC_URI_NAME:append:class-target = "${IMX_PACKAGE_NAME_APPEND}"
IMX_PACKAGE_NAME_APPEND_MALI = ""
IMX_PACKAGE_NAME_APPEND_MALI:mx95-nxp-bsp = "-mali"

View File

@ -0,0 +1,14 @@
DESCRIPTION = "A library to retrieve i.MX GPU performance data"
LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac"
DEPENDS = "mali-imx"
IMX_SRCREV_ABBREV = "e0a132a"
SRC_URI[aarch64-wayland-mali.sha256sum] = "81559f5390706f3b5dd2ae224aa266e55dd74437080ff4c065557b9906140a41"
inherit fsl-eula-unpack2 fsl-eula-graphics fsl-eula-recent
PACKAGE_ARCH = "${MACHINE_SOCARCH}"
COMPATIBLE_MACHINE = "(mx95-generic-bsp)"