diff options
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 7ba1c576f6..3e68350335 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
@@ -7812,6 +7812,50 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
7812 | </glossdef> | 7812 | </glossdef> |
7813 | </glossentry> | 7813 | </glossentry> |
7814 | 7814 | ||
7815 | <glossentry id='var-LAYERSERIES_COMPAT'><glossterm>LAYERSERIES_COMPAT</glossterm> | ||
7816 | <info> | ||
7817 | LAYERSERIES_COMPAT[doc] = "Lists the versions of the OpenEmbedded Core project for which a layer is compatible." | ||
7818 | </info> | ||
7819 | <glossdef> | ||
7820 | <para role="glossdeffirst"> | ||
7821 | <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> | ||
7822 | Lists the versions of the | ||
7823 | <link linkend='oe-core'>OpenEmbedded Core</link> project | ||
7824 | for which a layer is compatible. | ||
7825 | Using the <filename>LAYERSERIES_COMPAT</filename> variable | ||
7826 | makes it clear when a given layer is unmaintained and | ||
7827 | untested with new releases of OE-Core. | ||
7828 | </para> | ||
7829 | |||
7830 | <para> | ||
7831 | To specify the OE-Core projects for which a layer is | ||
7832 | compatible, use this variable in your layer's | ||
7833 | <filename>conf/layer.conf</filename> configuration file. | ||
7834 | For the list, use the Yocto Project | ||
7835 | <ulink url='https://wiki.yoctoproject.org/wiki/Releases'>Release Name</ulink> | ||
7836 | (e.g. &DISTRO_NAME_NO_CAP;). | ||
7837 | To specify multiple OE-Core projects for the layer, | ||
7838 | use a space-separated list: | ||
7839 | <literallayout class='monospaced'> | ||
7840 | LAYERSERIES_COMPAT_<replaceable>layer_root_name</replaceable> = "&DISTRO_NAME_NO_CAP; &DISTRO_NAME_NO_CAP_MINUS_ONE;" | ||
7841 | </literallayout> | ||
7842 | <note> | ||
7843 | Setting <filename>LAYERSERIES_COMPAT</filename> is | ||
7844 | required by the Yocto Project Compatible version 2 | ||
7845 | standard. | ||
7846 | The OpenEmbedded build system, however, does not | ||
7847 | produce and error if the variable is not set. | ||
7848 | </note> | ||
7849 | </para> | ||
7850 | |||
7851 | <para> | ||
7852 | See the | ||
7853 | "<ulink url='&YOCTO_DOCS_DEV_URL;#creating-your-own-layer'>Creating Your Own Layer</ulink>" | ||
7854 | section in the Yocto Project Development Tasks Manual. | ||
7855 | </para> | ||
7856 | </glossdef> | ||
7857 | </glossentry> | ||
7858 | |||
7815 | <glossentry id='var-LAYERVERSION'><glossterm>LAYERVERSION</glossterm> | 7859 | <glossentry id='var-LAYERVERSION'><glossterm>LAYERVERSION</glossterm> |
7816 | <info> | 7860 | <info> |
7817 | LAYERVERSION[doc] = "Optionally specifies the version of a layer as a single number. This variable is used in the conf/layer.conf file and must be suffixed with the name of the specific layer." | 7861 | LAYERVERSION[doc] = "Optionally specifies the version of a layer as a single number. This variable is used in the conf/layer.conf file and must be suffixed with the name of the specific layer." |