diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2020-08-22 14:37:36 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-08-24 12:25:16 +0200 |
commit | 880a6d5687cc8fe685240300811a1ddf90b192a4 (patch) | |
tree | 1b31863cc3d8a6cb5db1745145e748d32bea3f4b | |
parent | 4e7d9fb883231b99c5955d6572b4a6d375185800 (diff) |
tdx-base: drop unstable elements from sdk version
SDK_VERSION is used as a path element for the nativesdk packages. Thus,
if variables are used to form it which are excluded to force a rebuild,
when using sstate or previous build artefacts paths stay not the same
resulting in various build failures.
So drop all elements which are marked with "vardepsexclude".
E.e.:
Dependencies not found in compile/configure as the search paths don't match.
Build output not found:
| rm: cannot remove '.../image/opt/tdx-xwayland/5.0.0-devel-20200821220610+build.0/sysroots/x86_64-tdxsdk-linux/usr/lib/aarch64-tdx-linux/gcc/aarch64-tdx-linux/9.3.0/install-tools': No such file or directory
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit d84f3ee332e6e14fad9d1af9aa374d993f068036)
-rw-r--r-- | conf/distro/include/tdx-base.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/distro/include/tdx-base.inc b/conf/distro/include/tdx-base.inc index 9d7557a..57d16c0 100644 --- a/conf/distro/include/tdx-base.inc +++ b/conf/distro/include/tdx-base.inc @@ -37,6 +37,8 @@ DISTRO_VERSION = "${TDX_RELEASE}${TDX_PRERELEASE}${TDX_BUILD}" SDK_VENDOR = "-tdxsdk" SDK_NAME_PREFIX = "${DISTRO}" +# do not use elements in SDK_VERSION which are in vardepsexclude +SDK_VERSION = "${TDX_RELEASE}" MAINTAINER = "Toradex <yocto-patches@toradex.com>" |