diff options
| -rw-r--r-- | documentation/poky-ref-manual/ref-variables.xml | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/documentation/poky-ref-manual/ref-variables.xml b/documentation/poky-ref-manual/ref-variables.xml index 2e3dbb6686..8b1470b533 100644 --- a/documentation/poky-ref-manual/ref-variables.xml +++ b/documentation/poky-ref-manual/ref-variables.xml | |||
| @@ -87,9 +87,22 @@ | |||
| 87 | 87 | ||
| 88 | <glossentry id='var-BBFILE_PRIORITY'><glossterm>BBFILE_PRIORITY</glossterm> | 88 | <glossentry id='var-BBFILE_PRIORITY'><glossterm>BBFILE_PRIORITY</glossterm> |
| 89 | <glossdef> | 89 | <glossdef> |
| 90 | <para>Assigns different priorities to recipe files in different layers. | 90 | <para>Assigns different priorities to recipe files in different layers.</para> |
| 91 | This variable is useful in situations where the same package might appear in multiple layers. | 91 | <para>This variable is useful in situations where the same package appears in |
| 92 | It allows you to choose what takes precedence.</para> | 92 | more than one layer. |
| 93 | Setting BBFILE_PRIORITY allows you to prioritize a | ||
| 94 | layer against other layers that contain the same package - effectively | ||
| 95 | letting you control the precedence for the multiple layers. | ||
| 96 | The precedence established through this variable stands regardless of a | ||
| 97 | layer's package version (PV variable). | ||
| 98 | For example, a layer that has a package with a higher PV value but for | ||
| 99 | which the BBFILE_PRIORITY is set to have a lower precedence still has a | ||
| 100 | lower precedence.</para> | ||
| 101 | <para>A larger value for the BBFILE_PRIORITY variable results in a higher | ||
| 102 | precedence. | ||
| 103 | For example, the value 6 has a higher precedence than the | ||
| 104 | value 5. | ||
| 105 | By default, the BBFILE_PRIORITY variable is set to the value 5.</para> | ||
| 93 | </glossdef> | 106 | </glossdef> |
| 94 | </glossentry> | 107 | </glossentry> |
| 95 | 108 | ||
