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

Richard Purdie richard.purdie at linuxfoundation.org
Wed Oct 5 11:35:48 UTC 2011


On Tue, 2011-10-04 at 17:05 -0700, Khem Raj wrote:
> 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

Are you sure? Is the built-in define not __powerpc64__ ?

Cheers,

Richard





More information about the Openembedded-core mailing list