[OE-core] how to exclude files when packaging?

Koen Kooi koen at dominion.thruhere.net
Thu Nov 17 09:10:15 UTC 2011


Op 17 nov. 2011, om 03:29 heeft Ni Qingliang het volgende geschreven:

> Hello, All:
> 	I'm working on opensaf, wrote a bb file for it,
> and found that the FILES_${PN} has included /usr/lib/${PN}/*.
> but there are some .a and .so(symlink) in /usr/lib/${PN}, which will
> result QA issue.
> 	how to exclude some files (e.g. *.a, *.so) in FILES_${PN}?
> 
> 	there are some elf in /usr/lib/${PN} whose prefix is not 'lib', so if
> no 'exclude' feature, I must redefine FILES_${PN} like this:
> 	FILES_${PN} = "/usr/lib/${PN}/*.so.* \
>                       /usr/lib/${PN}/saf* \
>                       /usr/lib/${PN}/open* \
>                       /usr/lib/${PN}/immload \
>                       /usr/lib/${PN}/nid_tipc \
>                       /usr/lib/${PN}/smf* \
>                       /usr/lib/${PN}/clc-cli/*"


please replace all occurrences of '/usr/lib' with '${libdir}'







More information about the Openembedded-core mailing list