summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/local.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/local.conf b/contrib/local.conf
index 66a1312..1e83060 100644
--- a/contrib/local.conf
+++ b/contrib/local.conf
@@ -32,8 +32,8 @@ BBMASK = ""
# Make use of SMP:
# PARALLEL_MAKE specifies how many concurrent compiler threads are spawned per bitbake process
# BB_NUMBER_THREADS specifies how many concurrent bitbake tasks will be run
-PARALLEL_MAKE = "-j4"
-BB_NUMBER_THREADS = "4"
+BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()*2}"
+PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()*2}"
# Don't generate the mirror tarball for SCM repos, the snapshot is enough
BB_GENERATE_MIRROR_TARBALLS = "0"