summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r--bitbake/lib/bb/build.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index 22428a649c..8852209938 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -582,10 +582,10 @@ def stamp_internal(taskname, d, file_name, baseonly=False):
582 taskflagname = taskname.replace("_setscene", "") 582 taskflagname = taskname.replace("_setscene", "")
583 583
584 if file_name: 584 if file_name:
585 stamp = d.stamp_base[file_name].get(taskflagname) or d.stamp[file_name] 585 stamp = d.stamp[file_name]
586 extrainfo = d.stamp_extrainfo[file_name].get(taskflagname) or "" 586 extrainfo = d.stamp_extrainfo[file_name].get(taskflagname) or ""
587 else: 587 else:
588 stamp = d.getVarFlag(taskflagname, 'stamp-base', True) or d.getVar('STAMP', True) 588 stamp = d.getVar('STAMP', True)
589 file_name = d.getVar('BB_FILENAME', True) 589 file_name = d.getVar('BB_FILENAME', True)
590 extrainfo = d.getVarFlag(taskflagname, 'stamp-extra-info', True) or "" 590 extrainfo = d.getVarFlag(taskflagname, 'stamp-extra-info', True) or ""
591 591
@@ -616,10 +616,10 @@ def stamp_cleanmask_internal(taskname, d, file_name):
616 taskflagname = taskname.replace("_setscene", "") 616 taskflagname = taskname.replace("_setscene", "")
617 617
618 if file_name: 618 if file_name:
619 stamp = d.stamp_base_clean[file_name].get(taskflagname) or d.stampclean[file_name] 619 stamp = d.stampclean[file_name]
620 extrainfo = d.stamp_extrainfo[file_name].get(taskflagname) or "" 620 extrainfo = d.stamp_extrainfo[file_name].get(taskflagname) or ""
621 else: 621 else:
622 stamp = d.getVarFlag(taskflagname, 'stamp-base-clean', True) or d.getVar('STAMPCLEAN', True) 622 stamp = d.getVar('STAMPCLEAN', True)
623 file_name = d.getVar('BB_FILENAME', True) 623 file_name = d.getVar('BB_FILENAME', True)
624 extrainfo = d.getVarFlag(taskflagname, 'stamp-extra-info', True) or "" 624 extrainfo = d.getVarFlag(taskflagname, 'stamp-extra-info', True) or ""
625 625