native: Use deltask to remove tasks which have no purpose
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.
Signed-off-by Richard Purdie <[email protected]>
---
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
@@ -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] = ""