mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-16 18:13:49 +01:00
treewide: use sema_deprecated when required
This commit is contained in:
parent
2e2daae5d0
commit
f6e9609363
@ -316,12 +316,8 @@ ifneq (,$(filter shell_commands,$(USEMODULE)))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter posix_semaphore,$(USEMODULE)))
|
ifneq (,$(filter posix_semaphore,$(USEMODULE)))
|
||||||
USEMODULE += sema
|
USEMODULE += sema_deprecated
|
||||||
USEMODULE += xtimer
|
USEMODULE += ztimer64_usec
|
||||||
ifneq (,$(filter ztimer_xtimer_compat,$(USEMODULE)))
|
|
||||||
# requires sema_timed that requires 64bit
|
|
||||||
USEMODULE += ztimer64_xtimer_compat
|
|
||||||
endif
|
|
||||||
USEMODULE += posix_headers
|
USEMODULE += posix_headers
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
include ../Makefile.tests_common
|
include ../Makefile.tests_common
|
||||||
|
|
||||||
USEMODULE += sema
|
USEMODULE += sema
|
||||||
|
USEMODULE += sema_deprecated
|
||||||
|
|
||||||
include $(RIOTBASE)/Makefile.include
|
include $(RIOTBASE)/Makefile.include
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user