Openembedded Core Discussions
 help / color / mirror / Atom feed
* should all class files be inherited by *something*?
@ 2012-04-02 21:34 Robert P. J. Day
  2012-04-02 21:39 ` Paul Eggleton
  2012-04-02 21:39 ` Chris Larson
  0 siblings, 2 replies; 4+ messages in thread
From: Robert P. J. Day @ 2012-04-02 21:34 UTC (permalink / raw)
  To: OE Core mailing list


  poking around the meta/classes/*.bbclass files and one looked a bit
odd -- scons.bbclass.  i was under the impression that class files
were supposed represent a *general* kind of functionality so i was
curious as to what this file represented.

  more to the point, it doesn't look like anything in oe-core inherits
that class.  so what exactly is its purpose?

  and following up on that, another example of that kind of file is
oelint.bbclass -- again, i don't see anything in oe-core that inherits
it.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



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

* Re: should all class files be inherited by *something*?
  2012-04-02 21:34 should all class files be inherited by *something*? Robert P. J. Day
@ 2012-04-02 21:39 ` Paul Eggleton
  2012-04-02 21:39 ` Chris Larson
  1 sibling, 0 replies; 4+ messages in thread
From: Paul Eggleton @ 2012-04-02 21:39 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: openembedded-core

On Monday 02 April 2012 17:34:26 Robert P. J. Day wrote:
>   poking around the meta/classes/*.bbclass files and one looked a bit
> odd -- scons.bbclass.  i was under the impression that class files
> were supposed represent a *general* kind of functionality so i was
> curious as to what this file represented.
>
>   more to the point, it doesn't look like anything in oe-core inherits
> that class.  so what exactly is its purpose?

I believe it's for supporting the scons build system. scons isn't hugely 
popular though so I guess it's not surprising that nothing in OE-Core uses it.

>   and following up on that, another example of that kind of file is
> oelint.bbclass -- again, i don't see anything in oe-core that inherits
> it.

I think oelint.bbclass is a really out-of-date recipe lint checking tool. I 
wonder if anyone has used it lately. There could be value in bringing it up-
to-date though.

It's worth noting that we may have a number of classes that are supposed to be 
generally useful in OE-Core that aren't used within OE-Core itself. This is a 
good idea because it reduces the proliferation of different versions of such 
classes in multiple layers.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



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

* Re: should all class files be inherited by *something*?
  2012-04-02 21:34 should all class files be inherited by *something*? Robert P. J. Day
  2012-04-02 21:39 ` Paul Eggleton
@ 2012-04-02 21:39 ` Chris Larson
  2012-04-02 21:41   ` Robert P. J. Day
  1 sibling, 1 reply; 4+ messages in thread
From: Chris Larson @ 2012-04-02 21:39 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Mon, Apr 2, 2012 at 2:34 PM, Robert P. J. Day <rpjday@crashcourse.ca> wrote:
>  poking around the meta/classes/*.bbclass files and one looked a bit
> odd -- scons.bbclass.  i was under the impression that class files
> were supposed represent a *general* kind of functionality so i was
> curious as to what this file represented.
>
>  more to the point, it doesn't look like anything in oe-core inherits
> that class.  so what exactly is its purpose?
>
>  and following up on that, another example of that kind of file is
> oelint.bbclass -- again, i don't see anything in oe-core that inherits
> it.

There will *always* be classes that aren't inherited by anything. Look
at devshell. Some classes will always be opt-in only.
-- 
Christopher Larson



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

* Re: should all class files be inherited by *something*?
  2012-04-02 21:39 ` Chris Larson
@ 2012-04-02 21:41   ` Robert P. J. Day
  0 siblings, 0 replies; 4+ messages in thread
From: Robert P. J. Day @ 2012-04-02 21:41 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1368 bytes --]

On Mon, 2 Apr 2012, Chris Larson wrote:

> On Mon, Apr 2, 2012 at 2:34 PM, Robert P. J. Day <rpjday@crashcourse.ca> wrote:
> >  poking around the meta/classes/*.bbclass files and one looked a bit
> > odd -- scons.bbclass.  i was under the impression that class files
> > were supposed represent a *general* kind of functionality so i was
> > curious as to what this file represented.
> >
> >  more to the point, it doesn't look like anything in oe-core inherits
> > that class.  so what exactly is its purpose?
> >
> >  and following up on that, another example of that kind of file is
> > oelint.bbclass -- again, i don't see anything in oe-core that inherits
> > it.
>
> There will *always* be classes that aren't inherited by anything. Look
> at devshell. Some classes will always be opt-in only.

  yes, i twigged to that seconds after i pressed the ENTER key.  it
*always* happens that way.  grrrrrrr.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

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

end of thread, other threads:[~2012-04-02 21:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-02 21:34 should all class files be inherited by *something*? Robert P. J. Day
2012-04-02 21:39 ` Paul Eggleton
2012-04-02 21:39 ` Chris Larson
2012-04-02 21:41   ` Robert P. J. Day

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