[tcp] remove EXCLUDE_TCPLP_LIB option (#8883)

Signed-off-by: Mariusz Poslinski <mariusz.poslinski@nordicsemi.no>
This commit is contained in:
Mariusz Poslinski
2023-05-09 06:23:40 +02:00
committed by GitHub
parent 92b954ae1d
commit 3d3ed4fbc1
5 changed files with 4 additions and 12 deletions
+1 -2
View File
@@ -223,8 +223,6 @@ else()
message(FATAL_ERROR "Invalid max RCP restoration count: ${OT_RCP_RESTORATION_MAX_COUNT}")
endif()
option(OT_EXCLUDE_TCPLP_LIB "exclude TCPlp library from build")
if(NOT OT_EXTERNAL_MBEDTLS)
set(OT_MBEDTLS mbedtls)
target_compile_definitions(ot-config INTERFACE "OPENTHREAD_CONFIG_ENABLE_BUILTIN_MBEDTLS=1")
@@ -257,3 +255,4 @@ macro(ot_removed_option name error)
endmacro()
ot_removed_option(OT_MTD_NETDIAG "- Use OT_NETDIAG_CLIENT instead - note that server function is always supported")
ot_removed_option(OT_EXCLUDE_TCPLP_LIB "- Use OT_TCP instead, OT_EXCLUDE_TCPLP_LIB is deprecated")
-1
View File
@@ -39,7 +39,6 @@ This page lists the available common switches with description. Unless stated ot
| DUA | OT_DUA | Enables the Domain Unicast Address feature for Thread 1.2. |
| DYNAMIC_LOG_LEVEL | not implemented | Enables the dynamic log level feature. Enable this switch if OpenThread log level is required to be set at runtime. See [Logging guide](https://openthread.io/guides/build/logs) to learn more. |
| ECDSA | OT_ECDSA | Enables support for Elliptic Curve Digital Signature Algorithm. Enable this switch if ECDSA digital signature is used by application. |
| EXCLUDE_TCPLP_LIB | OT_EXCLUDE_TCPLP_LIB | Exclude TCPlp library from the build. |
| EXTERNAL_HEAP | OT_EXTERNAL_HEAP | Enables support for external heap. Enable this switch if the platform uses its own heap. Make sure to specify the external heap Calloc and Free functions to be used by the OpenThread stack. |
| FULL_LOGS | OT_FULL_LOGS | Enables all log levels and regions. This switch sets the log level to OT_LOG_LEVEL_DEBG and turns on all region flags. See [Logging guide](https://openthread.io/guides/build/logs) to learn more. |
| HISTORY_TRACKER | OT_HISTORY_TRACKER | Enables support for History Tracker. |
+1 -3
View File
@@ -47,6 +47,4 @@ target_link_libraries(openthread-ftd
ot-config
)
if(NOT OT_EXCLUDE_TCPLP_LIB)
target_link_libraries(openthread-ftd PRIVATE tcplp-ftd)
endif()
target_link_libraries(openthread-ftd PRIVATE tcplp-ftd)
+1 -3
View File
@@ -47,6 +47,4 @@ target_link_libraries(openthread-mtd
ot-config
)
if(NOT OT_EXCLUDE_TCPLP_LIB)
target_link_libraries(openthread-mtd PRIVATE tcplp-mtd)
endif()
target_link_libraries(openthread-mtd PRIVATE tcplp-mtd)
+1 -3
View File
@@ -30,6 +30,4 @@ if(NOT OT_EXTERNAL_MBEDTLS)
add_subdirectory(mbedtls)
endif()
if(NOT OT_EXCLUDE_TCPLP_LIB)
add_subdirectory(tcplp)
endif()
add_subdirectory(tcplp)