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:
parent
01a82c870e
commit
0133de6e4f
@ -1,3 +1,5 @@
|
||||
include $(RIOTCPU)/mips32r2_common/Makefile.include
|
||||
|
||||
export INCLUDES += -I$(RIOTCPU)/mips_pic32_common/include
|
||||
|
||||
USEMODULE += mips_pic32_common
|
||||
|
@ -1,2 +1 @@
|
||||
-include $(RIOTCPU)/mips_pic32_common/Makefile.features
|
||||
-include $(RIOTCPU)/mips32r2_common/Makefile.features
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,3 @@
|
||||
FEATURES_PROVIDED += periph_hwrng
|
||||
|
||||
-include $(RIOTCPU)/mips_pic32_common/Makefile.features
|
||||
-include $(RIOTCPU)/mips32r2_common/Makefile.features
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user