generic-poky/meta
Richard Purdie 8ebe7be3d9 bitbake.conf/package: Collapse PKGDATA_DIR into a single machine specific directory
Currently we have a hierarchy of pkgdata directories and the code has to put together
a search path and look through each in turn until it finds the data it needs.

This has lead to a number of hardcoded paths and file globing which
is unpredictable and undesirable. Worse, certain tricks that should be
easy like a GL specific package architecture become problematic with the
curretn search paths.

With the modern sstate code, we can do better and construct a single pkgdata
directory for each machine in just the same way as we do for the sysroot. This
is already tried and well tested. With such a single directory, all the code that
iterated through multiple pkgdata directories and simply be removed and give
a significant simplification of the code. Even existing build directories adapt
to the change well since the package contents doesn't change, just the location
they're installed to and the stamp for them.

The only complication is the we need a different shlibs directory for each
multilib. These are only used by package.bbclass and the simple fix is to
add MLPREFIX to the shlib directory name. This means the multilib packages will
repackage and the sstate checksum will change but an existing build directory
will adapt to the changes safely.

It is close to release however I believe the benefits this patch give us
are worth consideration for inclusion and give us more options for dealing
with problems like the GL one. It also sets the ground work well for
shlibs improvements in 1.6.

(From OE-Core rev: 1b8e4abd2d9c0901d38d89d0f944fe1ffd019379)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-14 08:21:00 +01:00
..
classes bitbake.conf/package: Collapse PKGDATA_DIR into a single machine specific directory 2013-09-14 08:21:00 +01:00
conf bitbake.conf/package: Collapse PKGDATA_DIR into a single machine specific directory 2013-09-14 08:21:00 +01:00
files device_table-minimal.txt: use user/group names instead of uid/gid 2013-08-16 11:14:34 +01:00
lib bitbake.conf/package: Collapse PKGDATA_DIR into a single machine specific directory 2013-09-14 08:21:00 +01:00
recipes-bsp u-boot, u-boot-fw-utils-cross, u-boot-mkimage: Upgrade to 2013.07 2013-09-10 16:02:23 +01:00
recipes-connectivity bluez4/5: Add EXCLUDE_FROM_WORLD = 1 2013-09-11 23:31:00 +01:00
recipes-core uclibc: Add missing DEPENDS on kern-tools-native 2013-09-11 11:05:05 +01:00
recipes-devtools bitbake.conf/package: Collapse PKGDATA_DIR into a single machine specific directory 2013-09-14 08:21:00 +01:00
recipes-extended libnewt-python: Don't write a whiptail package 2013-09-12 08:23:42 +01:00
recipes-gnome gtk+3: pull forward the gtk+2 hardcoded libtool patch 2013-08-30 16:23:47 +01:00
recipes-graphics weston: as weston-launch depends on PAM, control it with a PACKAGECONFIG 2013-09-11 23:35:45 +01:00
recipes-kernel perf: source should be ready after do_unpack 2013-09-14 08:21:00 +01:00
recipes-lsb4 libpng12: rename libpng_1.2.50 to libpng12 2013-04-09 13:16:53 +01:00
recipes-multimedia gstreamer-plugins: Change anonymous python structure 2013-09-10 22:58:33 +01:00
recipes-qt meta-toolchain-qt: include the proper cross-canadian package 2013-09-10 22:58:33 +01:00
recipes-rt rt-tests: add Upstream-Status for cyclictest patch 2013-07-29 13:09:03 +01:00
recipes-sato midori: excluded from mips64 temporarily 2013-09-11 11:05:05 +01:00
recipes-support icu-native: do_install: Segmentation fault 2013-09-14 08:21:00 +01:00
site apr_cv_mutex_recursive=yes added to apr_1.4.6.bb to make rosnodes work 2013-07-05 15:34:22 +01:00
COPYING.MIT
recipes.txt meta/recipes.txt: add recipes-lsb4 2013-04-10 09:23:17 +01:00