Am Donnerstag, dem 14.09.2023 um 14:01 +0200 schrieb Alexander Kanavin:
> On Thu, 14 Sept 2023 at 13:57, David Daniel <david.dan...@vrag.ch>
> wrote:
> > I could create two recipes - but that would mean, the same sources
> > are
> > downloaded twice, am I right?
> 
> Two recipes seems like the best option, if the library and the
> executable build processes are completely decoupled. You needn't
> worry
> about downloading twice: if SRC_URI entry is the same, fetch tasks
> for
> the two recipes will mutually exclude each other, and then reuse the
> result from the other task that ran first.
> 
> Alex

Ah I see, if I use the same source in two different recipes, it won't
get downloaded twice. That's definitely the better approach then. That
way I can make the binary depending on the library.

Thanks!
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60996): https://lists.yoctoproject.org/g/yocto/message/60996
Mute This Topic: https://lists.yoctoproject.org/mt/101356485/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to