drivers: ieee802154: Make upipe configuration options depend on driver

The upipe specific configuration options are selectable unconditionally.
This commit makes them depend on the upipe driver being enabled.

Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
This commit is contained in:
Brett Witherspoon 2019-04-26 10:07:12 -05:00 committed by Anas Nashif
commit cdc29175cc

View file

@ -39,10 +39,11 @@ menuconfig IEEE802154_UPIPE
depends on (BOARD_QEMU_X86 || BOARD_QEMU_CORTEX_M3) && NETWORKING depends on (BOARD_QEMU_X86 || BOARD_QEMU_CORTEX_M3) && NETWORKING
select UART_PIPE select UART_PIPE
if IEEE802154_UPIPE
config IEEE802154_UPIPE_DRV_NAME config IEEE802154_UPIPE_DRV_NAME
string "UART PIPE Driver name" string "UART PIPE Driver name"
default "IEEE802154_UPIPE" default "IEEE802154_UPIPE"
depends on IEEE802154_UPIPE
config IEEE802154_UPIPE_HW_FILTER config IEEE802154_UPIPE_HW_FILTER
bool "Hw Filtering" bool "Hw Filtering"
@ -88,6 +89,8 @@ config IEEE802154_UPIPE_MAC7
endif # IEEE802154_UPIPE_RANDOM_MAC endif # IEEE802154_UPIPE_RANDOM_MAC
endif # IEEE802154_UPIPE
module = IEEE802154_DRIVER module = IEEE802154_DRIVER
module-str = IEEE 802.15.4 driver module-str = IEEE 802.15.4 driver
module-help = Sets log level for IEEE 802.15.4 Device Drivers. module-help = Sets log level for IEEE 802.15.4 Device Drivers.