Browse Source
Calling `west build --build-opt="-v" --build-opt="-j=<n>"` passes the build options to `cmake --build ... -- <build-opt>` which again is passed to the native build tool, such as ninja or make. However, when ExternalProjects are used in CMake, such as in TF-M or sysbuild builds then those extra build options are only passed to the first image build and not those build as external projects. CMake supports environment variables for those flags, so translate verbosity and number of jobs to those environment variables and thereby support those flags for all images when specified by the user. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>pull/86568/head
1 changed files with 26 additions and 3 deletions
Loading…
Reference in new issue