diff options
| -rw-r--r-- | meta/classes/externalsrc.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass index 607861f023..9d7ab00e9e 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, |
