Openembedded Core Discussions
 help / color / mirror / Atom feed
* DEPEND on an image recipe
@ 2012-08-17 12:51 Cliff Brake
  2012-08-17 12:55 ` Phil Blundell
  0 siblings, 1 reply; 3+ messages in thread
From: Cliff Brake @ 2012-08-17 12:51 UTC (permalink / raw)
  To: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 422 bytes --]

I would like to add a DEPEND to a kernel recipe that causes an initramfs
image to be built every time before the kernel is built.  It seems that a
DEPEND on the rootfs recipe triggers the rootfs build, however it appears
that the kernel recipe does not wait for the image recipe to finish before
it builds.  What is the best way to accomplish this?

Thanks,
Cliff

-- 
=================
http://bec-systems.com

[-- Attachment #2: Type: text/html, Size: 541 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DEPEND on an image recipe
  2012-08-17 12:51 DEPEND on an image recipe Cliff Brake
@ 2012-08-17 12:55 ` Phil Blundell
  2012-08-17 20:55   ` Andrea Adami
  0 siblings, 1 reply; 3+ messages in thread
From: Phil Blundell @ 2012-08-17 12:55 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Fri, 2012-08-17 at 08:51 -0400, Cliff Brake wrote:
> I would like to add a DEPEND to a kernel recipe that causes an
> initramfs image to be built every time before the kernel is built.  It
> seems that a DEPEND on the rootfs recipe triggers the rootfs build,
> however it appears that the kernel recipe does not wait for the image
> recipe to finish before it builds.  What is the best way to accomplish
> this?

do_compile[depends] += "ramfs-image:do_rootfs"

p.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: DEPEND on an image recipe
  2012-08-17 12:55 ` Phil Blundell
@ 2012-08-17 20:55   ` Andrea Adami
  0 siblings, 0 replies; 3+ messages in thread
From: Andrea Adami @ 2012-08-17 20:55 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 921 bytes --]

On Fri, Aug 17, 2012 at 2:55 PM, Phil Blundell <philb@gnu.org> wrote:

> On Fri, 2012-08-17 at 08:51 -0400, Cliff Brake wrote:
> > I would like to add a DEPEND to a kernel recipe that causes an
> > initramfs image to be built every time before the kernel is built.  It
> > seems that a DEPEND on the rootfs recipe triggers the rootfs build,
> > however it appears that the kernel recipe does not wait for the image
> > recipe to finish before it builds.  What is the best way to accomplish
> > this?
>
> do_compile[depends] += "ramfs-image:do_rootfs"
>
> p.
>
>
> Yes, that code is as well in kernel.bbclass so you can just add

INITRAMFS_IMAGE = "foo"

to your kernel recipe.

Andrea



>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 1847 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-17 21:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-17 12:51 DEPEND on an image recipe Cliff Brake
2012-08-17 12:55 ` Phil Blundell
2012-08-17 20:55   ` Andrea Adami

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox