diff options
| -rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst index 09d09a8d9e..a48e700030 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | |||
| @@ -1096,6 +1096,29 @@ overview of their function and contents. | |||
| 1096 | variable is not available outside of ``layer.conf`` and references | 1096 | variable is not available outside of ``layer.conf`` and references |
| 1097 | are expanded immediately when parsing of the file completes. | 1097 | are expanded immediately when parsing of the file completes. |
| 1098 | 1098 | ||
| 1099 | :term:`LAYERSERIES_COMPAT` | ||
| 1100 | Lists the versions of the OpenEmbedded-Core (OE-Core) for which | ||
| 1101 | a layer is compatible. Using the :term:`LAYERSERIES_COMPAT` variable | ||
| 1102 | allows the layer maintainer to indicate which combinations of the | ||
| 1103 | layer and OE-Core can be expected to work. The variable gives the | ||
| 1104 | system a way to detect when a layer has not been tested with new | ||
| 1105 | releases of OE-Core (e.g. the layer is not maintained). | ||
| 1106 | |||
| 1107 | To specify the OE-Core versions for which a layer is compatible, use | ||
| 1108 | this variable in your layer's ``conf/layer.conf`` configuration file. | ||
| 1109 | For the list, use the Yocto Project release name (e.g. "kirkstone", | ||
| 1110 | "mickledore"). To specify multiple OE-Core versions for the layer, use | ||
| 1111 | a space-separated list:: | ||
| 1112 | |||
| 1113 | LAYERSERIES_COMPAT_layer_root_name = "kirkstone mickledore" | ||
| 1114 | |||
| 1115 | .. note:: | ||
| 1116 | |||
| 1117 | Setting :term:`LAYERSERIES_COMPAT` is required by the Yocto Project | ||
| 1118 | Compatible version 2 standard. | ||
| 1119 | The OpenEmbedded build system produces a warning if the variable | ||
| 1120 | is not set for any given layer. | ||
| 1121 | |||
| 1099 | :term:`LAYERVERSION` | 1122 | :term:`LAYERVERSION` |
| 1100 | Optionally specifies the version of a layer as a single number. You | 1123 | Optionally specifies the version of a layer as a single number. You |
| 1101 | can use this variable within | 1124 | can use this variable within |
