summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/oprofile/oprofile_0.9.8.bb
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2013-01-17 20:23:23 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-21 10:20:21 +0000
commit121cb96964fe2f374d814bf39036119bd63b9589 (patch)
tree7c5b6238b3711c32fbd041d82fa858c9bac1fadd /meta/recipes-kernel/oprofile/oprofile_0.9.8.bb
parent5480371d0473482437ce4350e6593f006101ef40 (diff)
downloadopenembedded-core-contrib-121cb96964fe2f374d814bf39036119bd63b9589.tar.gz
oprofile: backport patches to fix ppc build issues
Fixes: | operf_utils.cpp: In function 'bool _op_get_event_codes(std::vector*)': | operf_utils.cpp:151:21: error: 'pfm_initialize' was not declared in this scope | operf_utils.cpp:151:26: error: 'PFM_SUCCESS' was not declared in this scope | operf_utils.cpp:166:45: error: 'PFM_PLM3' was not declared in this scope | operf_utils.cpp:166:55: error: 'PFM_OS_NONE' was not declared in this scope | operf_utils.cpp:166:72: error: 'pfm_get_os_event_encoding' was not declared in this scope | operf_utils.cpp:167:14: error: 'PFM_SUCCESS' was not declared in this scope [YOCTO #3717] Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/oprofile/oprofile_0.9.8.bb')
-rw-r--r--meta/recipes-kernel/oprofile/oprofile_0.9.8.bb8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-kernel/oprofile/oprofile_0.9.8.bb b/meta/recipes-kernel/oprofile/oprofile_0.9.8.bb
index d283b5cd03..4491e7d7ce 100644
--- a/meta/recipes-kernel/oprofile/oprofile_0.9.8.bb
+++ b/meta/recipes-kernel/oprofile/oprofile_0.9.8.bb
@@ -1,9 +1,13 @@
require oprofile.inc
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
SRC_URI += "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \
- file://0001-Add-rmb-definition-for-AArch64-architecture.patch"
+ file://0001-Add-rmb-definition-for-AArch64-architecture.patch \
+ file://0001-OProfile-doesn-t-build-for-32-bit-ppc-the-operf_util.patch \
+ file://0001-Handle-early-perf_events-kernel-without-PERF_RECORD_.patch \
+ file://0001-Fix-up-configure-to-handle-architectures-that-do-not.patch \
+ file://0001-Change-configure-to-look-for-libpfm4-function-first-.patch"
SRC_URI[md5sum] = "6d127023af1dd1cf24e15411229f3cc8"
SRC_URI[sha256sum] = "ab45900fa1a23e5d5badf3c0a55f26c17efe6e184efcf00b371433751fa761bc"