summaryrefslogtreecommitdiffstats
path: root/meta/classes/copyleft_compliance.bbclass
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2013-06-10 13:46:40 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-11 16:16:02 +0100
commit126844d0e11e77110c715b917e34bf22437be8fc (patch)
tree498b5983b0200e8a66a4ada18688ab6c57c8686d /meta/classes/copyleft_compliance.bbclass
parent00c8834293b84a9fa1616de7aace639fc93a81e0 (diff)
downloadpoky-126844d0e11e77110c715b917e34bf22437be8fc.tar.gz
copyleft_compliance: set 'dirs' flag on task
Without this, due to bitbake defaulting to ${B}, it's possible to get ${S} inadvertantly created before do_unpack, breaking the unpack of git sources, which expect the destination to not exist. (From OE-Core rev: 694a15382fe9f3749ffdc0168a6dc2da8a29ae2d) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/copyleft_compliance.bbclass')
-rw-r--r--meta/classes/copyleft_compliance.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/copyleft_compliance.bbclass b/meta/classes/copyleft_compliance.bbclass
index adb48bed3b..6b30b876f8 100644
--- a/meta/classes/copyleft_compliance.bbclass
+++ b/meta/classes/copyleft_compliance.bbclass
@@ -63,4 +63,5 @@ python do_prepare_copyleft_sources () {
63} 63}
64 64
65addtask prepare_copyleft_sources after do_fetch before do_build 65addtask prepare_copyleft_sources after do_fetch before do_build
66do_prepare_copyleft_sources[dirs] = "${WORKDIR}"
66do_build[recrdeptask] += 'do_prepare_copyleft_sources' 67do_build[recrdeptask] += 'do_prepare_copyleft_sources'