From f1dc17dc3271049ebce5024ecb6a2eaa59a8480b Mon Sep 17 00:00:00 2001 From: Matthew McClintock Date: Tue, 5 Feb 2013 11:46:48 -0600 Subject: oprofile: fix cross compile on powerpc and add libpfm4 dep Fixes [YOCTO #3717] (From OE-Core rev: 88959e42411a40b15fe8907da00a97a7732a9cc1) Signed-off-by: Matthew McClintock Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-kernel/oprofile/oprofile_0.9.8.bb | 7 +++++-- 1 file changed, 5 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 60751638cb..79363a6017 100644 --- a/meta/recipes-kernel/oprofile/oprofile_0.9.8.bb +++ b/meta/recipes-kernel/oprofile/oprofile_0.9.8.bb @@ -1,15 +1,18 @@ require oprofile.inc -PR = "${INC_PR}.1" +PR = "${INC_PR}.2" DEPENDS += "virtual/kernel" +DEPENDS_append_powerpc = " libpfm4" +DEPENDS_append_powerpc64 = " libpfm4" SRC_URI += "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ 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" + file://0001-Change-configure-to-look-for-libpfm4-function-first-.patch \ + file://0001-fix-powerpc-cross-compiling.patch " SRC_URI[md5sum] = "6d127023af1dd1cf24e15411229f3cc8" SRC_URI[sha256sum] = "ab45900fa1a23e5d5badf3c0a55f26c17efe6e184efcf00b371433751fa761bc" -- cgit v1.2.3-54-g00ecf