summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2015-07-09 10:35:26 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-12 22:53:19 +0100
commit30b109729a81097cc6cfa65148e0e9ae1a564d2c (patch)
tree6ffad4318d50b4182d68ed014c8fef36f5a5d130
parent000ff33729854b1a41206a087cde1e50f49017e0 (diff)
downloadopenembedded-core-30b109729a81097cc6cfa65148e0e9ae1a564d2c.tar.gz
openembedded-core-30b109729a81097cc6cfa65148e0e9ae1a564d2c.tar.bz2
openembedded-core-30b109729a81097cc6cfa65148e0e9ae1a564d2c.zip
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@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/archiver.bbclass7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 7b5274df89..d908d162b1 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() {
+ :
+}