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

cpu/mips*: move dependencies to Makefile.dep

This commit also removes not needed use of export
This commit is contained in:
Alexandre Abadie 2019-12-07 16:55:38 +01:00
parent 66d903c209
commit e3b3ea0403
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
6 changed files with 20 additions and 14 deletions

View File

@ -0,0 +1,14 @@
USEMODULE += mips32r2_common
USEMODULE += mips32r2_common_periph
USEMODULE += newlib
# mips32 needs periph_timer for its gettimeofday() implementation
FEATURES_REQUIRED += periph_timer
ifeq ($(USE_UHI_SYSCALLS),1)
#Use UHI to handle syscalls
USEMODULE += newlib_syscalls_mips_uhi
else
#Use RIOT to handle syscalls (default)
USEMODULE += newlib_syscalls_default
endif

View File

@ -1,18 +1,7 @@
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
LINKFLAGS += -luhi
export USEMODULE += newlib_syscalls_mips_uhi
CFLAGS += -DHAVE_HEAP_STATS
else
#Use RIOT to handle syscalls (default)
export USEMODULE += newlib_syscalls_default
endif

View File

@ -0,0 +1,4 @@
USEMODULE += mips_pic32_common
USEMODULE += mips_pic32_common_periph
include $(RIOTCPU)/mips32r2_common/Makefile.dep

View File

@ -1,6 +1,3 @@
include $(RIOTCPU)/mips32r2_common/Makefile.include
INCLUDES += -I$(RIOTCPU)/mips_pic32_common/include
USEMODULE += mips_pic32_common
USEMODULE += mips_pic32_common_periph

View File

@ -0,0 +1 @@
include $(RIOTCPU)/mips_pic32_common/Makefile.dep

View File

@ -0,0 +1 @@
include $(RIOTCPU)/mips_pic32_common/Makefile.dep