summaryrefslogtreecommitdiffstats
path: root/meta/classes/externalsrc.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-06-16 14:49:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-18 09:14:06 +0100
commit0899d9af1da320a857c4dd65db279b0173ad803a (patch)
tree3358935bcdd3fefb97c27cbef15c734de0620919 /meta/classes/externalsrc.bbclass
parent32ed5f5769499f1ff64043adee498bf4b4fd60bd (diff)
downloadpoky-0899d9af1da320a857c4dd65db279b0173ad803a.tar.gz
classes/externalsrc: handle tasks with existing lockfiles
We need to ensure we add a leading space to the value we are prepending here in case lockfiles already has a value. Fixes [YOCTO #7813]. (From OE-Core rev: d1b3b384754089e62f6a4c7964690ae6c8d20a96) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/externalsrc.bbclass')
-rw-r--r--meta/classes/externalsrc.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index 75bdb7a14d..8f7f479293 100644
--- a/meta/classes/externalsrc.bbclass
+++ b/meta/classes/externalsrc.bbclass
@@ -55,7 +55,7 @@ python () {
55 bb.build.deltask(task, d) 55 bb.build.deltask(task, d)
56 else: 56 else:
57 # Since configure will likely touch ${S}, ensure only we lock so one task has access at a time 57 # Since configure will likely touch ${S}, ensure only we lock so one task has access at a time
58 d.appendVarFlag(task, "lockfiles", "${S}/singletask.lock") 58 d.appendVarFlag(task, "lockfiles", " ${S}/singletask.lock")
59 59
60 # We do not want our source to be wiped out, ever (kernel.bbclass does this for do_clean) 60 # We do not want our source to be wiped out, ever (kernel.bbclass does this for do_clean)
61 cleandirs = d.getVarFlag(task, 'cleandirs', False) 61 cleandirs = d.getVarFlag(task, 'cleandirs', False)