File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ function _compile(){
25
25
default_cmake_args=(-DCONFIG_COVERAGE=y -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
26
26
-DCONFIG_COMPILER_WARNINGS_AS_ERRORS=y -DCONFIG_ASSERT=y)
27
27
local cmake_args=(${cmake_args:-"${default_cmake_args[@]}"})
28
- local cmake_extra_args=" ${cmake_extra_args:-""}"
28
+ local cmake_extra_args=( ${cmake_extra_args:-""})
29
29
local ninja_args="${ninja_args:-""}"
30
30
local cc_flags="${cc_flags:-""}"
31
31
@@ -61,7 +61,7 @@ function _compile(){
61
61
local cmake_cmd+=( -DOVERLAY_CONFIG="${conf_overlay}" \
62
62
-DEXTRA_CONF_FILE="${extra_conf_file}" \
63
63
${modules_arg} \
64
- "${cmake_args[@]}" ${cc_flags:+-DCMAKE_C_FLAGS=${cc_flags}} ${cmake_extra_args} )
64
+ "${cmake_args[@]}" ${cc_flags:+-DCMAKE_C_FLAGS=${cc_flags}} " ${cmake_extra_args[@]}" )
65
65
if [ -v sysbuild ]; then
66
66
local cmake_cmd+=( -DAPP_DIR=${app_root}/${app} ${ZEPHYR_BASE}/share/sysbuild/)
67
67
else
You can’t perform that action at this time.
0 commit comments