summaryrefslogtreecommitdiffstats
path: root/meta/classes/externalsrc.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-02-11 01:13:26 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-11 12:33:02 (GMT)
commit20034c3f7affe335bf9d75abf97cbf8e5c288c65 (patch)
tree985aeaaf59b8db82bf8f5db09d104b2797f2ca89 /meta/classes/externalsrc.bbclass
parentc38f25377b6fd171c26fa667c1d7ac8bd314cb34 (diff)
downloadpoky-20034c3f7affe335bf9d75abf97cbf8e5c288c65.tar.gz
classes/externalsrc: disable rm_work when active
If you're using externalsrc, it's very likely that you're going to want to examine the intermediate build results even if the recipe builds successfully; therefore you won't want rm_work to delete those. (From OE-Core rev: c0867a425166086624bcffa231a1497291f860cb) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/externalsrc.bbclass')
-rw-r--r--meta/classes/externalsrc.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass
index 607861f..9d7ab00 100644
--- a/meta/classes/externalsrc.bbclass
+++ b/meta/classes/externalsrc.bbclass
@@ -86,6 +86,9 @@ python () {
86 # Ensure compilation happens every time 86 # Ensure compilation happens every time
87 d.setVarFlag('do_compile', 'nostamp', '1') 87 d.setVarFlag('do_compile', 'nostamp', '1')
88 88
89 # We don't want the workdir to go away
90 d.appendVar('RM_WORK_EXCLUDE', ' ' + d.getVar('PN', True))
91
89 # If B=S the same builddir is used even for different architectures. 92 # If B=S the same builddir is used even for different architectures.
90 # Thus, use a shared CONFIGURESTAMPFILE so that change of do_configure 93 # Thus, use a shared CONFIGURESTAMPFILE so that change of do_configure
91 # task hash is correctly detected if e.g. MACHINE changes. In addition, 94 # task hash is correctly detected if e.g. MACHINE changes. In addition,