xtensa-build-zephyr: download rimage later, just before needed

This helps catch hidden rimage dependencies.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2021-10-15 02:49:57 +00:00 committed by Liam Girdwood
parent 7c0f032266
commit 33c13e8c17
1 changed files with 2 additions and 2 deletions

View File

@ -219,6 +219,8 @@ build_all()
-l "$STAGING"/sof/sof-"$platform".ldc \
"$bdir"/zephyr/zephyr.elf
download_missing_submodules
# Build rimage
RIMAGE_DIR=build-rimage
cmake -B "$RIMAGE_DIR" -S modules/audio/sof/rimage
@ -370,8 +372,6 @@ see https://docs.zephyrproject.org/latest/getting_started/index.html"
ln -s "$SOF_TOP" "${WEST_TOP}"/modules/audio/sof
}
download_missing_submodules
test "${#PLATFORMS[@]}" -eq 0 || build_all
}