[yocto] add files to dirctory in packages-split

Khem Raj raj.khem at gmail.com
Thu Dec 11 18:48:22 PST 2014


> On Dec 11, 2014, at 5:59 PM, Neil.Wu at Emerson.com wrote:
> 
> Hi Raj,
> Thank you very much for your reply. I have try to do like  you say.
> I’m compiling the glib-2.0,  need to  add the link file of one library to glib-2.0 package.
> So I add the command like following :
> FILES_${PN} += “${libdir}/libgio-2.0.so”
> But , it can’t success.

.so are usually treated to be includes in -dev packages by default
first you need to figure out if you really need .so on target, many times you don’t

some packages still do ( don’t use .so versioning ) then you would need something like

FILES_SOLIBSDEV = ""
SOLIBS = ".so"
INSANE_SKIP_${PN} += "dev-so"


> Do you know whether need to do other thing?
>  
> Neil
>  
> From: Khem Raj [mailto:raj.khem at gmail.com] 
> Sent: Thursday, December 11, 2014 6:05 PM
> To: Wu, Neil [CLIMATE/RS/CN]
> Cc: yocto at yoctoproject.org
> Subject: Re: [yocto] add files to dirctory in packages-split
>  
>  
> On Dec 11, 2014, at 1:35 AM, Neil.Wu at Emerson.com <mailto:Neil.Wu at Emerson.com> wrote:
>  
> Hi all,
> I want to add some files to the specified  directory what in packages-split.
>  
> How to do it ?
>  
> FILES_<name-of-package> += “/path/to/file"
> 
> 
>  
> Thank you
> Neil
>  
> -- 
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org <mailto:yocto at yoctoproject.org>
> https://lists.yoctoproject.org/listinfo/yocto <https://lists.yoctoproject.org/listinfo/yocto>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141211/823b41d3/attachment.html>


More information about the yocto mailing list