1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 10:03:50 +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 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

View File

@ -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