Skip to contentSkip to conversation

sip.bbclass?

DISCUSSION Gary Thomas 4 participants 5 messages May 25, 2016

lore
Share & tools
lore
#0 lore raw

I was just wondering why sip.bbclass is in OE-core (at least the Poky version master:c7e614c438706) when nothing uses it?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 5 lines · Gary Thomas

I was just wondering why sip.bbclass is in OE-core (at least the Poky version master:c7e614c438706) when nothing uses it?

OE-core can have components which are commonly used in OE infrastructure, especially bindings may be checking all layers in layerindex would better answer your question

Quoted 11 lines

--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#2 lore raw
Quoted 8 lines · Khem Raj
Quoted 5 lines · Gary Thomas

I was just wondering why sip.bbclass is in OE-core (at least the Poky version master:c7e614c438706) when nothing uses it?

OE-core can have components which are commonly used in OE infrastructure, especially bindings may be checking all layers in layerindex would better answer your question

My impression was [perhaps erroneously] that for an object to be in OE-core, it had to be _needed_ by some other object in OE-core. Many recipes have been migrated out when there was no longer a use for them, so why not .bbclass files as well? Most other layers that need .bbclass files that aren't in OE-core just have their own classes...

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#3 lore raw
Quoted 13 lines · Gary Thomas
Quoted 11 lines · Khem Raj
Quoted 6 lines

On May 25, 2016, at 8:34 AM, Gary Thomas <[email protected]> wrote:

I was just wondering why sip.bbclass is in OE-core (at least the Poky version master:c7e614c438706) when nothing uses it?

OE-core can have components which are commonly used in OE infrastructure, especially bindings
may be checking all layers in layerindex would better answer your question

Quoted 6 lines

My impression was [perhaps erroneously] that for an object to be in OE-core, it had to be _needed_ by some other object in OE-core. Many recipes have been migrated out when there was no longer a use for them, so why not .bbclass files as well? Most other layers that need .bbclass files that aren't in OE-core just have their own classes...

Nothing in OE-Core uses extrenalsrc directly but we'd still want something like that in the core so I don't think the rule is absolute. What we wouldn't want to see is multiple layers maintaining different and potentially incompatible versions of a class file.

That said, I think there are a few that we probably could clean up.

Cheers,

Richard

#4 lore raw
Quoted 6 lines

Nothing in OE-Core uses extrenalsrc directly but we'd still want something like that in the core so I don't think the rule is absolute. What we wouldn't want to see is multiple layers maintaining different and potentially incompatible versions of a class file.

That said, I think there are a few that we probably could clean up.

As for sip.bblclass, nothing is using it in oe-core or meta-oe. So I just removed it as a part of oe-core py3 patchset, because it's doing some python 2 based magic, and I can't figure out what exactly without any recipes to test with.

Alex