1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/riscv_common/Makefile.dep
2021-08-25 10:53:00 +02:00

16 lines
421 B
Makefile

# Select a C library
FEATURES_REQUIRED_ANY += newlib|picolibc
ifneq (,$(filter newlib,$(USEMODULE)))
DEFAULT_MODULE += newlib_nano
USEMODULE += newlib_syscalls_default
endif
# Tell the build system that the CPU depends on the risc-v common files:
USEMODULE += riscv_common
# include common periph code
USEMODULE += riscv_common_periph
# Make calls to malloc and friends thread-safe
USEMODULE += malloc_thread_safe