1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/sema*: move dependency resolution in its own Makefile.dep

This commit is contained in:
Alexandre Abadie 2023-04-21 09:49:19 +02:00
parent 7ce942ab54
commit fb167c7a9c
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
3 changed files with 2 additions and 8 deletions

View File

@ -335,14 +335,6 @@ ifneq (,$(filter posix_inet,$(USEMODULE)))
USEMODULE += posix_headers USEMODULE += posix_headers
endif endif
ifneq (,$(filter sema_inv,$(USEMODULE)))
USEMODULE += atomic_utils
endif
ifneq (,$(filter sema,$(USEMODULE)))
USEMODULE += ztimer
endif
ifneq (,$(filter sema_deprecated,$(USEMODULE))) ifneq (,$(filter sema_deprecated,$(USEMODULE)))
USEMODULE += sema USEMODULE += sema
USEMODULE += ztimer64 USEMODULE += ztimer64

1
sys/sema/Makefile.dep Normal file
View File

@ -0,0 +1 @@
USEMODULE += ztimer

View File

@ -0,0 +1 @@
USEMODULE += atomic_utils