mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
ztimer_xtimer_compat: move PSEUDOMODULES definition to Makefile.include
This commit is contained in:
parent
5a54c29f09
commit
b098108c99
@ -111,3 +111,9 @@ endif
|
||||
ifneq (,$(filter zptr,$(USEMODULE)))
|
||||
include $(RIOTBASE)/sys/zptr/Makefile.include
|
||||
endif
|
||||
|
||||
# Convert xtimer into a pseudo module if its API is already implemented by
|
||||
# ztimer's compatibility wrapper
|
||||
ifneq (,$(filter ztimer_xtimer_compat,$(USEMODULE)))
|
||||
PSEUDOMODULES += xtimer
|
||||
endif
|
||||
|
@ -42,7 +42,6 @@ endif
|
||||
ifneq (,$(filter ztimer_xtimer_compat,$(USEMODULE)))
|
||||
USEMODULE += div
|
||||
USEMODULE += ztimer_usec
|
||||
PSEUDOMODULES += xtimer
|
||||
endif
|
||||
|
||||
ifneq (,$(filter ztimer_%,$(USEMODULE)))
|
||||
|
Loading…
Reference in New Issue
Block a user