From: Mark Hatle <mark.hatle@windriver.com>
To: "Johannes Wiesböck" <johannes.wiesboeck@tum.de>, yocto@yoctoproject.org
Subject: Re: [help] Multiconfig - Depending on Recipe multiple times
Date: Thu, 29 Aug 2019 11:01:53 -0500 [thread overview]
Message-ID: <e1e60eae-0a78-dd61-b00d-de3ec0081f76@windriver.com> (raw)
In-Reply-To: <20190829150535.2w2nir4bia4ze6ez@asterix>
On 8/29/19 10:05 AM, Johannes Wiesböck wrote:
> Hello Everyone,
>
> i am using Yocto on the thud branch to build images for a real-time
This is not implemented in thud. Thud had multiconfig supported, but didn't yet
allow for dependencies between configurations.
Master has support for multiconfig dependencies as well, but I'm not sure how
well tested they are.
--Mark
> operating system based on FreeRTOS. I would like to run multiple images
> on different CPU cores in an asynchronous multi-processing (AMP) configuration.
> Each image will contain the software for only one single core. For
> deployment, i would like to pack all images into one package.
>
> Therefore, i would like to use multiconfig to build the same recipe four
> times for the same hardware but with different compiler options,
> determined by to core the image should run on. These builds are all based on
> the same source code but differ in compiler options used for building. After
> the images for all configurations are built, i would like to pack all images
> into a single package for deployment.
>
> I have created two recipes, one called amp-image, that should be built
> once for every multiconfig. A second recipe called master-image,
> depends on amp-image for every configuration, i.e. i have the line
>
> do_compile[mcdepends] = "multiconfig:amp-c0:amp-c0:amp-image:do_build multiconfig:amp-c0:amp-c1:amp-image:do_build"
>
> in my master-image.bb file. I also have set up my multiconfigs according
> to [0].
>
> When i try to build master-image with
>
> bitbake multiconfig:amp-c0:master-image
>
> i get an error, which i have attached in [1].
>
> My question is: Is it generally possible for a recipe to depend on one
> recipe multiple times but from a different multiconfig, like shown above?
> Also, if possible, are the sysroots of the dependencies automatically
> populated to the recipe depending on them, like with the usual DEPENDS
> variable.
>
>
> Thanks for any help!
> Johannes Wiesboeck
>
> [0] https://www.yoctoproject.org/docs/2.6/dev-manual/dev-manual.html#dev-building-images-for-multiple-targets-using-multiple-configurations
> [1] https://home.in.tum.de/~wiesboec/bitbake.txt
>
prev parent reply other threads:[~2019-08-29 16:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20190829143056.cvo7vk7tpghfjnyh@asterix>
[not found] ` <20190829144027.whr2vf5lwnhoh4vk@asterix>
[not found] ` <20190829144815.62iqd6tnf6qot74m@asterix>
2019-08-29 15:05 ` [help] Multiconfig - Depending on Recipe multiple times Johannes Wiesböck
2019-08-29 16:01 ` Mark Hatle [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e1e60eae-0a78-dd61-b00d-de3ec0081f76@windriver.com \
--to=mark.hatle@windriver.com \
--cc=johannes.wiesboeck@tum.de \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.