From e927ebeb1cfd1b747c4ade323f6c8a62590eea69 Mon Sep 17 00:00:00 2001 From: Javernaut Date: Wed, 27 Nov 2019 12:39:02 +0200 Subject: [PATCH] Documenting the export-host-variables.sh --- scripts/export-host-variables.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/export-host-variables.sh b/scripts/export-host-variables.sh index 6aa86ca..629f8df 100755 --- a/scripts/export-host-variables.sh +++ b/scripts/export-host-variables.sh @@ -1,5 +1,6 @@ # Defining a toolchain directory's name according to the current OS. -# Assume that proper version of NDK is installed. +# Assume that proper version of NDK is installed +# and is referenced by ANDROID_NDK_HOME environment variable case "$OSTYPE" in darwin*) HOST_TAG="darwin-x86_64" ;; linux*) HOST_TAG="linux-x86_64" ;; @@ -17,5 +18,7 @@ else HOST_NPROC=$(nproc) fi +# The variable is used as a path segment of the toolchain path export HOST_TAG=$HOST_TAG +# Number of physical cores in the system to facilitate parallel assembling export HOST_NPROC=$HOST_NPROC