From: Tom Rini <tom_rini@mentor.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] native.bbclass: add (re)definitions for TARGET_SYS and HOST_SYS
Date: Fri, 20 Aug 2010 11:40:03 -0700 [thread overview]
Message-ID: <4C6ECC03.3010904@mentor.com> (raw)
In-Reply-To: <AANLkTik2H4eiDukh5gYJyQEJ=sDv+hu5eajQLy6HAvVw@mail.gmail.com>
Frans Meulenbroeks wrote:
> 2010/8/20 Khem Raj <raj.khem@gmail.com>:
>> On Fri, Aug 20, 2010 at 8:34 AM, Khem Raj <raj.khem@gmail.com> wrote:
>>> On Fri, Aug 20, 2010 at 7:39 AM, Phil Blundell <philb@gnu.org> wrote:
>>>> On Fri, 2010-08-20 at 16:19 +0200, Frans Meulenbroeks wrote:
>>>>> @@ -23,6 +23,7 @@ TARGET_VENDOR = "${BUILD_VENDOR}"
>>>>> TARGET_PREFIX = "${BUILD_PREFIX}"
>>>>> TARGET_CC_ARCH = "${BUILD_CC_ARCH}"
>>>>> TARGET_EXEEXT = "${BUILD_EXEEXT}"
>>>>> +TARGET_SYS = "${BUILD_SYS}"
>>> bitbake.conf already has
>>>
>>> TARGET_SYS=${TARGET_ARCH}${TARGET_VENDOR}${@['-' +
>>> bb.data.getVar('TARGET_OS', d, 1), ''][bb.data.getVar('TARGET_OS', d,
>>> 1) == ('' or 'custom')]}
>>>
>>> so once you have TARGET_OS set correctly this should work well for native too.
>>
>> hmm _local ok if you override TARGET_OS locally then lot of other
>> things will change
>> because now TARGET_OS will not be reset to whatever native wants. even if you
>> redefine TARGET_SYS may not be sufficient. Somehow if you can make
>> native.bbclass
>> to stubbornly ignore TARGET_OS override that might work.
>>
> I don't want to override TARGET_OS (and in fact this could be done in
> the machine definition).
>
> The hardware I am working with is a powerpc system quite similar to
> calamari. It is an e500v2 which supports/needs spe.
> For calamari/angstrom things work by the grace of the following code
> in angstrom.eglibc.inc:
In essence, Angstrom needs the logic
compute_os_portion_of_target_triplet() in sane-toolchain.inc has, for
doing -gnuspe if it's going to support PPC more widely.
--
Tom Rini
Mentor Graphics Corporation
prev parent reply other threads:[~2010-08-20 18:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-20 14:19 [PATCH] native.bbclass: add (re)definitions for TARGET_SYS and HOST_SYS Frans Meulenbroeks
2010-08-20 14:39 ` Phil Blundell
2010-08-20 15:34 ` Khem Raj
2010-08-20 15:44 ` Khem Raj
2010-08-20 16:48 ` Frans Meulenbroeks
2010-08-20 18:40 ` Tom Rini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C6ECC03.3010904@mentor.com \
--to=tom_rini@mentor.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.