]> code.ossystems Code Review - openembedded-core.git/commitdiff
externalsrc: Set STAMPCLEAN to match STAMP
authorOla x Nilsson <ola.x.nilsson@axis.com>
Thu, 22 Dec 2016 13:16:34 +0000 (14:16 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Jan 2017 13:27:00 +0000 (13:27 +0000)
Only the last stamp file should be kept, but unless STAMPCLEAN matches
files generated using STAMP old stamp files may linger.  This may
cause false positives for skipping tasks.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/externalsrc.bbclass

index e115a474b8db1fd65b9e11a12403d9b367695f3a..eec5e615648b8e127a1d11657157ef4ef2196bb6 100644 (file)
@@ -116,6 +116,7 @@ python () {
             configstamp = '${TMPDIR}/work-shared/${PN}/${EXTENDPE}${PV}-${PR}/configure.sstate'
             d.setVar('CONFIGURESTAMPFILE', configstamp)
             d.setVar('STAMP', '${STAMPS_DIR}/work-shared/${PN}/${EXTENDPE}${PV}-${PR}')
+            d.setVar('STAMPCLEAN', '${STAMPS_DIR}/work-shared/${PN}/*-*')
 }
 
 python externalsrc_configure_prefunc() {