diff options
author | Paul Barker <pbarker@konsulko.com> | 2020-03-09 14:21:36 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-28 18:15:28 +0100 |
commit | 95f51b7c07b03c08b7a7ccea69543e2b9d95d941 (patch) | |
tree | 76d165c1c6de2d64adec6fb42b1ff1753bc947dc /meta/classes | |
parent | 8f45dc87d072f85f2e471a82319a458486a343d8 (diff) | |
download | poky-95f51b7c07b03c08b7a7ccea69543e2b9d95d941.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: 66a2e4bcafb3f8835bb21d73a9e78e7d9d15bbd3)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
(cherry picked from commit e1feb6030cd8e77c553ec10a366cbeb7e902bada)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/archiver.bbclass | 4 |
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 | |||
583 | addtask do_ar_mirror after do_fetch | 583 | addtask do_ar_mirror after do_fetch |
584 | addtask do_dumpdata | 584 | addtask do_dumpdata |
585 | addtask do_ar_recipe | 585 | addtask do_ar_recipe |
586 | addtask do_deploy_archives before do_build | 586 | addtask do_deploy_archives |
587 | do_build[recrdeptask] += "do_deploy_archives" | ||
588 | do_populate_sdk[recrdeptask] += "do_deploy_archives" | ||
587 | 589 | ||
588 | python () { | 590 | python () { |
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. |