[oe-users] A Few Newbie Questions

Richard Purdie rpurdie at rpsys.net
Sun Sep 2 14:44:06 UTC 2007


On Wed, 2007-08-29 at 19:36 -0500, Jeff Rush wrote:
> I'm learning OE and are wrestling with the following issues.  I've searched
> the OE and BB docs but not found the answers.
> 
> 1) I have a very simple .bb file and I do -not- inherit from a .bbclass.
>    What rules are applied by default in this case?  In particular, it
>    is building -dbg and -dev .ipk files and I don't see how my receipe
>    is doing that.

For any .bb file, there is an implied "inherit base". The bitbake.conf
will also be included which is there the -dev  and -dbg files are coming
from.

> 2) For my simple package "taulayout", I create a single directory in the
>    do_install() step.  It builds fine but only creates:
> 
>       taulayout-dbg_1.0-r0_armv4t.ipk
>       taulayout-dev_1.0-r0_armv4t.ipk
> 
>    Why didn't it create the basic:
> 
>       taulayout_1.0-r0_armv4t.ipk

Probably because it would have been an empty package?

> 3) I'm getting confused re the search order of BBFILES and BBPATH.  It
>    seems that in some cases it matches left-to-right and other times
>    right-to-left.  And seems to differ re .conf files versus
>    .bb/.bbclass files.  This isn't documented on the site under those
>    directives so can someone spell out the search rules.
> 
>    I was expecting it to behave like the Unix PATH and Python
>    PYTHONPATH, in that the first match left-to-right is returned.

They should behave like a standard Unix PATH...

Regards,

Richard





More information about the Openembedded-users mailing list