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:
parent
383a69dfd2
commit
71b6fce711
@ -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
|
||||
|
@ -1 +1,3 @@
|
||||
MODULE = mips_pic32_common_periph
|
||||
|
||||
include $(RIOTMAKE)/periph.mk
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user