diff options
author | Saul Wold <sgw@linux.intel.com> | 2011-10-20 12:46:51 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-24 17:27:18 +0100 |
commit | b56be05134f511fee9a7e8d78ba08b711eb99137 (patch) | |
tree | 1fe2c4ad0d90e9aa6ca0756b44bf749c71cd179a | |
parent | 85b54b36621aacb2e801b1ea0cea8399871a1fc3 (diff) | |
download | poky-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>
-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.bb | 11 | ||||
-rw-r--r-- | meta/recipes-kernel/oprofile/oprofile_cvs.bb | 28 | ||||
-rw-r--r-- | meta/recipes-kernel/oprofile/oprofile_git.bb | 11 |
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" | |||
15 | RDEPENDS_${PN} = "binutils-symlinks" | 15 | RDEPENDS_${PN} = "binutils-symlinks" |
16 | RRECOMMENDS_${PN} = "kernel-vmlinux" | 16 | RRECOMMENDS_${PN} = "kernel-vmlinux" |
17 | 17 | ||
18 | FILES_${PN} = "${bindir} ${libdir}/${BPN}/lib*.so.* ${datadir}/${BPN}" | 18 | FILES_${PN} = "${bindir} ${libdir}/${BPN}/lib*${SOLIBS} ${datadir}/${BPN}" |
19 | FILES_${PN}-dev += "${libdir}/${BPN}/lib*.so ${libdir}/${BPN}/lib*.la" | 19 | FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la" |
20 | FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a" | 20 | FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a" |
21 | 21 | ||
22 | PR = "r2" | 22 | INC_PR = "r0" |
23 | 23 | ||
24 | SRC_URI = "${SOURCEFORGE_MIRROR}/oprofile/oprofile-${PV}.tar.gz \ | 24 | SRC_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 | ||
29 | SRC_URI[md5sum] = "4e407093ac06200185d5a5e6437d7242" | ||
30 | SRC_URI[sha256sum] = "3f0dd40a7749fc650d25d79d42ebbff8f3b6db310c36e7c3839696cc09077880" | ||
31 | S = "${WORKDIR}/oprofile-${PV}" | ||
32 | |||
33 | inherit autotools | 28 | inherit autotools |
34 | 29 | ||
35 | EXTRA_OECONF = "--with-kernel-support --without-x" | 30 | EXTRA_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 @@ | |||
1 | require oprofile.inc | ||
2 | |||
3 | PR = "${INC_PR}.0" | ||
4 | |||
5 | SRC_URI += "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz" | ||
6 | |||
7 | SRC_URI[md5sum] = "8b5d1d9b65f84420bcc3234777ad3be3" | ||
8 | SRC_URI[sha256sum] = "cb5b507d5dea058d223fcad3cec8ff9638a4163106afd66d176798bbd973d527" | ||
9 | |||
10 | S = "${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 @@ | |||
1 | PV = "0.9.4+cvs${SRCDATE}" | ||
2 | PR = "r1" | ||
3 | SECTION = "devel" | ||
4 | SUMMARY = "System-Wide Profiler" | ||
5 | DESCRIPTION = "OProfile is a system-wide profiler for Linux systems, capable \ | ||
6 | of profiling all running code at low overhead." | ||
7 | LICENSE = "GPL" | ||
8 | DEPENDS = "popt binutils" | ||
9 | RDEPENDS_${PN} = "binutils-symlinks" | ||
10 | RRECOMMENDS_${PN} = "kernel-vmlinux" | ||
11 | |||
12 | DEFAULT_PREFERENCE = "-1" | ||
13 | |||
14 | SRC_URI = "cvs://anonymous@oprofile.cvs.sourceforge.net/cvsroot/oprofile;module=oprofile \ | ||
15 | file://opstart.patch \ | ||
16 | file://acinclude.m4" | ||
17 | S = "${WORKDIR}/oprofile" | ||
18 | |||
19 | inherit autotools | ||
20 | |||
21 | EXTRA_OECONF = "--with-kernel-support \ | ||
22 | --without-x \ | ||
23 | --disable-werror " | ||
24 | |||
25 | do_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 @@ | |||
1 | require oprofile.inc | ||
2 | |||
3 | SRCREV = "88f43190d412d28ebf5c75a76ba20343d0fe4c41" | ||
4 | PV = "0.9.7+git${SRCPV}" | ||
5 | PR = "${INC_PR}.0" | ||
6 | |||
7 | SRC_URI += "git://oprofile.git.sourceforge.net/gitroot/${BPN}/${BPN};protocol=git" | ||
8 | |||
9 | S = "${WORKDIR}/git" | ||
10 | |||
11 | DEFAULT_PREFERENCE = "-1" | ||