All of lore.kernel.org
 help / color / mirror / Atom feed
* [oe-core] requires on own .bb file
@ 2012-04-16  8:42 Giuseppe Condorelli
  2012-04-16 16:27 ` Joshua Lock
  0 siblings, 1 reply; 2+ messages in thread
From: Giuseppe Condorelli @ 2012-04-16  8:42 UTC (permalink / raw)
  To: openembedded-devel

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.

Suggestions are welcome.
Regards,
Giuseppe


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

* Re: [oe-core] requires on own .bb file
  2012-04-16  8:42 [oe-core] requires on own .bb file Giuseppe Condorelli
@ 2012-04-16 16:27 ` Joshua Lock
  0 siblings, 0 replies; 2+ messages in thread
From: Joshua Lock @ 2012-04-16 16:27 UTC (permalink / raw)
  To: openembedded-devel

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



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

end of thread, other threads:[~2012-04-16 16:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-16  8:42 [oe-core] requires on own .bb file Giuseppe Condorelli
2012-04-16 16:27 ` Joshua Lock

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.