From: Richard Purdie Date: Thu, 23 Mar 2017 11:51:08 +0000 (+0000) Subject: staging: Drop do_configure clean prefunc X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6e74b4e031e11b13436391b542c4d8b5bab9daea;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git staging: Drop do_configure clean prefunc With recipe specific sysroots its now pointless to do this, may as well save the cpu cycles. (From OE-Core rev: b70c8e91e6c4240e95e8b22bcc36525a5a0703f9) Signed-off-by: Richard Purdie --- diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index df77408f30c..93d39c33358 100644 --- a/meta/classes/staging.bbclass +++ b/meta/classes/staging.bbclass @@ -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):