Skip to content

Commit

Permalink
local-conf: enable bitbake parallel builds
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rich Persaud committed Jan 27, 2020
1 parent a46d8b7 commit dfea5eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/conf/local.conf-dist
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
CONF_VERSION = "1"

# Enable parallel builds on multi-core machines
BB_NUMBER_THREADS ?= "4"
PARALLEL_MAKE ?= "-j 4"

# 1) Basic config
#
## TODO: DISTRO should be in auto.conf
Expand Down

0 comments on commit dfea5eb

Please sign in to comment.