summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/oprofile
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 17:27:18 +0100
commitb56be05134f511fee9a7e8d78ba08b711eb99137 (patch)
tree1fe2c4ad0d90e9aa6ca0756b44bf749c71cd179a /meta/recipes-kernel/oprofile
parent85b54b36621aacb2e801b1ea0cea8399871a1fc3 (diff)
downloadpoky-b56be05134f511fee9a7e8d78ba08b711eb99137.tar.gz
oprofile: Update to 0.9.7 and convert cvs->git
(From OE-Core rev: 493e9aa7ba87b2d863ba91f8c5e01e2f92190fb1) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/oprofile')
-rw-r--r--meta/recipes-kernel/oprofile/oprofile.inc (renamed from meta/recipes-kernel/oprofile/oprofile_0.9.6.bb)13
-rw-r--r--meta/recipes-kernel/oprofile/oprofile_0.9.7.bb11
-rw-r--r--meta/recipes-kernel/oprofile/oprofile_cvs.bb28
-rw-r--r--meta/recipes-kernel/oprofile/oprofile_git.bb11
4 files changed, 26 insertions, 37 deletions
diff --git a/meta/recipes-kernel/oprofile/oprofile_0.9.6.bb b/meta/recipes-kernel/oprofile/oprofile.inc
index 0f154c8cec..73a5a07d14 100644
--- a/meta/recipes-kernel/oprofile/oprofile_0.9.6.bb
+++ b/meta/recipes-kernel/oprofile/oprofile.inc
@@ -15,21 +15,16 @@ DEPENDS = "popt binutils"
15RDEPENDS_${PN} = "binutils-symlinks" 15RDEPENDS_${PN} = "binutils-symlinks"
16RRECOMMENDS_${PN} = "kernel-vmlinux" 16RRECOMMENDS_${PN} = "kernel-vmlinux"
17 17
18FILES_${PN} = "${bindir} ${libdir}/${BPN}/lib*.so.* ${datadir}/${BPN}" 18FILES_${PN} = "${bindir} ${libdir}/${BPN}/lib*${SOLIBS} ${datadir}/${BPN}"
19FILES_${PN}-dev += "${libdir}/${BPN}/lib*.so ${libdir}/${BPN}/lib*.la" 19FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la"
20FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a" 20FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a"
21 21
22PR = "r2" 22INC_PR = "r0"
23 23
24SRC_URI = "${SOURCEFORGE_MIRROR}/oprofile/oprofile-${PV}.tar.gz \ 24SRC_URI = "file://opstart.patch \
25 file://opstart.patch \
26 file://oprofile-no-query-modules.patch \ 25 file://oprofile-no-query-modules.patch \
27 file://acinclude.m4" 26 file://acinclude.m4"
28 27
29SRC_URI[md5sum] = "4e407093ac06200185d5a5e6437d7242"
30SRC_URI[sha256sum] = "3f0dd40a7749fc650d25d79d42ebbff8f3b6db310c36e7c3839696cc09077880"
31S = "${WORKDIR}/oprofile-${PV}"
32
33inherit autotools 28inherit autotools
34 29
35EXTRA_OECONF = "--with-kernel-support --without-x" 30EXTRA_OECONF = "--with-kernel-support --without-x"
diff --git a/meta/recipes-kernel/oprofile/oprofile_0.9.7.bb b/meta/recipes-kernel/oprofile/oprofile_0.9.7.bb
new file mode 100644
index 0000000000..d7e151134c
--- /dev/null
+++ b/meta/recipes-kernel/oprofile/oprofile_0.9.7.bb
@@ -0,0 +1,11 @@
1require oprofile.inc
2
3PR = "${INC_PR}.0"
4
5SRC_URI += "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
6
7SRC_URI[md5sum] = "8b5d1d9b65f84420bcc3234777ad3be3"
8SRC_URI[sha256sum] = "cb5b507d5dea058d223fcad3cec8ff9638a4163106afd66d176798bbd973d527"
9
10S = "${WORKDIR}/oprofile-${PV}"
11
diff --git a/meta/recipes-kernel/oprofile/oprofile_cvs.bb b/meta/recipes-kernel/oprofile/oprofile_cvs.bb
deleted file mode 100644
index c66f4d3f87..0000000000
--- a/meta/recipes-kernel/oprofile/oprofile_cvs.bb
+++ /dev/null
@@ -1,28 +0,0 @@
1PV = "0.9.4+cvs${SRCDATE}"
2PR = "r1"
3SECTION = "devel"
4SUMMARY = "System-Wide Profiler"
5DESCRIPTION = "OProfile is a system-wide profiler for Linux systems, capable \
6of profiling all running code at low overhead."
7LICENSE = "GPL"
8DEPENDS = "popt binutils"
9RDEPENDS_${PN} = "binutils-symlinks"
10RRECOMMENDS_${PN} = "kernel-vmlinux"
11
12DEFAULT_PREFERENCE = "-1"
13
14SRC_URI = "cvs://anonymous@oprofile.cvs.sourceforge.net/cvsroot/oprofile;module=oprofile \
15 file://opstart.patch \
16 file://acinclude.m4"
17S = "${WORKDIR}/oprofile"
18
19inherit autotools
20
21EXTRA_OECONF = "--with-kernel-support \
22 --without-x \
23 --disable-werror "
24
25do_configure () {
26 cp ${WORKDIR}/acinclude.m4 ${S}/
27 autotools_do_configure
28}
diff --git a/meta/recipes-kernel/oprofile/oprofile_git.bb b/meta/recipes-kernel/oprofile/oprofile_git.bb
new file mode 100644
index 0000000000..c345548010
--- /dev/null
+++ b/meta/recipes-kernel/oprofile/oprofile_git.bb
@@ -0,0 +1,11 @@
1require oprofile.inc
2
3SRCREV = "88f43190d412d28ebf5c75a76ba20343d0fe4c41"
4PV = "0.9.7+git${SRCPV}"
5PR = "${INC_PR}.0"
6
7SRC_URI += "git://oprofile.git.sourceforge.net/gitroot/${BPN}/${BPN};protocol=git"
8
9S = "${WORKDIR}/git"
10
11DEFAULT_PREFERENCE = "-1"