DEFAULT_PREFERENCE

レシピ選択の優先順位のための弱いバイアスを指定します。

この変数の最も一般的な使い方は、ソフトウェアの一部の開発バージョンのためのレシピの中に "-1" に設定することです。 このように変数を使うと、PREFERRED_VERSION が無い場合に、デフォルトで構築されレシピの安定したバージョンになります。開発バージョンを構築するために使われます。

注意

DEFAULT_PREFERENCE のバイアスは弱く、同じレシピで異なるバージョンを含む2つのレイヤー間で変数が異なる場合に BBFILE_PRIORITY によって上書きされます。

Specifies a weak bias for recipe selection priority.

The most common usage of this is variable is to set it to "-1" within a recipe for a development version of a piece of software. Using the variable in this way causes the stable version of the recipe to build by default in the absence of PREFERRED_VERSION being used to build the development version.

Note

The bias provided by DEFAULT_PREFERENCE is weak and is overridden by BBFILE_PRIORITY if that variable is different between two layers that contain different versions of the same recipe.