network-manager: add optional ofono support
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Thu, 11 May 2017 13:56:39 +0000 (14:56 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 11 May 2017 19:18:12 +0000 (21:18 +0200)
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/network-manager/network-manager.mk

index 9f4cebe12b68f1571bce1bf135b47d295798444e..4a05a658b907eb9cf72f6d13ffacd794698abc9b 100644 (file)
@@ -32,6 +32,13 @@ NETWORK_MANAGER_CONF_OPTS = \
        --disable-ifupdown \
        --disable-ifnet
 
+ifeq ($(BR2_PACKAGE_OFONO),y)
+NETWORK_MANAGER_DEPENDENCIES += ofono
+NETWORK_MANAGER_CONF_OPTS += --with-ofono
+else
+NETWORK_MANAGER_CONF_OPTS += --without-ofono
+endif
+
 ifeq ($(BR2_PACKAGE_LIBCURL),y)
 NETWORK_MANAGER_DEPENDENCIES += libcurl
 NETWORK_MANAGER_CONF_OPTS += --enable-concheck