Greetings one and all, This is v2 of my earlier series. In v1 support for external plugins was completely removed, while now it is preserved but compiled out by default. An extra --enable-external-plugins is introduced alongside a note in the README and a one-off runtime warning. The latter two pointing people towards integrating their plugin into the upstream BlueZ repo. For more details, see the link below to the original v1 cover letter and patches. Thanks Emil - Link to v1: https://lore.kernel.org/r/20240116-rm-ext-plugins-v1-0-62990fb07369@xxxxxxxxx --- 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 | 93 +++++++++++++++++++++---------- obexd/src/plugin.h | 4 ++ plugins/external-dummy.c | 28 ---------- src/btd.h | 2 +- src/plugin.c | 139 +++++++++++++++++++++++++++++------------------ src/plugin.h | 16 ++++++ 16 files changed, 208 insertions(+), 132 deletions(-) --- base-commit: a9d1f6f6a625607de6c3f5b7a40a3aac5f36c02b change-id: 20240116-rm-ext-plugins-ba0b852a492b Best regards, -- Emil Velikov <emil.l.velikov@xxxxxxxxx>