diff options
author | Christopher Larson <chris_larson@mentor.com> | 2013-06-10 13:46:40 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-11 15:57:22 +0100 |
commit | 694a15382fe9f3749ffdc0168a6dc2da8a29ae2d (patch) | |
tree | 3e5515e8109d3b922fabb319922bdc9cdb38c4e0 /meta | |
parent | aa4991c307d4bbdd06c3cbf8448240b74c5e01c4 (diff) | |
download | openembedded-core-694a15382fe9f3749ffdc0168a6dc2da8a29ae2d.tar.gz openembedded-core-694a15382fe9f3749ffdc0168a6dc2da8a29ae2d.tar.bz2 openembedded-core-694a15382fe9f3749ffdc0168a6dc2da8a29ae2d.zip |
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.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/copyleft_compliance.bbclass | 1 |
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 () { } addtask prepare_copyleft_sources after do_fetch before do_build +do_prepare_copyleft_sources[dirs] = "${WORKDIR}" do_build[recrdeptask] += 'do_prepare_copyleft_sources' |