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

sys/Makefile.dep: add missing newlib_syscalls dep

This commit is contained in:
Francisco Molina 2022-01-24 10:47:21 +01:00
parent df8086091f
commit 106db4616b
2 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,7 @@ config MODULE_NEWLIB_SYSCALLS_DEFAULT
bool
default y
depends on !HAVE_CUSTOM_NEWLIB_SYSCALLS
select MODULE_DIV
help
Default implementation of newlib system calls.

View File

@ -220,6 +220,9 @@ ifneq (,$(filter newlib,$(USEMODULE)))
ifeq (,$(filter newlib_syscalls_%,$(USEMODULE)))
USEMODULE += newlib_syscalls_default
endif
ifneq (,$(filter newlib_syscalls_default,$(USEMODULE)))
USEMODULE += div
endif
endif
ifneq (,$(filter posix_select,$(USEMODULE)))