cpu/nrf5x: move dependencies to Makefile.dep
This commit is contained in:
parent
925445d0ff
commit
66d903c209
1
cpu/nrf51/Makefile.dep
Normal file
1
cpu/nrf51/Makefile.dep
Normal file
@ -0,0 +1 @@
|
|||||||
|
include $(RIOTCPU)/nrf5x_common/Makefile.dep
|
||||||
@ -4,3 +4,5 @@ ifneq (,$(filter nrf802154,$(USEMODULE)))
|
|||||||
USEMODULE += luid
|
USEMODULE += luid
|
||||||
USEMODULE += netdev_ieee802154
|
USEMODULE += netdev_ieee802154
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
include $(RIOTCPU)/nrf5x_common/Makefile.dep
|
||||||
|
|||||||
5
cpu/nrf5x_common/Makefile.dep
Normal file
5
cpu/nrf5x_common/Makefile.dep
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# include nrf5x common periph drivers
|
||||||
|
USEMODULE += nrf5x_common_periph
|
||||||
|
|
||||||
|
# link common cpu code
|
||||||
|
USEMODULE += cpu_common
|
||||||
@ -1,9 +1,3 @@
|
|||||||
CFLAGS += -DCPU_FAM_$(call uppercase_and_underscore,$(CPU_FAM))
|
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
|
INCLUDES += -I$(RIOTCPU)/nrf5x_common/include
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user