mirror of
https://github.com/espressif/openthread.git
synced 2026-08-06 18:57:47 +00:00
[script] support cmake-build in different dir (#7344)
This commit allows calling this cmake-build script from a different directory. Currently it only supports root of OpenThread source.
This commit is contained in:
+3
-1
@@ -63,7 +63,9 @@ set -euxo pipefail
|
||||
|
||||
OT_CMAKE_NINJA_TARGET=${OT_CMAKE_NINJA_TARGET:-}
|
||||
|
||||
readonly OT_SRCDIR="$(pwd)"
|
||||
OT_SRCDIR="$(cd "$(dirname "$0")"/.. && pwd)"
|
||||
|
||||
readonly OT_SRCDIR
|
||||
readonly OT_PLATFORMS=(cc2538 simulation posix)
|
||||
readonly OT_POSIX_SIM_COMMON_OPTIONS=(
|
||||
"-DOT_ANYCAST_LOCATOR=ON"
|
||||
|
||||
Reference in New Issue
Block a user