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:
commit
7396d05605
@ -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
|
||||
|
@ -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)))
|
||||
|
@ -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
|
||||
|
@ -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
4
cpu/cc2538/Makefile.dep
Normal file
@ -0,0 +1,4 @@
|
||||
ifneq (,$(filter cc2538_rf,$(USEMODULE)))
|
||||
USEMODULE += netdev_ieee802154
|
||||
USEMODULE += netif
|
||||
endif
|
Loading…
Reference in New Issue
Block a user