[oe] [poky] Syntax for requiring a dependency task's deploy phase to be finished

Matt Hoosier matt.hoosier at gmail.com
Thu Nov 29 23:44:56 UTC 2007


On Nov 29, 2007 1:55 PM, Koen Kooi <k.kooi at student.utwente.nl> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Richard Purdie schreef:
> > On Thu, 2007-11-29 at 11:53 -0600, Matt Hoosier wrote:
> >> I'm trying to build a kernel containing an initramfs linked directly
> >> into the kernel binary. This is inspired by the recent discussion
> >> here: building a minimal image with IMAGE_FSTYPE set to cpio.
> >>
> >> I need to be sure that by the time the kernel's do_compile task
> >> executes, the minimal image has been deploy to ${DEPLOY_DIR}/image.
> >> What's the right way to write this dependency?
> >
> > If I understand correctly you want something like
> >
> > do_compile[depends] += "minimal-image:do_deploy"
> >
> > inside the kernel recipe where "minimal-image" is the name of the image
> > recipe.
>
> And make sure *nothing* in that image depends on a kernel at buildtime,
> otherwise bitbake will start spewing incomprehensible backtraces :)
> A better approach would be to write a bbclass that takes a kernel image
> and initramfs and glues those together.

Okay, thanks to both. Richard's suggestion solves the immediate need.




More information about the Openembedded-devel mailing list