Diff between 789be3cb2f4573d1970a0b61df45a28a7db3faf6 and e4f0c5582f1fe3451d5588243adba9de1ed68b80

Changed Files

File Additions Deletions Status
Makefile.tools +5 -8 modified

Full Patch

diff --git a/Makefile.tools b/Makefile.tools
index 1ddfeb1..e193be9 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -273,13 +273,6 @@ tools_hwdb_LDADD = lib/libbluetooth-internal.la
 
 tools_hcieventmask_LDADD = lib/libbluetooth-internal.la
 
-if READLINE
-noinst_PROGRAMS += tools/btmgmt
-tools_btmgmt_SOURCES = tools/btmgmt.c src/uuid-helper.c client/display.c
-tools_btmgmt_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la \
-				-lreadline
-endif
-
 tools_btinfo_SOURCES = tools/btinfo.c monitor/bt.h
 tools_btinfo_LDADD = src/libshared-mainloop.la
 
@@ -337,7 +330,7 @@ EXTRA_DIST += tools/bdaddr.1
 endif
 
 if READLINE
-noinst_PROGRAMS += attrib/gatttool \
+noinst_PROGRAMS += attrib/gatttool tools/btmgmt \
 			tools/obex-client-tool tools/obex-server-tool \
 			tools/bluetooth-player tools/obexctl
 
@@ -367,6 +360,10 @@ tools_obexctl_SOURCES = tools/obexctl.c \
 				client/display.h client/display.c
 tools_obexctl_LDADD = gdbus/libgdbus-internal.la \
 				@GLIB_LIBS@ @DBUS_LIBS@ -lreadline
+
+tools_btmgmt_SOURCES = tools/btmgmt.c src/uuid-helper.c client/display.c
+tools_btmgmt_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la \
+				-lreadline
 endif
 
 if EXPERIMENTAL