Skip to content
Snippets Groups Projects
Commit d03844ef authored by Kaspar Schleiser's avatar Kaspar Schleiser
Browse files

make: add missing feature dependencies to Makefile.dep

parent 2e0917cd
No related branches found
No related tags found
No related merge requests found
...@@ -418,6 +418,7 @@ endif ...@@ -418,6 +418,7 @@ endif
ifneq (,$(filter uart_stdio,$(USEMODULE))) ifneq (,$(filter uart_stdio,$(USEMODULE)))
USEMODULE += isrpipe USEMODULE += isrpipe
FEATURES_REQUIRED += periph_uart
endif endif
ifneq (,$(filter isrpipe,$(USEMODULE))) ifneq (,$(filter isrpipe,$(USEMODULE)))
...@@ -506,6 +507,10 @@ ifneq (,$(filter libfixmath-unittests,$(USEMODULE))) ...@@ -506,6 +507,10 @@ ifneq (,$(filter libfixmath-unittests,$(USEMODULE)))
USEMODULE += libfixmath USEMODULE += libfixmath
endif endif
ifneq (,$(filter luid,$(USEMODULE)))
FEATURES_OPTIONAL += periph_cpuid
endif
ifneq (,$(filter fib,$(USEMODULE))) ifneq (,$(filter fib,$(USEMODULE)))
USEMODULE += universal_address USEMODULE += universal_address
USEMODULE += xtimer USEMODULE += xtimer
......
...@@ -20,6 +20,8 @@ ifneq (,$(filter at86rf2%,$(USEMODULE))) ...@@ -20,6 +20,8 @@ ifneq (,$(filter at86rf2%,$(USEMODULE)))
USEMODULE += netif USEMODULE += netif
USEMODULE += ieee802154 USEMODULE += ieee802154
USEMODULE += netdev_ieee802154 USEMODULE += netdev_ieee802154
FEATURES_REQUIRED += periph_gpio
FEATURES_REQUIRED += periph_spi
endif endif
ifneq (,$(filter mrf24j40,$(USEMODULE))) ifneq (,$(filter mrf24j40,$(USEMODULE)))
...@@ -53,6 +55,7 @@ ifneq (,$(filter cc110x,$(USEMODULE))) ...@@ -53,6 +55,7 @@ ifneq (,$(filter cc110x,$(USEMODULE)))
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE))) ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
USEMODULE += gnrc_cc110x USEMODULE += gnrc_cc110x
endif endif
FEATURES_REQUIRED += periph_spi
endif endif
ifneq (,$(filter cc2420,$(USEMODULE))) ifneq (,$(filter cc2420,$(USEMODULE)))
...@@ -99,6 +102,7 @@ endif ...@@ -99,6 +102,7 @@ endif
ifneq (,$(filter hdc1000,$(USEMODULE))) ifneq (,$(filter hdc1000,$(USEMODULE)))
USEMODULE += xtimer USEMODULE += xtimer
FEATURES_REQUIRED += periph_i2c
endif endif
ifneq (,$(filter hih6130,$(USEMODULE))) ifneq (,$(filter hih6130,$(USEMODULE)))
...@@ -119,6 +123,7 @@ ifneq (,$(filter kw2xrf,$(USEMODULE))) ...@@ -119,6 +123,7 @@ ifneq (,$(filter kw2xrf,$(USEMODULE)))
USEMODULE += netif USEMODULE += netif
USEMODULE += ieee802154 USEMODULE += ieee802154
USEMODULE += netdev_ieee802154 USEMODULE += netdev_ieee802154
FEATURES_REQUIRED += periph_spi
endif endif
ifneq (,$(filter hd44780,$(USEMODULE))) ifneq (,$(filter hd44780,$(USEMODULE)))
...@@ -126,6 +131,10 @@ ifneq (,$(filter hd44780,$(USEMODULE))) ...@@ -126,6 +131,10 @@ ifneq (,$(filter hd44780,$(USEMODULE)))
USEMODULE += xtimer USEMODULE += xtimer
endif endif
ifneq (,$(filter l3g4200d,$(USEMODULE)))
FEATURES_REQUIRED += periph_i2c
endif
ifneq (,$(filter lis3dh,$(USEMODULE))) ifneq (,$(filter lis3dh,$(USEMODULE)))
FEATURES_REQUIRED += periph_gpio FEATURES_REQUIRED += periph_gpio
FEATURES_REQUIRED += periph_spi FEATURES_REQUIRED += periph_spi
...@@ -140,6 +149,22 @@ ifneq (,$(filter lpd8808,$(USEMODULE))) ...@@ -140,6 +149,22 @@ ifneq (,$(filter lpd8808,$(USEMODULE)))
FEATURES_REQUIRED += periph_gpio FEATURES_REQUIRED += periph_gpio
endif endif
ifneq (,$(filter mag3110,$(USEMODULE)))
FEATURES_REQUIRED += periph_i2c
endif
ifneq (,$(filter mma8x5x,$(USEMODULE)))
FEATURES_REQUIRED += periph_i2c
endif
ifneq (,$(filter my9221,$(USEMODULE)))
FEATURES_REQUIRED += periph_gpio
endif
ifneq (,$(filter mpl3115a2,$(USEMODULE)))
FEATURES_REQUIRED += periph_i2c
endif
ifneq (,$(filter mpu9150,$(USEMODULE))) ifneq (,$(filter mpu9150,$(USEMODULE)))
USEMODULE += xtimer USEMODULE += xtimer
endif endif
...@@ -207,6 +232,14 @@ ifneq (,$(filter sx127%,$(USEMODULE))) ...@@ -207,6 +232,14 @@ ifneq (,$(filter sx127%,$(USEMODULE)))
USEMODULE += sx127x USEMODULE += sx127x
endif endif
ifneq (,$(filter tcs37727,$(USEMODULE)))
FEATURES_REQUIRED += periph_i2c
endif
ifneq (,$(filter tmp006,$(USEMODULE)))
FEATURES_REQUIRED += periph_i2c
endif
ifneq (,$(filter veml6070,$(USEMODULE))) ifneq (,$(filter veml6070,$(USEMODULE)))
FEATURES_REQUIRED += periph_i2c FEATURES_REQUIRED += periph_i2c
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment