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

make: add missing feature dependencies to Makefile.dep

This commit is contained in:
Kaspar Schleiser 2017-10-28 21:09:36 +02:00
parent 2e0917cd81
commit d03844ef80
2 changed files with 38 additions and 0 deletions

View File

@ -418,6 +418,7 @@ endif
ifneq (,$(filter uart_stdio,$(USEMODULE)))
USEMODULE += isrpipe
FEATURES_REQUIRED += periph_uart
endif
ifneq (,$(filter isrpipe,$(USEMODULE)))
@ -506,6 +507,10 @@ ifneq (,$(filter libfixmath-unittests,$(USEMODULE)))
USEMODULE += libfixmath
endif
ifneq (,$(filter luid,$(USEMODULE)))
FEATURES_OPTIONAL += periph_cpuid
endif
ifneq (,$(filter fib,$(USEMODULE)))
USEMODULE += universal_address
USEMODULE += xtimer

View File

@ -20,6 +20,8 @@ ifneq (,$(filter at86rf2%,$(USEMODULE)))
USEMODULE += netif
USEMODULE += ieee802154
USEMODULE += netdev_ieee802154
FEATURES_REQUIRED += periph_gpio
FEATURES_REQUIRED += periph_spi
endif
ifneq (,$(filter mrf24j40,$(USEMODULE)))
@ -53,6 +55,7 @@ ifneq (,$(filter cc110x,$(USEMODULE)))
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
USEMODULE += gnrc_cc110x
endif
FEATURES_REQUIRED += periph_spi
endif
ifneq (,$(filter cc2420,$(USEMODULE)))
@ -99,6 +102,7 @@ endif
ifneq (,$(filter hdc1000,$(USEMODULE)))
USEMODULE += xtimer
FEATURES_REQUIRED += periph_i2c
endif
ifneq (,$(filter hih6130,$(USEMODULE)))
@ -119,6 +123,7 @@ ifneq (,$(filter kw2xrf,$(USEMODULE)))
USEMODULE += netif
USEMODULE += ieee802154
USEMODULE += netdev_ieee802154
FEATURES_REQUIRED += periph_spi
endif
ifneq (,$(filter hd44780,$(USEMODULE)))
@ -126,6 +131,10 @@ ifneq (,$(filter hd44780,$(USEMODULE)))
USEMODULE += xtimer
endif
ifneq (,$(filter l3g4200d,$(USEMODULE)))
FEATURES_REQUIRED += periph_i2c
endif
ifneq (,$(filter lis3dh,$(USEMODULE)))
FEATURES_REQUIRED += periph_gpio
FEATURES_REQUIRED += periph_spi
@ -140,6 +149,22 @@ ifneq (,$(filter lpd8808,$(USEMODULE)))
FEATURES_REQUIRED += periph_gpio
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)))
USEMODULE += xtimer
endif
@ -207,6 +232,14 @@ ifneq (,$(filter sx127%,$(USEMODULE)))
USEMODULE += sx127x
endif
ifneq (,$(filter tcs37727,$(USEMODULE)))
FEATURES_REQUIRED += periph_i2c
endif
ifneq (,$(filter tmp006,$(USEMODULE)))
FEATURES_REQUIRED += periph_i2c
endif
ifneq (,$(filter veml6070,$(USEMODULE)))
FEATURES_REQUIRED += periph_i2c
endif