drivers: ieee802154: IEEE802154 depends on NETWORKING

Previous to this change, each individual driver option depended on
NETWORKING. Instead, move dependency one level up.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2022-07-27 10:54:34 +02:00 committed by Carles Cufí
parent 352c9c34ee
commit a6058dc4b1
10 changed files with 10 additions and 9 deletions

View file

@ -8,6 +8,7 @@
#
menuconfig IEEE802154
bool "IEEE 802.15.4 drivers options"
depends on NETWORKING
default y if NET_L2_PHY_IEEE802154
if IEEE802154

View file

@ -6,7 +6,7 @@
menuconfig IEEE802154_TELINK_B91
bool "Telink B91 RF driver"
default y
depends on NETWORKING && DT_HAS_TELINK_B91_ZB_ENABLED
depends on DT_HAS_TELINK_B91_ZB_ENABLED
if IEEE802154_TELINK_B91

View file

@ -5,7 +5,7 @@
menuconfig IEEE802154_CC1200
bool "TI CC1200 Driver support"
default y
depends on NETWORKING && DT_HAS_TI_CC1200_ENABLED
depends on DT_HAS_TI_CC1200_ENABLED
select NET_L2_IEEE802154_SUB_GHZ
if IEEE802154_CC1200

View file

@ -6,7 +6,7 @@
menuconfig IEEE802154_CC2520
bool "TI CC2520 Driver support"
default y
depends on NETWORKING && DT_HAS_TI_CC2520_ENABLED
depends on DT_HAS_TI_CC2520_ENABLED
if IEEE802154_CC2520

View file

@ -4,7 +4,7 @@
menuconfig IEEE802154_DW1000
bool "Decawave DW1000 Driver support"
default y
depends on NETWORKING && SPI && DT_HAS_DECAWAVE_DW1000_ENABLED
depends on SPI && DT_HAS_DECAWAVE_DW1000_ENABLED
if IEEE802154_DW1000

View file

@ -6,7 +6,7 @@
menuconfig IEEE802154_KW41Z
bool "NXP KW41Z Driver support"
default y
depends on NETWORKING && DT_HAS_NXP_KW41Z_IEEE802154_ENABLED
depends on DT_HAS_NXP_KW41Z_IEEE802154_ENABLED
select REQUIRES_FULL_LIBC
if IEEE802154_KW41Z

View file

@ -6,7 +6,7 @@
menuconfig IEEE802154_MCR20A
bool "NXP MCR20A Driver support"
default y
depends on NETWORKING && SPI && DT_HAS_NXP_MCR20A_ENABLED
depends on SPI && DT_HAS_NXP_MCR20A_ENABLED
if IEEE802154_MCR20A

View file

@ -6,7 +6,7 @@
menuconfig IEEE802154_NRF5
bool "nRF52 series IEEE 802.15.4 Driver"
default y
depends on NETWORKING && DT_HAS_NORDIC_NRF_IEEE802154_ENABLED
depends on DT_HAS_NORDIC_NRF_IEEE802154_ENABLED
select NRF_802154_RADIO_DRIVER if HAS_HW_NRF_RADIO_IEEE802154
select NRF_802154_SER_HOST if !HAS_HW_NRF_RADIO_IEEE802154

View file

@ -6,7 +6,7 @@
menuconfig IEEE802154_RF2XX
bool "ATMEL RF2XX Driver support"
default y
depends on NETWORKING && DT_HAS_ATMEL_RF2XX_ENABLED
depends on DT_HAS_ATMEL_RF2XX_ENABLED
select SPI
select GPIO
select NET_L2_IEEE802154_SUB_GHZ if NET_L2_IEEE802154

View file

@ -4,7 +4,7 @@
menuconfig IEEE802154_UPIPE
bool "UART PIPE fake radio driver support for QEMU"
default y
depends on (BOARD_QEMU_X86 || BOARD_QEMU_CORTEX_M3) && NETWORKING && \
depends on (BOARD_QEMU_X86 || BOARD_QEMU_CORTEX_M3) && \
DT_HAS_ZEPHYR_IEEE802154_UART_PIPE_ENABLED
select UART_PIPE