--- /dev/null
+config BR2_PACKAGE_BLUEZ_UTILS
+ bool "bluez-utils"
+ depends on !BR2_STATIC_LIBS
+ depends on BR2_USE_WCHAR # libglib2
+ depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib, libglib2
+ depends on BR2_USE_MMU # dbus, libglib2
+ select BR2_PACKAGE_DBUS
+ select BR2_PACKAGE_LIBGLIB2
+ help
+ bluez utils
+
+ http://www.kernel.org/pub/linux/bluetooth
+
+if BR2_PACKAGE_BLUEZ_UTILS
+
+config BR2_PACKAGE_BLUEZ_UTILS_COMPAT
+ bool "BlueZ 3.x compatibility binaries"
+ help
+ BlueZ 3.x compatibility binaries like pand, hidd, sdp
+
+config BR2_PACKAGE_BLUEZ_UTILS_AUDIO
+ bool "audio support"
+ select BR2_PACKAGE_ALSA_LIB
+ select BR2_PACKAGE_LIBSNDFILE
+ help
+ Audio support
+
+config BR2_PACKAGE_BLUEZ_UTILS_USB
+ bool "USB support"
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
+ select BR2_PACKAGE_LIBUSB
+ help
+ USB support
+
+config BR2_PACKAGE_BLUEZ_UTILS_GATT
+ bool "GATT support"
+ select BR2_PACKAGE_READLINE
+ help
+ Generic Attribute Profile (GATT) support. This provides profile
+ discovery and description services for Bluetooth Low Energy.
+ This will install the gatttool utility.
+endif
+
+comment "bluez-utils needs a toolchain w/ wchar, threads, dynamic library"
+ depends on BR2_USE_MMU
+ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS