[yocto] How to add my own c++ project into a Yocto distro

Fred Ollinger Fred.Ollinger at seescan.com
Fri Sep 23 13:10:17 PDT 2016


Here's how to write a recipe:


http://www.yoctoproject.org/docs/1.6/dev-manual/dev-manual.html#new-recipe-writing-a-new-recipe


When we started, we also had custom Makefiles. However, we found it was easier to add our recipes to automake before making a bitbake recipe.

Automake is a challenge to get started, but worth learning.

I don't regret our move to it.

There are other options that work equally in yocto, though, like cmake.


https://www.gnu.org/software/automake/manual/html_node/Hello-World.html

________________________________
From: yocto-bounces at yoctoproject.org <yocto-bounces at yoctoproject.org> on behalf of Karim ATIKI <karim_atiki at hotmail.com>
Sent: Friday, September 23, 2016 12:53 PM
To: yocto at yoctoproject.org
Subject: [yocto] How to add my own c++ project into a Yocto distro


Hi all,


I have setup a Poky distribution based on a core-image-sato image for both RaspberryPi and Toradex Colibri T20.

I have an X11 environment working fine.


Right now, I need to compile our software we developped.

I basically need to fetch SVN repositories and finally to launch a makefile to get everyting work.

The makefile is however not based on autotools. It's a custom makefiles with regular dependencies.


I just don't know how to achieve this step in Yocto ?

Should I add a recipe ?

Is there a link that describes what I need to achieve ?


Thanks


Karim



More information about the yocto mailing list