summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/ofono/ofono.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/ofono/ofono.mk b/package/ofono/ofono.mk
index e552eac3c..5410c98ca 100644
--- a/package/ofono/ofono.mk
+++ b/package/ofono/ofono.mk
@@ -3,7 +3,7 @@
# ofono
#
#############################################################
-OFONO_VERSION = 1.7
+OFONO_VERSION = 1.12
OFONO_SITE = $(BR2_KERNEL_MIRROR)/linux/network/ofono
OFONO_DEPENDENCIES = \
host-pkgconf \
@@ -14,6 +14,10 @@ OFONO_DEPENDENCIES = \
OFONO_CONF_OPT = --disable-test
+# 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"
+
ifeq ($(BR2_PACKAGE_UDEV),y)
OFONO_CONF_OPT += --enable-udev
OFONO_DEPENDENCIES += udev