diff --git a/Makefile.dep b/Makefile.dep index 5899c45147..f2b92c23d1 100644 --- a/Makefile.dep +++ b/Makefile.dep @@ -26,14 +26,6 @@ ifneq (,$(filter ssp,$(USEMODULE))) FEATURES_REQUIRED += ssp 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.dep b/pkg/ndn-riot/Makefile.dep index d901a01642..1e70ba61e2 100644 --- a/pkg/ndn-riot/Makefile.dep +++ b/pkg/ndn-riot/Makefile.dep @@ -1,4 +1,9 @@ USEMODULE += ndn-encoding +USEMODULE += gnrc +USEMODULE += xtimer +USEMODULE += random +USEMODULE += hashes +USEPKG += micro-ecc # Blacklist platforms using nimble_netif with gnrc netif, e.g providing # ble_nimble: NimBLE and ndn-riot use different crypto libraries that have