Skip to content
Permalink
Browse files

cmake: Set NO_QEMU_SERIAL_BT_SERVER when CONFIG_BT_NO_DRIVER is set

When not driver is selected there should be no need to have a serial
attached.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
  • Loading branch information...
Vudentz authored and jhedberg committed Jun 24, 2019
1 parent 0180b94 commit 769cfab694783a429a23998eab8d22971b4653e0
Showing with 3 additions and 0 deletions.
  1. +3 −0 cmake/emu/qemu.cmake
@@ -64,6 +64,9 @@ endif()
# Add a BT serial device when building for bluetooth, unless the
# application explicitly opts out with NO_QEMU_SERIAL_BT_SERVER.
if(CONFIG_BT)
if(CONFIG_BT_NO_DRIVER)
set(NO_QEMU_SERIAL_BT_SERVER 1)
endif()
if(NOT NO_QEMU_SERIAL_BT_SERVER)
list(APPEND QEMU_FLAGS -serial unix:/tmp/bt-server-bredr)
endif()

0 comments on commit 769cfab

Please sign in to comment.
You can’t perform that action at this time.