2016-10-27 15:58:04 +02:00
|
|
|
PKG_NAME=tinydtls
|
2019-03-21 14:43:47 +01:00
|
|
|
PKG_URL=https://github.com/eclipse/tinydtls.git
|
2019-12-09 23:14:08 +01:00
|
|
|
PKG_VERSION=7a0420bfe3c041789cc0fe87822832f2fd12d0c3
|
2017-01-08 21:55:47 +01:00
|
|
|
PKG_LICENSE=EPL-1.0,EDL-1.0
|
2016-10-27 15:58:04 +02:00
|
|
|
|
2018-01-16 10:31:56 +01:00
|
|
|
CFLAGS += -Wno-implicit-fallthrough
|
2018-02-08 15:18:32 +01:00
|
|
|
# following is require due to known issue with newlib 2.4.x, see bug report:
|
|
|
|
# http://lists-archives.com/cygwin/97008-gettimeofday-not-defined.html
|
|
|
|
CFLAGS += -D_XOPEN_SOURCE=600
|
2018-01-16 10:31:56 +01:00
|
|
|
|
2016-10-27 15:58:04 +02:00
|
|
|
.PHONY: all
|
|
|
|
|
2019-06-27 15:18:37 +02:00
|
|
|
all:
|
2017-11-14 11:42:39 +01:00
|
|
|
@cp $(PKG_BUILDDIR)/Makefile.riot $(PKG_BUILDDIR)/Makefile
|
|
|
|
@cp $(PKG_BUILDDIR)/aes/Makefile.riot $(PKG_BUILDDIR)/aes/Makefile
|
|
|
|
@cp $(PKG_BUILDDIR)/ecc/Makefile.riot $(PKG_BUILDDIR)/ecc/Makefile
|
2017-12-15 14:57:49 +01:00
|
|
|
"$(MAKE)" -C $(PKG_BUILDDIR)
|
2016-10-27 15:58:04 +02:00
|
|
|
|
|
|
|
include $(RIOTBASE)/pkg/pkg.mk
|
2018-08-03 17:56:34 +02:00
|
|
|
|
|
|
|
ifeq (llvm,$(TOOLCHAIN))
|
|
|
|
CFLAGS += -Wno-format-nonliteral
|
|
|
|
endif
|