xtensa-build-zephyr: download rimage whether we clone zephyr or not

... because there's no reason to make one depend on the other.

Same for the opportunistic creation of the sof symbolic link.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Marc Herbert 2021-09-27 17:53:06 -07:00 committed by Liam Girdwood
parent d80d70bf47
commit 868e00bdd0
1 changed files with 14 additions and 14 deletions

View File

@ -364,6 +364,7 @@ see https://docs.zephyrproject.org/latest/getting_started/index.html"
fi
( cd "${WEST_TOP}" && assert_west_topdir )
fi
# Symlink zephyr-project to our SOF selves if no sof west module yet
@ -372,9 +373,9 @@ see https://docs.zephyrproject.org/latest/getting_started/index.html"
ln -s "$SOF_TOP" "${WEST_TOP}"/modules/audio/sof
}
# FIXME: remove this hack. Downloading and building
# should be kept separate but support for submodules in
# west is too recent, cannot rely on it yet.
# FIXME: remove this hack. Downloading and building should be
# kept separate but support for submodules in west is too
# recent, cannot rely on it yet.
# https://docs.zephyrproject.org/latest/guides/west/release-notes.html#v0-9-0
test -e "${WEST_TOP}"/modules/audio/sof/rimage/CMakeLists.txt || (
@ -390,7 +391,6 @@ see https://docs.zephyrproject.org/latest/getting_started/index.html"
git submodule update --init --recursive
)
fi
test "${#PLATFORMS[@]}" -eq 0 || build_all
}