mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-21 09:05:59 +08:00
22 lines
921 B
Makefile
22 lines
921 B
Makefile
#
|
|
# Component Makefile
|
|
#
|
|
|
|
ifdef CONFIG_SSL_USING_WOLFSSL
|
|
COMPONENT_ADD_INCLUDEDIRS := wolfssl/include wolfssl/wolfssl wolfssl/wolfssl/wolfssl
|
|
|
|
WOLFSSLLIB = wolfssl
|
|
COMPONENT_ADD_LDFLAGS := -L $(COMPONENT_PATH)/wolfssl/lib -lwolfssl
|
|
|
|
# re-link program if wolfssl library change
|
|
COMPONENT_ADD_LINKER_DEPS := $(patsubst %,$(COMPONENT_PATH)/wolfssl/lib/lib%.a,$(WOLFSSLLIB))
|
|
else
|
|
ifdef CONFIG_SSL_USING_MBEDTLS
|
|
COMPONENT_PRIV_INCLUDEDIRS := mbedtls/port/openssl/include/internal mbedtls/port/openssl/include/openssl mbedtls/port/openssl/include/platform
|
|
COMPONENT_ADD_INCLUDEDIRS += mbedtls/mbedtls/include mbedtls/port/esp8266/include mbedtls/port/openssl/include
|
|
COMPONENT_SRCDIRS += mbedtls/mbedtls/library mbedtls/port/esp8266 mbedtls/port/openssl/source/library mbedtls/port/openssl/source/platform
|
|
else
|
|
COMPONENT_ADD_INCLUDEDIRS := axtls/include
|
|
COMPONENT_SRCDIRS := axtls/source/ssl axtls/source/crypto
|
|
endif
|
|
endif |