1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/mips32r2_common/Makefile.include
Gaëtan Harter 1be5b7b10b
cpu: do not locally export compilation variables
These are already exported by `makefiles/vars.inc.mk`.
It is a prerequisite to allow handling compilation without global exports.
2019-08-29 10:35:53 +02:00

18 lines
489 B
Makefile

INCLUDES += -I$(RIOTCPU)/mips32r2_common/include
export USEMODULE += mips32r2_common
export USEMODULE += mips32r2_common_periph
export USEMODULE += newlib
# mips32 needs periph_timer for its gettimeofday() implementation
export USEMODULE += periph_timer
ifeq ($(USE_UHI_SYSCALLS),1)
#Use UHI to handle syscalls
export LINKFLAGS += -luhi
export USEMODULE += newlib_syscalls_mips_uhi
else
#Use RIOT to handle syscalls (default)
export USEMODULE += newlib_syscalls_default
endif