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-19 15:18:44 +0000 |
commit | ee1293446936c5444ece42b60e3ab94189b2fbc3 (patch) | |
tree | 7a74994d6d45e0c3cd6fba80088c0c88356af00c /meta/classes | |
parent | 05075cf3138d1c61f5cf4fe0e1a4587acc00c692 (diff) | |
download | openembedded-core-ee1293446936c5444ece42b60e3ab94189b2fbc3.tar.gz openembedded-core-ee1293446936c5444ece42b60e3ab94189b2fbc3.tar.bz2 openembedded-core-ee1293446936c5444ece42b60e3ab94189b2fbc3.zip |
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).
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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 @@ 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}" |