net: Only enable QEMU_NET_STACK with CONFIG_NET_SLIP_TAP
If CONFIG_NET_SLIP_TAP is not selected QEMU_NET_STACK will not work which happen when CONFIG_NET_L2_BT is selected. Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This commit is contained in:
parent
1604a9351f
commit
3eaeeb82ab
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ if(EMU_PLATFORM)
|
|||
# pass data between them. The QEMU flags are not set for standalone
|
||||
# tests defined by CONFIG_NET_TEST.
|
||||
if(CONFIG_NETWORKING)
|
||||
if(NOT CONFIG_NET_TEST)
|
||||
if(CONFIG_NET_SLIP_TAP)
|
||||
set(QEMU_NET_STACK 1)
|
||||
endif()
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue