PKG_BUILDDIR ?= $(BINDIRBASE)/pkg/$(BOARD)/tinydtls INCLUDES += -I$(PKG_BUILDDIR) ifeq ($(shell uname -s),Darwin) 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