summaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 4790ae83..1a0cf45c 100755
--- a/build.sh
+++ b/build.sh
@@ -88,7 +88,12 @@ function prepare_env()
function download_packages()
{
- python $COMPASS_PATH/build/parser.py $COMPASS_PATH/build/build.yaml
+ build_yaml_file=build.yaml
+ if [ -f "$COMPASS_PATH/build/build-$COMPASS_ARCH.yaml" ]; then
+ build_yaml_file=build-$COMPASS_ARCH.yaml
+ fi
+
+ python $COMPASS_PATH/build/parser.py $COMPASS_PATH/build/$build_yaml_file
}
function build_tar()