blob: ff56d480435424f8a8678bf9b65370ea2cec0942 [file] [log] [blame]
Brad Bishope42b3e32020-01-15 22:08:42 -05001SUMMARY = "Monitoring tools exploiting the performance monitoring events"
2DESCRIPTION = "This package provides a library, called libpfm4 which is used to develop \
3monitoring tools exploiting the performance monitoring events such as those \
4provided by the Performance Monitoring Unit (PMU) of modern processors."
5HOMEPAGE = "http://perfmon2.sourceforge.net/"
6BUGTRACKER = "http://sourceforge.net/tracker/?group_id=144822&atid=759953&source=navbar"
7
8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://COPYING;md5=0de488f3bd4424e308e2e399cb99c788"
10
11SECTION = "devel"
12
13COMPATIBLE_HOST = "powerpc64"
14
15SRC_URI = "${SOURCEFORGE_MIRROR}/perfmon2/${BPN}/libpfm-${PV}.tar.gz \
16 file://0001-Include-poll.h-instead-of-sys-poll.h.patch \
17 "
18SRC_URI[md5sum] = "d8f66cb9bfa7e1434434e0de6409db5b"
19SRC_URI[sha256sum] = "c61c575378b5c17ccfc5806761e4038828610de76e2e34fac9f7fa73ba844b49"
20
21UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/perfmon2/files/libpfm4/"
22
23EXTRA_OEMAKE = "DESTDIR=\"${D}\" PREFIX=\"${prefix}\" LIBDIR=\"${libdir}\" LDCONFIG=\"true\""
24EXTRA_OEMAKE_append_powerpc = " ARCH=\"powerpc\""
25EXTRA_OEMAKE_append_powerpc64 = " ARCH=\"powerpc\" BITMODE=\"64\""
Andrew Geissler82c905d2020-04-13 13:39:40 -050026EXTRA_OEMAKE_append_powerpc64le = " ARCH=\"powerpc\" BITMODE=\"64\""
Brad Bishope42b3e32020-01-15 22:08:42 -050027
28S = "${WORKDIR}/libpfm-${PV}"
29
30do_install () {
31 oe_runmake install
32}