PREFERRED_VERSION

レシピの複数のバージョンが利用可能である場合、この変数は優先されるべきレシピを決定します。あなたはいつもあなたが選択したい PN で変数をサフィックスする必要があり、優先順位のためにそれに応じて PV を設定する必要があります。あなたは、潜在的に変更される可能性が長いリビジョン番号が含まれているバージョンを指定する際に有用であることができる任意の数の文字と一致するワイルドカードとして "%" 文字を使用することができます。ここでは2つの例を示します。

PREFERRED_VERSION_python = "2.7.3"
PREFERRED_VERSION_linux-yocto = "3.19%"

If there are multiple versions of recipes available, this variable determines which recipe should be given preference. You must always suffix the variable with the PN you want to select, and you should set the PV accordingly for precedence. You can use the "%" character as a wildcard to match any number of characters, which can be useful when specifying versions that contain long revision numbers that could potentially change. Here are two examples:

PREFERRED_VERSION_python = "2.7.3"
PREFERRED_VERSION_linux-yocto = "3.19%"