diff options
| -rw-r--r-- | documentation/ref-manual/ref-variables.xml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 329c43d467..346090f0d4 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
| @@ -10742,17 +10742,16 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
| 10742 | to build. | 10742 | to build. |
| 10743 | This variable works in conjunction with the | 10743 | This variable works in conjunction with the |
| 10744 | <link linkend='ref-classes-blacklist'><filename>blacklist</filename></link> | 10744 | <link linkend='ref-classes-blacklist'><filename>blacklist</filename></link> |
| 10745 | class, which the recipe must inherit globally. | 10745 | class, which is inherited globally. |
| 10746 | </para> | 10746 | </para> |
| 10747 | 10747 | ||
| 10748 | <para> | 10748 | <para> |
| 10749 | To prevent a recipe from being built, inherit the class | 10749 | To prevent a recipe from being built, use the |
| 10750 | globally and use the variable in your | 10750 | <filename>PNBLACKLIST</filename> variable in your |
| 10751 | <filename>local.conf</filename> file. | 10751 | <filename>local.conf</filename> file. |
| 10752 | Here is an example that prevents | 10752 | Here is an example that prevents |
| 10753 | <filename>myrecipe</filename> from being built: | 10753 | <filename>myrecipe</filename> from being built: |
| 10754 | <literallayout class='monospaced'> | 10754 | <literallayout class='monospaced'> |
| 10755 | INHERIT += "blacklist" | ||
| 10756 | PNBLACKLIST[myrecipe] = "Not supported by our organization." | 10755 | PNBLACKLIST[myrecipe] = "Not supported by our organization." |
| 10757 | </literallayout> | 10756 | </literallayout> |
| 10758 | </para> | 10757 | </para> |
