public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: "Frédéric Danis" <frederic.danis@collabora.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ 1/3] tools/btpclient: Move btpclient to client/btpclient directory
Date: Mon, 16 Feb 2026 17:51:25 +0100	[thread overview]
Message-ID: <20260216165127.110686-1-frederic.danis@collabora.com> (raw)

This prepares the split of btp services in per profile files for
easier maintenance.
---
 .gitignore                                 |  4 ++--
 Makefile.tools                             | 13 +++++++------
 {tools => client/btpclient}/btpclient.c    |  0
 {tools => client/btpclient}/btpclientctl.c |  0
 4 files changed, 9 insertions(+), 8 deletions(-)
 rename {tools => client/btpclient}/btpclient.c (100%)
 rename {tools => client/btpclient}/btpclientctl.c (100%)

diff --git a/.gitignore b/.gitignore
index ea895c064..71ef28e1e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -133,8 +133,8 @@ tools/btattach
 tools/btconfig
 tools/btmgmt
 tools/btsnoop
-tools/btpclient
-tools/btpclientctl
+client/btpclient/btpclient
+client/btpclient/btpclientctl
 tools/btmon-logger
 tools/bluetooth-logger.service
 tools/mpris-proxy.service
diff --git a/Makefile.tools b/Makefile.tools
index 4f4ee88de..edfb5282c 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -583,14 +583,15 @@ test_scripts += test/bluezutils.py \
 		test/test-gatt-profile test/test-mesh test/agent.py
 
 if BTPCLIENT
-noinst_PROGRAMS += tools/btpclient tools/btpclientctl
+noinst_PROGRAMS += client/btpclient/btpclient client/btpclient/btpclientctl
 
-tools_btpclient_SOURCES = tools/btpclient.c src/shared/btp.c src/shared/btp.h
-tools_btpclient_LDADD = lib/libbluetooth-internal.la \
+client_btpclient_btpclient_SOURCES = client/btpclient/btpclient.c \
+				src/shared/btp.c src/shared/btp.h
+client_btpclient_btpclient_LDADD = lib/libbluetooth-internal.la \
 				src/libshared-ell.la $(ell_ldadd)
-tools/btpclient.$(OBJEXT): src/libshared-ell.la ell/internal
+client/btpclient/btpclient.$(OBJEXT): src/libshared-ell.la ell/internal
 
-tools_btpclientctl_SOURCES = tools/btpclientctl.c client/display.c
-tools_btpclientctl_LDADD = src/libshared-mainloop.la src/libshared-glib.la \
+client_btpclient_btpclientctl_SOURCES = client/btpclient/btpclientctl.c client/display.c
+client_btpclient_btpclientctl_LDADD = src/libshared-mainloop.la src/libshared-glib.la \
 				lib/libbluetooth-internal.la -lreadline
 endif
diff --git a/tools/btpclient.c b/client/btpclient/btpclient.c
similarity index 100%
rename from tools/btpclient.c
rename to client/btpclient/btpclient.c
diff --git a/tools/btpclientctl.c b/client/btpclient/btpclientctl.c
similarity index 100%
rename from tools/btpclientctl.c
rename to client/btpclient/btpclientctl.c
-- 
2.43.0


             reply	other threads:[~2026-02-16 16:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-16 16:51 Frédéric Danis [this message]
2026-02-16 16:51 ` [PATCH BlueZ 2/3] client/btpclient: Move btp core service in its own file Frédéric Danis
2026-02-16 16:51 ` [PATCH BlueZ 3/3] client/btpclient: Move btp GAP " Frédéric Danis
2026-02-16 17:53 ` [BlueZ,1/3] tools/btpclient: Move btpclient to client/btpclient directory bluez.test.bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260216165127.110686-1-frederic.danis@collabora.com \
    --to=frederic.danis@collabora.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox