mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-21 00:56:38 +08:00

feat(mbedtls): remove util algorithm and add them to esp8266 rom and mbedtls See merge request sdk/ESP8266_RTOS_SDK!1256
32 lines
853 B
Makefile
32 lines
853 B
Makefile
#
|
|
# Component Makefile
|
|
#
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS := port/include mbedtls/include port/include/$(IDF_TARGET)
|
|
|
|
COMPONENT_SRCDIRS := mbedtls/library port port/$(IDF_TARGET)
|
|
|
|
COMPONENT_OBJEXCLUDE := mbedtls/library/net_sockets.o
|
|
|
|
COMPONENT_SUBMODULES += mbedtls
|
|
|
|
ifdef CONFIG_MBEDTLS_DYNAMIC_BUFFER
|
|
|
|
WRAP_FUNCTIONS = mbedtls_ssl_handshake_client_step \
|
|
mbedtls_ssl_handshake_server_step \
|
|
mbedtls_ssl_read \
|
|
mbedtls_ssl_write \
|
|
mbedtls_ssl_session_reset \
|
|
mbedtls_ssl_free \
|
|
mbedtls_ssl_setup \
|
|
mbedtls_ssl_send_alert_message \
|
|
mbedtls_ssl_close_notify
|
|
|
|
WRAP_ARGUMENT := -Wl,--wrap=
|
|
|
|
COMPONENT_ADD_LDFLAGS = -l$(COMPONENT_NAME) $(addprefix $(WRAP_ARGUMENT),$(WRAP_FUNCTIONS))
|
|
|
|
COMPONENT_SRCDIRS += port/dynamic
|
|
|
|
endif
|