Skip to content

Remove support for external plugins

Emil Velikov b4-sent linux-bluetooth 4 versions – Applied

Status from this message: This series was applied to bluetooth/bluez.git (master)

Get series with b4
b4 am [email protected] change-id 20240116-rm-ext-plugins-ba0b852a492b

Versions newest first

  1. v4 Latest8 patches 5 repliesApplied
  2. v38 patches 7 repliesSuperseded
  3. v28 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v18 patches5 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/8configure, README: introduce --enable-external-pluginsREADME configure.ac+23 -01 reply
2/8obexd: factor out external plugin supportMakefile.obexd obexd/src/obexd.h obexd/src/plugin.c +1 more+66 -310 replies
3/8bluetoothd: remove external-dummy pluginMakefile.am plugins/external-dummy.c+0 -360 replies
4/8bluetoothd: convert external sixaxis plugin to builtinMakefile.plugins+3 -50 replies
5/8bluetoothd: factor out external plugin supportMakefile.am src/btd.h src/plugin.c +1 more+62 -400 replies
6/8bluetoothd: don't export internal APIMakefile.am+4 -10 replies
7/8bluetoothd: change plugin loading alike obexdsrc/plugin.c+29 -243 replies
8/8android: export only (android) entrypoint from the modulesandroid/Makefile.am android/hal-audio.c android/hal-bluetooth.c +1 more+6 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH BlueZ v4 0/8] Remove support for external plugins

Hello everyone,

With v4 we have moved from pre-processor to compilation checking for the external plugins support.

Namely, as we build without one the dead-code elimination will discard all the relevant code. Ultimately this means we compile check both paths in order to catch mistakes. Thanks to Luiz for the suggestion.

Link to the previous revision can be found below.

Thanks
Emil

- Link to v3: https://lore.kernel.org/r/[email protected]

---
Emil Velikov (8):
configure, README: introduce --enable-external-plugins
obexd: factor out external plugin support
bluetoothd: remove external-dummy plugin
bluetoothd: convert external sixaxis plugin to builtin
bluetoothd: factor out external plugin support
bluetoothd: don't export internal API
bluetoothd: change plugin loading alike obexd
android: export only (android) entrypoint from the modules

 Makefile.am              |  17 ++----
 Makefile.obexd           |   2 +
 Makefile.plugins         |   8 ++-
 README                   |  13 +++++
 android/Makefile.am      |   3 ++
 android/hal-audio.c      |   1 +
 android/hal-bluetooth.c  |   1 +
 android/hal-sco.c        |   1 +
 configure.ac             |  10 ++++
 obexd/src/obexd.h        |   2 +-
 obexd/src/plugin.c       |  89 ++++++++++++++++++++-----------
 obexd/src/plugin.h       |   4 ++
 plugins/external-dummy.c |  28 ----------
 src/btd.h                |   2 +-
 src/plugin.c             | 135 ++++++++++++++++++++++++++++-------------------
 src/plugin.h             |   4 ++
 16 files changed, 188 insertions(+), 132 deletions(-)

---
base-commit: 0de32f67f685b95c35a5c2f1206081af89bd88b6
change-id: 20240116-rm-ext-plugins-ba0b852a492b

Best regards,

Signature · 1 line
Emil Velikov <[email protected]>