summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/data_smart.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py
index 5bf11e5e0d..2fd8ccdebd 100644
--- a/bitbake/lib/bb/data_smart.py
+++ b/bitbake/lib/bb/data_smart.py
@@ -738,5 +738,15 @@ class DataSmart(MutableMapping):
738 value = d.getVar(key, False) or "" 738 value = d.getVar(key, False) or ""
739 data.update({key:value}) 739 data.update({key:value})
740 740
741 for key in ["__BBTASKS", "__BBANONFUNCS", "__BBHANDLERS"]:
742 bb_list = d.getVar(key, False) or []
743 bb_list.sort()
744 data.update({key:str(bb_list)})
745
746 if key == "__BBANONFUNCS":
747 for i in bb_list:
748 value = d.getVar(i, True) or ""
749 data.update({i:value})
750
741 data_str = str([(k, data[k]) for k in sorted(data.keys())]) 751 data_str = str([(k, data[k]) for k in sorted(data.keys())])
742 return hashlib.md5(data_str).hexdigest() 752 return hashlib.md5(data_str).hexdigest()