diff options
author | Ola x Nilsson <ola.x.nilsson@axis.com> | 2017-08-28 16:58:16 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-14 14:07:53 +0100 |
commit | 1781f9f3c893c76656f0bd5879a0cdb5cbe158fe (patch) | |
tree | aeef70ed5a05b32616a65a3896a74d5093bc9531 /meta/recipes-devtools/unfs3 | |
parent | 878c70a8a341c17fa81fc8314120b7f575d4c99f (diff) | |
download | openembedded-core-1781f9f3c893c76656f0bd5879a0cdb5cbe158fe.tar.gz |
externalsrc.bbclass: Avoid symlink clashes for virtclasses
There was a race condifion in externalsrc_configure_prefuncs when the
same source folder is used for several variants of the same recipe,
like this:
EXTERNALSRC_pn-foo = "..."
EXTERNALSRC_pn-foo-native = "..."
The symlinks were created once for each variant of the recipe, and
where they led in the end depended on which do_configure task executed
last. Create one set of symlinks for each variant by adding an EXTSRC_SUFFIX
variable to the end of the link names.
Tries to handle all known virtclasses and multilib variants.
Use a lockfile for externalsrc_configure_prefuncs to protect the
.git/info/exclude file.
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/unfs3')
0 files changed, 0 insertions, 0 deletions