]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
poky.conf: Define SDK_VERSION so DISTRO_VERSION overrides are supported
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Fri, 18 Jan 2019 15:49:20 +0000 (16:49 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 22 Jan 2019 14:35:58 +0000 (14:35 +0000)
commita91f5d096f4f7748b9acd5fdaa83b2fea91ebf93
treef49cd4cf8f00bc328e1a2a932a11646436772ed9
parentd150f6f5e799923867fdc7d2e638be07406997e7
poky.conf: Define SDK_VERSION so DISTRO_VERSION overrides are supported

If DISTRO_VERSION is defined using an override, e.g., by defining it
in auto.conf as DISTRO_VERSION_forcevariable, then the unoverridden
value was still used in SDK_VERSION since it was defined using the :=
operator. However, there should be no reason to define SDK_VERSION
this way.

Also use getVar to access the variable to ensure tracebacks from problems
are less confusing.

[RP: Tweaked commit message]
(From meta-yocto rev: 74f43fb82a93eecfe7519a87fdf1cb0152d56b48)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-poky/conf/distro/poky.conf