sourceipk: fix race condition with compileconfigs/multi-kernel
commit67b511de871b2cfcbb6efd99b8b315282bbc29e9
authorchase maupin <chasemaupin03@gmail.com>
Mon, 31 Jan 2011 22:15:40 +0000 (31 22:15 +0000)
committerDenys Dmytriyenko <denis@denix.org>
Thu, 3 Feb 2011 01:31:14 +0000 (2 20:31 -0500)
treed389e2851d3c600e6aa7488dff55bdef628c78ee
parent5225c735fe8c4d918daea415a404e45d1a3d5270
sourceipk: fix race condition with compileconfigs/multi-kernel

* This patch adds an empty compileconfigs function to the
  sourceipk class.
* This is required because when making a sourceipk of a
  package using the multi-kernel.inc functionality you will
  have a race condition between the compileconfigs of the
  multi-kernel file building the kernel and sourceipk trying
  to copy and patch the sources.  The resulting conditions
  can then occur:
    - You will package some interim build files, yielding
      a sourceipk that is not consistent between builds
    - You will try to copy interim build files as they are
      being deleted which will result in an error and break
      the build.
* The empty compileconfigs function is overwritten by the
  real compileconfigs function when the multi-kernel.inc file
  is used.

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
classes/sourceipk.bbclass