2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-04-01 05:58:49 +02:00
|
|
|
#
|
|
|
|
# ofono
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-04-14 22:29:10 +02:00
|
|
|
|
2013-11-27 23:18:00 +01:00
|
|
|
OFONO_VERSION = 1.13
|
2013-09-06 08:14:15 +02:00
|
|
|
OFONO_SOURCE = ofono-$(OFONO_VERSION).tar.xz
|
2012-04-01 05:58:49 +02:00
|
|
|
OFONO_SITE = $(BR2_KERNEL_MIRROR)/linux/network/ofono
|
2013-04-14 22:29:10 +02:00
|
|
|
OFONO_LICENSE = GPLv2
|
|
|
|
OFONO_LICENSE_FILES = COPYING
|
2012-04-01 05:58:49 +02:00
|
|
|
OFONO_DEPENDENCIES = \
|
2012-10-22 17:47:52 +02:00
|
|
|
host-pkgconf \
|
2012-04-01 05:58:49 +02:00
|
|
|
dbus \
|
|
|
|
libglib2 \
|
|
|
|
libcap-ng \
|
|
|
|
mobile-broadband-provider-info
|
|
|
|
|
|
|
|
OFONO_CONF_OPT = --disable-test
|
|
|
|
|
2013-04-13 09:53:55 +02:00
|
|
|
# N.B. Qualcomm QMI modem support requires O_CLOEXEC; so
|
|
|
|
# make sure that it is defined.
|
|
|
|
OFONO_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE"
|
|
|
|
|
2012-04-01 05:58:49 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_UDEV),y)
|
|
|
|
OFONO_CONF_OPT += --enable-udev
|
|
|
|
OFONO_DEPENDENCIES += udev
|
|
|
|
else
|
|
|
|
OFONO_CONF_OPT += --disable-udev
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y)
|
|
|
|
OFONO_CONF_OPT += --enable-bluetooth
|
|
|
|
OFONO_DEPENDENCIES += bluez_utils
|
|
|
|
else
|
|
|
|
OFONO_CONF_OPT += --disable-bluetooth
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|