Skip to content

Commit

Permalink
wip - ot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jepenven-silabs committed Mar 20, 2023
1 parent f4e1ba0 commit dcadebd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions scripts/build/builders/efr32.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@ def __init__(self,
# case for pre-installed images), use it directly.
sdk_path = shlex.quote(os.environ['GSDK_ROOT'])
self.extra_gn_options.append(f"efr32_sdk_root=\"{sdk_path}\"")
self.extra_gn_options.append(f"openthread_root=\"{sdk_path}/util/third_party/openthread\"")
self.extra_gn_options.append(f"openthread_efr32_root=\"{sdk_path}/protocol/openthread/platform-abstraction/efr32\"")
self.extra_gn_options.append(f"sl_openthread_root=\"{sdk_path}/util/third_party/openthread\"")

def GnBuildArgs(self):
return self.extra_gn_options
Expand Down
2 changes: 1 addition & 1 deletion scripts/examples/gn_efr32_example.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ else
shift
;;
--docker)
optArgs+="efr32_sdk_root=\"$GSDK_ROOT\" openthread_root=\"$GSDK_ROOT/util/third_party/openthread\" openthread_efr32_root=\"$GSDK_ROOT/protocol/openthread\""
optArgs+="efr32_sdk_root=\"$GSDK_ROOT\" openthread_root=\"$GSDK_ROOT/util/third_party/openthread\" openthread_efr32_root=\"$GSDK_ROOT/protocol/openthread/platform-abstraction/efr32\""
shift
;;
*)
Expand Down

0 comments on commit dcadebd

Please sign in to comment.