2016-12-24 14:43:53 +08:00
|
|
|
#
|
|
|
|
# Component Makefile
|
|
|
|
#
|
|
|
|
|
2021-05-20 18:50:02 +10:00
|
|
|
ifdef CONFIG_LWIP_IPV6
|
|
|
|
|
2021-03-02 15:32:07 +00:00
|
|
|
COMPONENT_ADD_INCLUDEDIRS := port/include port/include libcoap/include
|
2016-12-24 14:43:53 +08:00
|
|
|
|
2021-03-02 15:32:07 +00:00
|
|
|
COMPONENT_OBJS = libcoap/src/address.o libcoap/src/async.o libcoap/src/block.o libcoap/src/coap_asn1.o libcoap/src/coap_cache.o libcoap/src/coap_debug.o libcoap/src/coap_event.o libcoap/src/coap_hashkey.o libcoap/src/coap_io.o libcoap/src/coap_mbedtls.o libcoap/src/coap_notls.o libcoap/src/coap_prng.o libcoap/src/coap_session.o libcoap/src/coap_tcp.o libcoap/src/coap_time.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
|
2016-12-24 14:43:53 +08:00
|
|
|
|
|
|
|
COMPONENT_SRCDIRS := libcoap/src libcoap port
|
2017-01-10 11:12:02 +11:00
|
|
|
|
|
|
|
COMPONENT_SUBMODULES += libcoap
|
2018-04-09 12:58:35 +02:00
|
|
|
|
2019-03-28 16:28:25 +08:00
|
|
|
# Silence format truncation warning, until it is fixed upstream
|
2021-03-02 15:32:07 +00:00
|
|
|
# libcoap/src/coap_debug.o: CFLAGS += -Wno-format-truncation
|
2021-05-20 18:50:02 +10:00
|
|
|
|
|
|
|
endif # CONFIG_LWIP_IPV6
|