summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-27 12:33:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-28 23:32:16 +0000
commit60662a2117373648a0a41b3556e180f7a7350a47 (patch)
tree3464da324e8cd57835ac2d7c644caef5d40a1ef7 /meta/classes
parent48f79758ea1a4a2abac38566e411e8d0a6f66ac5 (diff)
downloadpoky-60662a2117373648a0a41b3556e180f7a7350a47.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. (From OE-Core rev: 4e6ee37e09c60e83c0dfd844ba9cf8a07507f099) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/image.bbclass2
-rw-r--r--meta/classes/kernelsrc.bbclass6
-rw-r--r--meta/classes/packagegroup.bbclass12
3 files changed, 10 insertions, 10 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 76146c92cd..71b7ebc958 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -623,7 +623,7 @@ do_compile[noexec] = "1"
623do_install[noexec] = "1" 623do_install[noexec] = "1"
624deltask do_populate_sysroot 624deltask do_populate_sysroot
625do_package[noexec] = "1" 625do_package[noexec] = "1"
626do_package_qa[noexec] = "1" 626deltask do_package_qa
627do_packagedata[noexec] = "1" 627do_packagedata[noexec] = "1"
628do_package_write_ipk[noexec] = "1" 628do_package_write_ipk[noexec] = "1"
629do_package_write_deb[noexec] = "1" 629do_package_write_deb[noexec] = "1"
diff --git a/meta/classes/kernelsrc.bbclass b/meta/classes/kernelsrc.bbclass
index 9efd46a92d..675d40ec9a 100644
--- a/meta/classes/kernelsrc.bbclass
+++ b/meta/classes/kernelsrc.bbclass
@@ -1,7 +1,7 @@
1S = "${STAGING_KERNEL_DIR}" 1S = "${STAGING_KERNEL_DIR}"
2do_fetch[noexec] = "1" 2deltask do_fetch
3do_unpack[depends] += "virtual/kernel:do_patch" 3deltask do_unpack
4do_unpack[noexec] = "1" 4do_patch[depends] += "virtual/kernel:do_patch"
5do_patch[noexec] = "1" 5do_patch[noexec] = "1"
6do_package[depends] += "virtual/kernel:do_populate_sysroot" 6do_package[depends] += "virtual/kernel:do_populate_sysroot"
7KERNEL_VERSION = "${@get_kernelversion_file("${STAGING_KERNEL_BUILDDIR}")}" 7KERNEL_VERSION = "${@get_kernelversion_file("${STAGING_KERNEL_BUILDDIR}")}"
diff --git a/meta/classes/packagegroup.bbclass b/meta/classes/packagegroup.bbclass
index ad6c8b0e35..4af4a014b0 100644
--- a/meta/classes/packagegroup.bbclass
+++ b/meta/classes/packagegroup.bbclass
@@ -40,12 +40,12 @@ python () {
40DEPCHAIN_DBGDEFAULTDEPS = "1" 40DEPCHAIN_DBGDEFAULTDEPS = "1"
41 41
42# We only need the packaging tasks - disable the rest 42# We only need the packaging tasks - disable the rest
43do_fetch[noexec] = "1" 43deltask do_fetch
44do_unpack[noexec] = "1" 44deltask do_unpack
45do_patch[noexec] = "1" 45deltask do_patch
46do_configure[noexec] = "1" 46deltask do_configure
47do_compile[noexec] = "1" 47deltask do_compile
48do_install[noexec] = "1" 48deltask do_install
49deltask do_populate_sysroot 49deltask do_populate_sysroot
50 50
51python () { 51python () {