Patchwork [2/4] siteinfo.bbclass: add entries for new x86_64 ABI targets

login
register
mail settings
Submitter Nitin A Kamble
Date July 27, 2011, 11:09 p.m.
Message ID <368d4cd746ace1a99c7eced1e00275e0eec27573.1311806842.git.nitin.a.kamble@intel.com>
Download mbox | patch
Permalink /patch/8759/
State New, archived
Headers show

Comments

Nitin A Kamble - July 27, 2011, 11:09 p.m.
From: Nitin A Kamble <nitin.a.kamble@intel.com>

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 meta/classes/siteinfo.bbclass |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)
Tom Rini - July 27, 2011, 11:12 p.m.
On 07/27/2011 04:09 PM, nitin.a.kamble@intel.com wrote:
> From: Nitin A Kamble <nitin.a.kamble@intel.com>
> 
> Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
> ---
>  meta/classes/siteinfo.bbclass |   14 +++++++++++++-
>  1 files changed, 13 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass
> index 9dacd58..daa7946 100644
> --- a/meta/classes/siteinfo.bbclass
> +++ b/meta/classes/siteinfo.bbclass
> @@ -42,12 +42,15 @@ def siteinfo_data(d):
>          "sh4": "endian-little bit-32 sh-common",
>          "sparc": "endian-big bit-32",
>          "viac3": "endian-little bit-32 ix86-common",
> -        "x86_64": "endian-little bit-64",
> +        "x86_64": "endian-little", # bitinfo specified in targetinfo
>      }
>      osinfo = {
>          "darwin": "common-darwin",
>          "darwin9": "common-darwin",
>          "linux": "common-linux common-glibc",
> +        "linux-gnu32": "common-linux common-glibc",
> +        "linux-gnux32": "common-linux common-glibc",
> +        "linux-gnu64": "common-linux common-glibc",
>          "linux-gnueabi": "common-linux common-glibc",
>          "linux-gnuspe": "common-linux common-glibc",
>          "linux-uclibc": "common-linux common-uclibc",
> @@ -68,6 +71,15 @@ def siteinfo_data(d):
>          "powerpc-linux-uclibcspe": "powerpc-linux powerpc32-linux powerpc-linux-uclibc",
>          "powerpc64-linux-gnuspe": "powerpc-linux powerpc64-linux",
>          "powerpc64-linux": "powerpc-linux",
> +        "x86_64-cygwin": "bit-64",
> +        "x86_64-darvin": "bit-64",
> +        "x86_64-darvin9": "bit-64",

dar_v_in? :)

Slightly more seriously, lets drop out ones we can't / aren't using, wrt
hosts, until we're going to do them for real.
Nitin A Kamble - July 27, 2011, 11:27 p.m.
> -----Original Message-----
> From: openembedded-core-bounces@lists.openembedded.org
> [mailto:openembedded-core-bounces@lists.openembedded.org] On Behalf Of
> Tom Rini
> Sent: Wednesday, July 27, 2011 4:13 PM
> To: openembedded-core@lists.openembedded.org
> Subject: Re: [OE-core] [PATCH 2/4] siteinfo.bbclass: add entries for
> new x86_64 ABI targets
> 
> On 07/27/2011 04:09 PM, nitin.a.kamble@intel.com wrote:
> > From: Nitin A Kamble <nitin.a.kamble@intel.com>
> >
> > Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
> > ---
> >  meta/classes/siteinfo.bbclass |   14 +++++++++++++-
> >  1 files changed, 13 insertions(+), 1 deletions(-)
> >
> > diff --git a/meta/classes/siteinfo.bbclass
> b/meta/classes/siteinfo.bbclass
> > index 9dacd58..daa7946 100644
> > --- a/meta/classes/siteinfo.bbclass
> > +++ b/meta/classes/siteinfo.bbclass
> > @@ -42,12 +42,15 @@ def siteinfo_data(d):
> >          "sh4": "endian-little bit-32 sh-common",
> >          "sparc": "endian-big bit-32",
> >          "viac3": "endian-little bit-32 ix86-common",
> > -        "x86_64": "endian-little bit-64",
> > +        "x86_64": "endian-little", # bitinfo specified in targetinfo
> >      }
> >      osinfo = {
> >          "darwin": "common-darwin",
> >          "darwin9": "common-darwin",
> >          "linux": "common-linux common-glibc",
> > +        "linux-gnu32": "common-linux common-glibc",
> > +        "linux-gnux32": "common-linux common-glibc",
> > +        "linux-gnu64": "common-linux common-glibc",
> >          "linux-gnueabi": "common-linux common-glibc",
> >          "linux-gnuspe": "common-linux common-glibc",
> >          "linux-uclibc": "common-linux common-uclibc",
> > @@ -68,6 +71,15 @@ def siteinfo_data(d):
> >          "powerpc-linux-uclibcspe": "powerpc-linux powerpc32-linux
> powerpc-linux-uclibc",
> >          "powerpc64-linux-gnuspe": "powerpc-linux powerpc64-linux",
> >          "powerpc64-linux": "powerpc-linux",
> > +        "x86_64-cygwin": "bit-64",
> > +        "x86_64-darvin": "bit-64",
> > +        "x86_64-darvin9": "bit-64",
> 
> dar_v_in? :)
> 
> Slightly more seriously, lets drop out ones we can't / aren't using,
> wrt
> hosts, until we're going to do them for real.

