mirror of https://github.com/thesofproject/sof.git
xtensa-build-zephyr.py: build rimage with -GNinja by default
This saves a couple seconds when building from scratch on Linux. On Linux the default CMake generator is "Makefiles" which is _not_ parallel by default. Thanks to the previous commit it's still possible to manually switch to "Makefiles" if desired. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
parent
2fcab330b9
commit
280dca92b5
|
@ -614,7 +614,7 @@ def build_platforms():
|
|||
)
|
||||
# CMake build rimage module
|
||||
if not (pathlib.Path(west_top) / rimage_dir_name / "CMakeCache.txt").is_file():
|
||||
execute_command(["cmake", "-B", rimage_dir_name,
|
||||
execute_command(["cmake", "-B", rimage_dir_name, "-G", "Ninja",
|
||||
"-S", str(rimage_source_dir)],
|
||||
cwd=west_top)
|
||||
rimage_build_cmd = ["cmake", "--build", rimage_dir_name]
|
||||
|
|
Loading…
Reference in New Issue