diff --git a/drivers/wireless/bluetooth/CMakeLists.txt b/drivers/wireless/bluetooth/CMakeLists.txt index 84a8c33b80b..f678384096a 100644 --- a/drivers/wireless/bluetooth/CMakeLists.txt +++ b/drivers/wireless/bluetooth/CMakeLists.txt @@ -42,6 +42,10 @@ if(CONFIG_DRIVERS_BLUETOOTH) endif() endif() + if(CONFIG_BLUETOOTH_BRIDGE) + list(APPEND SRCS bt_bridge.c) + endif() + if(CONFIG_BLUETOOTH_NULL) list(APPEND SRCS bt_null.c) endif() @@ -54,8 +58,8 @@ if(CONFIG_DRIVERS_BLUETOOTH) list(APPEND SRCS bt_rpmsghci.c) endif() - if(CONFIG_BLUETOOTH_BRIDGE) - list(APPEND SRCS bt_bridge.c) + if(CONFIG_BLUETOOTH_SLIP) + list(APPEND SRCS bt_slip.c) endif() target_sources(drivers PRIVATE ${SRCS})