]> code.ossystems Code Review - openembedded-core.git/commitdiff
staging: Drop do_configure clean prefunc
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Mar 2017 11:51:08 +0000 (11:51 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Mar 2017 22:28:56 +0000 (22:28 +0000)
With recipe specific sysroots its now pointless to do this, may as well
save the cpu cycles.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/staging.bbclass

index df77408f30ce64bf4a47e18c6122053c63539fcf..93d39c33358b4aa7e00ebd4c184a35cc3169bd02 100644 (file)
@@ -173,14 +173,6 @@ addtask populate_sysroot after do_install
 SYSROOT_PREPROCESS_FUNCS ?= ""
 SYSROOT_DESTDIR = "${WORKDIR}/sysroot-destdir"
 
-# We clean out any existing sstate from the sysroot if we rerun configure
-python sysroot_cleansstate () {
-    ss = sstate_state_fromvars(d, "populate_sysroot")
-    sstate_clean(ss, d)
-}
-do_configure[prefuncs] += "sysroot_cleansstate"
-
-
 BB_SETSCENE_VERIFY_FUNCTION2 = "sysroot_checkhashes2"
 
 def sysroot_checkhashes2(covered, tasknames, fns, d, invalidtasks):