Lines Matching +full:ninja +full:- +full:build
33 echo "Toranj Build script "
37 echo " all : Build OpenThread NCP, CLI, and RCP with simulation platform"
38 echo " ncp : Build OpenThread NCP mode with simulation platform"
39 echo " ncp-15.4 : Build OpenThread NCP mode with simulation platform - 15.4 radio"
40 … echo " ncp-trel : Build OpenThread NCP mode with simulation platform - TREL radio "
41 …echo " ncp-15.4+trel : Build OpenThread NCP mode with simulation platform - multi radio (…
42 echo " cli : Build OpenThread CLI mode with simulation platform"
43 echo " cli-15.4 : Build OpenThread CLI mode with simulation platform - 15.4 radio"
44 … echo " cli-trel : Build OpenThread CLI mode with simulation platform - TREL radio "
45 …echo " cli-15.4+trel : Build OpenThread CLI mode with simulation platform - multi radio (…
46 … echo " rcp : Build OpenThread RCP (NCP in radio mode) with simulation platform"
47 echo " posix : Build OpenThread POSIX"
48 echo " posix-15.4 : Build OpenThread POSIX - 15.4 radio"
49 echo " posix-trel : Build OpenThread POSIX - TREL radio "
50 echo " posix-15.4+trel : Build OpenThread POSIX - multi radio (15.4+TREL)"
53 echo " -c/--enable-coverage Enable code coverage"
54 echo " -k/--enable-plat-key-ref Enable OT_PLATFORM_KEY_REF"
70 while [ $# -ge 2 ]; do
72 -c | --enable-coverage)
76 -t | --enable-tests)
79 -k | --enable-plat-key-ref)
94 if [ "$#" -ne 1 ]; then
101 if [ -n "${top_builddir}" ]; then
103 mkdir -p "${top_builddir}"
110 ncp | ncp-)
115 …cmake -GNinja -DOT_PLATFORM=simulation -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverag…
116 -DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=OFF -DOT_APP_NCP=ON -DOT_APP_RCP=OFF \
117 -DOT_OPERATIONAL_DATASET_AUTO_INIT=ON -DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
118 -DOT_BORDER_ROUTING=OFF \
119 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
121 ninja || die
124 ncp-15.4)
126 echo "Building OpenThread NCP with simulation platform - 15.4 radio"
129 …cmake -GNinja -DOT_PLATFORM=simulation -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverag…
130 -DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=OFF -DOT_APP_NCP=ON -DOT_APP_RCP=OFF \
131 -DOT_15_4=ON -DOT_TREL=OFF -DOT_OPERATIONAL_DATASET_AUTO_INIT=ON \
132 -DOT_BORDER_ROUTING=OFF \
133 -DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
134 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
136 ninja || die
137 …cp -p "${top_builddir}/examples/apps/ncp/ot-ncp-ftd" "${top_builddir}/examples/apps/ncp/ot-ncp-ftd…
140 ncp-trel)
142 echo "Building OpenThread NCP with simulation platform - TREL radio"
145 …cmake -GNinja -DOT_PLATFORM=simulation -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverag…
146 -DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=OFF -DOT_APP_NCP=ON -DOT_APP_RCP=OFF \
147 -DOT_15_4=OFF -DOT_TREL=ON -DOT_OPERATIONAL_DATASET_AUTO_INIT=ON \
148 -DOT_BORDER_ROUTING=OFF \
149 -DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
150 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
152 ninja || die
153 …cp -p "${top_builddir}/examples/apps/ncp/ot-ncp-ftd" "${top_builddir}/examples/apps/ncp/ot-ncp-ftd…
156 ncp-15.4+trel | ncp-trel+15.4)
158 echo "Building OpenThread NCP with simulation platform - multi radio (15.4 + TREL)"
161 …cmake -GNinja -DOT_PLATFORM=simulation -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverag…
162 -DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=OFF -DOT_APP_NCP=ON -DOT_APP_RCP=OFF \
163 -DOT_15_4=ON -DOT_TREL=ON -DOT_OPERATIONAL_DATASET_AUTO_INIT=ON \
164 -DOT_BORDER_ROUTING=OFF \
165 -DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
166 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
168 ninja || die
169 …cp -p "${top_builddir}/examples/apps/ncp/ot-ncp-ftd" "${top_builddir}/examples/apps/ncp/ot-ncp-ftd…
172 cli | cli-)
177 …cmake -GNinja -DOT_PLATFORM=simulation -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverag…
178 -DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=ON -DOT_APP_NCP=OFF -DOT_APP_RCP=OFF \
179 -DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
180 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
182 ninja || die
185 cli-15.4)
187 echo "Building OpenThread CLI with simulation platform - 15.4 radio"
190 …cmake -GNinja -DOT_PLATFORM=simulation -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverag…
191 -DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=ON -DOT_APP_NCP=OFF -DOT_APP_RCP=OFF \
192 -DOT_15_4=ON -DOT_TREL=OFF \
193 -DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
194 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
196 ninja || die
197 …cp -p "${top_builddir}/examples/apps/cli/ot-cli-ftd" "${top_builddir}/examples/apps/cli/ot-cli-ftd…
200 cli-trel)
202 echo "Building OpenThread CLI with simulation platform - TREL radio"
205 …cmake -GNinja -DOT_PLATFORM=simulation -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverag…
206 -DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=ON -DOT_APP_NCP=OFF -DOT_APP_RCP=OFF \
207 -DOT_15_4=OFF -DOT_TREL=ON \
208 -DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
209 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
211 ninja || die
212 …cp -p "${top_builddir}/examples/apps/cli/ot-cli-ftd" "${top_builddir}/examples/apps/cli/ot-cli-ftd…
215 cli-15.4+trel | cli-trel+15.4)
217 echo "Building OpenThread NCP with simulation platform - multi radio (15.4 + TREL)"
220 …cmake -GNinja -DOT_PLATFORM=simulation -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverag…
221 -DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=ON -DOT_APP_NCP=OFF -DOT_APP_RCP=OFF \
222 -DOT_15_4=ON -DOT_TREL=ON \
223 -DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
224 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
226 ninja || die
227 …cp -p "${top_builddir}/examples/apps/cli/ot-cli-ftd" "${top_builddir}/examples/apps/cli/ot-cli-ftd…
235 …cmake -GNinja -DOT_PLATFORM=simulation -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverag…
236 -DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=OFF -DOT_APP_NCP=OFF -DOT_APP_RCP=ON \
237 -DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
238 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
240 ninja || die
243 posix | posix- | cmake-posix-host | cmake-posix | cmake-p)
248 … cmake -GNinja -DOT_PLATFORM=posix -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverage} \
249 -DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=ON -DOT_APP_NCP=ON -DOT_APP_RCP=OFF \
250 -DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
251 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-posix.h \
253 ninja || die
256 posix-15.4)
258 echo "Building OpenThread POSIX - 15.4 radio"
261 … cmake -GNinja -DOT_PLATFORM=posix -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverage} \
262 -DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=ON -DOT_APP_NCP=ON -DOT_APP_RCP=OFF \
263 -DOT_15_4=ON -DOT_TREL=OFF \
264 -DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
265 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-posix.h \
267 ninja || die
270 posix-trel)
272 echo "Building OpenThread POSIX - TREL radio"
275 … cmake -GNinja -DOT_PLATFORM=posix -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverage} \
276 -DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=ON -DOT_APP_NCP=ON -DOT_APP_RCP=OFF \
277 -DOT_15_4=OFF -DOT_TREL=ON \
278 -DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
279 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-posix.h \
281 ninja || die
284 posix-trel+15.4 | posix-15.4+trel)
286 echo "Building OpenThread POSIX - multi radio link (15.4 + TREL)"
289 … cmake -GNinja -DOT_PLATFORM=posix -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverage} \
290 -DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=ON -DOT_APP_NCP=ON -DOT_APP_RCP=OFF \
291 -DOT_15_4=ON -DOT_TREL=ON \
292 -DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
293 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-posix.h \
295 ninja || die
303 …cmake -GNinja -DOT_PLATFORM=simulation -DOT_COMPILE_WARNING_AS_ERROR=ON -DOT_COVERAGE=${ot_coverag…
304 -DOT_THREAD_VERSION=1.4 -DOT_APP_CLI=ON -DOT_APP_NCP=ON -DOT_APP_RCP=ON \
305 -DOT_PLATFORM_KEY_REF=${ot_plat_key_ref} \
306 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
308 ninja || die