[OE-core] [PATCH 1/5] siteinfo.bbclass: hack for x32

Khem Raj raj.khem at gmail.com
Thu Jul 14 19:49:18 UTC 2011


On Wed, Jul 13, 2011 at 8:41 AM, Kamble, Nitin A
<nitin.a.kamble at intel.com> wrote:
>
>
>> -----Original Message-----
>> From: openembedded-core-bounces at lists.openembedded.org
>> [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf Of
>> Khem Raj
>> Sent: Tuesday, July 12, 2011 11:20 PM
>> To: Patches and discussions about the oe-core layer
>> Cc: openembedded-core at lists.openembedded.org
>> Subject: Re: [OE-core] [PATCH 1/5] siteinfo.bbclass: hack for x32
>>
>>
>>
>> On Jul 12, 2011, at 12:02 PM, nitin.a.kamble at intel.com wrote:
>>
>> > From: Nitin A Kamble <nitin.a.kamble at intel.com>
>> >
>> > Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
>> > ---
>> > meta/classes/siteinfo.bbclass |    3 +++
>> > 1 files changed, 3 insertions(+), 0 deletions(-)
>> >
>> > diff --git a/meta/classes/siteinfo.bbclass
>> b/meta/classes/siteinfo.bbclass
>> > index 78b7008..035355f 100644
>> > --- a/meta/classes/siteinfo.bbclass
>> > +++ b/meta/classes/siteinfo.bbclass
>> > @@ -59,6 +59,9 @@ def get_siteinfo_list(d):
>> >                "x86_64-linux":            "endian-little bit-64
>> common-glibc",\
>> >                "x86_64-linux-uclibc":     "endian-little bit-64
>> common-uclibc"}
>> >        if target in targetinfo:
>> > +                  target_cc_arch = bb.data.getVar('TARGET_CC_ARCH',
>> d, 1)
>> > +               if target_cc_arch == "-mx32":
>> > +                     target = "i686-linux"
>>
>> What would/could target be when using -mx32 ?
>> I suppose it's one of the entries in dictionary above
>>
> So far x86_64 is the target for x32.

yes I refreshed myself with the new ABI. x32 seems to be a true multilib case
of amd64 ABI.

>
> Nitin
>
>>
>>
>> >                info = targetinfo[target].split()
>> >                info.append(target)
>> >                info.append("common")
>> > --
>> > 1.7.5.4
>> >
>> >
>> > _______________________________________________
>> > Openembedded-core mailing list
>> > Openembedded-core at lists.openembedded.org
>> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>>
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
> _______________________________________________
> 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