1 ################################################################################
5 ################################################################################
7 BLUEZ_UTILS_VERSION
= 4.101
8 BLUEZ_UTILS_SOURCE
= bluez-
$(BLUEZ_UTILS_VERSION
).
tar.xz
9 BLUEZ_UTILS_SITE
= $(BR2_KERNEL_MIRROR
)/linux
/bluetooth
10 BLUEZ_UTILS_INSTALL_STAGING
= YES
11 BLUEZ_UTILS_DEPENDENCIES
= dbus libglib2
12 BLUEZ_UTILS_CONF_OPTS
= --enable-test
--enable-tools
13 BLUEZ_UTILS_AUTORECONF
= YES
14 BLUEZ_UTILS_LICENSE
= GPLv2
+, LGPLv2.1
+
15 BLUEZ_UTILS_LICENSE_FILES
= COPYING COPYING.LIB
17 # BlueZ 3.x compatibility
18 ifeq ($(BR2_PACKAGE_BLUEZ_UTILS_COMPAT
),y
)
19 BLUEZ_UTILS_CONF_OPTS
+= \
27 ifeq ($(BR2_PACKAGE_BLUEZ_UTILS_AUDIO
),y
)
28 BLUEZ_UTILS_DEPENDENCIES
+= \
31 BLUEZ_UTILS_CONF_OPTS
+= \
35 BLUEZ_UTILS_CONF_OPTS
+= \
40 ifeq ($(BR2_PACKAGE_BLUEZ_UTILS_GATT
),y
)
41 BLUEZ_UTILS_DEPENDENCIES
+= readline
42 BLUEZ_UTILS_CONF_OPTS
+= --enable-gatt
44 BLUEZ_UTILS_CONF_OPTS
+= --disable-gatt
48 ifeq ($(BR2_PACKAGE_BLUEZ_UTILS_USB
),y
)
49 BLUEZ_UTILS_DEPENDENCIES
+= libusb
50 BLUEZ_UTILS_CONF_OPTS
+= \
53 BLUEZ_UTILS_CONF_OPTS
+= \
57 ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE
),)
58 BLUEZ_UTILS_CONF_OPTS
+= --disable-pie
61 $(eval
$(autotools-package
))