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:
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 += netdev_ieee802154
|
||||
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))
|
||||
|
||||
# include nrf5x common periph drivers
|
||||
USEMODULE += nrf5x_common_periph
|
||||
|
||||
# link common cpu code
|
||||
USEMODULE += cpu_common
|
||||
|
||||
INCLUDES += -I$(RIOTCPU)/nrf5x_common/include
|
||||
|
Loading…
Reference in New Issue
Block a user