component.mk 483 B

12345678910111213141516171819
  1. #
  2. # Component Makefile
  3. #
  4. COMPONENT_ADD_INCLUDEDIRS := port/include mbedtls/include
  5. COMPONENT_SRCDIRS := mbedtls/library port port/$(IDF_TARGET)
  6. COMPONENT_OBJEXCLUDE := mbedtls/library/net_sockets.o
  7. COMPONENT_SUBMODULES += mbedtls
  8. ifndef CONFIG_MBEDTLS_HARDWARE_MPI
  9. COMPONENT_OBJEXCLUDE += port/$(IDF_TARGET)/esp_bignum.o
  10. endif
  11. ifndef CONFIG_MBEDTLS_HARDWARE_SHA
  12. COMPONENT_OBJEXCLUDE += port/esp_sha1.o port/esp_sha256.o port/esp_sha512.o port/$(IDF_TARGET)/sha.o
  13. endif