diff options
author | Kristoffer Ericson <kristoffer_e1@hotmail.com> | 2006-10-25 23:27:19 +0000 |
---|---|---|
committer | Kristoffer Ericson <kristoffer_e1@hotmail.com> | 2006-10-25 23:27:19 +0000 |
commit | e26108affb65e89fcf248a58564b9c25934a04a0 (patch) | |
tree | 3c27feb6d440ed2df41309dae277afc13427c12f /packages/oprofile/oprofile_0.9.2.bb | |
parent | d7fd0e38cb60cb0ac871723c34616bf542d423cc (diff) | |
parent | 12f3d309156ac047b0826904ef729b83b997b8b5 (diff) |
merge of 5d13f311dd93df73db461d6abca7480b39bbecbc
and 6bdfd4680fb56e499b8a254034efb752dead5002
Diffstat (limited to 'packages/oprofile/oprofile_0.9.2.bb')
-rw-r--r-- | packages/oprofile/oprofile_0.9.2.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/packages/oprofile/oprofile_0.9.2.bb b/packages/oprofile/oprofile_0.9.2.bb new file mode 100644 index 0000000000..e64aa10d49 --- /dev/null +++ b/packages/oprofile/oprofile_0.9.2.bb @@ -0,0 +1,39 @@ +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" + +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" +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 +} +# Available config options +# --enable-abi enable abi portability code (default is disabled) +# --enable-pch enable precompiled header (default is disabled) +# --enable-gcov enable option for gcov coverage testing (default is disabled) +# --disable-werror disable -Werror flag (default is enabled for non-release) +# --disable-optimization disable optimization flags (default is enabled) +# --with-kernel-support Use 2.6 kernel (no kernel source tree required) +# --with-linux=dir Path to Linux source tree +# --with-module-dir=dir Path to module installation directory +# --with-extra-includes=DIR add extra include paths +# --with-extra-libs=DIR add extra library paths +# --with-x use the X Window System +# --with-qt-dir where the root of Qt is installed +# --with-qt-includes where the Qt includes are. +# --with-qt-libraries where the Qt library is installed. |