]> code.ossystems Code Review - openembedded-core.git/commitdiff
archiver.bbclass: add do_deploy_all_archives
authorPatrick Ohly <patrick.ohly@intel.com>
Thu, 9 Jul 2015 08:35:26 +0000 (10:35 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 12 Jul 2015 21:53:19 +0000 (22:53 +0100)
When working specifically on source archiving, it is useful
to trigger that for all recipes required by something like an
image recipe, without actually having to build that.

"bitbake -c deploy_all_archives <target>" does that now.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/archiver.bbclass

index 7b5274df89ddb4bc3f63abeabd7f3f0d718ddb47..d908d162b173ef54c8e4de771a992f5b59b10f29 100644 (file)
@@ -374,3 +374,10 @@ addtask do_ar_configured after do_unpack_and_patch
 addtask do_dumpdata
 addtask do_ar_recipe
 addtask do_deploy_archives before do_build
+
+addtask do_deploy_all_archives after do_deploy_archives
+do_deploy_all_archives[recrdeptask] = "do_deploy_archives"
+do_deploy_all_archives[recideptask] = "do_${BB_DEFAULT_TASK}"
+do_deploy_all_archives() {
+        :
+}