2017-02-25 15:41:39 +01:00
|
|
|
PKG_BUILDDIR ?= $(PKGDIRBASE)/tinydtls
|
2016-11-03 16:53:24 +01:00
|
|
|
|
|
|
|
INCLUDES += -I$(PKG_BUILDDIR)
|
|
|
|
|
2017-02-15 17:17:24 +01:00
|
|
|
ifeq ($(TOOLCHAIN), llvm)
|
2017-09-22 14:52:51 +02:00
|
|
|
CFLAGS += -Wno-gnu-zero-variadic-macro-arguments -Wno-unused-function
|
2017-01-13 20:34:13 +01:00
|
|
|
endif
|
|
|
|
|
2016-11-03 16:53:24 +01:00
|
|
|
ifneq (,$(filter tinydtls_aes,$(USEMODULE)))
|
|
|
|
DIRS += $(PKG_BUILDDIR)/aes
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter tinydtls_ecc,$(USEMODULE)))
|
|
|
|
DIRS += $(PKG_BUILDDIR)/ecc
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter tinydtls_sha2,$(USEMODULE)))
|
|
|
|
DIRS += $(PKG_BUILDDIR)/sha2
|
|
|
|
endif
|