Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Monitoring tools exploiting the performance monitoring events" |
| 2 | DESCRIPTION = "This package provides a library, called libpfm4 which is used to develop \ |
| 3 | monitoring tools exploiting the performance monitoring events such as those \ |
| 4 | provided by the Performance Monitoring Unit (PMU) of modern processors." |
| 5 | HOMEPAGE = "http://perfmon2.sourceforge.net/" |
| 6 | BUGTRACKER = "http://sourceforge.net/tracker/?group_id=144822&atid=759953&source=navbar" |
| 7 | |
| 8 | LICENSE = "MIT" |
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=0de488f3bd4424e308e2e399cb99c788" |
| 10 | |
| 11 | SECTION = "devel" |
| 12 | |
| 13 | COMPATIBLE_HOST = "powerpc64" |
| 14 | |
| 15 | SRC_URI = "http://downloads.sourceforge.net/project/perfmon2/${BPN}/libpfm-${PV}.tar.gz \ |
| 16 | file://0001-Makefile-Add-LDFLAGS-variable-to-SLDFLAGS.patch \ |
| 17 | " |
| 18 | |
| 19 | SRC_URI[md5sum] = "5077b9022440e4951d96f2d0e73bd487" |
| 20 | SRC_URI[sha256sum] = "5ab1e5b0472550f9037a8800834f6bc3b927690070f69fac0b67284b4b05fd5f" |
| 21 | |
| 22 | EXTRA_OEMAKE = "DESTDIR=\"${D}\" PREFIX=\"${prefix}\" LIBDIR=\"${libdir}\" LDCONFIG=\"true\"" |
| 23 | EXTRA_OEMAKE_append_powerpc = " ARCH=\"powerpc\"" |
| 24 | EXTRA_OEMAKE_append_powerpc64 = " ARCH=\"powerpc\" BITMODE=\"64\"" |
| 25 | |
| 26 | S = "${WORKDIR}/libpfm-${PV}" |
| 27 | |
| 28 | do_install () { |
| 29 | oe_runmake install |
| 30 | } |