mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
e305f29382
- 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
19 lines
812 B
Makefile
19 lines
812 B
Makefile
#
|
|
# Component Makefile
|
|
#
|
|
|
|
ifdef CONFIG_LWIP_IPV6
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS := port/include port/include/coap libcoap/include libcoap/include/coap2
|
|
|
|
COMPONENT_OBJS = libcoap/src/address.o libcoap/src/async.o libcoap/src/block.o libcoap/src/coap_event.o libcoap/src/coap_hashkey.o libcoap/src/coap_session.o libcoap/src/coap_time.o port/coap_debug.o libcoap/src/encode.o libcoap/src/mem.o libcoap/src/net.o libcoap/src/option.o libcoap/src/pdu.o libcoap/src/resource.o libcoap/src/str.o libcoap/src/subscribe.o libcoap/src/uri.o port/coap_mbedtls.o libcoap/src/coap_io.o port/coap_notls.o
|
|
|
|
COMPONENT_SRCDIRS := libcoap/src libcoap port
|
|
|
|
COMPONENT_SUBMODULES += libcoap
|
|
|
|
# Silence format truncation warning, until it is fixed upstream
|
|
port/coap_debug.o: CFLAGS += -Wno-format-truncation
|
|
|
|
endif # CONFIG_LWIP_IPV6
|