mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-28 23:49:47 +01:00
build system: provide netif feature implicitly
If a board already provided a netif_% feature (currently only netif_ethernet), the netif feature is automagically provided.
This commit is contained in:
parent
195d6617b2
commit
8e375548ad
@ -31,3 +31,8 @@ FEATURES_CONFLICT_MSG += "Only one GPIO IRQ implementation can be used."
|
||||
FEATURES_CONFLICT += periph_usbdev:tinyusb_device
|
||||
FEATURES_CONFLICT += periph_usbdev:tinyusb_host
|
||||
FEATURES_CONFLICT_MSG += "Package tinyUSB is not yet compatible with periph_usbdev."
|
||||
|
||||
# Features provided implicitly
|
||||
ifneq (,$(filter netif_%,$(FEATURES_PROVIDED)))
|
||||
FEATURES_PROVIDED += netif
|
||||
endif
|
||||
|
@ -8,6 +8,5 @@ FEATURES_PROVIDED += periph_pwm
|
||||
FEATURES_PROVIDED += periph_qdec
|
||||
|
||||
# Put other features for this board (in alphabetical order)
|
||||
FEATURES_PROVIDED += netif_ethernet
|
||||
FEATURES_PROVIDED += motor_driver
|
||||
FEATURES_PROVIDED += netif
|
||||
FEATURES_PROVIDED += netif_ethernet
|
||||
|
@ -15,7 +15,6 @@ FEATURES_PROVIDED += periph_usbdev
|
||||
|
||||
# Put other features for this board (in alphabetical order)
|
||||
FEATURES_PROVIDED += netif_ethernet
|
||||
FEATURES_PROVIDED += netif
|
||||
FEATURES_PROVIDED += riotboot
|
||||
FEATURES_PROVIDED += tinyusb_device
|
||||
|
||||
|
@ -15,7 +15,6 @@ FEATURES_PROVIDED += periph_usbdev
|
||||
|
||||
# Put other features for this board (in alphabetical order)
|
||||
FEATURES_PROVIDED += netif_ethernet
|
||||
FEATURES_PROVIDED += netif
|
||||
FEATURES_PROVIDED += tinyusb_device
|
||||
|
||||
# load the common Makefile.features for Nucleo boards
|
||||
|
@ -14,7 +14,6 @@ FEATURES_PROVIDED += periph_usbdev
|
||||
|
||||
# Put other features for this board (in alphabetical order)
|
||||
FEATURES_PROVIDED += netif_ethernet
|
||||
FEATURES_PROVIDED += netif
|
||||
FEATURES_PROVIDED += tinyusb_device
|
||||
|
||||
# load the common Makefile.features for Nucleo boards
|
||||
|
@ -21,7 +21,6 @@ FEATURES_PROVIDED += periph_usbdev
|
||||
|
||||
# Put other features for this board (in alphabetical order)
|
||||
FEATURES_PROVIDED += netif_ethernet
|
||||
FEATURES_PROVIDED += netif
|
||||
FEATURES_PROVIDED += riotboot
|
||||
FEATURES_PROVIDED += tinyusb_device
|
||||
|
||||
|
@ -20,6 +20,5 @@ FEATURES_PROVIDED += periph_can
|
||||
|
||||
# Put other features for this board (in alphabetical order)
|
||||
FEATURES_PROVIDED += netif_ethernet
|
||||
FEATURES_PROVIDED += netif
|
||||
FEATURES_PROVIDED += riotboot
|
||||
FEATURES_PROVIDED += tinyusb_device
|
||||
|
@ -18,5 +18,4 @@ FEATURES_PROVIDED += periph_usbdev_hs_ulpi
|
||||
|
||||
# Put other features for this board (in alphabetical order)
|
||||
FEATURES_PROVIDED += netif_ethernet
|
||||
FEATURES_PROVIDED += netif
|
||||
FEATURES_PROVIDED += tinyusb_device
|
||||
|
Loading…
Reference in New Issue
Block a user