Skip to content

Commit

Permalink
Merge pull request RIOT-OS#7573 from haukepetersen/fix_makedep_indention
Browse files Browse the repository at this point in the history
make: fixed indention in (drivers/)Makefile.dep
  • Loading branch information
miri64 authored Sep 6, 2017
2 parents 59cdbc6 + 3ff80ed commit 7f7c2f1
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 63 deletions.
6 changes: 3 additions & 3 deletions Makefile.dep
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ ifneq (,$(filter pthread,$(USEMODULE)))
endif

ifneq (,$(filter schedstatistics,$(USEMODULE)))
USEMODULE += xtimer
USEMODULE += xtimer
endif

ifneq (,$(filter arduino,$(USEMODULE)))
Expand Down Expand Up @@ -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)))
Expand Down Expand Up @@ -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
120 changes: 60 additions & 60 deletions drivers/Makefile.dep
Original file line number Diff line number Diff line change
@@ -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)))
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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)))
Expand All @@ -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

Expand All @@ -75,27 +75,27 @@ 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
FEATURES_REQUIRED += periph_spi
endif

ifneq (,$(filter dht,$(USEMODULE)))
USEMODULE += xtimer
FEATURES_REQUIRED += periph_gpio
USEMODULE += xtimer
FEATURES_REQUIRED += periph_gpio
endif

ifneq (,$(filter ds1307,$(USEMODULE)))
FEATURES_REQUIRED += periph_i2c
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)))
Expand All @@ -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)))
Expand All @@ -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)))
Expand All @@ -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)))
Expand Down Expand Up @@ -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)))
Expand Down

0 comments on commit 7f7c2f1

Please sign in to comment.