diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-27 12:33:39 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-28 23:31:17 +0000 |
commit | 4e6ee37e09c60e83c0dfd844ba9cf8a07507f099 (patch) | |
tree | e7428a9d12446f7a86fc54bcf76220ba662892e4 /meta/classes | |
parent | d97c844f388bd4c52248fe597d5985ef20d5a96d (diff) | |
download | openembedded-core-contrib-4e6ee37e09c60e83c0dfd844ba9cf8a07507f099.tar.gz |
image/kernelsrc/packagegroups/recipes: Remove uneeded noexec tasks
We used to have issues removing tasks like do_fetch due to implications
for targets like world and universe. These have now been resolved.
Removing uneeded tasks has advantages compared to noexec since it means
that accidentally left in dependencies are no longer needed/processed
(e.g. do_patch depends on quilt-native).
This cleans up a number of cases which local analysis highlighted as
being unneeded leading to slightly cleaner task graphs.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/kernelsrc.bbclass | 6 | ||||
-rw-r--r-- | meta/classes/packagegroup.bbclass | 12 |
3 files changed, 10 insertions, 10 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 76146c92cdc..71b7ebc9585 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -623,7 +623,7 @@ do_compile[noexec] = "1" do_install[noexec] = "1" deltask do_populate_sysroot do_package[noexec] = "1" -do_package_qa[noexec] = "1" +deltask do_package_qa do_packagedata[noexec] = "1" do_package_write_ipk[noexec] = "1" do_package_write_deb[noexec] = "1" diff --git a/meta/classes/kernelsrc.bbclass b/meta/classes/kernelsrc.bbclass index 9efd46a92d0..675d40ec9a9 100644 --- a/meta/classes/kernelsrc.bbclass +++ b/meta/classes/kernelsrc.bbclass @@ -1,7 +1,7 @@ S = "${STAGING_KERNEL_DIR}" -do_fetch[noexec] = "1" -do_unpack[depends] += "virtual/kernel:do_patch" -do_unpack[noexec] = "1" +deltask do_fetch +deltask do_unpack +do_patch[depends] += "virtual/kernel:do_patch" do_patch[noexec] = "1" do_package[depends] += "virtual/kernel:do_populate_sysroot" KERNEL_VERSION = "${@get_kernelversion_file("${STAGING_KERNEL_BUILDDIR}")}" diff --git a/meta/classes/packagegroup.bbclass b/meta/classes/packagegroup.bbclass index ad6c8b0e356..4af4a014b0a 100644 --- a/meta/classes/packagegroup.bbclass +++ b/meta/classes/packagegroup.bbclass @@ -40,12 +40,12 @@ python () { DEPCHAIN_DBGDEFAULTDEPS = "1" # We only need the packaging tasks - disable the rest -do_fetch[noexec] = "1" -do_unpack[noexec] = "1" -do_patch[noexec] = "1" -do_configure[noexec] = "1" -do_compile[noexec] = "1" -do_install[noexec] = "1" +deltask do_fetch +deltask do_unpack +deltask do_patch +deltask do_configure +deltask do_compile +deltask do_install deltask do_populate_sysroot python () { |