aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/oprofile/oprofile.inc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-01-06 13:06:53 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-01-06 06:55:58 +0100
commit8df99a826f55f9f2dd8b3c05739aa842d9909886 (patch)
tree2c5ab5db39923fb1fa6b8cb10d04d13288652da2 /recipes/oprofile/oprofile.inc
parentd1902fa250b04aa6299c8a8fc5d861c9b4930875 (diff)
downloadopenembedded-8df99a826f55f9f2dd8b3c05739aa842d9909886.tar.gz
oprofile: Move more functionality to oprofile.inc, remove version 0.9.2
* Remove version 0.9.2. It does not compile with a recent stdc++, the compiler is reporting other scary bits as well and it is quite old where all other versions are just dropins. * Move everyting into the .inc file, remove the PACKAGES line and convert it to the INC_PR. * All existing variants were compile tested.
Diffstat (limited to 'recipes/oprofile/oprofile.inc')
-rw-r--r--recipes/oprofile/oprofile.inc21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/oprofile/oprofile.inc b/recipes/oprofile/oprofile.inc
index d98610f3c2..f346c10ce2 100644
--- a/recipes/oprofile/oprofile.inc
+++ b/recipes/oprofile/oprofile.inc
@@ -3,8 +3,15 @@ DESCRIPTION = "OProfile is a system-wide profiler for Linux systems, capable \
of profiling all running code at low overhead."
LICENSE = "GPL"
DEPENDS = "popt binutils"
+RDEPENDS += "binutils-symlinks"
+RRECOMMENDS += "kernel-vmlinux"
+INC_PR = "r11"
S = "${WORKDIR}/oprofile-${PV}"
+SRC_URI = "\
+ ${SOURCEFORGE_MIRROR}/oprofile/oprofile-${PV}.tar.gz \
+ file://acinclude.m4 \
+ "
inherit autotools
@@ -35,6 +42,11 @@ do_configure () {
# --with-qt-includes where the Qt includes are.
# --with-qt-libraries where the Qt library is installed.
+do_stage () {
+ # As of 0.9.4 there is a libopagent library to compile and link against.
+ autotools_stage_all
+}
+
OPROFILE_ARCH = "${TARGET_ARCH}"
OPROFILE_ARCH_i586 = "i386"
# note this excludes the ppc64 directory
@@ -42,3 +54,12 @@ OPROFILE_ARCH_i586 = "i386"
OPROFILE_ARCH_powerpc = "ppc"
FILES_${PN} = "${bindir} ${datadir}/oprofile/rtc ${datadir}/oprofile/stl.pat ${datadir}/oprofile/${OPROFILE_ARCH}"
+FILES_${PN} += "\
+ ${libdir}/oprofile/libopagent.so.* \
+"
+
+FILES_${PN}-dev += "\
+ ${libdir}/oprofile/lib*.so \
+ ${libdir}/oprofile/lib*.a \
+ ${libdir}/oprofile/lib*.la \
+"