2010-11-24 21:15:59 +00:00
|
|
|
SUMMARY = "System-Wide Profiler"
|
2006-10-12 10:10:19 +00:00
|
|
|
DESCRIPTION = "OProfile is a system-wide profiler for Linux systems, capable \
|
|
|
|
of profiling all running code at low overhead."
|
2010-07-20 10:00:03 +00:00
|
|
|
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"
|
|
|
|
|
2006-10-12 10:10:19 +00:00
|
|
|
DEPENDS = "popt binutils"
|
2010-12-23 19:23:33 +00:00
|
|
|
RDEPENDS_${PN} = "binutils-symlinks"
|
|
|
|
RRECOMMENDS_${PN} = "kernel-vmlinux"
|
2010-07-20 10:00:03 +00:00
|
|
|
|
2011-10-20 19:46:51 +00:00
|
|
|
FILES_${PN} = "${bindir} ${libdir}/${BPN}/lib*${SOLIBS} ${datadir}/${BPN}"
|
|
|
|
FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la"
|
2011-07-01 17:09:20 +00:00
|
|
|
FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a"
|
|
|
|
|
2013-02-01 10:12:38 +00:00
|
|
|
INC_PR = "r2"
|
2006-10-12 10:10:19 +00:00
|
|
|
|
2011-10-20 19:46:51 +00:00
|
|
|
SRC_URI = "file://opstart.patch \
|
2011-07-18 22:50:59 +00:00
|
|
|
file://oprofile-no-query-modules.patch \
|
2012-07-02 19:20:21 +00:00
|
|
|
file://oprofile-root.patch \
|
2007-10-03 15:09:20 +00:00
|
|
|
file://acinclude.m4"
|
2010-12-08 04:06:29 +00:00
|
|
|
|
2006-10-12 10:10:19 +00:00
|
|
|
inherit autotools
|
|
|
|
|
2013-01-14 13:29:09 +00:00
|
|
|
EXTRA_OECONF = "--with-kernel=${STAGING_KERNEL_DIR} --without-x"
|
2006-10-12 10:10:19 +00:00
|
|
|
do_configure () {
|
2013-02-01 10:12:38 +00:00
|
|
|
find . -wholename './.pc' -prune -o -type f -print | xargs sed -i 's#ROOTHOME#${ROOT_HOME}#'
|
2006-10-12 10:10:19 +00:00
|
|
|
cp ${WORKDIR}/acinclude.m4 ${S}/
|
|
|
|
autotools_do_configure
|
|
|
|
}
|