Re: [yocto] Recipe question

2015-06-09 Thread Darren Breeze
Hi I have sorted this out. I had assumed the ${D} contained a trailing slash when it didn't I changed do_install to do_install() { install -d ${D}/opt/web_remote cp -r ${S}/* ${D}/opt/web_remote/. } And it worked. Thanks for all the responses. Darren B. On 8/06/2015 3:36

Re: [yocto] Recipe question

2015-06-08 Thread Anders Darander
* Darren Breeze [150606 02:52]: > the recipe file is : > - > DESCRIPTION = "Web Remote" > SECTION = "utils" > SRC_URI = > "git://192.168.192.46/mygroup/web_remote.git;protocol=http;branch=master;" > S = "${WORKDIR}/git" > do_install() { > install -d ${D}opt/web_remote >

Re: [yocto] Recipe question

2015-06-08 Thread Samuel Engelmajer
Hi, A simple suggestion here out of the blue, are you sure your recipe is located in a place Yocto can find it ? What is your recipe name ? Sam 2015-06-06 2:50 GMT+02:00 Darren Breeze : > Hi > > First post, I hope this is the correct list.. > > I am trying to create a simple recipe that takes

[yocto] Recipe question

2015-06-05 Thread Darren Breeze
Hi First post, I hope this is the correct list.. I am trying to create a simple recipe that takes a tree of a website off a local git repository and places it in a directory under /opt in my image. It's a small tree of a couple of subdirectories and about 20 files. the recipe file is :

Re: [yocto] Recipe question - source directory of depency parent

2012-06-07 Thread David Nyström
Oops, That should be ${STAGING_KERNEL_DIR} Br, David On 06/07/2012 09:17 PM, David Nyström wrote: Have a look at: poky/meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb Use ${KERNEL_STAGING_DIR} to locate kernel sources. Br, David On 06/07/2012 09:12 PM, Jim Rucker wrote: I'm creating

Re: [yocto] Recipe question - source directory of depency parent

2012-06-07 Thread David Nyström
Have a look at: poky/meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bb Use ${KERNEL_STAGING_DIR} to locate kernel sources. Br, David On 06/07/2012 09:12 PM, Jim Rucker wrote: I'm creating a bitbake recipe for a package that is a loadable module, but it requires the linux source directory

[yocto] Recipe question - source directory of depency parent

2012-06-07 Thread Jim Rucker
I'm creating a bitbake recipe for a package that is a loadable module, but it requires the linux source directory in order to build. I added the virtual/kernel package as our "DEPENDS", but when I run bitbake -e for my target I don't see an environment variable that specifies where the source is fo