Openembedded Core Discussions
 help / color / mirror / Atom feed
* RFC: external toolchain recipes in OE-Core
@ 2013-12-02 16:18 Paul Eggleton
  2013-12-02 16:28 ` Martin Jansa
  2013-12-02 16:28 ` Burton, Ross
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Eggleton @ 2013-12-02 16:18 UTC (permalink / raw)
  To: openembedded-core

Hi all,

Currently we have an external-sourcery-toolchain recipe in OE-Core; one of the 
main reasons we have it there is as an example of how to create a working 
external toolchain recipe for those that need to create their own. Since the 
creation of the meta-sourcery layer however, this recipe has been left largely 
unmaintained. Even assuming nobody tries to use it as-is with the CodeSourcery 
toolchain, without testing and maintenance the recipe can bitrot (and has 
broken as a result of changes elsewhere in OE-Core), and thus any external 
toolchain recipe created based upon it may end up not working either. We need 
to come up with a plan for what to do with this recipe - here are some 
possibilities:

A) Keep it in OE-Core and ensure it is tested and maintained

B) Remove it and just point to meta-sourcery as a maintained and working 
example of how to write an external toolchain recipe

C) Replace it with a less concrete example recipe in meta-skeleton that we 
maintain going forward

What do people think?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RFC: external toolchain recipes in OE-Core
  2013-12-02 16:18 RFC: external toolchain recipes in OE-Core Paul Eggleton
@ 2013-12-02 16:28 ` Martin Jansa
  2013-12-02 16:28 ` Burton, Ross
  1 sibling, 0 replies; 4+ messages in thread
From: Martin Jansa @ 2013-12-02 16:28 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 1576 bytes --]

On Mon, Dec 02, 2013 at 04:18:52PM +0000, Paul Eggleton wrote:
> Hi all,
> 
> Currently we have an external-sourcery-toolchain recipe in OE-Core; one of the 
> main reasons we have it there is as an example of how to create a working 
> external toolchain recipe for those that need to create their own. Since the 
> creation of the meta-sourcery layer however, this recipe has been left largely 
> unmaintained. Even assuming nobody tries to use it as-is with the CodeSourcery 
> toolchain, without testing and maintenance the recipe can bitrot (and has 
> broken as a result of changes elsewhere in OE-Core), and thus any external 
> toolchain recipe created based upon it may end up not working either. We need 
> to come up with a plan for what to do with this recipe - here are some 
> possibilities:
> 
> A) Keep it in OE-Core and ensure it is tested and maintained
> 
> B) Remove it and just point to meta-sourcery as a maintained and working 
> example of how to write an external toolchain recipe

This looks best to me. Maybe with another link to external linaro
toochain which is probably used by many people and to show that it's
just an example and recipes for external toolchain + tcmode need to be
adjusted to specific toolchain.

> C) Replace it with a less concrete example recipe in meta-skeleton that we 
> maintain going forward

I fear that less concrete example will bitrot even faster and won't be
easy to test and fix without creating concrete recipe from it.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RFC: external toolchain recipes in OE-Core
  2013-12-02 16:18 RFC: external toolchain recipes in OE-Core Paul Eggleton
  2013-12-02 16:28 ` Martin Jansa
@ 2013-12-02 16:28 ` Burton, Ross
  2013-12-02 19:29   ` Otavio Salvador
  1 sibling, 1 reply; 4+ messages in thread
From: Burton, Ross @ 2013-12-02 16:28 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: OE-core

On 2 December 2013 16:18, Paul Eggleton <paul.eggleton@linux.intel.com> wrote:
> B) Remove it and just point to meta-sourcery as a maintained and working
> example of how to write an external toolchain recipe

This seems like the easiest option that will continue to work in the
long-term.  As toolchains are all different a less concrete example
doesn't seem very useful as it will be too abstract to be tested.

Ross


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: RFC: external toolchain recipes in OE-Core
  2013-12-02 16:28 ` Burton, Ross
@ 2013-12-02 19:29   ` Otavio Salvador
  0 siblings, 0 replies; 4+ messages in thread
From: Otavio Salvador @ 2013-12-02 19:29 UTC (permalink / raw)
  To: Burton, Ross; +Cc: Paul Eggleton, OE-core

On Mon, Dec 2, 2013 at 2:28 PM, Burton, Ross <ross.burton@intel.com> wrote:
> On 2 December 2013 16:18, Paul Eggleton <paul.eggleton@linux.intel.com> wrote:
>> B) Remove it and just point to meta-sourcery as a maintained and working
>> example of how to write an external toolchain recipe
>
> This seems like the easiest option that will continue to work in the
> long-term.  As toolchains are all different a less concrete example
> doesn't seem very useful as it will be too abstract to be tested.

Agreed; this allow us to reduce the amount of QA work for Yocto fellows as well.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-12-02 19:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-02 16:18 RFC: external toolchain recipes in OE-Core Paul Eggleton
2013-12-02 16:28 ` Martin Jansa
2013-12-02 16:28 ` Burton, Ross
2013-12-02 19:29   ` Otavio Salvador

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox