mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
9d72bdda58
- Removes need to manually exclude these components as shown at
https://github.com/espressif/esp-idf/issues/3781#issuecomment-825742378
- Hide the config for these components if IPV6 is disabled
- The components are still included in the build, but with no source
files
Backport of e305f29382
Closes https://github.com/espressif/esp-idf/issues/7816
14 lines
356 B
Makefile
14 lines
356 B
Makefile
ifdef CONFIG_LWIP_IPV6
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS := asio/asio/include port/include
|
|
COMPONENT_PRIV_INCLUDEDIRS := private_include
|
|
COMPONENT_SRCDIRS := asio/asio/src port/src
|
|
|
|
ifeq ($(CONFIG_ASIO_SSL_SUPPORT), )
|
|
COMPONENT_OBJEXCLUDE := asio/asio/src/asio_ssl.o port/src/esp_asio_openssl_stubs.o
|
|
endif
|
|
|
|
COMPONENT_SUBMODULES += asio
|
|
|
|
endif # CONFIG_LWIP_IPV6
|