diff options
| -rw-r--r-- | documentation/ref-manual/ref-variables.xml | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 4a2c79f1be..efe423adc7 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
| @@ -9653,7 +9653,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
| 9653 | 9653 | ||
| 9654 | <glossentry id='var-PACKAGECONFIG_CONFARGS'><glossterm>PACKAGECONFIG_CONFARGS</glossterm> | 9654 | <glossentry id='var-PACKAGECONFIG_CONFARGS'><glossterm>PACKAGECONFIG_CONFARGS</glossterm> |
| 9655 | <info> | 9655 | <info> |
| 9656 | PACKAGECONFIG_CONFARGS[doc] = "A space-separated list of configuration options generated from PACKAGECONFIG." | 9656 | PACKAGECONFIG_CONFARGS[doc] = "A space-separated list of configuration options generated from the PACKAGECONFIG setting." |
| 9657 | </info> | 9657 | </info> |
| 9658 | <glossdef> | 9658 | <glossdef> |
| 9659 | <para role="glossdeffirst"> | 9659 | <para role="glossdeffirst"> |
| @@ -9662,11 +9662,25 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
| 9662 | from the | 9662 | from the |
| 9663 | <link linkend='var-PACKAGECONFIG'><filename>PACKAGECONFIG</filename></link> | 9663 | <link linkend='var-PACKAGECONFIG'><filename>PACKAGECONFIG</filename></link> |
| 9664 | setting. | 9664 | setting. |
| 9665 | This list of options helps other classes and | 9665 | </para> |
| 9666 | recipes take advantage of the | 9666 | |
| 9667 | <filename>PACKAGECONFIG</filename> mechanism without | 9667 | <para> |
| 9668 | having to include options from | 9668 | Classes such as |
| 9669 | <link linkend='var-EXTRA_OECONF'><filename>EXTRA_OECONF</filename></link>. | 9669 | <link linkend='ref-classes-autotools'><filename>autotools</filename></link> |
| 9670 | and | ||
| 9671 | <link linkend='ref-classes-cmake'><filename>cmake</filename></link> | ||
| 9672 | use <filename>PACKAGECONFIG_CONFARGS</filename> to pass | ||
| 9673 | <link linkend='var-PACKAGECONFIG'><filename>PACKAGECONFIG</filename></link> | ||
| 9674 | options to tasks such as | ||
| 9675 | <link linkend='ref-tasks-configure'><filename>do_configure</filename></link> | ||
| 9676 | and | ||
| 9677 | <link linkend='ref-tasks-cmake'><filename>do_cmake</filename></link>, | ||
| 9678 | respectively. | ||
| 9679 | If you are using | ||
| 9680 | <filename>PACKAGECONFIG</filename> but not a class that | ||
| 9681 | handles the <filename>do_configure</filename> task, then | ||
| 9682 | you need to use | ||
| 9683 | <filename>PACKAGECONFIG_CONFARGS</filename> appropriately. | ||
| 9670 | </para> | 9684 | </para> |
| 9671 | 9685 | ||
| 9672 | <para> | 9686 | <para> |
