diff options
author | Matthew McClintock <msm@freescale.com> | 2013-02-05 11:46:46 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-06 09:35:04 +0000 |
commit | 52c94978992d9084d685d4999064a8cee35220d1 (patch) | |
tree | 46e2b0ae3a942e362bb4c244347628f973611c7b /meta | |
parent | 514c479816da79bb2f71602c3bf3c4805a4416e6 (diff) | |
download | openembedded-core-52c94978992d9084d685d4999064a8cee35220d1.tar.gz openembedded-core-52c94978992d9084d685d4999064a8cee35220d1.tar.bz2 openembedded-core-52c94978992d9084d685d4999064a8cee35220d1.zip |
libpfm4_4.3.0.bb: add libpfm4 recipe needed by oprofile for ppc
Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb b/meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb new file mode 100644 index 0000000000..460029fe4d --- /dev/null +++ b/meta/recipes-kernel/libpfm/libpfm4_4.3.0.bb @@ -0,0 +1,26 @@ +SUMMARY = "Monitoring tools exploiting the performance monitoring events" +DESCRIPTION = "This package provides a library, called libpfm4 which is used to develop \ +monitoring tools exploiting the performance monitoring events such as those \ +provided by the Performance Monitoring Unit (PMU) of modern processors." +HOMEPAGE = "http://perfmon2.sourceforge.net/" +BUGTRACKER = "http://sourceforge.net/tracker/?group_id=144822&atid=759953&source=navbar" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING;md5=0de488f3bd4424e308e2e399cb99c788" + +SECTION = "devel" + +SRC_URI = "http://downloads.sourceforge.net/project/perfmon2/libpfm4/libpfm-4.3.0.tar.gz" + +SRC_URI[md5sum] = "0ab272dbdbb759b852ba8bd06db030ef" +SRC_URI[sha256sum] = "a23eb9affbff279e13563a39317c0ad71c4de28908d4243c8bc109138430cc3b" + +EXTRA_OEMAKE = "DESTDIR=\"${D}\" PREFIX=\"${prefix}\" LIBDIR=\"${libdir}\" LDCONFIG=\"true\"" +EXTRA_OEMAKE_append_powerpc = " ARCH=\"powerpc\"" +EXTRA_OEMAKE_append_powerpc64 = " ARCH=\"powerpc\" BITMODE=\"64\"" + +S = "${WORKDIR}/libpfm-${PV}" + +do_install () { + oe_runmake install +} |