Commit 5d256d6f authored by Johannes Wiesboeck's avatar Johannes Wiesboeck Committed by Oliver Horst
Browse files

[fix] Set AMP_CORE_MASK correctly

parent a5928815
......@@ -7,7 +7,7 @@ python() {
# bit-mask for all cores including master
master_core = d.getVar("TOKI_MASTER_CORE", True)
all_cores = slave_cores.split() + [master_core]
all_cores_mask = sum(1 << int(i) for i in slave_cores.split())
all_cores_mask = sum(1 << int(i) for i in all_cores)
d.setVar("TOKI_CORE_MASK", str(all_cores_mask))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment