From: Ni Qingliang <niqingliang@insigma.com.cn>
To: Koen Kooi <koen@dominion.thruhere.net>
Cc: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: how to exclude files when packaging?
Date: Thu, 17 Nov 2011 17:30:33 +0800 [thread overview]
Message-ID: <1321522233.1264.46.camel@localhost.localdomain> (raw)
In-Reply-To: <F8EDE28B-DC2B-4C13-BE90-F45DFABC6E86@dominion.thruhere.net>
Oh, my fault.
I defined another var: opensaflibmiscdir
osaflibsvcdir = "${libdir}/${PN}"
FILES_${PN} = "${osaflibsvcdir}/lib*.so.* ${osaflibsvcdir}/clc-cli/* \
${osaflibsvcdir}/immload ${osaflibsvcdir}/nid_tipc \
${osaflibsvcdir}/osaf* ${osaflibsvcdir}/opensaf* \
${osaflibsvcdir}/smf*"
FILES_${PN}-dev = "${osaflibsvcdir}/lib*.so ${osaflibsvcdir}/*.la"
FILES_${PN}-staticdev = "${osaflibsvcdir}/*.a"
On Thu, 2011-11-17 at 17:10 +0800, Koen Kooi wrote:
> 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}'
>
>
>
--
Yi Qingliang
niqingliang@insigma.com.cn
https://niqingliang2003.wordpress.com
prev parent reply other threads:[~2011-11-17 9:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-17 2:29 how to exclude files when packaging? Ni Qingliang
2011-11-17 8:14 ` McClintock Matthew-B29882
2011-11-17 8:56 ` Martin Jansa
2011-11-17 8:57 ` Henning Heinold
2011-11-17 9:12 ` Ni Qingliang
2011-11-17 19:38 ` Mark Hatle
2011-11-17 19:43 ` Chris Larson
2011-11-17 19:51 ` Mark Hatle
2011-11-17 9:10 ` Koen Kooi
2011-11-17 9:30 ` Ni Qingliang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1321522233.1264.46.camel@localhost.localdomain \
--to=niqingliang@insigma.com.cn \
--cc=koen@dominion.thruhere.net \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.