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

mips: clean up pic32 makefiles.

Make pic32m* depend on pic32_common which depends on mips32r2_common.
Remove some duplication.

This addresses some issues in #8052.
This commit is contained in:
Neil Jones 2017-12-12 14:44:44 +00:00
parent 01a82c870e
commit 0133de6e4f
5 changed files with 4 additions and 6 deletions

View File

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

View File

@ -1,2 +1 @@
-include $(RIOTCPU)/mips_pic32_common/Makefile.features
-include $(RIOTCPU)/mips32r2_common/Makefile.features

View File

@ -1,8 +1,7 @@
export ROMABLE = 1
include $(RIOTMAKE)/arch/mips.inc.mk
include $(RIOTCPU)/mips_pic32_common/Makefile.include
include $(RIOTCPU)/mips32r2_common/Makefile.include
include $(RIOTMAKE)/arch/mips.inc.mk
# define build specific options
export CFLAGS += -march=m4k -DSKIP_COPY_TO_RAM

View File

@ -1,4 +1,3 @@
FEATURES_PROVIDED += periph_hwrng
-include $(RIOTCPU)/mips_pic32_common/Makefile.features
-include $(RIOTCPU)/mips32r2_common/Makefile.features

View File

@ -1,8 +1,7 @@
export ROMABLE = 1
include $(RIOTMAKE)/arch/mips.inc.mk
include $(RIOTCPU)/mips_pic32_common/Makefile.include
include $(RIOTCPU)/mips32r2_common/Makefile.include
include $(RIOTMAKE)/arch/mips.inc.mk
# define build specific options
export CFLAGS += -march=m5101 -mmicromips -DSKIP_COPY_TO_RAM