mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/armv7: move dependencies to Makefile.dep
This commit is contained in:
parent
1ae5a08ec7
commit
98780ea023
4
cpu/arm7_common/Makefile.dep
Normal file
4
cpu/arm7_common/Makefile.dep
Normal file
@ -0,0 +1,4 @@
|
||||
# use common ARM7 periph code
|
||||
USEMODULE += arm7_common_periph
|
||||
# use the nano-specs of Newlib when available
|
||||
USEMODULE += newlib_nano
|
@ -3,11 +3,6 @@ export TARGET_ARCH ?= arm-none-eabi
|
||||
|
||||
INCLUDES += -I$(RIOTBASE)/cpu/arm7_common/include/
|
||||
|
||||
# use common ARM7 periph code
|
||||
USEMODULE += arm7_common_periph
|
||||
# use the nano-specs of Newlib when available
|
||||
USEMODULE += newlib_nano
|
||||
|
||||
# currently only arm7tdmi-s is supported by RIOT, but allow overriding MCPU
|
||||
# if someone wants to add support for other ARM7 CPUs
|
||||
MCPU ?= arm7tdmi-s
|
||||
|
7
cpu/lpc2387/Makefile.dep
Normal file
7
cpu/lpc2387/Makefile.dep
Normal file
@ -0,0 +1,7 @@
|
||||
USEMODULE += arm7_common
|
||||
USEMODULE += bitfield
|
||||
USEMODULE += newlib
|
||||
USEMODULE += periph
|
||||
USEMODULE += pm_layered
|
||||
|
||||
include $(RIOTCPU)/arm7_common/Makefile.dep
|
@ -1,4 +1 @@
|
||||
include $(RIOTCPU)/arm7_common/Makefile.include
|
||||
|
||||
USEMODULE += arm7_common periph bitfield newlib
|
||||
USEMODULE += pm_layered
|
||||
|
Loading…
Reference in New Issue
Block a user