Re: [yocto] Creating a new recipe

2017-05-05 Thread Giuseppe Di Guglielmo
I made some further steps. I attach the layer package that I am creating. You can add it to conf/bblayers.conf. The error that I the following. Let me know what you thing of it. Thank you, Giuseppe $ bitbake bazel Parsing recipes: 100% |##

Re: [yocto] Creating a new recipe

2017-05-05 Thread Andrea Galbusera
On Fri, May 5, 2017 at 4:40 PM, Giuseppe Di Guglielmo < giuseppe.diguglie...@gmail.com> wrote: > Hi all, > I am trying to create a new recipe for Bazel (from Google): > https://bazel.build/versions/master/docs/install-compile-source.html > > The standard compilation flow is relatively simple: "Unz

[yocto] Creating a new recipe

2017-05-05 Thread Giuseppe Di Guglielmo
Hi all, I am trying to create a new recipe for Bazel (from Google): https://bazel.build/versions/master/docs/install-compile-source.html The standard compilation flow is relatively simple: "Unzip the archive and call bash ./compile.sh; this will create a bazel binary in output/bazel. This binary i

Re: [yocto] Creating a new recipe based on another recipe

2015-09-28 Thread Gary Thomas
On 2015-09-28 11:59, Daniel. wrote: I think you're searching for .bbappend don't? Shouldn't be any need for that - it's his recipe, so he can modify it as he wishes. One uses .bbappend to made changes/additions to a recipe where you don't want (or can't) modify the original. http://www.yoc

Re: [yocto] Creating a new recipe based on another recipe

2015-09-28 Thread Daniel.
I think you're searching for .bbappend don't? http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#using-bbappend-files Or, maybe, put all the common things in a .inc file, create the recipes, include the files in recipes. There is also a lot of examples of this: http://git.yoctopr

Re: [yocto] Creating a new recipe based on another recipe

2015-09-28 Thread Gary Thomas
On 2015-09-28 09:30, Stuart Weaver wrote: Hi all, I have a recipe for a package which builds well. I now need to add a patch into certain builds. What is the best way to do this? 1.Is there a variable I can append the image name to (similar to:/SRC_URI_image-name/)?// 2.Is there a way of cre

[yocto] Creating a new recipe based on another recipe

2015-09-28 Thread Stuart Weaver
Hi all, I have a recipe for a package which builds well. I now need to add a patch into certain builds. What is the best way to do this? 1. Is there a variable I can append the image name to (similar to: SRC_URI_image-name)? 2. Is there a way of creating a new 'recipe 2' that obt