1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-28 07:51:19 +01:00

pkg/tinydtls: Only include contrib folder if using tinydtls_sock_dtls

This commit is contained in:
Leandro Lanzieri 2020-01-15 16:10:33 +01:00
parent 50f1b1423a
commit 0d419f0391

View File

@ -7,7 +7,6 @@ ifeq ($(TOOLCHAIN), llvm)
endif
INCLUDES += -I$(RIOTBASE)/pkg/tinydtls/include
DIRS += $(RIOTBASE)/pkg/tinydtls/contrib
ifneq (,$(filter tinydtls,$(USEMODULE)))
INCLUDES += -I$(PKG_BUILDDIR)
@ -56,3 +55,8 @@ endif
ifneq (,$(filter tinydtls_ecc,$(USEMODULE)))
DIRS += $(PKG_BUILDDIR)/ecc
endif
# For now contrib only contains sock_dtls adaption
ifneq (,$(filter tinydtls_sock_dtls,$(USEMODULE)))
DIRS += $(RIOTBASE)/pkg/tinydtls/contrib
endif