2016-12-24 06:43:53 +00:00
|
|
|
#
|
|
|
|
# Component Makefile
|
|
|
|
#
|
|
|
|
|
|
|
|
COMPONENT_ADD_INCLUDEDIRS := port/include port/include/coap libcoap/include libcoap/include/coap
|
|
|
|
|
|
|
|
COMPONENT_OBJS = libcoap/src/address.o libcoap/src/async.o libcoap/src/block.o libcoap/src/coap_time.o libcoap/src/debug.o libcoap/src/encode.o libcoap/src/hashkey.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_io_socket.o
|
|
|
|
|
|
|
|
COMPONENT_SRCDIRS := libcoap/src libcoap port
|
2017-01-10 00:12:02 +00:00
|
|
|
|
|
|
|
COMPONENT_SUBMODULES += libcoap
|
2018-04-09 10:58:35 +00:00
|
|
|
|
|
|
|
libcoap/src/debug.o: CFLAGS += -Wno-write-strings
|
|
|
|
libcoap/src/pdu.o: CFLAGS += -Wno-write-strings
|
2018-08-30 03:24:34 +00:00
|
|
|
ifeq ($(GCC_NOT_5_2_0), 1)
|
2018-06-14 16:11:21 +00:00
|
|
|
# Temporary suppress "fallthrough" warnings until they are fixed in libcoap repo
|
|
|
|
libcoap/src/option.o: CFLAGS += -Wno-implicit-fallthrough
|
2018-08-30 03:24:34 +00:00
|
|
|
endif
|