8ac4d34ef0
Drop local patch 0002 as the TEMP_FAILURE_RETRY macro was replaced by L_TFR from ell library. https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=765c6655f26304c45adfdb92081448d797ce3092 Release notes: https://git.kernel.org/pub/scm/network/ofono/ofono.git/tree/ChangeLog?h=2.1 Signed-off-by: Nicolas Serafini <nicolas.serafini@ik.me> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# ofono
|
|
#
|
|
################################################################################
|
|
|
|
OFONO_VERSION = 2.1
|
|
OFONO_SOURCE = ofono-$(OFONO_VERSION).tar.xz
|
|
OFONO_SITE = $(BR2_KERNEL_MIRROR)/linux/network/ofono
|
|
OFONO_LICENSE = GPL-2.0
|
|
OFONO_LICENSE_FILES = COPYING
|
|
OFONO_DEPENDENCIES = \
|
|
host-pkgconf \
|
|
dbus \
|
|
ell \
|
|
libcap-ng \
|
|
libglib2 \
|
|
mobile-broadband-provider-info
|
|
|
|
OFONO_CONF_OPTS = \
|
|
--enable-external-ell \
|
|
--disable-test \
|
|
--with-dbusconfdir=/etc \
|
|
$(if $(BR2_INIT_SYSTEMD),--with-systemdunitdir=/usr/lib/systemd/system)
|
|
|
|
# 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"
|
|
|
|
define OFONO_INSTALL_INIT_SYSV
|
|
$(INSTALL) -m 0755 -D package/ofono/S46ofono $(TARGET_DIR)/etc/init.d/S46ofono
|
|
endef
|
|
|
|
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
|
OFONO_CONF_OPTS += --enable-udev
|
|
OFONO_DEPENDENCIES += udev
|
|
else
|
|
OFONO_CONF_OPTS += --disable-udev
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
|
|
OFONO_CONF_OPTS += --enable-bluetooth
|
|
OFONO_DEPENDENCIES += bluez5_utils
|
|
else
|
|
OFONO_CONF_OPTS += --disable-bluetooth
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|