[yocto] Question about Package Splitting

Gaurang Shastri gmshastri at gmail.com
Fri Aug 8 00:43:38 PDT 2014


Hi,

You can do something like this if you want your own package:

PACKAGES += "${PN}-frontend ${PN}-backend ${PN}-tests"

Here ${PN} means "project" and yes "project-dbg" and "project-dev" will be
created by default.

And than you can put your required files in particular package by,

FILES_${PN}-frontend = "${bindir}" -- just example...likewise you can have
your own packages with required files.

//Gaurang Shastri


On Fri, Aug 8, 2014 at 4:17 AM, <pourya.shirazian at daimler.com> wrote:

>  Hi,
>
>  My question is about producing multiple packages in the same recipe.
> I created a recipe e.g. “project.bb" to produce 5 packages from the same
> source repository. The package names are as following:
>
>    1. project-frontend
>    2. project-backend
>    3. project-tests
>    4. project-dbg
>    5. project-dev
>
> How do I include these packages in the assembled file system? I.e. Should
> I just include “project” as the parent name for all the sub-packages or I
> should include “project-frontend”, “project-end” etc.
> When I tried the latter method only the first package appeared in the
> final file system.
>
>  Thanks
>
> If you are not the addressee, please inform us immediately that you have
> received this e-mail by mistake, and delete it. We thank you for your
> support.
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140808/a8017834/attachment.html>


More information about the yocto mailing list