Skip to contentSkip to conversation

native: Use deltask to remove tasks which have no purpose

PATCH New Richard Purdie 1 participant 1 message Dec 18, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 native: Use deltask to remove tasks which have no purpose

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

---

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

meta/classes/native.bbclass +6 -5
index b2d85ef..5a318d2 100644
@@ -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] = ""