mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/msp430: move dependencies to Makefile.dep
This commit is contained in:
parent
e3b3ea0403
commit
6d46621610
3
cpu/cc430/Makefile.dep
Normal file
3
cpu/cc430/Makefile.dep
Normal file
@ -0,0 +1,3 @@
|
||||
USEMODULE += periph
|
||||
|
||||
include $(RIOTCPU)/msp430_common/Makefile.dep
|
@ -1,3 +1 @@
|
||||
include $(RIOTCPU)/msp430_common/Makefile.include
|
||||
|
||||
export USEMODULE += periph
|
||||
|
3
cpu/msp430_common/Makefile.dep
Normal file
3
cpu/msp430_common/Makefile.dep
Normal file
@ -0,0 +1,3 @@
|
||||
USEMODULE += msp430_common msp430_common_periph msp430_malloc
|
||||
|
||||
DEFAULT_MODULE += oneway_malloc
|
@ -5,9 +5,6 @@ INCLUDES += -I$(RIOTCPU)/msp430_common/include/
|
||||
CFLAGS += -DCPU_MODEL_$(call uppercase_and_underscore,$(CPU_MODEL))
|
||||
|
||||
export UNDEF += $(BINDIR)/msp430_common/startup.o
|
||||
export USEMODULE += msp430_common msp430_common_periph msp430_malloc
|
||||
|
||||
DEFAULT_MODULE += oneway_malloc
|
||||
|
||||
# include the msp430 common Makefile
|
||||
include $(RIOTMAKE)/arch/msp430.inc.mk
|
||||
|
3
cpu/msp430fxyz/Makefile.dep
Normal file
3
cpu/msp430fxyz/Makefile.dep
Normal file
@ -0,0 +1,3 @@
|
||||
USEMODULE += periph stdio_uart
|
||||
|
||||
include $(RIOTCPU)/msp430_common/Makefile.dep
|
@ -1,3 +1 @@
|
||||
include $(RIOTCPU)/msp430_common/Makefile.include
|
||||
|
||||
export USEMODULE += periph stdio_uart
|
||||
|
Loading…
Reference in New Issue
Block a user