diff --git a/Makefile.dep b/Makefile.dep index 6fbd8a1e6f60a5a89715808faffeafb6ef84ebdb..ea5924cfab7892ef98f0412bd6f7193d9f10b7ca 100644 --- a/Makefile.dep +++ b/Makefile.dep @@ -14,6 +14,14 @@ ifneq (,$(filter cbor_ctime,$(USEMODULE))) endif endif +ifneq (,$(filter ndn-riot,$(USEPKG))) + USEMODULE += gnrc + USEMODULE += xtimer + USEMODULE += random + USEMODULE += hashes + USEPKG += micro-ecc +endif + ifneq (,$(filter csma_sender,$(USEMODULE))) USEMODULE += random USEMODULE += xtimer diff --git a/pkg/ndn-riot/Makefile b/pkg/ndn-riot/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..54c04bba8886854b19e6ac4e5980c2cc0a289b8c --- /dev/null +++ b/pkg/ndn-riot/Makefile @@ -0,0 +1,11 @@ +PKG_NAME=ndn-riot +PKG_URL=https://github.com/named-data-iot/ndn-riot +PKG_VERSION=34c5eb8adf198049f0a56048825b505c561a8874 +PKG_LICENSE=LGPLv2.1 + +.PHONY: all + +all: git-download + "$(MAKE)" -C $(PKG_BUILDDIR) + +include $(RIOTBASE)/pkg/pkg.mk diff --git a/pkg/ndn-riot/Makefile.include b/pkg/ndn-riot/Makefile.include new file mode 100644 index 0000000000000000000000000000000000000000..5b2eed61447a96c773bb2c02144061f0130435ff --- /dev/null +++ b/pkg/ndn-riot/Makefile.include @@ -0,0 +1,2 @@ +INCLUDES += -I$(PKGDIRBASE) +USEMODULE += ndn-encoding