rust.inc: whitelist BB_NUMBER_THREADS in do_compile

d55cce6b8b6b510bf4905f19b949f7995af57a4d added a use of
BB_NUMBER_THREADS which is not whitelisted in Poky. This caused machines
with a different number of CPUs to have different sstate for
rust-native.
This commit is contained in:
Tyler Hall
2020-05-18 19:06:04 -04:00
parent be88d857a6
commit 8d3f79f217

View File

@@ -465,6 +465,7 @@ rust_runx () {
python3 src/bootstrap/bootstrap.py -j ${BB_NUMBER_THREADS} "$@" --verbose
}
rust_runx[vardepsexclude] += "BB_NUMBER_THREADS"
do_compile () {
rust_runx build