Skip to content

Commit

Permalink
[slc] remove usage of daemon mode
Browse files Browse the repository at this point in the history
Using daemon mode causes issues when developing SLC components
  • Loading branch information
lmnotran committed Jul 22, 2024
1 parent 6dc4290 commit 633aa85
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions script/generate
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ trust_sdk_and_extensions()
set -x

# Trust the Gecko SDK submodule
run_slc --daemon -v 1 signature trust --sdk "${sdk_dir}" -data "${openthread_slc_data}"
run_slc -v 1 signature trust --sdk "${sdk_dir}" -data "${openthread_slc_data}"

# Ensure GSDK extension folder exists
mkdir -p "${sdk_dir}/extension"
Expand Down Expand Up @@ -138,7 +138,7 @@ trust_sdk_and_extensions()
fi

# Trust the extension
run_slc --daemon -v 1 signature trust --sdk "${sdk_dir}" -extpath "${extension_symlink}" -data "${openthread_slc_data}"
run_slc -v 1 signature trust --sdk "${sdk_dir}" -extpath "${extension_symlink}" -data "${openthread_slc_data}"
done

ls -alh "${sdk_dir}/extension"
Expand Down Expand Up @@ -215,10 +215,11 @@ generate()
echo "======================================================================"
set -x

run_slc --daemon -v 1 generate \
run_slc -v 1 generate \
-data "${openthread_slc_data?}" \
--cache-home "${build_dir}/slc/slcc_components.cache" \
--sdk="${sdk_dir?}" \
--clear-cache \
--project-file="${slcp}" \
--project-name="${project_name}" \
--output-type=makefile \
Expand Down

0 comments on commit 633aa85

Please sign in to comment.