Skip to content

Commit

Permalink
[border-agent] config related OpenThread core build flag according to…
Browse files Browse the repository at this point in the history
… OTBR_EPSKC option (openthread#2247)
  • Loading branch information
mia1yang committed May 10, 2024
1 parent e56c020 commit 72ae1f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion etc/cmake/options.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ if(OTBR_TREL)
target_compile_definitions(otbr-config INTERFACE OTBR_ENABLE_TREL=1)
endif()

option(OTBR_EPSKC "Enable ePSKc Support" OFF)
option(OTBR_EPSKC "Enable ephemeral PSKc" ON)
if (OTBR_EPSKC)
target_compile_definitions(otbr-config INTERFACE OTBR_ENABLE_EPSKC=1)
else()
Expand Down
1 change: 1 addition & 0 deletions third_party/openthread/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ set(OT_ANYCAST_LOCATOR ON CACHE STRING "enable anycast locator" FORCE)
set(OT_BACKBONE_ROUTER ${OTBR_BACKBONE_ROUTER} CACHE STRING "Enable Backbone Router feature in OpenThread" FORCE)
set(OT_BACKBONE_ROUTER_DUA_NDPROXYING ${OTBR_DUA_ROUTING} CACHE STRING "Configure DUA ND Proxy feature in OpenThread" FORCE)
set(OT_BORDER_AGENT ON CACHE STRING "enable border agent" FORCE)
set(OT_BORDER_AGENT_EPSKC ON CACHE STRING "enable border agent ephemeral PSKc" FORCE)
set(OT_BORDER_AGENT_ID ON CACHE STRING "enable border agent ID" FORCE)
set(OT_BORDER_ROUTER ON CACHE STRING "enable border router feature" FORCE)
set(OT_BORDER_ROUTING ${OTBR_BORDER_ROUTING} CACHE STRING "enable border routing feature" FORCE)
Expand Down

0 comments on commit 72ae1f1

Please sign in to comment.