From b56be05134f511fee9a7e8d78ba08b711eb99137 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Thu, 20 Oct 2011 12:46:51 -0700 Subject: oprofile: Update to 0.9.7 and convert cvs->git (From OE-Core rev: 493e9aa7ba87b2d863ba91f8c5e01e2f92190fb1) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-kernel/oprofile/oprofile.inc | 35 ++++++++++++++++++++++ meta/recipes-kernel/oprofile/oprofile_0.9.6.bb | 40 -------------------------- meta/recipes-kernel/oprofile/oprofile_0.9.7.bb | 11 +++++++ meta/recipes-kernel/oprofile/oprofile_cvs.bb | 28 ------------------ meta/recipes-kernel/oprofile/oprofile_git.bb | 11 +++++++ 5 files changed, 57 insertions(+), 68 deletions(-) create mode 100644 meta/recipes-kernel/oprofile/oprofile.inc delete mode 100644 meta/recipes-kernel/oprofile/oprofile_0.9.6.bb create mode 100644 meta/recipes-kernel/oprofile/oprofile_0.9.7.bb delete mode 100644 meta/recipes-kernel/oprofile/oprofile_cvs.bb create mode 100644 meta/recipes-kernel/oprofile/oprofile_git.bb (limited to 'meta/recipes-kernel/oprofile') diff --git a/meta/recipes-kernel/oprofile/oprofile.inc b/meta/recipes-kernel/oprofile/oprofile.inc new file mode 100644 index 0000000..73a5a07 --- /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 +} diff --git a/meta/recipes-kernel/oprofile/oprofile_0.9.6.bb b/meta/recipes-kernel/oprofile/oprofile_0.9.6.bb deleted file mode 100644 index 0f154c8..0000000 --- a/meta/recipes-kernel/oprofile/oprofile_0.9.6.bb +++ /dev/null @@ -1,40 +0,0 @@ -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*.so.* ${datadir}/${BPN}" -FILES_${PN}-dev += "${libdir}/${BPN}/lib*.so ${libdir}/${BPN}/lib*.la" -FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a" - -PR = "r2" - -SRC_URI = "${SOURCEFORGE_MIRROR}/oprofile/oprofile-${PV}.tar.gz \ - file://opstart.patch \ - file://oprofile-no-query-modules.patch \ - file://acinclude.m4" - -SRC_URI[md5sum] = "4e407093ac06200185d5a5e6437d7242" -SRC_URI[sha256sum] = "3f0dd40a7749fc650d25d79d42ebbff8f3b6db310c36e7c3839696cc09077880" -S = "${WORKDIR}/oprofile-${PV}" - -inherit autotools - -EXTRA_OECONF = "--with-kernel-support --without-x" - -do_configure () { - cp ${WORKDIR}/acinclude.m4 ${S}/ - autotools_do_configure -} 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 0000000..d7e1511 --- /dev/null +++ b/meta/recipes-kernel/oprofile/oprofile_0.9.7.bb @@ -0,0 +1,11 @@ +require oprofile.inc + +PR = "${INC_PR}.0" + +SRC_URI += "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz" + +SRC_URI[md5sum] = "8b5d1d9b65f84420bcc3234777ad3be3" +SRC_URI[sha256sum] = "cb5b507d5dea058d223fcad3cec8ff9638a4163106afd66d176798bbd973d527" + +S = "${WORKDIR}/oprofile-${PV}" + diff --git a/meta/recipes-kernel/oprofile/oprofile_cvs.bb b/meta/recipes-kernel/oprofile/oprofile_cvs.bb deleted file mode 100644 index c66f4d3..0000000 --- a/meta/recipes-kernel/oprofile/oprofile_cvs.bb +++ /dev/null @@ -1,28 +0,0 @@ -PV = "0.9.4+cvs${SRCDATE}" -PR = "r1" -SECTION = "devel" -SUMMARY = "System-Wide Profiler" -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_${PN} = "binutils-symlinks" -RRECOMMENDS_${PN} = "kernel-vmlinux" - -DEFAULT_PREFERENCE = "-1" - -SRC_URI = "cvs://anonymous@oprofile.cvs.sourceforge.net/cvsroot/oprofile;module=oprofile \ - file://opstart.patch \ - file://acinclude.m4" -S = "${WORKDIR}/oprofile" - -inherit autotools - -EXTRA_OECONF = "--with-kernel-support \ - --without-x \ - --disable-werror " - -do_configure () { - cp ${WORKDIR}/acinclude.m4 ${S}/ - autotools_do_configure -} diff --git a/meta/recipes-kernel/oprofile/oprofile_git.bb b/meta/recipes-kernel/oprofile/oprofile_git.bb new file mode 100644 index 0000000..c345548 --- /dev/null +++ b/meta/recipes-kernel/oprofile/oprofile_git.bb @@ -0,0 +1,11 @@ +require oprofile.inc + +SRCREV = "88f43190d412d28ebf5c75a76ba20343d0fe4c41" +PV = "0.9.7+git${SRCPV}" +PR = "${INC_PR}.0" + +SRC_URI += "git://oprofile.git.sourceforge.net/gitroot/${BPN}/${BPN};protocol=git" + +S = "${WORKDIR}/git" + +DEFAULT_PREFERENCE = "-1" -- cgit v1.1