[oe-commits] Patrick Ohly : archiver.bbclass: add do_deploy_all_archives

git at git.openembedded.org git at git.openembedded.org
Sun Jul 12 21:51:07 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 48e58e0c2e0b18733e4843db5fb4499a16e1ec9c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=48e58e0c2e0b18733e4843db5fb4499a16e1ec9c

Author: Patrick Ohly <patrick.ohly at intel.com>
Date:   Thu Jul  9 10:35:26 2015 +0200

archiver.bbclass: add do_deploy_all_archives

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 at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/archiver.bbclass | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 7b5274d..d908d16 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -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() {
+        :
+}



More information about the Openembedded-commits mailing list