1
0
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:
Alexandre Abadie 2019-12-07 17:12:18 +01:00
parent 1ae5a08ec7
commit 98780ea023
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
4 changed files with 11 additions and 8 deletions

View 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

View File

@ -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
View File

@ -0,0 +1,7 @@
USEMODULE += arm7_common
USEMODULE += bitfield
USEMODULE += newlib
USEMODULE += periph
USEMODULE += pm_layered
include $(RIOTCPU)/arm7_common/Makefile.dep

View File

@ -1,4 +1 @@
include $(RIOTCPU)/arm7_common/Makefile.include
USEMODULE += arm7_common periph bitfield newlib
USEMODULE += pm_layered