* inc and bb vs. layers
@ 2012-10-09 13:12 Steffen Sledz
2012-10-09 13:18 ` Paul Eggleton
0 siblings, 1 reply; 2+ messages in thread
From: Steffen Sledz @ 2012-10-09 13:12 UTC (permalink / raw)
To: openembedded-core
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?
Steffen
--
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:sledz@dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: inc and bb vs. layers
2012-10-09 13:12 inc and bb vs. layers Steffen Sledz
@ 2012-10-09 13:18 ` Paul Eggleton
0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggleton @ 2012-10-09 13:18 UTC (permalink / raw)
To: Steffen Sledz; +Cc: openembedded-core
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-09 13:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-09 13:12 inc and bb vs. layers Steffen Sledz
2012-10-09 13:18 ` Paul Eggleton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox