license: We need to run this task before do_build, there is no dependency on do_package
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Nov 2012 18:26:44 +0000 (18:26 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 20 Nov 2012 15:31:50 +0000 (15:31 +0000)
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>
meta/classes/license.bbclass

index a66933f..7e1c23f 100644 (file)
@@ -6,7 +6,7 @@
 LICENSE_DIRECTORY ??= "${DEPLOY_DIR}/licenses"
 LICSSTATEDIR = "${WORKDIR}/license-destdir/"
 
-addtask populate_lic after do_patch before do_package
+addtask populate_lic after do_patch before do_build
 do_populate_lic[dirs] = "${LICSSTATEDIR}/${PN}"
 do_populate_lic[cleandirs] = "${LICSSTATEDIR}"