generic-poky/meta/recipes-devtools/gcc
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
..
gcc-4.7 gcc-4.7: fix gcc ICE when building with gcc-4.8 2013-05-03 16:19:20 +01:00
gcc-4.8 gcc-4.8: fix ICE of cross-compile for PowerPC e500v2 targets 2013-08-30 18:06:32 +01:00
gcc-4.7.inc gcc-4.7: fix gcc ICE when building with gcc-4.8 2013-05-03 16:19:20 +01:00
gcc-4.8.inc gcc-4.8: fix ICE of cross-compile for PowerPC e500v2 targets 2013-08-30 18:06:32 +01:00
gcc-common.inc bitbake.conf/package: Collapse PKGDATA_DIR into a single machine specific directory 2013-09-14 08:21:00 +01:00
gcc-configure-common.inc gcc: enable multilib for target gcc 2013-02-01 15:54:31 +00:00
gcc-cross-canadian.inc gcc-cross-canadian: Fold configure-sdk and package-sdk into the main .inc 2013-08-23 16:20:13 +01:00
gcc-cross-canadian_4.7.bb gcc-cross-canadian: Merge 4.7 and 4.8 recipes into common include 2013-08-23 16:20:12 +01:00
gcc-cross-canadian_4.8.bb gcc-cross-canadian: Merge 4.7 and 4.8 recipes into common include 2013-08-23 16:20:12 +01:00
gcc-cross-initial.inc gcc-cross-initial: Fold common configuration into gcc-cross-initial.inc 2013-08-23 16:20:12 +01:00
gcc-cross-initial_4.7.bb gcc-4.7: Use full relative path in require directive 2012-04-30 11:37:26 +01:00
gcc-cross-initial_4.8.bb gcc-4.8: Add recipes 2013-04-22 14:45:04 +01:00
gcc-cross.inc gcc-common.inc: Drop unused LIBGCCS_VAR variable 2013-08-23 16:20:13 +01:00
gcc-cross_4.7.bb gcc-cross: Fold common configuration into gcc-cross.inc 2013-08-23 16:20:12 +01:00
gcc-cross_4.8.bb gcc-cross: Fold common configuration into gcc-cross.inc 2013-08-23 16:20:12 +01:00
gcc-crosssdk-initial.inc gcc-crosssdk-initial: Ensure native dependencies are built, these can differ accross different gcc versions causing build failures 2010-09-06 22:55:49 +01:00
gcc-crosssdk-initial_4.7.bb gcc-cross-initial: Fold common configuration into gcc-cross-initial.inc 2013-08-23 16:20:12 +01:00
gcc-crosssdk-initial_4.8.bb gcc-cross-initial: Fold common configuration into gcc-cross-initial.inc 2013-08-23 16:20:12 +01:00
gcc-crosssdk.inc nativesdk: Switch to using nativesdk as a prefix, not a suffix 2012-09-02 05:52:06 -07:00
gcc-crosssdk_4.7.bb gcc-4.7: Use full relative path in require directive 2012-04-30 11:37:26 +01:00
gcc-crosssdk_4.8.bb gcc-4.8: Add recipes 2013-04-22 14:45:04 +01:00
gcc-multilib-config.inc meta: Don't use deprecated bitbake API 2013-09-01 15:51:42 +01:00
gcc-runtime.inc gcc-runtime: Add packaging for libgfortran (and also tweak others) 2013-09-06 23:03:56 +01:00
gcc-runtime_4.7.bb gcc-*-runtime.inc: Fold configuration into gcc-runtime.inc 2013-08-23 16:20:13 +01:00
gcc-runtime_4.8.bb gcc-*-runtime.inc: Fold configuration into gcc-runtime.inc 2013-08-23 16:20:13 +01:00
gcc-target.inc gcc-runtime: Add packaging for libgfortran (and also tweak others) 2013-09-06 23:03:56 +01:00
gcc_4.7.bb gcc-target: Combine gcc-target-configure.inc, gcc-target-package.inc and other common code 2013-08-23 16:20:13 +01:00
gcc_4.8.bb gcc-target: Combine gcc-target-configure.inc, gcc-target-package.inc and other common code 2013-08-23 16:20:13 +01:00
libgcc.inc libgcc: Move common code to libgcc.inc 2013-08-23 16:20:13 +01:00
libgcc_4.7.bb libgcc: Move common code to libgcc.inc 2013-08-23 16:20:13 +01:00
libgcc_4.8.bb libgcc: Move common code to libgcc.inc 2013-08-23 16:20:13 +01:00