inc and bb vs. layers
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
Signature · 7 lines
DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany Tel: +49 30 515932-237 mailto:[email protected] Fax: +49 30 515932-299 Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058
Quoted 10 lines · 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
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre