From: Saul Wold <sgw@linux.intel.com>
To: Phil Blundell <pb@pbcl.net>
Cc: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [CONSOLIDATED PULL 4/4] multiple recipes converted to -staticdev packages
Date: Fri, 10 Jun 2011 15:46:35 -0700 [thread overview]
Message-ID: <4DF29ECB.60608@linux.intel.com> (raw)
In-Reply-To: <1307741760.3307.9.camel@lenovo.internal.reciva.com>
On 06/10/2011 02:36 PM, Phil Blundell wrote:
> On Fri, 2011-06-10 at 11:36 -0700, Saul Wold wrote:
>>>> +FILES_eglibc-dev_append += "${bindir}/rpcgen ${base_libdir}/*.o ${datadir}/aclocal"
>>>> +FILES_eglibc-staticdev_append += "${libdir}/*.a ${base_libdir}/*.a"
>>>
>>> You need to make sure that libc_nonshared.a goes into -dev rather than
>>> -staticdev somehow. I didn't immediately spot any mechanism which would
>>> do this, though I haven't tested the package to find out what happens.
>>>
>>>> +FILES_uclibc-staticdev_append = "\
>>>> + ${libdir}/*_nonshared.a \
>>>> + ${libdir}/lib*.a \
>>>
>>> In similar vein, this doesn't look right.
>>>
>> I think I should be able to remove nonshared from a list.
>
> I'm not entirely sure I understand what you said there. Just to be
> totally clear, for eglibc and glibc at least (and I imagine uclibc too),
> libc_nonshared.a needs to go into the -dev package and not -staticdev.
> So I don't think it should ever be appearing in a FILES...staticdev
> list.
>
I understand that, Khem also mentioned it. It a matter of doing some
python RE stuff to drop them from the -staticdev list.
>>> This one is a bit odd: it seems to just be dropping the .a files
>>> altogether without introducing a -staticdev package for them.
>>>
>> I thought that maybe the default rule provided in bitbake.conf should
>> accomplish this since it is FILES_${PN}-staticdev = "${libdir}/*.a
>> ${base_libdir}/*.a"
>
> Ah yes, right.
>
>>>> +#FILES_${PN}-dev = " ${includedir}/a52dec/*.h ${libdir}/liba52.so ${libdir}/liba52.la "
>>>> +#FILES_${PN}-staticdev = " ${libdir}/liba52.a "
>>>
>>> This is a bit weird. What's going on here?
>>>
>> As above, trying to ensure that the default bitbake.conf rules would work.
>
> Okay, fair enough. But in that case please don't leave the old bits
> commented out.
>
Right, that was a goof on my part.
>>> All in all I think this patch needs a bit more work. It was quite a big
>>> diff so I only skimmed it rather than reviewing it thoroughly but I
>>> don't think it is quite ready to go in yet. Also, can't a lot of this
>>> be done in bitbake.conf without quite so much recipe patching?
>>>
>> Most of it is done there, I was looking at adding a staticdev.bbclass
>> that would handle the lib${PN} case generically, as a second phase of this.
>
> Can the RDEPENDS_${PN}-staticdev not go in bitbake.conf? That would
> avoid all these cut and paste errors that seem to be plaguing that
> particular area.
>
Arealy in bitbake.conf, it's the RDEPENDS_lib${PN}-staticdev (note the
'lib' prefix), this is special for a hand full, if I can set up the
inherit than it done that way.
> p.
>
>
>
next prev parent reply other threads:[~2011-06-10 22:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-10 6:26 [CONSOLIDATED PULL 0/4] 10-June Saul Wold
2011-06-10 6:26 ` [CONSOLIDATED PULL 1/4] ghostscript: update SRC_URI Saul Wold
2011-06-10 6:26 ` [CONSOLIDATED PULL 2/4] busybox: backport distro-features handling from oe master Saul Wold
2011-06-10 6:26 ` [CONSOLIDATED PULL 3/4] gcc: rebase the patch to avoid patch rejection Saul Wold
2011-06-10 6:26 ` [CONSOLIDATED PULL 4/4] multiple recipes converted to -staticdev packages Saul Wold
2011-06-10 9:25 ` Phil Blundell
2011-06-10 9:43 ` Phil Blundell
2011-06-10 18:36 ` Saul Wold
2011-06-10 21:36 ` Phil Blundell
2011-06-10 22:46 ` Saul Wold [this message]
2011-06-10 22:04 ` Khem Raj
2011-06-10 16:33 ` [CONSOLIDATED PULL 0/4] 10-June Richard Purdie
2011-06-10 16:54 ` Saul Wold
2011-06-10 16:59 ` Koen Kooi
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=4DF29ECB.60608@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=pb@pbcl.net \
/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.