From 2708ce6c824f755e1581365e42f60f7ae7fcf771 Mon Sep 17 00:00:00 2001 From: Matthew McClintock Date: Thu, 29 Sep 2011 14:08:04 -0500 Subject: Fix lttng-ust for powerpc64 (From OE-Core rev: a75683a815343a481b3612c35e1ab79071343187) Signed-off-by: Matthew McClintock Signed-off-by: Richard Purdie --- meta/recipes-kernel/lttng/fix-powerpc64.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta/recipes-kernel/lttng/fix-powerpc64.patch (limited to 'meta/recipes-kernel/lttng/fix-powerpc64.patch') diff --git a/meta/recipes-kernel/lttng/fix-powerpc64.patch b/meta/recipes-kernel/lttng/fix-powerpc64.patch new file mode 100644 index 0000000000..3c3484c678 --- /dev/null +++ b/meta/recipes-kernel/lttng/fix-powerpc64.patch @@ -0,0 +1,17 @@ +Upstream-Status: Submitted + +Add bit to detect if we are running on powerpc64 and treat it the +same as ppc64 + +Index: ust-0.15/configure.ac +=================================================================== +--- ust-0.15.orig/configure.ac ++++ ust-0.15/configure.ac +@@ -111,6 +111,7 @@ changequote([,])dnl + x86_64) LIBFORMAT="elf64-x86-64" ;; + powerpc) LIBFORMAT="elf32-powerpc" ;; + ppc64) LIBFORMAT="elf64-powerpc" ;; ++ powerpc64) LIBFORMAT="elf64-powerpc" ;; + s390) LIBFORMAT="elf32-s390" ;; + s390x) LIBFORMAT="elf64-s390" ;; + armv5) LIBFORMAT="elf32-littlearm"; NO_UNALIGNED_ACCESS=1 ;; -- cgit v1.2.3-54-g00ecf