[Buildroot] [PATCH 1/1] Config.in.legacy: fix selection of bluez5_utils

Fabrice Fontaine fontaine.fabrice at gmail.com
Mon Feb 10 23:01:37 UTC 2020


Select BR2_PACKAGE_BLUEZ5_UTILS only if all its reverse dependencies
are selected

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 Config.in.legacy | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Config.in.legacy b/Config.in.legacy
index 563f6d39e3..bf69b579e3 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -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
-- 
2.24.1



More information about the buildroot mailing list