[oe] Two quick questions

Michael Morrell Michael.Morrell at palm.com
Thu Dec 31 18:55:52 UTC 2009


I have two quick OE questions.

First, is it possible to use any of the "directives" in a bb file or conf file based on a condition?  For example, can I "inherit" a class or use "addtask" only under certain conditions.  I couldn't find a way to do this.

Second, if I have some code common to several bb files, I can either put it in a .inc file and use "require" or in a .bbclass file and use "inherit".  Are there any guidelines on which approach is better?

Thanks,

  Michael




More information about the Openembedded-devel mailing list