1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-07 04:58:57 +00:00

arm/gator-daemon: Add new package

To communicate with the target device, Streamline requires the
gator daemon, gatord, to be running on the device.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Clément Péron
2021-06-23 21:46:51 +02:00
committed by Jon Mason
parent 70320d9dfc
commit df36289f44
@@ -0,0 +1,32 @@
SUMMARY = "DS-5 Streamline Gator daemon"
DESCRIPTION = "Target-side daemon gathering data for ARM Streamline \
Performance Analyzer."
HOMEPAGE = "https://github.com/ARM-software/gator"
# Note that Gator uses the Linux Perf API for
# most of its data collection. Check that your Kernel follow the
# configuration requirement specified here:
# https://github.com/ARM-software/gator#kernel-configuration
LICENSE = "GPLv2 & LGPLv2.1+ & Apache-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://libsensors/COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \
file://mxml/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327 \
file://k/perf_event.h;endline=14;md5=e548bf30a60b2ed11ef2dcf7bfdac230 \
"
SRCREV = "9d8d75fa08352470c51abc23fe3b314879bd8b78"
SRC_URI = "git://github.com/ARM-software/gator.git;protocol=http;branch=main"
S = "${WORKDIR}/git/daemon"
COMPATIBLE_HOST = "aarch64.*-linux"
EXTRA_OEMAKE = "'CFLAGS=${CFLAGS} ${TARGET_CC_ARCH} -D_DEFAULT_SOURCE -DETCDIR=\"${sysconfdir}\"' \
'LDFLAGS=${LDFLAGS} ${TARGET_CC_ARCH}' 'CROSS_COMPILE=${TARGET_PREFIX}' \
'CXXFLAGS=${CXXFLAGS} ${TARGET_CC_ARCH} -fno-rtti' CC='${CC}' CXX='${CXX}' V=1"
do_install() {
install -d ${D}${sbindir}
install -m 0755 ${S}/gatord ${D}${sbindir}/gatord
}