2013-11-18 11:21:50 +01:00
|
|
|
PKG_NAME=libcoap
|
2015-07-20 19:03:43 +02:00
|
|
|
PKG_URL=https://github.com/obgm/libcoap
|
2014-02-19 03:18:46 +01:00
|
|
|
PKG_VERSION=ef41ce5d02d64cec0751882ae8fd95f6c32bc018
|
2017-01-08 21:55:46 +01:00
|
|
|
PKG_LICENSE=BSD-2-Clause
|
2013-11-18 11:21:50 +01:00
|
|
|
|
2018-01-24 15:50:03 +01:00
|
|
|
# GCC 7.x fails on (intentional) fallthrough, thus disable implicit-fallthrough.
|
|
|
|
CFLAGS += -Wno-implicit-fallthrough
|
|
|
|
|
2016-03-22 18:29:46 +01:00
|
|
|
.PHONY: all
|
2013-11-18 11:21:50 +01:00
|
|
|
|
2016-03-23 16:38:19 +01:00
|
|
|
all: git-download
|
2016-03-22 18:29:46 +01:00
|
|
|
"$(MAKE)" -C $(PKG_BUILDDIR)
|
2013-11-18 11:21:50 +01:00
|
|
|
|
2016-03-22 18:29:46 +01:00
|
|
|
include $(RIOTBASE)/pkg/pkg.mk
|
2018-08-03 17:56:22 +02:00
|
|
|
|
|
|
|
ifeq (llvm,$(TOOLCHAIN))
|
|
|
|
CFLAGS += -Wno-format-nonliteral
|
|
|
|
endif
|