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 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 for the virtual/kernel package. Is there a way to get this, or am doing this wrong? I put the .bb recipe in the same meta-ourco/recipes-kernel/linux directory that has the .bb which builds the linux kernel for our target, but in its own file, with its own "PROVIDES" variable. _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto