Config.in.legacy: fix selection of bluez5_utils
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 10 Feb 2020 23:01:37 +0000 (00:01 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 11 Feb 2020 22:29:00 +0000 (23:29 +0100)
Select BR2_PACKAGE_BLUEZ5_UTILS only if all its reverse dependencies
are selected

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Config.in.legacy

index 563f6d39e366486915513a402c3d1d02f3a6d919..bf69b579e3de98e7be87a1593442a809331dc00e 100644 (file)
@@ -207,7 +207,8 @@ config BR2_GCC_VERSION_OR1K
 config BR2_PACKAGE_BLUEZ_UTILS
        bool "bluez-utils was removed"
        select BR2_LEGACY
-       select BR2_PACKAGE_BLUEZ5_UTILS
+       select BR2_PACKAGE_BLUEZ5_UTILS if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 \
+               && BR2_TOOLCHAIN_HAS_SYNC_4
        help
          The bluez-utils (BlueZ 4.x) package was removed as it is
          deprecated since a long time. As an alternative, the