[OE-core] [PATCH V2 00/25] Static Library Updated

Richard Purdie richard.purdie at linuxfoundation.org
Wed Jul 13 10:07:56 UTC 2011


Hi Saul,

I know we touched on this when we've talked but I'm not sure you saw
what I was getting and and its probably better to ask this question on
the list anyhow.

Fundamentally, is it useful to have a ton of xxx-staticdev packages?

In a few key cases split -dev packages are useful (qt, eds, gcc spring
to mind). In general however they probably aren't and often no thought
has been given into splitting them out. One good indicator is whether
the headers are split up. If not, then there are likely issues.

If split -dev packages aren't useful, its likely that split staticdev
packages are also less useful. I'm really wondering if there ever is a
use case where you'd need the individual staticdev packages or you'd
have the disk space to manage installing the full thing?

Taking wireless-tools as an example, its going to a lot of effort to
change the default PACKAGES and create a libiw-dev package. It drops the
wireless-tools-dev package in the original, your patch changes this so
we have both a wireless-tools-dev and a libiw-dev package.

Perhaps instead we should just add:

PKG_${PN}-dev = "libiw-dev"
PKG_${PN}-staticdev = "libiw-staticdev"

? 

Do we even care about that renaming?

Likewise, does it need two separate docs packages? or separate -dbg
packages?

We really need to work out the approach to these fundamental questions
before we can then look at the series...

I think I'm in favour of minimising the number of split
-dev/-dbg/-staticdev/-doc packages out there and hence I therefore am
uncomfortable with the direction the series is taking.

Cheers,

Richard






More information about the Openembedded-core mailing list