From bec4c3e0b3509b50367f35384ce001d8113f957f Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 21 Apr 2023 10:29:02 +0200 Subject: [PATCH] sys/evtimer: move dependency resolution in its own Makefile.dep --- sys/Makefile.dep | 4 ---- sys/evtimer/Makefile.dep | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 sys/evtimer/Makefile.dep diff --git a/sys/Makefile.dep b/sys/Makefile.dep index 917fb7969b..9d6e5d4d3d 100644 --- a/sys/Makefile.dep +++ b/sys/Makefile.dep @@ -715,10 +715,6 @@ ifneq (,$(filter ztimer64%,$(USEMODULE))) include $(RIOTBASE)/sys/ztimer64/Makefile.dep endif -ifneq (,$(filter evtimer,$(USEMODULE))) - USEMODULE += ztimer_msec -endif - # handle xtimer's deps. Needs to be done *after* ztimer ifneq (,$(filter xtimer,$(USEMODULE))) include $(RIOTBASE)/sys/xtimer/Makefile.dep diff --git a/sys/evtimer/Makefile.dep b/sys/evtimer/Makefile.dep new file mode 100644 index 0000000000..8ae27e6b64 --- /dev/null +++ b/sys/evtimer/Makefile.dep @@ -0,0 +1,3 @@ +ifneq (,$(filter evtimer,$(USEMODULE))) + USEMODULE += ztimer_msec +endif