diff options
author | Matthew McClintock <msm@freescale.com> | 2013-01-17 20:23:23 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-21 10:22:08 +0000 |
commit | 4de6f9b17c6dd8d50ddb3050a091fae83e91bb71 (patch) | |
tree | 6bfb7741a75e8dd907a952b182a8bf57d4fbbc05 /meta/recipes-kernel/oprofile/oprofile_0.9.8.bb | |
parent | f63f387b836312a1efb57651c37682381d139685 (diff) | |
download | poky-4de6f9b17c6dd8d50ddb3050a091fae83e91bb71.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]
(From OE-Core rev: 121cb96964fe2f374d814bf39036119bd63b9589)
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.bb | 8 |
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 @@ | |||
1 | require oprofile.inc | 1 | require oprofile.inc |
2 | 2 | ||
3 | PR = "${INC_PR}.0" | 3 | PR = "${INC_PR}.1" |
4 | 4 | ||
5 | SRC_URI += "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ | 5 | SRC_URI += "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ |
6 | file://0001-Add-rmb-definition-for-AArch64-architecture.patch" | 6 | file://0001-Add-rmb-definition-for-AArch64-architecture.patch \ |
7 | file://0001-OProfile-doesn-t-build-for-32-bit-ppc-the-operf_util.patch \ | ||
8 | file://0001-Handle-early-perf_events-kernel-without-PERF_RECORD_.patch \ | ||
9 | file://0001-Fix-up-configure-to-handle-architectures-that-do-not.patch \ | ||
10 | file://0001-Change-configure-to-look-for-libpfm4-function-first-.patch" | ||
7 | 11 | ||
8 | SRC_URI[md5sum] = "6d127023af1dd1cf24e15411229f3cc8" | 12 | SRC_URI[md5sum] = "6d127023af1dd1cf24e15411229f3cc8" |
9 | SRC_URI[sha256sum] = "ab45900fa1a23e5d5badf3c0a55f26c17efe6e184efcf00b371433751fa761bc" | 13 | SRC_URI[sha256sum] = "ab45900fa1a23e5d5badf3c0a55f26c17efe6e184efcf00b371433751fa761bc" |