[OE-core] [PATCH 5/6] Fix sysprof for powerpc64

Khem Raj raj.khem at gmail.com
Wed Oct 5 00:05:00 UTC 2011


On 10/4/2011 3:03 PM, Matthew McClintock wrote:
> sysprof will not build properly without this defined
>
> Signed-off-by: Matthew McClintock<msm at freescale.com>
> ---
> No comments on original patch sent
>
>   meta/recipes-kernel/sysprof/sysprof_git.bb |    2 ++
>   1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/meta/recipes-kernel/sysprof/sysprof_git.bb b/meta/recipes-kernel/sysprof/sysprof_git.bb
> index 10bde04..271b5d8 100644
> --- a/meta/recipes-kernel/sysprof/sysprof_git.bb
> +++ b/meta/recipes-kernel/sysprof/sysprof_git.bb
> @@ -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__"
> +

this is a gcc built-in define I wonder why you need to add it explicitly

>   S = "${WORKDIR}/git"
>
>   inherit autotools





More information about the Openembedded-core mailing list