summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-01-09 14:52:34 (GMT)
committerRichard Purdie <richard@openedhand.com>2007-01-09 14:52:34 (GMT)
commitcf7090c981d632583ee2a7cbeca3d3eee3789e45 (patch)
treeb20245744a01cf54cd2e2bec66d63a0a8ba84d90
parentf6cbd20e7bae744b011e4d0dfadb8ebcd014aeec (diff)
downloadpoky-cf7090c981d632583ee2a7cbeca3d3eee3789e45.tar.gz
oprofile: bump cvs date, fix for EABI
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1137 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/conf/distro/poky.conf2
-rw-r--r--meta/packages/oprofile/oprofile/oprofile_eabi.patch18
-rw-r--r--meta/packages/oprofile/oprofile_cvs.bb5
3 files changed, 20 insertions, 5 deletions
diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf
index 04c6fa4..bac19f4 100644
--- a/meta/conf/distro/poky.conf
+++ b/meta/conf/distro/poky.conf
@@ -112,7 +112,7 @@ SRCDATE_xauth ?= "20060120"
112SRCDATE_xserver-kdrive = "20050207" 112SRCDATE_xserver-kdrive = "20050207"
113SRCDATE_qemu ?= "20060723" 113SRCDATE_qemu ?= "20060723"
114SRCDATE_qemu-native ?= "20060723" 114SRCDATE_qemu-native ?= "20060723"
115SRCDATE_oprofile ?= "20061011" 115SRCDATE_oprofile ?= "20070106"
116SRCDATE_zaurusd ?= "20060729" 116SRCDATE_zaurusd ?= "20060729"
117SRCDATE_owl-video-widget ?= "20060925" 117SRCDATE_owl-video-widget ?= "20060925"
118SRCDATE_psplash ?= "20061220" 118SRCDATE_psplash ?= "20061220"
diff --git a/meta/packages/oprofile/oprofile/oprofile_eabi.patch b/meta/packages/oprofile/oprofile/oprofile_eabi.patch
new file mode 100644
index 0000000..b360cbe
--- /dev/null
+++ b/meta/packages/oprofile/oprofile/oprofile_eabi.patch
@@ -0,0 +1,18 @@
1---
2 daemon/opd_cookie.c | 3 ++-
3 1 file changed, 2 insertions(+), 1 deletion(-)
4
5Index: oprofile/daemon/opd_cookie.c
6===================================================================
7--- oprofile.orig/daemon/opd_cookie.c 2005-10-19 00:28:26.000000000 +0100
8+++ oprofile/daemon/opd_cookie.c 2007-01-09 15:12:49.000000000 +0000
9@@ -68,7 +68,8 @@ static inline int lookup_dcookie(cookie_
10 return syscall(__NR_lookup_dcookie, (unsigned long)(cookie >> 32),
11 (unsigned long)(cookie & 0xffffffff), buf, size);
12 }
13-#elif (defined(__mips__) && (_MIPS_SIM == _MIPS_SIM_ABI32)) /*_MIPSEL */
14+#elif (defined(__mips__) && (_MIPS_SIM == _MIPS_SIM_ABI32)) \
15+ || (defined(__arm__) && defined(__ARM_EABI__))
16 static inline int lookup_dcookie(cookie_t cookie, char * buf, size_t size)
17 {
18 return syscall(__NR_lookup_dcookie,
diff --git a/meta/packages/oprofile/oprofile_cvs.bb b/meta/packages/oprofile/oprofile_cvs.bb
index 902c569..d6de526 100644
--- a/meta/packages/oprofile/oprofile_cvs.bb
+++ b/meta/packages/oprofile/oprofile_cvs.bb
@@ -6,11 +6,8 @@ of profiling all running code at low overhead."
6LICENSE = "GPL" 6LICENSE = "GPL"
7DEPENDS = "popt binutils" 7DEPENDS = "popt binutils"
8 8
9DEFAULT_PREFERENCE = "-1"
10
11SRC_URI = "cvs://anonymous@oprofile.cvs.sourceforge.net/cvsroot/oprofile;module=oprofile \ 9SRC_URI = "cvs://anonymous@oprofile.cvs.sourceforge.net/cvsroot/oprofile;module=oprofile \
12 file://no_arm_mapping_syms.patch;patch=1 \ 10 file://oprofile_eabi.patch;patch=1 \
13 file://opcontrol_bashisms.patch;patch=1 \
14 file://acinclude.m4" 11 file://acinclude.m4"
15S = "${WORKDIR}/oprofile" 12S = "${WORKDIR}/oprofile"
16 13