1 ################################################################################
5 ################################################################################
8 OPENOBEX_SITE = http://ftp.osuosl.org/pub/linux/bluetooth
9 # Libraries seems to be released under LGPLv2.1+,
10 # while other material is under GPLv2+.
11 OPENOBEX_LICENSE = GPLv2+/LGPLv2.1+
12 OPENOBEX_LICENSE_FILES = COPYING COPYING.LIB
14 OPENOBEX_DEPENDENCIES = host-pkgconf
15 OPENOBEX_AUTORECONF = YES
16 OPENOBEX_INSTALL_STAGING = YES
18 OPENOBEX_CONF_OPTS += \
19 $(if $(BR2_PACKAGE_OPENOBEX_APPS),--enable-apps) \
20 $(if $(BR2_PACKAGE_OPENOBEX_SYSLOG),--enable-syslog) \
21 $(if $(BR2_PACKAGE_OPENOBEX_DUMP),--enable-dump)
23 ifeq ($(BR2_PACKAGE_OPENOBEX_BLUEZ),y)
24 OPENOBEX_DEPENDENCIES += bluez_utils
25 OPENOBEX_CONF_OPTS += --with-bluez=$(STAGING_DIR)
27 OPENOBEX_CONF_OPTS += --disable-bluetooth
30 ifeq ($(BR2_PACKAGE_OPENOBEX_LIBUSB),y)
31 OPENOBEX_DEPENDENCIES += libusb
32 OPENOBEX_CONF_OPTS += --with-usb=$(STAGING_DIR)
34 OPENOBEX_CONF_OPTS += --disable-usb
37 $(eval $(autotools-package))