All built libs and headers are installed in the sysroot, header files and libs should be installed in their standard locations. Dependent recipes should reference them from this location.
If you have runtime dependencies you should probably add RDEPENDS as well. Package configuration could be overridden in your distro.conf or local.conf, I.e. EXTRA_OEMAKE_pn-<package name> = "" EXTRA_OECONF_pn-<package name> = "" Br, David Sent from my Android phone using TouchDown (www.nitrodesk.com) -----Original Message----- From: Jonas Jonsson L [jonas.l.jons...@ericsson.com] Received: Friday, 21 Sep 2012, 11:06 To: Yocto Mailinglist (yocto@yoctoproject.org) [yocto@yoctoproject.org] Subject: [yocto] Using other recipes output in Makefile-project 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
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto