[yocto] Recipe question - source directory of depency parent
David Nyström
david.nystrom at enea.com
Thu Jun 7 12:45:23 PDT 2012
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 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 at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
More information about the yocto
mailing list