mbedtls: remove wrap from component.mk as well

Note: This was not required in original MR, as master branch does
not support GNU Make.
This commit is contained in:
Mahavir Jain 2021-12-02 17:13:31 +05:30
parent 7a8c8f8576
commit 70936f4c92

View File

@ -75,10 +75,6 @@ WRAP_FUNCTIONS = mbedtls_ssl_handshake_client_step \
COMPONENT_SRCDIRS += port/dynamic
endif
ifdef CONFIG_MBEDTLS_HARDWARE_MPI
WRAP_FUNCTIONS += mbedtls_mpi_exp_mod
endif
ifneq ($(origin WRAP_FUNCTIONS),undefined)
WRAP_ARGUMENT := -Wl,--wrap=
COMPONENT_ADD_LDFLAGS = -l$(COMPONENT_NAME) $(addprefix $(WRAP_ARGUMENT),$(WRAP_FUNCTIONS))