1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-28 23:09:46 +01:00

sys/sched_round_robin: move deps resolution in its own Makefile.dep

This commit is contained in:
Alexandre Abadie 2023-04-21 09:54:22 +02:00
parent 79207fa17b
commit ab61a0f978
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
2 changed files with 7 additions and 9 deletions

View File

@ -378,15 +378,6 @@ ifneq (,$(filter pthread,$(USEMODULE)))
endif
endif
ifneq (,$(filter sched_round_robin,$(USEMODULE)))
# this depends on either ztimer_usec or ztimer_msec if neither is used
# prior to this msec is preferred
ifeq (,$(filter ztimer_usec,$(USEMODULE))$(filter ztimer_msec,$(USEMODULE)))
USEMODULE += ztimer_msec
endif
USEMODULE += sched_runq_callback
endif
ifneq (,$(filter saul_reg,$(USEMODULE)))
USEMODULE += saul
endif

View File

@ -0,0 +1,7 @@
# this depends on either ztimer_usec or ztimer_msec if neither is used
# prior to this msec is preferred
ifeq (,$(filter ztimer_usec,$(USEMODULE))$(filter ztimer_msec,$(USEMODULE)))
USEMODULE += ztimer_msec
endif
USEMODULE += sched_runq_callback