[OE-core] inc and bb vs. layers
Paul Eggleton
paul.eggleton at linux.intel.com
Tue Oct 9 13:18:21 UTC 2012
On Tuesday 09 October 2012 15:12:09 Steffen Sledz wrote:
> Given to files
>
> foo.inc
> foo.bb (which requires foo.inc)
>
> in layer Foo. Now i want to write a new
>
> bar.bb (which requires foo.inc too)
>
> in layer Bar. Is this possible without keeping a copy of foo.inc in Bar?
Certainly, you just need to specify the path from the base of the layer where
the inc file resides in your "require" statement, for example:
require recipes-graphics/xorg-app/xorg-app-common.inc
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the Openembedded-core
mailing list