diff --git a/Makefile.dep b/Makefile.dep index d6cdac551a..871004638c 100644 --- a/Makefile.dep +++ b/Makefile.dep @@ -1046,13 +1046,13 @@ ifneq (,$(filter periph_%, $(USEMODULE))) USEMODULE += periph_common endif +ifneq (,$(filter ecc_%,$(USEMODULE))) + USEMODULE += ecc +endif + # recursively catch transitive dependencies USEMODULE := $(sort $(USEMODULE)) USEPKG := $(sort $(USEPKG)) ifneq ($(OLD_USEMODULE) $(OLD_USEPKG),$(USEMODULE) $(USEPKG)) include $(RIOTBASE)/Makefile.dep endif - -ifneq (,$(filter ecc_%,$(USEMODULE))) - USEMODULE += ecc -endif