build a library with yocto

Viewed 2071

Somewhat new Yocto. Trying to build a library that will be included into the filesystem. I used a devtool to create initial recipe. The library does have a Makefile however it (the library) was used in a different project and all the variables, including build and install directories, are tailored towards an original project. Here are a few questions.

  1. How do I tell Yocto through a Makefile where to build the files for the library?
  2. How do I tell Yocto through a Makefile where to install the library files?

I have to apologize since I can't post the the source as well as the Makefile for the library online due to the nature of the project. But I would really appreciate any pointers or maybe samples of library build instructions for Yocto.

1 Answers
Related