[yocto] Using other recipes output in Makefile-project

Jonas Jonsson L jonas.l.jonsson at ericsson.com
Fri Sep 21 02:06:05 PDT 2012


Hi, I'm having trouble with understanding how to use built libraries (and their include-files).

I'm writing a bitbake-recipe for some piece of software that is Makefile-based.  The SW has a compilation and runtime dependency on readline, Sqlite3 and libxml2.

In my bb-file, I've added 'DEPEND = "readline sqlite3 libxml2"' and the three packages are built and installed for my chosen architecture.

Now how do I use the build artifacts for my compilation??  I would like to add 'XML2_CFLAGS=FOO', 'XML2_LIBS=BAR' etc to my EXTRA_OEMAKE so that my Makefile can pick up the location of the necessary include-files and libraries?

Best regards,
Jonas Jonsson


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120921/2b5caf14/attachment.html>


More information about the yocto mailing list