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

Khem Raj raj.khem at gmail.com
Wed Oct 5 16:46:44 UTC 2011


On Wed, Oct 5, 2011 at 4:35 AM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> 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__ ?

yes that one too is a builtin define. I don't have the OE/ppc64 build
around to explore more

>
> Cheers,
>
> Richard
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>




More information about the Openembedded-core mailing list