[yocto] [PATCH 6/7] Fix sysprof for powerpc64

Matthew McClintock msm at freescale.com
Wed Sep 28 22:52:31 PDT 2011


sysprof will not build properly without this defined

Signed-off-by: Matthew McClintock <msm at freescale.com>
---
 meta/recipes-kernel/sysprof/sysprof_git.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-kernel/sysprof/sysprof_git.bb b/meta/recipes-kernel/sysprof/sysprof_git.bb
index 1af5822..16a35b9 100644
--- a/meta/recipes-kernel/sysprof/sysprof_git.bb
+++ b/meta/recipes-kernel/sysprof/sysprof_git.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 DEPENDS = "gtk+ libglade"
 
 SRCREV = "38a6af1f0a45e528fd2842983da71e0f23c70d6a"
-PR = r1
+PR = "r2"
 PV = "1.1.6+git${SRCPV}"
 
 SRC_URI = "git://git.gnome.org/sysprof;protocol=git \
@@ -16,6 +16,8 @@ SRC_URI_append_arm  = " file://rmb-arm.patch"
 SRC_URI_append_mips = " file://rmb-mips.patch"
 SRC_URI_append_powerpc = " file://ppc-macro-fix.patch"
 
+export CFLAGS_append_powerpc64 = " -D__ppc64__"
+
 SRC_URI[md5sum]    = "80902a7b3d6f7cb83eb6b47e87538747"
 SRC_URI[sha256sum] = "1c6403278fa4f3b37a1fb9f0784e496dce1703fe84ac03b2650bf469133a0cb3"
 
-- 
1.7.6.1





More information about the yocto mailing list