2 DESCRIPTION = "OProfile is a system-wide profiler for Linux systems, capable \
3 of profiling all running code at low overhead."
5 DEPENDS = "popt binutils"
6 RDEPENDS += "binutils-symlinks"
7 RRECOMMENDS += "kernel-vmlinux"
10 S = "${WORKDIR}/oprofile-${PV}"
12 ${SOURCEFORGE_MIRROR}/oprofile/oprofile-${PV}.tar.gz;name=tarball \
18 # NOTE: this disables the build of the kernel modules.
19 # Should add the oprofile kernel modules, for those with 2.4
20 # kernels, as a seperate .oe file.
21 EXTRA_OECONF = "--with-kernel-support \
26 cp ${WORKDIR}/acinclude.m4 ${S}/
27 autotools_do_configure
29 # Available config options
30 # --enable-abi enable abi portability code (default is disabled)
31 # --enable-pch enable precompiled header (default is disabled)
32 # --enable-gcov enable option for gcov coverage testing (default is disabled)
33 # --disable-werror disable -Werror flag (default is enabled for non-release)
34 # --disable-optimization disable optimization flags (default is enabled)
35 # --with-kernel-support Use 2.6 kernel (no kernel source tree required)
36 # --with-linux=dir Path to Linux source tree
37 # --with-module-dir=dir Path to module installation directory
38 # --with-extra-includes=DIR add extra include paths
39 # --with-extra-libs=DIR add extra library paths
40 # --with-x use the X Window System
41 # --with-qt-dir where the root of Qt is installed
42 # --with-qt-includes where the Qt includes are.
43 # --with-qt-libraries where the Qt library is installed.
46 # As of 0.9.4 there is a libopagent library to compile and link against.
50 OPROFILE_ARCH = "${TARGET_ARCH}"
51 OPROFILE_ARCH_i586 = "i386"
52 # note this excludes the ppc64 directory
53 # but we do not support ppc64 targets yet.
54 OPROFILE_ARCH_powerpc = "ppc"
56 FILES_${PN} = "${bindir} ${datadir}/oprofile/rtc ${datadir}/oprofile/stl.pat ${datadir}/oprofile/${OPROFILE_ARCH}"
58 ${libdir}/oprofile/libopagent.so.* \
62 ${libdir}/oprofile/lib*.so \
63 ${libdir}/oprofile/lib*.a \
64 ${libdir}/oprofile/lib*.la \