Skip to content

Commit

Permalink
Merge pull request #13132 from leandrolanzieri/pr/pkg/tinydtls_fix_co…
Browse files Browse the repository at this point in the history
…ntrib_include

pkg/tinydtls: Only include contrib folder if using tinydtls_sock_dtls
  • Loading branch information
aabadie authored Jan 15, 2020
2 parents 5fd981b + 0d419f0 commit 18d15b6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/tinydtls/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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

0 comments on commit 18d15b6

Please sign in to comment.