LoginSignup
7
9

More than 5 years have passed since last update.

Yocto ビルド並列数の調整方法

Last updated at Posted at 2016-11-02

Yoctoビルドが重いので、CPUの制限方法を残します。

local.conf に以下を記述する。
bitbake コマンドを行うディレクトリの下に conf/local.conf であります。

local.conf
BB_NUMBER_THREADS = '2'
PARALLEL_MAKE = '-j 2'

BB_NUMBER_THREADS:

並列するレシピ数を指定します。

PARALLEL_MAKE:

コンパイル時に使用するコア数を指定します。

7
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
9