Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
toki
build-systems
yocto
meta-toki
Commits
5d256d6f
Commit
5d256d6f
authored
Mar 12, 2020
by
Johannes Wiesboeck
Committed by
Oliver Horst
Aug 18, 2020
Browse files
[fix] Set AMP_CORE_MASK correctly
parent
a5928815
Changes
1
Hide whitespace changes
Inline
Side-by-side
recipes-core/toki/toki-amp-instance_git.bb
View file @
5d256d6f
...
...
@@ -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))
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment