* Recipe question - source directory of depency parent
@ 2012-06-07 19:12 Jim Rucker
2012-06-07 19:17 ` David Nyström
0 siblings, 1 reply; 3+ messages in thread
From: Jim Rucker @ 2012-06-07 19:12 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 583 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 624 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Recipe question - source directory of depency parent
2012-06-07 19:12 Recipe question - source directory of depency parent Jim Rucker
@ 2012-06-07 19:17 ` David Nyström
2012-06-07 19:45 ` David Nyström
0 siblings, 1 reply; 3+ messages in thread
From: David Nyström @ 2012-06-07 19:17 UTC (permalink / raw)
To: yocto
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Recipe question - source directory of depency parent
2012-06-07 19:17 ` David Nyström
@ 2012-06-07 19:45 ` David Nyström
0 siblings, 0 replies; 3+ messages in thread
From: David Nyström @ 2012-06-07 19:45 UTC (permalink / raw)
To: yocto
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@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-06-07 19:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-07 19:12 Recipe question - source directory of depency parent Jim Rucker
2012-06-07 19:17 ` David Nyström
2012-06-07 19:45 ` David Nyström
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.