[yocto] Porting a middleware to Yocto

Eswaran Vinothkumar (BEG/PJ-IOT-EL) Vinothkumar.Eswaran at de.bosch.com
Mon Apr 10 23:20:34 PDT 2017


Hallo,

For our new project we are planning to use Yocto as a build system to build customized Linux distribution. I have already created a BSP for our customized hardware with Linux kernel, U-boot and UBIFS rootfs image.

We are internally using a middleware which acts as an abstraction to underlying operating system and provides APIs to application layers. Now the task is to port the middleware to Yocto. The middleware contains lot of make files and folders which are interdependent and I am at lost on how to start.
I have some 20 directories which contains makefiles and autotool configure.ac files to generate lib files.

As of now I have planned to create a new Yocto layer called meta-middleware and a recipe file for individual folders. I then create a package group which will include all these recipes and can include this package group as dependency in the recipes of meta-application layer. I am facing a problem like I have to include headers from other recipes. In this case to include the headers , is it enough to add "DEPENDS = recipename" ?
I know my question is relatively vague, but anybody who ported middleware from another build systems like ptxdist would have faced similar issues. Any input on how you planned to port these source files to Yocto would be helpful.


Mit freundlichen Grüßen / Best regards

Vinothkumar Eswaran
BEG-PT/PJ-IOT1

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


More information about the yocto mailing list