diff options
-rwxr-xr-x | scripts/contrib/bb-perf/bb-matrix.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/contrib/bb-perf/bb-matrix.sh b/scripts/contrib/bb-perf/bb-matrix.sh index 64d55137c8..b9edd5ff08 100755 --- a/scripts/contrib/bb-perf/bb-matrix.sh +++ b/scripts/contrib/bb-perf/bb-matrix.sh | |||
@@ -62,8 +62,8 @@ for BB in $BB_RANGE; do | |||
62 | echo "BB=$BB PM=$PM Logging to $BB_LOG" | 62 | echo "BB=$BB PM=$PM Logging to $BB_LOG" |
63 | 63 | ||
64 | # Export the variables under test and run the bitbake command | 64 | # Export the variables under test and run the bitbake command |
65 | export BB_NUMBER_THREADS="${BB##*0}" | 65 | export BB_NUMBER_THREADS=$(echo $BB | sed 's/^0*//') |
66 | export PARALLEL_MAKE="-j ${PM##*0}" | 66 | export PARALLEL_MAKE="-j $(echo $PM | sed 's/^0*//')" |
67 | /usr/bin/time -f "$BB $PM $TIME_STR" -a -o $RUNTIME_LOG $BB_CMD &> $BB_LOG | 67 | /usr/bin/time -f "$BB $PM $TIME_STR" -a -o $RUNTIME_LOG $BB_CMD &> $BB_LOG |
68 | 68 | ||
69 | echo " $(tail -n1 $RUNTIME_LOG)" | 69 | echo " $(tail -n1 $RUNTIME_LOG)" |