[oe] [oe-core] requires on own .bb file

Joshua Lock josh at linux.intel.com
Mon Apr 16 16:27:48 UTC 2012


On 16/04/12 01:42, Giuseppe Condorelli wrote:
> Hi all,
>
> I wrote a personal .bb file and added it on the meta-<myproject>  tree.
> This .bb file requires a .inc file already available in the native oe-core
> meta directory.
> How can I include it into my .bb file? If I add "require<blablabla>.inc"
> it fails because it
> is not able to found the given .inc file. In other words I need to copy it
> into the meta-<myproject>  tree.

The require line should be a path relative to a BBPATH entry.

For e.g. if I wanted to use the dbus.inc I would:

require recipes-core/dbus/dbus.inc

Cheers,
Joshua
-- 
Joshua Lock
         Yocto Project
         Intel Open Source Technology Centre




More information about the Openembedded-devel mailing list