diff options
author | Yibo Cai <yibo.cai@arm.com> | 2017-11-08 13:50:32 +0800 |
---|---|---|
committer | Yibo Cai <yibo.cai@arm.com> | 2017-11-09 15:29:18 +0800 |
commit | 0ea4055e4e5b7569e4a477aa86c460f4337707ba (patch) | |
tree | f1f048f9a9b981d100f094ea173347e7be877ad6 /build.sh | |
parent | e1a04c52190da834a68aa2fbb3777773b658b261 (diff) |
build: support aarch64 deployment images
- Use per architecture build-ARCH.yaml if available
- Repos for aarch64 OS and docker images are passed by env
Change-Id: Id7f9ca6dad690b8d375a3d8f488c7bf955a128ad
Signed-off-by: Yibo Cai <yibo.cai@arm.com>
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -85,7 +85,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() |