From 4de6f9b17c6dd8d50ddb3050a091fae83e91bb71 Mon Sep 17 00:00:00 2001 From: Matthew McClintock Date: Thu, 17 Jan 2013 20:23:23 +0000 Subject: 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] (From OE-Core rev: 121cb96964fe2f374d814bf39036119bd63b9589) Signed-off-by: Matthew McClintock Signed-off-by: Richard Purdie --- meta/recipes-kernel/oprofile/oprofile_0.9.8.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'meta/recipes-kernel/oprofile/oprofile_0.9.8.bb') 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" -- cgit v1.2.3-54-g00ecf