aboutsummaryrefslogtreecommitdiffstats
path: root/userdata/conf/tools.sh
diff options
context:
space:
mode:
Diffstat (limited to 'userdata/conf/tools.sh')
-rwxr-xr-xuserdata/conf/tools.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/userdata/conf/tools.sh b/userdata/conf/tools.sh
index bf2963f..b38eb54 100755
--- a/userdata/conf/tools.sh
+++ b/userdata/conf/tools.sh
@@ -46,6 +46,18 @@ then
unset PYTHONHOME
env -u PYTHONHOME
+elif [ "${PLATFORM}" = "dragonboard" ];
+then
+ SDKROOT=/userdata/toolchains/dragon/sysroots/aarch64-agl-linux
+ # environment script changes PATH in the way that python uses libs from sysroot which is not what we want, so save it and use later
+ ORIG_PATH=$PATH
+
+ PREFIX=aarch64-agl-linux
+ source /userdata/toolchains/dragon/environment-setup-aarch64-agl-linux
+ HOST=aarch64-agl-linux
+
+ unset PYTHONHOME
+ env -u PYTHONHOME
elif [ "${PLATFORM}" = "lager" ];
then
SDKROOT=/userdata/toolchains/lager-poky-toolchain/sysroots/cortexa15hf-vfp-neon-poky-linux-gnueabi