drivers/mcp2515: move dependencies to own Makefile.dep
This commit is contained in:
parent
8e40f6a653
commit
8ba1a37b2a
@ -72,11 +72,6 @@ ifneq (,$(filter ltc4150_%,$(USEMODULE)))
|
|||||||
USEMODULE += ltc4150
|
USEMODULE += ltc4150
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter mcp2515,$(USEMODULE)))
|
|
||||||
USEMODULE += xtimer
|
|
||||||
FEATURES_REQUIRED += periph_gpio periph_spi periph_gpio_irq
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(filter mhz19_%,$(USEMODULE)))
|
ifneq (,$(filter mhz19_%,$(USEMODULE)))
|
||||||
USEMODULE += mhz19
|
USEMODULE += mhz19
|
||||||
endif
|
endif
|
||||||
|
|||||||
2
drivers/mcp2515/Makefile.dep
Normal file
2
drivers/mcp2515/Makefile.dep
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
USEMODULE += xtimer
|
||||||
|
FEATURES_REQUIRED += periph_gpio periph_spi periph_gpio_irq
|
||||||
Loading…
x
Reference in New Issue
Block a user