[build] rename posix-app to posix (#4661)

This commit is contained in:
Yakun Xu
2020-03-11 11:42:30 -07:00
committed by GitHub
parent 34b83ae6c5
commit 653745911f
38 changed files with 198 additions and 232 deletions
+2 -2
View File
@@ -180,14 +180,14 @@ do_package() {
builddir="${OT_BUILDDIR}/cmake/openthread-host"
(mkdir -p "${builddir}" \
&& cd "${builddir}" \
&& cmake "${OT_SRCDIR}" -DOT_PLATFORM="posix-host" \
&& cmake "${OT_SRCDIR}" -DOT_PLATFORM="posix" \
&& make -j"${OT_BUILD_JOBS}" package \
&& ls "${builddir}"/openthread-standalone-*.deb)
builddir="${OT_BUILDDIR}/cmake/openthread-daemon"
(mkdir -p "${builddir}" \
&& cd "${builddir}" \
&& cmake "${OT_SRCDIR}" -DOT_PLATFORM="posix-host" -DOT_DAEMON=1 -DOT_PLATFORM_NETIF=1 -DOT_PLATFORM_UDP=1 \
&& cmake "${OT_SRCDIR}" -DOT_PLATFORM="posix" -DOT_DAEMON=1 -DOT_PLATFORM_NETIF=1 -DOT_PLATFORM_UDP=1 \
&& make -j"${OT_BUILD_JOBS}" package \
&& ls "${builddir}"/openthread-daemon-*.deb)
}