[OE-core] [PATCH] native: Use deltask to remove tasks which have no purpose

Richard Purdie richard.purdie at linuxfoundation.org
Wed Dec 18 10:46:33 UTC 2013


core-image-sato has 47703 inter task dependencies before this patch
and 29883 afterwards which is a significant worthwhile task graph
simplification.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---

Note: This patch depends on new bitbake functionality so we'll have to
bump the bitbake version requirement before we can do this.

diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index b2d85ef..5a318d2 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -151,11 +151,12 @@ python native_virtclass_handler () {
 addhandler native_virtclass_handler
 native_virtclass_handler[eventmask] = "bb.event.RecipePreFinalise"
 
-do_package[noexec] = "1"
-do_packagedata[noexec] = "1"
-do_package_write_ipk[noexec] = "1"
-do_package_write_deb[noexec] = "1"
-do_package_write_rpm[noexec] = "1"
+deltask package
+deltask packagedata
+deltask package_write_ipk
+deltask package_write_deb
+deltask package_write_rpm
+deltask package_write
 
 do_packagedata[stamp-extra-info] = ""
 do_populate_sysroot[stamp-extra-info] = ""





More information about the Openembedded-core mailing list