diff options
Diffstat (limited to 'documentation/ref-manual/ref-variables.rst')
-rw-r--r-- | documentation/ref-manual/ref-variables.rst | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/documentation/ref-manual/ref-variables.rst b/documentation/ref-manual/ref-variables.rst index e9369b4777..3755f80a44 100644 --- a/documentation/ref-manual/ref-variables.rst +++ b/documentation/ref-manual/ref-variables.rst | |||
@@ -132,6 +132,18 @@ system and gives an overview of their function and contents. | |||
132 | ":ref:`update-alternatives.bbclass <ref-classes-update-alternatives>`" | 132 | ":ref:`update-alternatives.bbclass <ref-classes-update-alternatives>`" |
133 | section. | 133 | section. |
134 | 134 | ||
135 | :term:`ANY_OF_DISTRO_FEATURES` | ||
136 | When inheriting the | ||
137 | :ref:`features_check <ref-classes-features_check>` | ||
138 | class, this variable identifies a list of distribution features where | ||
139 | at least one must be enabled in the current configuration in order | ||
140 | for the OpenEmbedded build system to build the recipe. In other words, | ||
141 | if none of the features listed in ``ANY_OF_DISTRO_FEATURES`` | ||
142 | appear in ``DISTRO_FEATURES`` within the current configuration, then | ||
143 | the recipe will be skipped, and if the build system attempts to build | ||
144 | the recipe then an error will be triggered. | ||
145 | |||
146 | |||
135 | :term:`APPEND` | 147 | :term:`APPEND` |
136 | An override list of append strings for each target specified with | 148 | An override list of append strings for each target specified with |
137 | :term:`LABELS`. | 149 | :term:`LABELS`. |
@@ -1300,12 +1312,13 @@ system and gives an overview of their function and contents. | |||
1300 | 1312 | ||
1301 | :term:`CONFLICT_DISTRO_FEATURES` | 1313 | :term:`CONFLICT_DISTRO_FEATURES` |
1302 | When inheriting the | 1314 | When inheriting the |
1303 | :ref:`distro_features_check <ref-classes-distro_features_check>` | 1315 | :ref:`features_check <ref-classes-features_check>` |
1304 | class, this variable identifies distribution features that would be | 1316 | class, this variable identifies distribution features that would be |
1305 | in conflict should the recipe be built. In other words, if the | 1317 | in conflict should the recipe be built. In other words, if the |
1306 | ``CONFLICT_DISTRO_FEATURES`` variable lists a feature that also | 1318 | ``CONFLICT_DISTRO_FEATURES`` variable lists a feature that also |
1307 | appears in ``DISTRO_FEATURES`` within the current configuration, an | 1319 | appears in ``DISTRO_FEATURES`` within the current configuration, then |
1308 | error occurs and the build stops. | 1320 | the recipe will be skipped, and if the build system attempts to build |
1321 | the recipe then an error will be triggered. | ||
1309 | 1322 | ||
1310 | :term:`COPYLEFT_LICENSE_EXCLUDE` | 1323 | :term:`COPYLEFT_LICENSE_EXCLUDE` |
1311 | A space-separated list of licenses to exclude from the source | 1324 | A space-separated list of licenses to exclude from the source |
@@ -6063,13 +6076,14 @@ system and gives an overview of their function and contents. | |||
6063 | 6076 | ||
6064 | :term:`REQUIRED_DISTRO_FEATURES` | 6077 | :term:`REQUIRED_DISTRO_FEATURES` |
6065 | When inheriting the | 6078 | When inheriting the |
6066 | :ref:`distro_features_check <ref-classes-distro_features_check>` | 6079 | :ref:`features_check <ref-classes-features_check>` |
6067 | class, this variable identifies distribution features that must exist | 6080 | class, this variable identifies distribution features that must exist |
6068 | in the current configuration in order for the OpenEmbedded build | 6081 | in the current configuration in order for the OpenEmbedded build |
6069 | system to build the recipe. In other words, if the | 6082 | system to build the recipe. In other words, if the |
6070 | ``REQUIRED_DISTRO_FEATURES`` variable lists a feature that does not | 6083 | ``REQUIRED_DISTRO_FEATURES`` variable lists a feature that does not |
6071 | appear in ``DISTRO_FEATURES`` within the current configuration, an | 6084 | appear in ``DISTRO_FEATURES`` within the current configuration, then |
6072 | error occurs and the build stops. | 6085 | the recipe will be skipped, and if the build system attempts to build |
6086 | the recipe then an error will be triggered. | ||
6073 | 6087 | ||
6074 | :term:`RM_WORK_EXCLUDE` | 6088 | :term:`RM_WORK_EXCLUDE` |
6075 | With ``rm_work`` enabled, this variable specifies a list of recipes | 6089 | With ``rm_work`` enabled, this variable specifies a list of recipes |