diff options
author | Kai Kang <kai.kang@windriver.com> | 2018-08-24 14:29:24 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-28 10:30:28 +0100 |
commit | cd28f5fbf72cac252a64dcee5e2c6bececc45dd8 (patch) | |
tree | 52469bfde85bb576e720956065e0c15da4b349d4 | |
parent | 0ff014926f05f691f7e984b5b4d4d905dab793e2 (diff) | |
download | poky-cd28f5fbf72cac252a64dcee5e2c6bececc45dd8.tar.gz |
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.
(From OE-Core rev: 22af59c9bfec31b31027ebd2a4da162f481aa6b5)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/sstate.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 084d631523..ecf08fb2d0 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -1040,7 +1040,7 @@ python sstate_eventhandler() { | |||
1040 | bb.siggen.dump_this_task(sstatepkg + '_' + taskname + ".tgz" ".siginfo", d) | 1040 | bb.siggen.dump_this_task(sstatepkg + '_' + taskname + ".tgz" ".siginfo", d) |
1041 | } | 1041 | } |
1042 | 1042 | ||
1043 | SSTATE_PRUNE_OBSOLETEWORKDIR = "1" | 1043 | SSTATE_PRUNE_OBSOLETEWORKDIR ?= "1" |
1044 | 1044 | ||
1045 | # Event handler which removes manifests and stamps file for | 1045 | # Event handler which removes manifests and stamps file for |
1046 | # recipes which are no longer reachable in a build where they | 1046 | # recipes which are no longer reachable in a build where they |