package.bbclass: Switch shlibs to pkgdata directory and make package non-machine...
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Oct 2012 23:08:53 +0000 (23:08 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 22 Oct 2012 08:47:47 +0000 (09:47 +0100)
commit9b46c510ce21fdd7f7e0c0dd9159426faa8ca56f
treefbe64deeb65afb84696de9871f1766659c1bf450
parentcceb0a027d274184b8354ae821d55da13dc2d5d1
package.bbclass: Switch shlibs to pkgdata directory and make package non-machine specific

Currently, do_package is machine specific since the shlibs data is installed
into each machine specific sysroot. This change moves the shlibs data to the
pkgdata structure, at the expense of having to iterate over a set of shlibs
directories instead of a single one.

It turns out this isn't any particular hardship for the code and as a result,
do_package stops being machine specific leading to optimisations for builds
that use a common PACKAGE_ARCH.

(From OE-Core rev: cc088489d70fb27d460c3dbe35d6ea382123c134)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cross-canadian.bbclass
meta/classes/native.bbclass
meta/classes/package.bbclass