2006-10-12 10:10:19 +00:00
|
|
|
SECTION = "devel"
|
|
|
|
DESCRIPTION = "OProfile is a system-wide profiler for Linux systems, capable \
|
|
|
|
of profiling all running code at low overhead."
|
|
|
|
LICENSE = "GPL"
|
|
|
|
DEPENDS = "popt binutils"
|
2007-08-07 22:48:40 +00:00
|
|
|
RDEPENDS = "binutils-symlinks"
|
2008-06-30 10:01:14 +00:00
|
|
|
RRECOMMENDS = "kernel-vmlinux"
|
|
|
|
PR = "r5"
|
2006-10-12 10:10:19 +00:00
|
|
|
|
|
|
|
SRC_URI = "${SOURCEFORGE_MIRROR}/oprofile/oprofile-${PV}.tar.gz \
|
2007-10-03 15:09:20 +00:00
|
|
|
file://armv6_fix.patch;patch=1 \
|
|
|
|
file://oparchive_fix.patch;patch=1 \
|
|
|
|
file://root_option.patch;patch=1 \
|
2007-10-01 09:21:56 +00:00
|
|
|
file://opstart.patch;patch=1 \
|
2007-11-27 16:30:56 +00:00
|
|
|
file://fix-arith.patch;patch=1;pnum=0 \
|
2007-10-03 15:09:20 +00:00
|
|
|
file://acinclude.m4"
|
2006-10-12 10:10:19 +00:00
|
|
|
S = "${WORKDIR}/oprofile-${PV}"
|
|
|
|
|
|
|
|
inherit autotools
|
|
|
|
|
|
|
|
# NOTE: this disables the build of the kernel modules.
|
|
|
|
# Should add the oprofile kernel modules, for those with 2.4
|
|
|
|
# kernels, as a seperate .oe file.
|
|
|
|
EXTRA_OECONF = "--with-kernel-support \
|
|
|
|
--without-x"
|
|
|
|
|
|
|
|
do_configure () {
|
|
|
|
cp ${WORKDIR}/acinclude.m4 ${S}/
|
|
|
|
autotools_do_configure
|
|
|
|
}
|