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

2016-09-28 Thread Paul Eggleton
On Fri, 23 Sep 2016 20:10:17 Fred Ollinger wrote:
> Here's how to write a recipe:
> 
> 
> http://www.yoctoproject.org/docs/1.6/dev-manual/dev-manual.html#new-recipe-w
> riting-a-new-recipe

That's the 1.6 version - you may want the "current" link so that you're
always looking the most recent stable version of the manual:

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

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2016-09-23 Thread Daniel.
I'm building libraries at my work with plain makefiles and getting the
code from SVN. There is no secret just follow the docs... One thing to
know is about compiling using run_oemake instead of simple "make" at
do_compile and that you may want to use CFLAGS_prefix = "some flags".
Dependencies should be added to DEPENDS_${PN} and running dependencies
to RDEPEND. Also you should remeber that Yocto will try to run
parallel builds so is a nice testing running make -j4 or make -j8 or
whatever you want, just to make sure that your Makefile is supporting
parallel building fine. If you want to inhibit parallel build at all
you can use .NOPARALLEL pseudo target, but this may make things
slower. I hope this helps,

Best regards and good lucky!

2016-09-23 17:10 GMT-03:00 Fred Ollinger <fred.ollin...@seescan.com>:
> 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-boun...@yoctoproject.org <yocto-boun...@yoctoproject.org> on 
> behalf of Karim ATIKI <karim_at...@hotmail.com>
> Sent: Friday, September 23, 2016 12:53 PM
> To: yocto@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
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



-- 
"Do or do not. There is no try"
  Yoda Master
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2016-09-23 Thread Fred Ollinger
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-boun...@yoctoproject.org <yocto-boun...@yoctoproject.org> on behalf 
of Karim ATIKI <karim_at...@hotmail.com>
Sent: Friday, September 23, 2016 12:53 PM
To: yocto@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
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


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

2016-09-23 Thread Karim ATIKI
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
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto