generic-poky/meta
Alejandro Hernandez 92b26ad938 archiver.bbclass: Fixes and improves archiver class for kernel and gcc packages
gcc packages use a shared source directory, this causes an issue since the archiver will
try to patch the same source several times (one for each gcc package), producing an error,
the archiver class used stamp-base to check this, nonetheless our gcc packages no longer
use stamp-base, they use gcc-shared instead, which is what broke this functionality.
This patch adds a check to see whether or not the source should be patched,
avoiding patching the source when it shouldn't.

Also, we dont need to create multiple identical tarballs for all gcc packages,
this patch fixes this and creates a single source tarball for gcc.

When requesting patched sources, a race condition is created for linux-yocto tasks,
unpack_and_patch is executed along with kernel_configme, which most of the time
causes errors during configure, since kernel_configme task is specific to the kernel,
simply modifying the tasks order by creating a dependency to kernel_configme was impossible,
causing errors on all other packages that didnt use kernel_configme, this is fixed by
creating a special case for the kernel, adding tasks with correct dependencies,
avoiding the race condition and behaving the way it should for all other packages as well.

[YOCTO #8378]

(From OE-Core rev: aecaa0e8739db1c228a6db78225a717d9f348a5b)

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-10-21 22:59:27 +01:00
..
classes archiver.bbclass: Fixes and improves archiver class for kernel and gcc packages 2015-10-21 22:59:27 +01:00
conf machine/qemu: Fix OpenGL/GLX support with xserver-xorg. 2015-10-12 14:36:27 +01:00
files toolchain-shar-extract.sh: print full-length title underline 2015-10-20 10:12:01 +01:00
lib oeqa/selftest: improve config writing and cleanup 2015-10-21 22:56:07 +01:00
recipes-bsp hostap-utils: Use C99 stddefs in defining local typedefs 2015-10-01 07:43:34 +01:00
recipes-connectivity openssh: fix file permission for /etc/pam.d/sshd 2015-10-21 22:56:04 +01:00
recipes-core coreutils: fix for native and nativesdk 2015-10-19 17:57:58 +01:00
recipes-devtools qemu: disable Valgrind 2015-10-21 22:56:05 +01:00
recipes-extended sudo: fix file permission for /etc/pam.d/sudo 2015-10-21 22:56:04 +01:00
recipes-gnome webkitgtk, gcr, libsecret: force ARM mode 2015-10-12 14:36:30 +01:00
recipes-graphics meta: fix build with gettext 0.16.1 2015-10-01 07:43:34 +01:00
recipes-kernel linux-yocto/4.1: drm/i915 backports 2015-10-07 00:11:20 +01:00
recipes-lsb4 libpng12: Upgrade 1.2.52 -> 1.2.53 2015-05-24 07:19:20 +01:00
recipes-multimedia gstreamer-omx: Improve variable expansion of ${S} 2015-10-01 07:43:36 +01:00
recipes-qt qt4: Fix kmap2qmap build with clang 2015-09-23 09:53:00 +01:00
recipes-rt rt-tests: drop unnecessary added-missing-dependencies.patch 2015-09-01 11:44:04 +01:00
recipes-sato webkitgtk, gcr, libsecret: force ARM mode 2015-10-12 14:36:30 +01:00
recipes-support icu: fix install race 2015-10-12 14:36:31 +01:00
site siteinfo: Add nios2-linux 2015-09-23 09:53:07 +01:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt meta/recipes.txt: add recipes-lsb4 2013-04-10 09:23:17 +01:00