[oe] [RFC] a small bbclass for task recipes

Koen Kooi koen at dominion.kabel.utwente.nl
Fri Aug 10 13:51:30 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

pHilipp Zabel schreef:
> Hi,
> 
> while looking for the cause of several -dbg packages being included in
> my latest angstrom-x11-image builds, I noticed that some task packages
> have -dev, -doc and
> -dbg versions in the deploy directories because they don't set PACKAGES.
> 
> To improve consistency, I propose to add a small task.bbclass that does set
> ALLOW_EMPTY="1", PACKAGES="${PN}" and PACKAGE_ARCH="all".
> That way simple task recipes can just "inherit task".
> (If needed, this could be enhanced later with a python script to automatically
> add -dbg packages that RRECOMMEND the -dbg versions of packages that
> the main package RDEPENDs upon.)
> 
> See attached patch (which also includes some $MACHINE_ARCH -> all
> PACKAGE_ARCH changes). Comments?

Looks okay after a brief look.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFGvG1iMkyGM64RGpERAuJdAKCnhqskXlkN+5C0nkX2yamuIkokhACePCQK
RsYuDQHtZtk/OzunVgeJjRU=
=IF7R
-----END PGP SIGNATURE-----




More information about the Openembedded-devel mailing list