[Buildroot] [PATCH] package/bluez5_utils: expose more disable options
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Mon Jul 26 21:07:16 UTC 2021
Hello,
(Yann, Arnout, Peter: question for you below.)
On Mon, 26 Jul 2021 22:12:42 +0200
Michael Nosthoff via buildroot <buildroot at busybox.net> wrote:
> BlueZ builds a lot of Classic BT profiles by default but allows
> to disable them. This is especially handy when only BLE is needed
> and enabled in the kernel.
>
> Otherwise this yields warnings like this on bootup:
>
> profiles/network/bnep.c:bnep_init() kernel lacks bnep-protocol support
> src/plugin.c:plugin_init() System does not support network plugin
>
> Also it allows to disable btmon which should not be needed on
> production systems and is ~800KB in size.
>
> Expose those options but default to 'y' to no break existing
> configurations.
>
> Signed-off-by: Michael Nosthoff <buildroot at heine.tech>
> ---
> package/bluez5_utils/Config.in | 36 ++++++++++++++++++++++++
> package/bluez5_utils/bluez5_utils.mk | 41 ++++++++++++++++++++++++++++
> 2 files changed, 77 insertions(+)
Applied to master, thanks.
Arnout, Peter, Yann: in order to preserve backward compatibility,
Michael has created those new options with a "default y". However,
while it keeps backward compatibility, it also means that all new users
will get a more bloated bluez_utils installation than is probably
necessary. Should we break our backward compatibility rule here and
drop the "default y" on those new options ?
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list