From: Kai Kang Date: Fri, 24 Aug 2018 06:29:24 +0000 (+0800) Subject: sstate.bbclass: make SSTATE_PRUNE_OBSOLETEWORKDIR could be overwritten X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~16875 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22af59c9bfec31b31027ebd2a4da162f481aa6b5;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git sstate.bbclass: make SSTATE_PRUNE_OBSOLETEWORKDIR could be overwritten Define variable SSTATE_PRUNE_OBSOLETEWORKDIR with '?=' in sstate.bbclass, then it could be overwritten by user configuration. Signed-off-by: Kai Kang Signed-off-by: Richard Purdie --- diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 084d6315239..ecf08fb2d02 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -1040,7 +1040,7 @@ python sstate_eventhandler() { bb.siggen.dump_this_task(sstatepkg + '_' + taskname + ".tgz" ".siginfo", d) } -SSTATE_PRUNE_OBSOLETEWORKDIR = "1" +SSTATE_PRUNE_OBSOLETEWORKDIR ?= "1" # Event handler which removes manifests and stamps file for # recipes which are no longer reachable in a build where they