Created attachment 1579 [details] bitbake traceback using: grep BB_NUMBER_THREADS conf/local.conf BB_NUMBER_THREADS ?= "$(grep -i 'model name' /proc/cpuinfo | wc -l)" PARALLEL_MAKE ?= "-j ${BB_NUMBER_THREADS}" bitbake does not expand the BB_NUMBER_THREADS variable when setting it. see attached traceback
You can't put shell code into a bitbake variable like that. There is no such shell expansion syntax as $(). You could declare a python function: def get_threads(d): import commands o = commands.getstatusoutput("grep -i 'model name' /proc/cpuinfo | wc -l") return o BB_NUMBER_THREADS = "${@get_threads(d)}" or something like that anyway...