1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:32:45 +01:00

cpu/nrf5x: move dependencies to Makefile.dep

This commit is contained in:
Alexandre Abadie 2019-12-07 16:53:23 +01:00
parent 925445d0ff
commit 66d903c209
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
4 changed files with 8 additions and 6 deletions

1
cpu/nrf51/Makefile.dep Normal file
View File

@ -0,0 +1 @@
include $(RIOTCPU)/nrf5x_common/Makefile.dep

View File

@ -4,3 +4,5 @@ ifneq (,$(filter nrf802154,$(USEMODULE)))
USEMODULE += luid
USEMODULE += netdev_ieee802154
endif
include $(RIOTCPU)/nrf5x_common/Makefile.dep

View File

@ -0,0 +1,5 @@
# include nrf5x common periph drivers
USEMODULE += nrf5x_common_periph
# link common cpu code
USEMODULE += cpu_common

View File

@ -1,9 +1,3 @@
CFLAGS += -DCPU_FAM_$(call uppercase_and_underscore,$(CPU_FAM))
# include nrf5x common periph drivers
USEMODULE += nrf5x_common_periph
# link common cpu code
USEMODULE += cpu_common
INCLUDES += -I$(RIOTCPU)/nrf5x_common/include