summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2020-08-22 14:37:36 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2020-08-24 12:21:38 +0200
commitd84f3ee332e6e14fad9d1af9aa374d993f068036 (patch)
treea2e17e4a277f093cc661dd800b1ea95e0a459c9a
parent41d0ea6aa295e4e72ae01e539d2051f34d722413 (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>
-rw-r--r--conf/distro/include/tdx-base.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/distro/include/tdx-base.inc b/conf/distro/include/tdx-base.inc
index 2b00c05..e698403 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>"