summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-16 18:26:44 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-20 15:31:50 +0000
commitc6c0809aa658bb1c68863a720dd119fa959c2afa (patch)
tree0ec4298bcbfa1291582012e86a6e863ace60784b /meta
parentf93f43cbb37c06608ffabcb9a5ce2244d7196e22 (diff)
downloadpoky-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.bbclass2
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 @@
6LICENSE_DIRECTORY ??= "${DEPLOY_DIR}/licenses" 6LICENSE_DIRECTORY ??= "${DEPLOY_DIR}/licenses"
7LICSSTATEDIR = "${WORKDIR}/license-destdir/" 7LICSSTATEDIR = "${WORKDIR}/license-destdir/"
8 8
9addtask populate_lic after do_patch before do_package 9addtask populate_lic after do_patch before do_build
10do_populate_lic[dirs] = "${LICSSTATEDIR}/${PN}" 10do_populate_lic[dirs] = "${LICSSTATEDIR}/${PN}"
11do_populate_lic[cleandirs] = "${LICSSTATEDIR}" 11do_populate_lic[cleandirs] = "${LICSSTATEDIR}"
12 12