summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/oprofile/oprofile.inc
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-10-20 12:46:51 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-24 14:28:19 +0100
commit493e9aa7ba87b2d863ba91f8c5e01e2f92190fb1 (patch)
tree5b05284c469f9e27283620923fa78949a42da755 /meta/recipes-kernel/oprofile/oprofile.inc
parent05f5ecb8a153fa846cedabc71a8601065d6fe63d (diff)
downloadopenembedded-core-493e9aa7ba87b2d863ba91f8c5e01e2f92190fb1.tar.gz
oprofile: Update to 0.9.7 and convert cvs->git
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-kernel/oprofile/oprofile.inc')
-rw-r--r--meta/recipes-kernel/oprofile/oprofile.inc35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-kernel/oprofile/oprofile.inc b/meta/recipes-kernel/oprofile/oprofile.inc
new file mode 100644
index 0000000000..73a5a07d14
--- /dev/null
+++ b/meta/recipes-kernel/oprofile/oprofile.inc
@@ -0,0 +1,35 @@
+SUMMARY = "System-Wide Profiler"
+DESCRIPTION = "OProfile is a system-wide profiler for Linux systems, capable \
+of profiling all running code at low overhead."
+HOMEPAGE = "http://oprofile.sourceforge.net/news/"
+BUGTRACKER = "http://sourceforge.net/tracker/?group_id=16191&atid=116191"
+
+LICENSE = "LGPLv2.1+ & GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
+ file://libopagent/opagent.h;beginline=5;endline=26;md5=4f16f72c7a493d8a4704aa18d03d15c6 \
+ file://daemon/liblegacy/p_module.h;beginline=2;endline=20;md5=fc23a43455edf185307274a99730b6e4"
+
+SECTION = "devel"
+
+DEPENDS = "popt binutils"
+RDEPENDS_${PN} = "binutils-symlinks"
+RRECOMMENDS_${PN} = "kernel-vmlinux"
+
+FILES_${PN} = "${bindir} ${libdir}/${BPN}/lib*${SOLIBS} ${datadir}/${BPN}"
+FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la"
+FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a"
+
+INC_PR = "r0"
+
+SRC_URI = "file://opstart.patch \
+ file://oprofile-no-query-modules.patch \
+ file://acinclude.m4"
+
+inherit autotools
+
+EXTRA_OECONF = "--with-kernel-support --without-x"
+
+do_configure () {
+ cp ${WORKDIR}/acinclude.m4 ${S}/
+ autotools_do_configure
+}