Yes, it is doable that way too, there are some examples in recipes, e.g.:
https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-support/libtinyxml/libtinyxml_2.6.2.bb

-- 
Denys


On Thu, Dec 12, 2019 at 04:34:01PM -0500, Zhao (Compiler), Yuan wrote:
> Good question.  I overlooked this library versioning issue in the recipe 
> when installing the .so file to /usr/lib.
> 
> Is there a quick way to use $PV for versioning?  E.g. currently PV is 1.4.0, 
> so we should create libtidl_api.so.1.4.0, then libtidl_api.so.1, then 
> libtidl_api.so.
> 
> Thanks!
> 
> - Yuan
> 
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Dmytriyenko, Denys
> Sent: Thursday, December 12, 2019 3:30 PM
> To: Stiffler, Jacob
> Cc: [email protected]
> Subject: [EXTERNAL] Re: [meta-arago] [master/thud/ti2019.05][PATCH] tidl-api: 
> fix package-qa issues
> 
> On Thu, Dec 12, 2019 at 04:02:53PM -0500, Jacob Stiffler wrote:
> > tidl-api does not create versioned libraries,
> 
> Should it be fixed then? What's the plan to address it?
> 
> 
> 
> > so provide these in the
> > base package and skip the QA checks.
> > 
> > Signed-off-by: Jacob Stiffler <[email protected]>
> > ---
> >  meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb | 6 +++++-
> >  1 file changed, 5 insertions(+), 1 deletion(-)
> > 
> > diff --git a/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb 
> > b/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb
> > index a8829c1..ea12fb0 100644
> > --- a/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb
> > +++ b/meta-arago-extras/recipes-ti/tidl-api/tidl-api_git.bb
> > @@ -52,5 +52,9 @@ FILES_${PN} += "\
> >      ${TIDL_INSTALL_DIR} \
> >  "
> >  
> > +# Versioned libs are not created. See do_install().
> > +SOLIBS = ".so*"
> > +FILES_SOLIBSDEV = ""
> >  
> > -INSANE_SKIP_${PN} = "arch ldflags textrel staticdev"
> > +INSANE_SKIP_${PN} = "arch ldflags textrel staticdev libdir"
> > +INSANE_SKIP_${PN}-dbg = "libdir"
> > -- 
> > 2.7.4
> > 
> > _______________________________________________
> > meta-arago mailing list
> > [email protected]
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> [email protected]
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to