ref-manual: Update the definition of SDK_VERSION

Submitted by Peter Kjellerstedt on Jan. 18, 2019, 4:01 p.m. | Patch ID: 158107

Details

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

Commit Message

Peter Kjellerstedt Jan. 18, 2019, 4:01 p.m.
The definition in poky.conf has been updated.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---
This of course assumes that the corresponding patch that I just sent
to the openembedded-core mailing list has been integrated first.

 documentation/ref-manual/ref-variables.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index ed65727fc7..4b243a12dd 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -13045,7 +13045,7 @@  recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
                     <filename>/meta-poky/conf/distro/poky.conf</filename>)
                     defines the <filename>SDK_VERSION</filename> as follows:
                     <literallayout class='monospaced'>
-     SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
+     SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${DATE}','snapshot')}"
                     </literallayout>
                 </para>
 

Comments

Scott Rifenbark Jan. 18, 2019, 5:51 p.m.
Peter,

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

Scott

On Fri, Jan 18, 2019 at 8:02 AM Peter Kjellerstedt <
peter.kjellerstedt@axis.com> wrote:

> The definition in poky.conf has been updated.
>
> Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
> ---
> This of course assumes that the corresponding patch that I just sent
> to the openembedded-core mailing list has been integrated first.
>
>  documentation/ref-manual/ref-variables.xml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/documentation/ref-manual/ref-variables.xml
> b/documentation/ref-manual/ref-variables.xml
> index ed65727fc7..4b243a12dd 100644
> --- a/documentation/ref-manual/ref-variables.xml
> +++ b/documentation/ref-manual/ref-variables.xml
> @@ -13045,7 +13045,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR
> = "${INC_PR}.3"
>                      <filename>/meta-poky/conf/distro/poky.conf</filename>)
>                      defines the <filename>SDK_VERSION</filename> as
> follows:
>                      <literallayout class='monospaced'>
> -     SDK_VERSION :=
> "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
> +     SDK_VERSION =
> "${@d.getVar('DISTRO_VERSION').replace('snapshot-${DATE}','snapshot')}"
>                      </literallayout>
>                  </para>
>
> --
> 2.12.0
>
>