1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/cc2538: handle cc2538_rf deps in Makefile.dep

This commit is contained in:
Francisco Molina 2020-03-06 14:17:19 +01:00
parent 0b1dce36ac
commit ff6f6618fb
No known key found for this signature in database
GPG Key ID: 3E94EAC3DBDEEDA8
5 changed files with 8 additions and 12 deletions

View File

@ -1,5 +1,3 @@
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
USEMODULE += netif
USEMODULE += cc2538_rf
USEMODULE += netdev_ieee802154
endif

View File

@ -1,7 +1,5 @@
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
USEMODULE += netif
USEMODULE += cc2538_rf
USEMODULE += netdev_ieee802154
endif
ifneq (,$(filter saul_default,$(USEMODULE)))

View File

@ -1,10 +1,8 @@
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
USEMODULE += cc2538_rf
endif
ifneq (,$(filter saul_default,$(USEMODULE)))
USEMODULE += saul_gpio
USEMODULE += si7006
endif
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
USEMODULE += netif
USEMODULE += cc2538_rf
USEMODULE += netdev_ieee802154
endif

View File

@ -1,5 +1,3 @@
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
USEMODULE += netif
USEMODULE += cc2538_rf
USEMODULE += netdev_ieee802154
endif

4
cpu/cc2538/Makefile.dep Normal file
View File

@ -0,0 +1,4 @@
ifneq (,$(filter cc2538_rf,$(USEMODULE)))
USEMODULE += netdev_ieee802154
USEMODULE += netif
endif