summaryrefslogtreecommitdiff
path: root/Makefile.tools
diff options
context:
space:
mode:
authorInga Stotland <inga.stotland@intel.com>2019-11-01 11:57:28 -0700
committerBrian Gix <brian.gix@intel.com>2019-11-04 14:54:38 -0800
commit5c6e6e5524909220fa5879b8928b35d6cdb3f08a (patch)
tree0df433135a1ea9c0746539b885e58d33883b827c /Makefile.tools
parentcacd2581ab3381aa034b6912b1dd8eab67b67a63 (diff)
downloadbluez-5c6e6e5524909220fa5879b8928b35d6cdb3f08a.tar.gz
tools/mesh: add initial support for config storage
This adds support for storing the state of a mesh network. The configuration is written out in JSON format. The initial configuration file is generated automatically upon the successful completion of "create" command form the main menu.
Diffstat (limited to 'Makefile.tools')
-rw-r--r--Makefile.tools7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.tools b/Makefile.tools
index 0b4ddf576..006554cf7 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -333,10 +333,13 @@ tools_mesh_cfgclient_SOURCES = tools/mesh-cfgclient.c \
tools/mesh/keys.h tools/mesh/keys.c \
tools/mesh/util.h tools/mesh/util.c \
tools/mesh/remote.h tools/mesh/remote.c \
- tools/mesh/agent.h tools/mesh/agent.c
+ tools/mesh/agent.h tools/mesh/agent.c \
+ tools/mesh/mesh-db.h tools/mesh/mesh-db.c \
+ mesh/util.h mesh/util.c \
+ mesh/mesh-config.h mesh/mesh-config-json.c
tools_mesh_cfgclient_LDADD = lib/libbluetooth-internal.la src/libshared-ell.la \
- $(ell_ldadd) -lreadline
+ $(ell_ldadd) -ljson-c -lreadline
endif
EXTRA_DIST += tools/mesh-gatt/local_node.json tools/mesh-gatt/prov_db.json