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

cpu/mips_pic32_common: prefix modules with mips_pic32_common namespace

This prevents clash between modules names cpu and periph with main cpus.

Add dependency management in Makefile.include to keep things contained.
This commit is contained in:
Gaëtan Harter 2017-11-13 15:24:24 +01:00
parent 383a69dfd2
commit 71b6fce711
4 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,7 @@
export INCLUDES += -I$(RIOTCPU)/mips_pic32_common/include
USEMODULE += mips_pic32_common
USEMODULE += mips_pic32_common_periph
USEMODULE += periph_common
USEMODULE += periph_hwrng

View File

@ -1 +1,3 @@
MODULE = mips_pic32_common_periph
include $(RIOTMAKE)/periph.mk

View File

@ -7,8 +7,6 @@ include $(RIOTCPU)/mips32r2_common/Makefile.include
# define build specific options
export CFLAGS += -march=m4k -DSKIP_COPY_TO_RAM
export USEMODULE += mips_pic32_common
export LINKFLAGS += -Wl,--defsym,__use_excpt_boot=0 $(CFLAGS)
export LINKFLAGS += -Tpic32mx512_12_128_uhi.ld

View File

@ -8,8 +8,6 @@ include $(RIOTCPU)/mips32r2_common/Makefile.include
export CFLAGS += -march=m5101 -mmicromips -DSKIP_COPY_TO_RAM
export CFLAGS += -DMIPS_MICROMIPS
export USEMODULE += mips_pic32_common
export LINKFLAGS += -Wl,--defsym,__use_excpt_boot=0 $(CFLAGS)
export LINKFLAGS += -Tpic32mz2048_uhi.ld