diff options
-rw-r--r-- | meta/classes/externalsrc.bbclass | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/meta/classes/externalsrc.bbclass b/meta/classes/externalsrc.bbclass index 0ec338c660..d3cede2b68 100644 --- a/meta/classes/externalsrc.bbclass +++ b/meta/classes/externalsrc.bbclass | |||
@@ -92,15 +92,13 @@ python () { | |||
92 | d.appendVar('RM_WORK_EXCLUDE', ' ' + d.getVar('PN', True)) | 92 | d.appendVar('RM_WORK_EXCLUDE', ' ' + d.getVar('PN', True)) |
93 | 93 | ||
94 | # If B=S the same builddir is used even for different architectures. | 94 | # If B=S the same builddir is used even for different architectures. |
95 | # Thus, use a shared CONFIGURESTAMPFILE so that change of do_configure | 95 | # Thus, use a shared CONFIGURESTAMPFILE and STAMP directory so that |
96 | # task hash is correctly detected if e.g. MACHINE changes. In addition, | 96 | # change of do_configure task hash is correctly detected and stamps are |
97 | # do_configure needs to depend on the stamp file so that the task is | 97 | # invalidated if e.g. MACHINE changes. |
98 | # re-run when the stamp was changed since the last run on this | ||
99 | # architecture. | ||
100 | if d.getVar('S', True) == d.getVar('B', True): | 98 | if d.getVar('S', True) == d.getVar('B', True): |
101 | configstamp = '${TMPDIR}/work-shared/${PN}/${EXTENDPE}${PV}-${PR}/configure.sstate' | 99 | configstamp = '${TMPDIR}/work-shared/${PN}/${EXTENDPE}${PV}-${PR}/configure.sstate' |
102 | d.setVar('CONFIGURESTAMPFILE', configstamp) | 100 | d.setVar('CONFIGURESTAMPFILE', configstamp) |
103 | d.setVarFlag('do_configure', 'file-checksums', configstamp + ':True') | 101 | d.setVar('STAMP', '${STAMPS_DIR}/work-shared/${PN}/${EXTENDPE}${PV}-${PR}') |
104 | } | 102 | } |
105 | 103 | ||
106 | python externalsrc_configure_prefunc() { | 104 | python externalsrc_configure_prefunc() { |