[yocto] How do you build 2 versions of the same recipe and a specific version from bitbake cmd line
    Robert Joslyn 
    robert_joslyn at selinc.com
       
    Fri Jul 14 13:32:25 PDT 2017
    
    
  
On Fri, 2017-07-14 at 19:49 +0100, Burton, Ross wrote:
> 
> On 14 July 2017 at 18:17, Jimi Damon <jdamon at gmail.com> wrote:
> > Do to a fun "feature" of zeromq, the newest libraries are not
> > backward compatible and hence I need to install a zeromq-4.1.5 and
> > zeromq-3.2.2 libraries onto my target to assist with one
> > application using the old version and a newer application using the
> > newer one. 
> > 
> > How can I do this from the local.conf file AND how can I specify a
> > single recipe version to build on the command line ? 
> > 
> 
> You need two recipes *with different names*, and they must not
> conflict in any way with each other.
> 
> Ross
Just to clarify, the typical way this is done is to put the major
version number as part of the package name. For example, the recipes
could be called zeromq3_3.2.2.bb and zeromq4_4.1.5.bb. This assumes
zeromq can tolerate having multiple versions installed at the same
time.
Robert
    
    
More information about the yocto
mailing list