Change the default sdk install path 71/16271/5
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Thu, 23 Aug 2018 21:56:39 +0000 (23:56 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 23 Aug 2018 22:00:32 +0000 (22:00 +0000)
Installing 2 SDKs of the same version but different arch
results in broken compilation due to a bug in the meta-qt5 sdk
environment scripts.

Mitigate it by adding the DEFAULTTUNE to the SDK installation
folder until the issue can be addressed in SPEC-1686.

Bug-AGL: SPEC-1667, SPEC-1686

v2 (jsmoeller): rewrite to use /opt and SDKPATH

Change-Id: Id7e6c919631fc0bcc630a6b813a714f83adaf148
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
meta-agl-distro/conf/distro/poky-agl.conf

index 4c630eb..83c555f 100644 (file)
@@ -10,6 +10,11 @@ DISTRO_BRANCH_VERSION_TAG := "flounder/${@'${DISTRO_VERSION}'.replace('+snapshot
 SDK_VENDOR = "-aglsdk"
 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}"
+
 AGL_BRANCH = "master"
 
 #for development