mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/sched_round_robin: move deps resolution in its own Makefile.dep
This commit is contained in:
parent
79207fa17b
commit
ab61a0f978
@ -378,15 +378,6 @@ ifneq (,$(filter pthread,$(USEMODULE)))
|
|||||||
endif
|
endif
|
||||||
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)))
|
ifneq (,$(filter saul_reg,$(USEMODULE)))
|
||||||
USEMODULE += saul
|
USEMODULE += saul
|
||||||
endif
|
endif
|
||||||
|
7
sys/sched_round_robin/Makefile.dep
Normal file
7
sys/sched_round_robin/Makefile.dep
Normal 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
|
Loading…
Reference in New Issue
Block a user