gator-daemon_7.8.0.bb 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. SUMMARY = "DS-5 Streamline Gator daemon"
  2. DESCRIPTION = "Target-side daemon gathering data for ARM Streamline \
  3. Performance Analyzer."
  4. HOMEPAGE = "https://github.com/ARM-software/gator"
  5. # Note that Gator uses the Linux Perf API for
  6. # most of its data collection. Check that your Kernel follow the
  7. # configuration requirement specified here:
  8. # https://github.com/ARM-software/gator#kernel-configuration
  9. LICENSE = "GPL-2.0-only & LGPL-2.1-or-later & Apache-2.0"
  10. LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
  11. file://libsensors/COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c \
  12. file://mxml/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327 \
  13. file://k/perf_event.h;endline=14;md5=e548bf30a60b2ed11ef2dcf7bfdac230 \
  14. "
  15. SRCREV = "6a944e7ee1f1c3ab9b2a57efd24c58503122db02"
  16. SRC_URI = "git://github.com/ARM-software/gator.git;protocol=http;branch=main;protocol=https \
  17. file://0001-daemon-mxml-Define-_GNU_SOURCE.patch;striplevel=2 \
  18. file://0001-Include-missing-cstdint.patch;striplevel=2 \
  19. "
  20. S = "${UNPACKDIR}/${BP}/daemon"
  21. COMPATIBLE_HOST = "aarch64.*-linux"
  22. EXTRA_OEMAKE = "'CFLAGS=${CFLAGS} ${TARGET_CC_ARCH} -D_DEFAULT_SOURCE -DETCDIR=\"${sysconfdir}\"' \
  23. 'LDFLAGS=${LDFLAGS} ${TARGET_CC_ARCH}' 'CROSS_COMPILE=${TARGET_PREFIX}' \
  24. 'CXXFLAGS=${CXXFLAGS} ${TARGET_CC_ARCH} -fno-rtti' CC='${CC}' CXX='${CXX}' V=1"
  25. do_install() {
  26. install -d ${D}${sbindir}
  27. install -m 0755 ${S}/gatord ${D}${sbindir}/gatord
  28. }