[oe] [poky] Syntax for requiring a dependency task's deploy phase to be finished
Koen Kooi
k.kooi at student.utwente.nl
Thu Nov 29 19:55:47 UTC 2007
-----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.
regards,
Koen
- --
koen at dominion.kabel.utwente.nl will go go away in december 2007, please
use k.kooi at student.utwente.nl instead.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFHTxlDMkyGM64RGpERAhg8AJ9suIHZD8NIXvyK0+FwvVQe1iJoxgCeLMKd
u9K/J91oaRA6WV16kTlpaOs=
=yZ7f
-----END PGP SIGNATURE-----
More information about the Openembedded-devel
mailing list