Hi Tom,
  I don't know if they(cygwin, darvin) work or not, I just kept them in the same state. If they are not used/working, then it is good to clean them out.

Nitin

> 
> --
> Tom Rini
> Mentor Graphics Corporation
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Tom Rini - July 27, 2011, 11:41 p.m.
On 07/27/2011 04:27 PM, Kamble, Nitin A wrote:
> 
> 
>> -----Original Message-----
>> From: openembedded-core-bounces@lists.openembedded.org
>> [mailto:openembedded-core-bounces@lists.openembedded.org] On Behalf Of
>> Tom Rini
>> Sent: Wednesday, July 27, 2011 4:13 PM
>> To: openembedded-core@lists.openembedded.org
>> Subject: Re: [OE-core] [PATCH 2/4] siteinfo.bbclass: add entries for
>> new x86_64 ABI targets
>>
>> On 07/27/2011 04:09 PM, nitin.a.kamble@intel.com wrote:
>>> From: Nitin A Kamble <nitin.a.kamble@intel.com>
>>>
>>> Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
>>> ---
>>>  meta/classes/siteinfo.bbclass |   14 +++++++++++++-
>>>  1 files changed, 13 insertions(+), 1 deletions(-)
>>>
>>> diff --git a/meta/classes/siteinfo.bbclass
>> b/meta/classes/siteinfo.bbclass
>>> index 9dacd58..daa7946 100644
>>> --- a/meta/classes/siteinfo.bbclass
>>> +++ b/meta/classes/siteinfo.bbclass
>>> @@ -42,12 +42,15 @@ def siteinfo_data(d):
>>>          "sh4": "endian-little bit-32 sh-common",
>>>          "sparc": "endian-big bit-32",
>>>          "viac3": "endian-little bit-32 ix86-common",
>>> -        "x86_64": "endian-little bit-64",
>>> +        "x86_64": "endian-little", # bitinfo specified in targetinfo
>>>      }
>>>      osinfo = {
>>>          "darwin": "common-darwin",
>>>          "darwin9": "common-darwin",
>>>          "linux": "common-linux common-glibc",
>>> +        "linux-gnu32": "common-linux common-glibc",
>>> +        "linux-gnux32": "common-linux common-glibc",
>>> +        "linux-gnu64": "common-linux common-glibc",
>>>          "linux-gnueabi": "common-linux common-glibc",
>>>          "linux-gnuspe": "common-linux common-glibc",
>>>          "linux-uclibc": "common-linux common-uclibc",
>>> @@ -68,6 +71,15 @@ def siteinfo_data(d):
>>>          "powerpc-linux-uclibcspe": "powerpc-linux powerpc32-linux
>> powerpc-linux-uclibc",
>>>          "powerpc64-linux-gnuspe": "powerpc-linux powerpc64-linux",
>>>          "powerpc64-linux": "powerpc-linux",
>>> +        "x86_64-cygwin": "bit-64",
>>> +        "x86_64-darvin": "bit-64",
>>> +        "x86_64-darvin9": "bit-64",
>>
>> dar_v_in? :)
>>
>> Slightly more seriously, lets drop out ones we can't / aren't using,
>> wrt
>> hosts, until we're going to do them for real.
> 
> Hi Tom,
>   I don't know if they(cygwin, darvin) work or not, I just kept them in the same state. If they are not used/working, then it is good to clean them out.

Well, OSX is dar_w_in :)

Patch

diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass
index 9dacd58..daa7946 100644
--- a/meta/classes/siteinfo.bbclass
+++ b/meta/classes/siteinfo.bbclass
@@ -42,12 +42,15 @@  def siteinfo_data(d):
         "sh4": "endian-little bit-32 sh-common",
         "sparc": "endian-big bit-32",
         "viac3": "endian-little bit-32 ix86-common",
-        "x86_64": "endian-little bit-64",
+        "x86_64": "endian-little", # bitinfo specified in targetinfo
     }
     osinfo = {
         "darwin": "common-darwin",
         "darwin9": "common-darwin",
         "linux": "common-linux common-glibc",
+        "linux-gnu32": "common-linux common-glibc",
+        "linux-gnux32": "common-linux common-glibc",
+        "linux-gnu64": "common-linux common-glibc",
         "linux-gnueabi": "common-linux common-glibc",
         "linux-gnuspe": "common-linux common-glibc",
         "linux-uclibc": "common-linux common-uclibc",
@@ -68,6 +71,15 @@  def siteinfo_data(d):
         "powerpc-linux-uclibcspe": "powerpc-linux powerpc32-linux powerpc-linux-uclibc",
         "powerpc64-linux-gnuspe": "powerpc-linux powerpc64-linux",
         "powerpc64-linux": "powerpc-linux",
+        "x86_64-cygwin": "bit-64",
+        "x86_64-darvin": "bit-64",
+        "x86_64-darvin9": "bit-64",
+        "x86_64-linux": "bit-64",
+        "x86_64-linux-uclibc": "bit-64",
+        "x86_64-linux-gnu32": "bit-32 ix86-common",
+        "x86_64-linux-gnux32": "bit-32 ix86-common",
+        "x86_64-linux-gnu64": "bit-64 x86_64-linux",
+        "x86_64-mingw32": "bit-64",
     }
 
     hostarch = d.getVar("HOST_ARCH", True)