From: Ronan Le Martret Date: Fri, 21 Sep 2018 13:57:01 +0000 (+0000) Subject: Change SDKPATH for something more stable in time X-Git-Tag: 6.99.1~52 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F27%2F16727%2F16;p=AGL%2Fmeta-agl.git Change SDKPATH for something more stable in time * The SDKPATH must be fix to be used with YoMo. Inside rpm nativesdk file all the path is prefed by SDKPATH/sysroots/${HOSTARCH}-${SDK_VENDOR}-${OSHOST}/ * have a (day) time stamp in ${DISTRO_VERSION} force the rebuild of the package every day. eg: At runtime /etc becomes: (old value): /opt/agl-sdk/6.90.0+snapshot-20180921-aarch64/sysroots/x86_64-aglsdk-linux/etc (new value): /opt/agl-sdk/6.90.0+snapshot-aarch64/sysroots/x86_64-aglsdk-linux/etc in native sdk Bug-AGL: SPEC-921 Bug-AGL: SPEC-1667 Change-Id: I28d7f8d140ba75d9d8c68c84ba5fc697e6011836 Signed-off-by: Ronan Le Martret --- diff --git a/meta-agl-distro/conf/distro/poky-agl.conf b/meta-agl-distro/conf/distro/poky-agl.conf index 8ed106950..af3dc009d 100644 --- a/meta-agl-distro/conf/distro/poky-agl.conf +++ b/meta-agl-distro/conf/distro/poky-agl.conf @@ -34,7 +34,7 @@ SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}" # SDKPATH is the folder where the SDK is going to be installed # Due to an issue with the qt5 environment (see SPEC-1667), # we add DEFAULTTUNE to the SDKPATH to mitigate the issue. -SDKPATH = "/opt/agl-sdk/${DISTRO_VERSION}-${DEFAULTTUNE}" +SDKPATH = "/opt/agl-sdk/${SDK_VERSION}-${DEFAULTTUNE}" MAINTAINER = "AGL "