sof/scripts/cmake
Marc Herbert 177d9bd073 cmake: defer the rimage build until it's actually needed.
This is motivated by the zephyr.elf build that does not need rimage at
all.

Also build smex later, only when it's needed.

After building and deleting the rimage/ clone, a plain SOF clean +
RE-build now fails much later: it now fails AFTER successfully building
the sof binary, only when it tries to build either bootloader,
boot_module or base_module that actually need rimage:

[ 87%] Performing configure step for 'rimage_ep'
CMake Error: The source directory "/home/SOF/sof/rimage" does not appear
to contain CMakeLists.txt.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2021-08-26 09:46:28 +03:00
..
defconfigs.cmake cmake: generate the complete .config at configuration time. 2021-03-03 22:33:53 +00:00
dist.cmake dist.cmake: add 'rebuild_cache' warning. 2020-07-10 15:41:18 +01:00
git-hooks.cmake cmake: add spdx license identifier 2019-06-02 16:38:17 +01:00
git-submodules.cmake cmake: defer the rimage build until it's actually needed. 2021-08-26 09:46:28 +03:00
kconfig.cmake cmake: generate the complete .config at configuration time. 2021-03-03 22:33:53 +00:00
misc.cmake cmake: generate the complete .config at configuration time. 2021-03-03 22:33:53 +00:00
version-build-counter.cmake cmake: add spdx license identifier 2019-06-02 16:38:17 +01:00
version.cmake version.cmake: don't trust CI to record time and versions and log ourselves 2021-04-01 16:39:20 +01:00
xtensa-platform.cmake cmake: add spdx license identifier 2019-06-02 16:38:17 +01:00
xtensa-toolchain.cmake cmake: print some error messages when XTENSA_TOOLS_ROOT is wrong 2021-03-08 12:05:08 +00:00