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
# --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
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 \
+"
+++ /dev/null
-require oprofile.inc
-
-PR = "r3"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/oprofile/oprofile-${PV}.tar.gz \
- file://no_arm_mapping_syms.patch;patch=1 \
- file://opcontrol_bashisms.patch;patch=1 \
- file://acinclude.m4"
require oprofile.inc
-RDEPENDS += "binutils-symlinks"
-RRECOMMENDS += "kernel-vmlinux"
-PR = "r11"
+PR = "${INC_PR}.0"
-SRC_URI = "${SOURCEFORGE_MIRROR}/oprofile/oprofile-${PV}.tar.gz \
+SRC_URI += "\
file://armv6_fix.patch;patch=1 \
file://oparchive_fix.patch;patch=1 \
file://root_option.patch;patch=1 \
file://opstart.patch;patch=1 \
file://fix-arith.patch;patch=1;pnum=0 \
file://gcc43x-fix.patch;patch=1 \
- file://armv7a.diff;patch=1 \
- file://acinclude.m4"
+ file://armv7a.diff;patch=1"
require oprofile.inc
-RDEPENDS += "binutils-symlinks"
-RRECOMMENDS += "kernel-vmlinux"
-PR = "r3"
+PR = "${INC_PR}.0"
-SRC_URI = "\
- ${SOURCEFORGE_MIRROR}/oprofile/oprofile-${PV}.tar.gz \
+SRC_URI += "\
file://opjitconv-execvp-fix.diff;patch=1 \
file://0.9.4-armv7a.diff;patch=1 \
- file://acinclude.m4 \
"
-do_stage () {
- # As of 0.9.4 there is a libopagent library to compile and link against.
- autotools_stage_all
-}
-
-PACKAGES = "${PN}-dev ${PN}-doc ${PN}-dbg ${PN}"
-
-FILES_${PN}-dev += "\
- ${libdir}/oprofile/lib*.so \
- ${libdir}/oprofile/lib*.a \
- ${libdir}/oprofile/lib*.la \
-"
require oprofile.inc
-RDEPENDS += "binutils-symlinks"
-RRECOMMENDS += "kernel-vmlinux"
-PR = "r3"
+PR = "${INC_PR}.0"
-SRC_URI = "\
- ${SOURCEFORGE_MIRROR}/oprofile/oprofile-${PV}.tar.gz \
- file://acinclude.m4 \
- "
-
-do_stage () {
- # As of 0.9.4 there is a libopagent library to compile and link against.
- autotools_stage_all
-}
-
-PACKAGES = "${PN}-dev ${PN}-doc ${PN}-dbg ${PN}"
-
-FILES_${PN} += "\
- ${libdir}/oprofile/libopagent.so.* \
-"
-
-FILES_${PN}-dev += "\
- ${libdir}/oprofile/lib*.so \
- ${libdir}/oprofile/lib*.a \
- ${libdir}/oprofile/lib*.la \
-"