[1/2] ref-manual: Document the fifth argument to PACKAGECONFIG

Submitted by Peter Kjellerstedt on Dec. 13, 2018, 11:23 a.m. | Patch ID: 157062

Details

Message ID 20181213112305.29609-1-pkj@axis.com
State Accepted
Headers show

Commit Message

Peter Kjellerstedt Dec. 13, 2018, 11:23 a.m.
Support for adding runtime recommendations (RRECOMMENDS) using
PACKAGECONFIG was introduced in Rocko.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---
 documentation/ref-manual/ref-variables.xml | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Patch hide | download patch | download mbox

diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 58c5418d16..7dc3a3f79a 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -10333,9 +10333,9 @@  recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
                     Here is the basic block structure:
                     <literallayout class='monospaced'>
      PACKAGECONFIG ??= "f1 f2 f3 ..."
-     PACKAGECONFIG[f1] = "--with-f1,--without-f1,build-deps-f1,rt-deps-f1"
-     PACKAGECONFIG[f2] = "--with-f2,--without-f2,build-deps-f2,rt-deps-f2"
-     PACKAGECONFIG[f3] = "--with-f3,--without-f3,build-deps-f3,rt-deps-f3"
+     PACKAGECONFIG[f1] = "--with-f1,--without-f1,build-deps-f1,rt-deps-f1,rt-recs-f1"
+     PACKAGECONFIG[f2] = "--with-f2,--without-f2,build-deps-f2,rt-deps-f2,rt-recs-f2"
+     PACKAGECONFIG[f3] = "--with-f3,--without-f3,build-deps-f3,rt-deps-f3,rt-recs-f3"
                     </literallayout>
                 </para>
 
@@ -10344,7 +10344,7 @@  recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
                     variable itself specifies a space-separated list of the
                     features to enable.
                     Following the features, you can determine the behavior of
-                    each feature by providing up to four order-dependent
+                    each feature by providing up to five order-dependent
                     arguments, which are separated by commas.
                     You can omit any argument you like but must retain the
                     separating commas.
@@ -10370,6 +10370,10 @@  recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
                             (<link linkend='var-RDEPENDS'><filename>RDEPENDS</filename></link>)
                             that should be added if the feature is enabled.
                             </para></listitem>
+                        <listitem><para>Additional runtime recommendations
+                            (<link linkend='var-RRECOMMENDS'><filename>RRECOMMENDS</filename></link>)
+                            that should be added if the feature is enabled.
+                            </para></listitem>
                     </orderedlist>
                 </para>
 

Comments

Scott Rifenbark Dec. 14, 2018, 12:19 a.m.
Peter,

Thanks for the patch.  See
https://yoctoproject.org/docs/2.7/ref-manual/ref-manual.html#var-PACKAGECONFIG
for the changes.

Commit:
https://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/commit/?id=adb17e3172c829de77d2664c91f7cf4b22c9e5f0

Scott

On Thu, Dec 13, 2018 at 3:24 AM Peter Kjellerstedt <
peter.kjellerstedt@axis.com> wrote:

> Support for adding runtime recommendations (RRECOMMENDS) using
> PACKAGECONFIG was introduced in Rocko.
>
> Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
> ---
>  documentation/ref-manual/ref-variables.xml | 12 ++++++++----
>  1 file changed, 8 insertions(+), 4 deletions(-)
>
> diff --git a/documentation/ref-manual/ref-variables.xml
> b/documentation/ref-manual/ref-variables.xml
> index 58c5418d16..7dc3a3f79a 100644
> --- a/documentation/ref-manual/ref-variables.xml
> +++ b/documentation/ref-manual/ref-variables.xml
> @@ -10333,9 +10333,9 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR
> = "${INC_PR}.3"
>                      Here is the basic block structure:
>                      <literallayout class='monospaced'>
>       PACKAGECONFIG ??= "f1 f2 f3 ..."
> -     PACKAGECONFIG[f1] = "--with-f1,--without-f1,build-deps-f1,rt-deps-f1"
> -     PACKAGECONFIG[f2] = "--with-f2,--without-f2,build-deps-f2,rt-deps-f2"
> -     PACKAGECONFIG[f3] = "--with-f3,--without-f3,build-deps-f3,rt-deps-f3"
> +     PACKAGECONFIG[f1] =
> "--with-f1,--without-f1,build-deps-f1,rt-deps-f1,rt-recs-f1"
> +     PACKAGECONFIG[f2] =
> "--with-f2,--without-f2,build-deps-f2,rt-deps-f2,rt-recs-f2"
> +     PACKAGECONFIG[f3] =
> "--with-f3,--without-f3,build-deps-f3,rt-deps-f3,rt-recs-f3"
>                      </literallayout>
>                  </para>
>
> @@ -10344,7 +10344,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR
> = "${INC_PR}.3"
>                      variable itself specifies a space-separated list of
> the
>                      features to enable.
>                      Following the features, you can determine the
> behavior of
> -                    each feature by providing up to four order-dependent
> +                    each feature by providing up to five order-dependent
>                      arguments, which are separated by commas.
>                      You can omit any argument you like but must retain the
>                      separating commas.
> @@ -10370,6 +10370,10 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR
> = "${INC_PR}.3"
>                              (<link
> linkend='var-RDEPENDS'><filename>RDEPENDS</filename></link>)
>                              that should be added if the feature is
> enabled.
>                              </para></listitem>
> +                        <listitem><para>Additional runtime recommendations
> +                            (<link
> linkend='var-RRECOMMENDS'><filename>RRECOMMENDS</filename></link>)
> +                            that should be added if the feature is
> enabled.
> +                            </para></listitem>
>                      </orderedlist>
>                  </para>
>
> --
> 2.12.0
>
>