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

Merge pull request #13575 from fjmolinas/pr_cc2538_rf_deps

cpu/cc2538: handle cc2538_rf deps in Makefile.dep
This commit is contained in:
benpicco 2020-03-06 18:00:51 +01:00 committed by GitHub
commit 7396d05605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 15 deletions

View File

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

View File

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

View File

@ -1,10 +1,8 @@
ifneq (,$(filter gnrc_netdev_default 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
ifneq (,$(filter gnrc_netdev_default netdev_default,$(USEMODULE)))
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