Bluetooth: Mesh: Move under subsys/bluetooth/mesh
We've already got GATT services in subsys/bluetooth/services so subsys/bluetooth/mesh is a more natural place. Aditionally this aims to fix the Kconfig dependencies to be able to use mesh together with BT_CUSTOM (i.e. a custom, potentially non-HCI, host stack). Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
c7633de038
commit
408703e8dd
39 changed files with 8 additions and 9 deletions
|
@ -8,6 +8,7 @@ add_subdirectory(common)
|
||||||
add_subdirectory_ifdef(CONFIG_BT_HCI host)
|
add_subdirectory_ifdef(CONFIG_BT_HCI host)
|
||||||
add_subdirectory_ifdef(CONFIG_BT_SHELL shell)
|
add_subdirectory_ifdef(CONFIG_BT_SHELL shell)
|
||||||
add_subdirectory_ifdef(CONFIG_BT_CONN services)
|
add_subdirectory_ifdef(CONFIG_BT_CONN services)
|
||||||
|
add_subdirectory_ifdef(CONFIG_BT_MESH mesh)
|
||||||
|
|
||||||
if(CONFIG_BT_CTLR)
|
if(CONFIG_BT_CTLR)
|
||||||
if(CONFIG_BT_LL_SW OR CONFIG_BT_LL_SW_SPLIT)
|
if(CONFIG_BT_LL_SW OR CONFIG_BT_LL_SW_SPLIT)
|
||||||
|
|
|
@ -145,4 +145,6 @@ source "subsys/bluetooth/shell/Kconfig"
|
||||||
|
|
||||||
endif # BT_HCI
|
endif # BT_HCI
|
||||||
|
|
||||||
|
source "subsys/bluetooth/mesh/Kconfig"
|
||||||
|
|
||||||
endif # BT
|
endif # BT
|
||||||
|
|
|
@ -55,5 +55,3 @@ if(CONFIG_BT_HCI_HOST)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_subdirectory_ifdef(CONFIG_BT_MESH mesh)
|
|
||||||
|
|
|
@ -135,8 +135,6 @@ config BT_RX_PRIO
|
||||||
|
|
||||||
if BT_HCI_HOST
|
if BT_HCI_HOST
|
||||||
|
|
||||||
source "subsys/bluetooth/host/mesh/Kconfig"
|
|
||||||
|
|
||||||
config BT_HOST_CRYPTO
|
config BT_HOST_CRYPTO
|
||||||
# Hidden option that compiles in random number generation and AES
|
# Hidden option that compiles in random number generation and AES
|
||||||
# encryption support using TinyCrypt library if this is not provided
|
# encryption support using TinyCrypt library if this is not provided
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#define LOG_MODULE_NAME bt_mesh_adv
|
#define LOG_MODULE_NAME bt_mesh_adv
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
|
|
||||||
#include "../hci_core.h"
|
#include "host/hci_core.h"
|
||||||
|
|
||||||
#include "adv.h"
|
#include "adv.h"
|
||||||
#include "net.h"
|
#include "net.h"
|
|
@ -22,7 +22,7 @@
|
||||||
#define LOG_MODULE_NAME bt_mesh_cfg_srv
|
#define LOG_MODULE_NAME bt_mesh_cfg_srv
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
|
|
||||||
#include "../testing.h"
|
#include "host/testing.h"
|
||||||
|
|
||||||
#include "mesh.h"
|
#include "mesh.h"
|
||||||
#include "adv.h"
|
#include "adv.h"
|
|
@ -22,8 +22,8 @@
|
||||||
#define LOG_MODULE_NAME bt_mesh_prov
|
#define LOG_MODULE_NAME bt_mesh_prov
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
|
|
||||||
#include "../ecc.h"
|
#include "host/ecc.h"
|
||||||
#include "../testing.h"
|
#include "host/testing.h"
|
||||||
|
|
||||||
#include "crypto.h"
|
#include "crypto.h"
|
||||||
#include "adv.h"
|
#include "adv.h"
|
|
@ -22,7 +22,7 @@
|
||||||
#define LOG_MODULE_NAME bt_mesh_transport
|
#define LOG_MODULE_NAME bt_mesh_transport
|
||||||
#include "common/log.h"
|
#include "common/log.h"
|
||||||
|
|
||||||
#include "../testing.h"
|
#include "host/testing.h"
|
||||||
|
|
||||||
#include "crypto.h"
|
#include "crypto.h"
|
||||||
#include "adv.h"
|
#include "adv.h"
|
Loading…
Add table
Add a link
Reference in a new issue