mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
40c9f0599c
Fixes bug where hardware accelerated mbedtls_mpi API was always used, even when disabled in config.
20 lines
483 B
Makefile
20 lines
483 B
Makefile
#
|
|
# Component Makefile
|
|
#
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS := port/include mbedtls/include
|
|
|
|
COMPONENT_SRCDIRS := mbedtls/library port port/$(IDF_TARGET)
|
|
|
|
COMPONENT_OBJEXCLUDE := mbedtls/library/net_sockets.o
|
|
|
|
COMPONENT_SUBMODULES += mbedtls
|
|
|
|
ifndef CONFIG_MBEDTLS_HARDWARE_MPI
|
|
COMPONENT_OBJEXCLUDE += port/$(IDF_TARGET)/esp_bignum.o
|
|
endif
|
|
|
|
ifndef CONFIG_MBEDTLS_HARDWARE_SHA
|
|
COMPONENT_OBJEXCLUDE += port/esp_sha1.o port/esp_sha256.o port/esp_sha512.o port/$(IDF_TARGET)/sha.o
|
|
endif
|