import sys
import re
import importlib.machinery
+import multiprocessing
## Global configs
# kernel_arch
kernel_env = {'SRCARCH': kernel_arch, 'ARCH': kernel_arch, 'KERNELVERSION': kernel_arch}
# build_command
# Command executed for kernel build in linux folder.
-build_command = ['make']
+build_command = ['make', '-j', str(multiprocessing.cpu_count())]
# boot_command
# Command executed for booting. Output of this command is saved to output folder.
kernel_arch = 'arm'
kernel_env = {'SRCARCH': kernel_arch, 'ARCH': kernel_arch, 'KERNELVERSION': kernel_arch}
-build_command = ['make']
boot_command = ['targets/bbb/boot/boot']
parse_command = ['tests/cyclictest/parse']