1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/tinydtls/Makefile.include
smlng 36ae072c55 pkg: tinydtls, disable compiler errors if toolchain llvm
- set no-gnu-zero-variadic-macro-arguments
    - set no-unused-function
2017-03-22 23:07:22 +01:00

20 lines
425 B
Makefile

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