diff options
Diffstat (limited to 'meta/packages')
| -rw-r--r-- | meta/packages/oprofile/oprofile/oprofile_eabi.patch | 18 | ||||
| -rw-r--r-- | meta/packages/oprofile/oprofile_cvs.bb | 5 |
2 files changed, 19 insertions, 4 deletions
diff --git a/meta/packages/oprofile/oprofile/oprofile_eabi.patch b/meta/packages/oprofile/oprofile/oprofile_eabi.patch new file mode 100644 index 0000000000..b360cbeaa6 --- /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 | |||
| 5 | Index: 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 902c569e85..d6de526b07 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." | |||
| 6 | LICENSE = "GPL" | 6 | LICENSE = "GPL" |
| 7 | DEPENDS = "popt binutils" | 7 | DEPENDS = "popt binutils" |
| 8 | 8 | ||
| 9 | DEFAULT_PREFERENCE = "-1" | ||
| 10 | |||
| 11 | SRC_URI = "cvs://anonymous@oprofile.cvs.sourceforge.net/cvsroot/oprofile;module=oprofile \ | 9 | SRC_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" |
| 15 | S = "${WORKDIR}/oprofile" | 12 | S = "${WORKDIR}/oprofile" |
| 16 | 13 | ||
