cmake: Enable server/client rules in case of 802.15.4 UPIPE driver

Networking apps may require these rules (as echo apps) even on
non-Ethernet based configuration.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2019-01-07 13:04:06 +01:00 committed by Jukka Rissanen
parent fc3f090ab8
commit 05368dc16c

View file

@ -73,7 +73,7 @@ endif()
# tests defined by CONFIG_NET_TEST.
if(CONFIG_NETWORKING)
if(CONFIG_NET_QEMU_SLIP)
if(CONFIG_NET_SLIP_TAP)
if((CONFIG_NET_SLIP_TAP) OR (CONFIG_IEEE802154_UPIPE))
set(QEMU_NET_STACK 1)
endif()
endif()