summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Chong <victor.chong@linaro.org>2018-03-29 03:32:18 +0100
committerLeif Lindholm <leif.lindholm@linaro.org>2018-03-29 23:39:28 +0100
commitde60cfc6fbe1765d637a3dea360f3da432534336 (patch)
treef32b25eaea11c854e59be3a8ab54420f96003771
parentb2fdab7e84d0e780c9e2e3391632a51398ba4549 (diff)
opteed-build.sh: Read TOS_ARCH from config file..
..before setting it to its default value if not specified. Signed-off-by: Victor Chong <victor.chong@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
-rwxr-xr-xopteed-build.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/opteed-build.sh b/opteed-build.sh
index 40fb844..4f49d08 100755
--- a/opteed-build.sh
+++ b/opteed-build.sh
@@ -21,6 +21,7 @@ function usage
function build_platform
{
unset CFG_ARM64_core PLATFORM PLATFORM_FLAVOR DEBUG
+ TOS_ARCH="`$TOOLS_DIR/parse-platforms.py $PLATFORM_CONFIG -p $1 get -o tos_arch`"
if [ X"$TOS_ARCH" = X"" ]; then
TOS_ARCH=arm
fi