summaryrefslogtreecommitdiff
path: root/oprofile
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-06-18 04:19:11 +0000
committerChris Larson <clarson@kergoth.com>2004-06-18 04:19:11 +0000
commit882d121b59d1dda9d5ecdb10b4a23637f309e7ce (patch)
tree88de949fdc6c05de26db1069d5ab3ad641f9d4f8 /oprofile
parent22f875a4c80a1f4c84eacc244f5a8d8c5e4d4382 (diff)
Merge openembedded@openembedded.bkbits.net:packages
into zelda.tuxnami.org:/home/kergoth/code/packages 2004/06/17 23:16:49-05:00 (none)!kergoth Apply patch to oprofile to make it no longer consider the GNU as ARM mapping symbols ($a, $d, $t) interesting. BKrev: 40d26d3frpIJJ9LU9r6hBuvQ-YxqyA
Diffstat (limited to 'oprofile')
-rw-r--r--oprofile/oprofile-0.8/no_arm_mapping_syms.patch0
-rw-r--r--oprofile/oprofile_0.8.oe38
2 files changed, 38 insertions, 0 deletions
diff --git a/oprofile/oprofile-0.8/no_arm_mapping_syms.patch b/oprofile/oprofile-0.8/no_arm_mapping_syms.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/oprofile/oprofile-0.8/no_arm_mapping_syms.patch
diff --git a/oprofile/oprofile_0.8.oe b/oprofile/oprofile_0.8.oe
index e69de29bb2..724ca74b23 100644
--- a/oprofile/oprofile_0.8.oe
+++ b/oprofile/oprofile_0.8.oe
@@ -0,0 +1,38 @@
+DESCRIPTION = "OProfile is a system-wide profiler for Linux systems, capable \
+of profiling all running code at low overhead."
+LICENSE = "GPL"
+MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+DEPENDS = "popt binutils"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/oprofile/oprofile-${PV}.tar.gz \
+ file://no_arm_mapping_syms.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.