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:37:25 +0000 |
commit | 44f5f3f12848f256f83eee746752eba493984efe (patch) | |
tree | 6b2a2d3c80276642bc32e3b31ce19bbe4ddac283 /meta/recipes-kernel | |
parent | 0a1fa4686140c54e85323f1a409678756b0cb490 (diff) | |
download | poky-44f5f3f12848f256f83eee746752eba493984efe.tar.gz |
libpfm4_4.3.0.bb: add libpfm4 recipe needed by oprofile for ppc
(From OE-Core rev: 52c94978992d9084d685d4999064a8cee35220d1)
Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-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 @@ | |||
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 | SRC_URI = "http://downloads.sourceforge.net/project/perfmon2/libpfm4/libpfm-4.3.0.tar.gz" | ||
14 | |||
15 | SRC_URI[md5sum] = "0ab272dbdbb759b852ba8bd06db030ef" | ||
16 | SRC_URI[sha256sum] = "a23eb9affbff279e13563a39317c0ad71c4de28908d4243c8bc109138430cc3b" | ||
17 | |||
18 | EXTRA_OEMAKE = "DESTDIR=\"${D}\" PREFIX=\"${prefix}\" LIBDIR=\"${libdir}\" LDCONFIG=\"true\"" | ||
19 | EXTRA_OEMAKE_append_powerpc = " ARCH=\"powerpc\"" | ||
20 | EXTRA_OEMAKE_append_powerpc64 = " ARCH=\"powerpc\" BITMODE=\"64\"" | ||
21 | |||
22 | S = "${WORKDIR}/libpfm-${PV}" | ||
23 | |||
24 | do_install () { | ||
25 | oe_runmake install | ||
26 | } | ||