Skip to content

Commit c53f8c0

Browse files
author
Rich Persaud
committed
local-conf: enable bitbake parallel builds
On build machines with multiple cores, bitbake can execute build tasks in parallel. These defaults should be modified to match the number of cores on the build machine. OXT-1736 Signed-off-by: Rich Persaud <rich.persaud@baesystems.com>
1 parent 853d7a4 commit c53f8c0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

build/conf/local.conf-dist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
CONF_VERSION = "1"
22

3+
# Enable parallel builds on multi-core machines
4+
BB_NUMBER_THREADS ?= "4"
5+
PARALLEL_MAKE ?= "-j 4"
6+
37
# 1) Basic config
48
#
59
## TODO: DISTRO should be in auto.conf

0 commit comments

Comments
 (0)