diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-16 18:26:44 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-20 15:31:50 +0000 |
commit | c6c0809aa658bb1c68863a720dd119fa959c2afa (patch) | |
tree | 0ec4298bcbfa1291582012e86a6e863ace60784b /meta | |
parent | f93f43cbb37c06608ffabcb9a5ce2244d7196e22 (diff) | |
download | poky-c6c0809aa658bb1c68863a720dd119fa959c2afa.tar.gz |
license: We need to run this task before do_build, there is no dependency on do_package
This change means we have more flexibility about when to schedule the license
task and if it changes, we don't repackage everything (which is pointless).
(From OE-Core rev: ee1293446936c5444ece42b60e3ab94189b2fbc3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/license.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index a66933f733..7e1c23fffc 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass | |||
@@ -6,7 +6,7 @@ | |||
6 | LICENSE_DIRECTORY ??= "${DEPLOY_DIR}/licenses" | 6 | LICENSE_DIRECTORY ??= "${DEPLOY_DIR}/licenses" |
7 | LICSSTATEDIR = "${WORKDIR}/license-destdir/" | 7 | LICSSTATEDIR = "${WORKDIR}/license-destdir/" |
8 | 8 | ||
9 | addtask populate_lic after do_patch before do_package | 9 | addtask populate_lic after do_patch before do_build |
10 | do_populate_lic[dirs] = "${LICSSTATEDIR}/${PN}" | 10 | do_populate_lic[dirs] = "${LICSSTATEDIR}/${PN}" |
11 | do_populate_lic[cleandirs] = "${LICSSTATEDIR}" | 11 | do_populate_lic[cleandirs] = "${LICSSTATEDIR}" |
12 | 12 | ||