1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

treewide: use sema_deprecated when required

This commit is contained in:
Francisco Molina 2022-03-08 09:15:48 +01:00
parent 2e2daae5d0
commit f6e9609363
2 changed files with 3 additions and 6 deletions

View File

@ -316,12 +316,8 @@ ifneq (,$(filter shell_commands,$(USEMODULE)))
endif
ifneq (,$(filter posix_semaphore,$(USEMODULE)))
USEMODULE += sema
USEMODULE += xtimer
ifneq (,$(filter ztimer_xtimer_compat,$(USEMODULE)))
# requires sema_timed that requires 64bit
USEMODULE += ztimer64_xtimer_compat
endif
USEMODULE += sema_deprecated
USEMODULE += ztimer64_usec
USEMODULE += posix_headers
endif

View File

@ -1,5 +1,6 @@
include ../Makefile.tests_common
USEMODULE += sema
USEMODULE += sema_deprecated
include $(RIOTBASE)/Makefile.include