![Thomas De Schampheleire](/assets/img/avatar_default.png)
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
58 lines
1.3 KiB
Makefile
58 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# bluez_utils
|
|
#
|
|
################################################################################
|
|
|
|
BLUEZ_UTILS_VERSION = 4.101
|
|
BLUEZ_UTILS_SOURCE = bluez-$(BLUEZ_UTILS_VERSION).tar.xz
|
|
BLUEZ_UTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth
|
|
BLUEZ_UTILS_INSTALL_STAGING = YES
|
|
BLUEZ_UTILS_DEPENDENCIES = dbus libglib2
|
|
BLUEZ_UTILS_CONF_OPTS = --enable-test --enable-tools
|
|
BLUEZ_UTILS_AUTORECONF = YES
|
|
BLUEZ_UTILS_LICENSE = GPLv2+ LGPLv2.1+
|
|
BLUEZ_UTILS_LICENSE_FILES = COPYING COPYING.LIB
|
|
|
|
# BlueZ 3.x compatibility
|
|
ifeq ($(BR2_PACKAGE_BLUEZ_UTILS_COMPAT),y)
|
|
BLUEZ_UTILS_CONF_OPTS += \
|
|
--enable-hidd \
|
|
--enable-pand \
|
|
--enable-sdp \
|
|
--enable-dund
|
|
endif
|
|
|
|
# audio support
|
|
ifeq ($(BR2_PACKAGE_BLUEZ_UTILS_AUDIO),y)
|
|
BLUEZ_UTILS_DEPENDENCIES += \
|
|
alsa-lib \
|
|
libsndfile
|
|
BLUEZ_UTILS_CONF_OPTS += \
|
|
--enable-alsa \
|
|
--enable-audio
|
|
else
|
|
BLUEZ_UTILS_CONF_OPTS += \
|
|
--disable-alsa \
|
|
--disable-audio
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_BLUEZ_UTILS_GATT),y)
|
|
BLUEZ_UTILS_DEPENDENCIES += readline
|
|
BLUEZ_UTILS_CONF_OPTS += --enable-gatt
|
|
else
|
|
BLUEZ_UTILS_CONF_OPTS += --disable-gatt
|
|
endif
|
|
|
|
# USB support
|
|
ifeq ($(BR2_PACKAGE_BLUEZ_UTILS_USB),y)
|
|
BLUEZ_UTILS_DEPENDENCIES += libusb
|
|
BLUEZ_UTILS_CONF_OPTS += \
|
|
--enable-usb
|
|
else
|
|
BLUEZ_UTILS_CONF_OPTS += \
|
|
--disable-usb
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|