mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
make: fixed indention in (drivers/)Makefile.dep
This commit is contained in:
parent
59cdbc6a98
commit
3ff80ed3bc
@ -536,7 +536,7 @@ ifneq (,$(filter pthread,$(USEMODULE)))
|
||||
endif
|
||||
|
||||
ifneq (,$(filter schedstatistics,$(USEMODULE)))
|
||||
USEMODULE += xtimer
|
||||
USEMODULE += xtimer
|
||||
endif
|
||||
|
||||
ifneq (,$(filter arduino,$(USEMODULE)))
|
||||
@ -573,7 +573,7 @@ ifneq (,$(filter evtimer,$(USEMODULE)))
|
||||
endif
|
||||
|
||||
ifneq (,$(filter can_linux,$(USEMODULE)))
|
||||
export LINKFLAGS += -lsocketcan
|
||||
export LINKFLAGS += -lsocketcan
|
||||
endif
|
||||
|
||||
ifneq (,$(filter can,$(USEMODULE)))
|
||||
@ -659,5 +659,5 @@ endif
|
||||
USEMODULE := $(sort $(USEMODULE))
|
||||
USEPKG := $(sort $(USEPKG))
|
||||
ifneq ($(OLD_USEMODULE) $(OLD_USEPKG),$(USEMODULE) $(USEPKG))
|
||||
include $(RIOTBASE)/Makefile.dep
|
||||
include $(RIOTBASE)/Makefile.dep
|
||||
endif
|
||||
|
@ -1,7 +1,7 @@
|
||||
# driver dependencies (in alphabetical order)
|
||||
|
||||
ifneq (,$(filter adxl345,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
endif
|
||||
|
||||
ifneq (,$(filter apa102,$(USEMODULE)))
|
||||
@ -21,8 +21,8 @@ ifneq (,$(filter at86rf2%,$(USEMODULE)))
|
||||
USEMODULE += ieee802154
|
||||
USEMODULE += netdev_ieee802154
|
||||
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
|
||||
# XXX: this can be modelled as a dependency for gnrc_netdev_default as soon
|
||||
# as all drivers are ported to netdev
|
||||
# XXX: this can be modelled as a dependency for gnrc_netdev_default as soon
|
||||
# as all drivers are ported to netdev
|
||||
USEMODULE += gnrc_netdev
|
||||
endif
|
||||
endif
|
||||
@ -34,8 +34,8 @@ ifneq (,$(filter mrf24j40,$(USEMODULE)))
|
||||
USEMODULE += ieee802154
|
||||
USEMODULE += netdev_ieee802154
|
||||
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
|
||||
# XXX: this can be modelled as a dependency for gnrc_netdev_default as soon
|
||||
# as all drivers are ported to netdev
|
||||
# XXX: this can be modelled as a dependency for gnrc_netdev_default as soon
|
||||
# as all drivers are ported to netdev
|
||||
USEMODULE += gnrc_netdev
|
||||
endif
|
||||
endif
|
||||
@ -46,14 +46,14 @@ ifneq (,$(filter bh1750fvi,$(USEMODULE)))
|
||||
endif
|
||||
|
||||
ifneq (,$(filter bmp180,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
USEMODULE += xtimer
|
||||
endif
|
||||
|
||||
ifneq (,$(filter bm%280,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
USEMODULE += xtimer
|
||||
USEMODULE += bmx280
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
USEMODULE += xtimer
|
||||
USEMODULE += bmx280
|
||||
endif
|
||||
|
||||
ifneq (,$(filter cc110x,$(USEMODULE)))
|
||||
@ -62,9 +62,9 @@ ifneq (,$(filter cc110x,$(USEMODULE)))
|
||||
USEMODULE += xtimer
|
||||
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
|
||||
USEMODULE += gnrc_cc110x
|
||||
# XXX: this can be modelled as a dependency for gnrc_netdev_default as soon
|
||||
# as all drivers are ported to netdev
|
||||
USEMODULE += gnrc_netdev
|
||||
# XXX: this can be modelled as a dependency for gnrc_netdev_default as soon
|
||||
# as all drivers are ported to netdev
|
||||
USEMODULE += gnrc_netdev
|
||||
endif
|
||||
endif
|
||||
|
||||
@ -75,8 +75,8 @@ ifneq (,$(filter cc2420,$(USEMODULE)))
|
||||
USEMODULE += ieee802154
|
||||
USEMODULE += netdev_ieee802154
|
||||
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
|
||||
# XXX: this can be modelled as a dependency for gnrc_netdev_default as soon
|
||||
# as all drivers are ported to netdev
|
||||
# XXX: this can be modelled as a dependency for gnrc_netdev_default as soon
|
||||
# as all drivers are ported to netdev
|
||||
USEMODULE += gnrc_netdev
|
||||
endif
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
@ -84,8 +84,8 @@ ifneq (,$(filter cc2420,$(USEMODULE)))
|
||||
endif
|
||||
|
||||
ifneq (,$(filter dht,$(USEMODULE)))
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
endif
|
||||
|
||||
ifneq (,$(filter ds1307,$(USEMODULE)))
|
||||
@ -93,9 +93,9 @@ ifneq (,$(filter ds1307,$(USEMODULE)))
|
||||
endif
|
||||
|
||||
ifneq (,$(filter dsp0401,$(USEMODULE)))
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_pwm
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_pwm
|
||||
endif
|
||||
|
||||
ifneq (,$(filter enc28j60,$(USEMODULE)))
|
||||
@ -110,9 +110,9 @@ ifneq (,$(filter encx24j600,$(USEMODULE)))
|
||||
endif
|
||||
|
||||
ifneq (,$(filter ethos,$(USEMODULE)))
|
||||
USEMODULE += netdev_eth
|
||||
USEMODULE += random
|
||||
USEMODULE += tsrb
|
||||
USEMODULE += netdev_eth
|
||||
USEMODULE += random
|
||||
USEMODULE += tsrb
|
||||
endif
|
||||
|
||||
ifneq (,$(filter hdc1000,$(USEMODULE)))
|
||||
@ -129,71 +129,71 @@ ifneq (,$(filter io1_xplained,$(USEMODULE)))
|
||||
endif
|
||||
|
||||
ifneq (,$(filter jc42,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
endif
|
||||
|
||||
ifneq (,$(filter kw2xrf,$(USEMODULE)))
|
||||
USEMODULE += luid
|
||||
USEMODULE += netif
|
||||
USEMODULE += ieee802154
|
||||
USEMODULE += netdev_ieee802154
|
||||
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
|
||||
# XXX: this can be modelled as a dependency for gnrc_netdev_default as soon
|
||||
# as all drivers are ported to netdev
|
||||
USEMODULE += gnrc_netdev
|
||||
endif
|
||||
USEMODULE += luid
|
||||
USEMODULE += netif
|
||||
USEMODULE += ieee802154
|
||||
USEMODULE += netdev_ieee802154
|
||||
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
|
||||
# XXX: this can be modelled as a dependency for gnrc_netdev_default as soon
|
||||
# as all drivers are ported to netdev
|
||||
USEMODULE += gnrc_netdev
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq (,$(filter hd44780,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
USEMODULE += xtimer
|
||||
endif
|
||||
|
||||
ifneq (,$(filter lis3dh,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_spi
|
||||
endif
|
||||
|
||||
ifneq (,$(filter lm75a,$(USEMODULE)))
|
||||
USEMODULE += xtimer
|
||||
USEMODULE += xtimer
|
||||
endif
|
||||
|
||||
ifneq (,$(filter lpd8808,$(USEMODULE)))
|
||||
USEMODULE += color
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
USEMODULE += color
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
endif
|
||||
|
||||
ifneq (,$(filter mpu9150,$(USEMODULE)))
|
||||
USEMODULE += xtimer
|
||||
USEMODULE += xtimer
|
||||
endif
|
||||
|
||||
ifneq (,$(filter mtd_sdcard,$(USEMODULE)))
|
||||
USEMODULE += mtd
|
||||
USEMODULE += sdcard_spi
|
||||
USEMODULE += mtd
|
||||
USEMODULE += sdcard_spi
|
||||
endif
|
||||
|
||||
ifneq (,$(filter grove_ledbar,$(USEMODULE)))
|
||||
USEMODULE += my9221
|
||||
USEMODULE += my9221
|
||||
endif
|
||||
|
||||
ifneq (,$(filter my9221,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
USEMODULE += xtimer
|
||||
endif
|
||||
|
||||
ifneq (,$(filter nrfmin,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += radio_nrfmin
|
||||
FEATURES_REQUIRED += periph_cpuid
|
||||
USEMODULE += netif
|
||||
FEATURES_REQUIRED += radio_nrfmin
|
||||
FEATURES_REQUIRED += periph_cpuid
|
||||
USEMODULE += netif
|
||||
endif
|
||||
|
||||
ifneq (,$(filter nvram_spi,$(USEMODULE)))
|
||||
USEMODULE += nvram
|
||||
USEMODULE += xtimer
|
||||
USEMODULE += nvram
|
||||
USEMODULE += xtimer
|
||||
endif
|
||||
|
||||
ifneq (,$(filter pcd8544,$(USEMODULE)))
|
||||
USEMODULE += xtimer
|
||||
USEMODULE += xtimer
|
||||
endif
|
||||
|
||||
ifneq (,$(filter rgbled,$(USEMODULE)))
|
||||
@ -207,12 +207,12 @@ ifneq (,$(filter sdcard_spi,$(USEMODULE)))
|
||||
endif
|
||||
|
||||
ifneq (,$(filter sht11,$(USEMODULE)))
|
||||
USEMODULE += xtimer
|
||||
USEMODULE += xtimer
|
||||
endif
|
||||
|
||||
ifneq (,$(filter si70xx,$(USEMODULE)))
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_i2c
|
||||
endif
|
||||
|
||||
ifneq (,$(filter srf02,$(USEMODULE)))
|
||||
@ -246,17 +246,17 @@ ifneq (,$(filter xbee,$(USEMODULE)))
|
||||
endif
|
||||
|
||||
ifneq (,$(filter uart_half_duplex,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_uart
|
||||
USEMODULE += xtimer
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_uart
|
||||
USEMODULE += xtimer
|
||||
endif
|
||||
|
||||
ifneq (,$(filter feetech,$(USEMODULE)))
|
||||
USEMODULE += uart_half_duplex
|
||||
USEMODULE += uart_half_duplex
|
||||
endif
|
||||
|
||||
ifneq (,$(filter dynamixel,$(USEMODULE)))
|
||||
USEMODULE += uart_half_duplex
|
||||
USEMODULE += uart_half_duplex
|
||||
endif
|
||||
|
||||
ifneq (,$(filter mtd_spi_nor,$(USEMODULE)))
|
||||
|
Loading…
Reference in New Issue
Block a user