package/bluez5_utils: drop default y
authorMichael Nosthoff <buildroot@heine.tech>
Sat, 31 Jul 2021 20:38:04 +0000 (22:38 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Mon, 2 Aug 2021 15:08:44 +0000 (17:08 +0200)
as discussed on the mailinglist this drops the default y
entry for the now optional plugins and tools.
This might break backward compatibility but gives new users
a smaller initial footprint.

Further add a select for the options that required the HID
plugin at runtime.

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/bluez5_utils/Config.in

index 30e70fa03f1c0489e644bd8ea768309ef4b3b9fd..a8232279bdd9ce3a080c8f5396b2526fb5fff907 100644 (file)
@@ -39,7 +39,6 @@ config BR2_PACKAGE_BLUEZ5_UTILS_CLIENT
 
 config BR2_PACKAGE_BLUEZ5_UTILS_MONITOR
        bool "build monitor utility"
-       default y
        help
          Build monitor utility btmon.
 
@@ -70,7 +69,6 @@ config BR2_PACKAGE_BLUEZ5_UTILS_EXPERIMENTAL
 
 config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO
        bool "build audio plugins (a2dp and avrcp)"
-       default y
        help
          Build plugins for audio profiles (for A2DP and AVRCP).
 
@@ -81,14 +79,12 @@ config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH
 
 config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID
        bool "build hid plugin"
-       default y
        select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HOG
        help
          Build plugin for HID (input) profiles.
 
 config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HOG
        bool "build hog plugin"
-       default y
        help
          Build plugin for HoG (input) profiles.
 
@@ -130,6 +126,7 @@ config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SAP
 config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SIXAXIS
        bool "build sixaxis plugin"
        depends on BR2_PACKAGE_HAS_UDEV
+       select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID # runtime
        help
          Build sixaxis plugin (support Sony Dualshock
          controller)
@@ -145,6 +142,7 @@ config BR2_PACKAGE_BLUEZ5_UTILS_TEST
 config BR2_PACKAGE_BLUEZ5_UTILS_TOOLS_HID2HCI
        bool "build hid2hci tool"
        depends on BR2_PACKAGE_HAS_UDEV
+       select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID # runtime
        help
          Build hid2hci tool