Makefile.include 423 Bytes
PKG_BUILDDIR ?= $(PKGDIRBASE)/tinydtls

INCLUDES += -I$(PKG_BUILDDIR)

ifeq ($(TOOLCHAIN), llvm)
  CFLAGS += -Wno-gnu-zero-variadic-macro-arguments -Wno-unused-function
endif

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