summaryrefslogtreecommitdiffstats
path: root/meta/classes/archiver.bbclass
diff options
context:
space:
mode:
authorPaul Barker <pbarker@konsulko.com>2020-03-09 14:21:36 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-18 06:33:36 +0100
commitaf728be16fa14c63c9bcf4f4ae71ff02c0e54bef (patch)
tree5f37fffc060231898bad95316c98a65fdb95be5c /meta/classes/archiver.bbclass
parent4f56b96fd85584f5cb8b7ebbe677e76d64b72f72 (diff)
downloadpoky-af728be16fa14c63c9bcf4f4ae71ff02c0e54bef.tar.gz
archiver.bbclass: Make do_deploy_archives a recursive dependency
To ensure that archives are captured for all dependencies of a typical bitbake build we add do_deploy_archives to the list of recursive dependencies of do_build. Without this, archives may be missed for recipes such as gcc-source which do not create packages or populate a sysroot. do_deploy_archives is also added to the recursive dependencies of do_populate_sdk so that all sources required for an SDK can be captured. (From OE-Core rev: cd3f766ae1875dfa1f63b68e2ae5b6a950ce67ae) Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/archiver.bbclass')
-rw-r--r--meta/classes/archiver.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 48b4913a9f..43333a7551 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -583,7 +583,9 @@ addtask do_ar_configured after do_unpack_and_patch
583addtask do_ar_mirror after do_fetch 583addtask do_ar_mirror after do_fetch
584addtask do_dumpdata 584addtask do_dumpdata
585addtask do_ar_recipe 585addtask do_ar_recipe
586addtask do_deploy_archives before do_build 586addtask do_deploy_archives
587do_build[recrdeptask] += "do_deploy_archives"
588do_populate_sdk[recrdeptask] += "do_deploy_archives"
587 589
588python () { 590python () {
589 # Add tasks in the correct order, specifically for linux-yocto to avoid race condition. 591 # Add tasks in the correct order, specifically for linux-yocto to avoid race condition.