From b33b493b7feebfc933873cb34ac70c042e89a1d2 Mon Sep 17 00:00:00 2001 From: Vicente Olivert Riera Date: Thu, 11 May 2017 14:56:39 +0100 Subject: [PATCH] network-manager: add optional ofono support Signed-off-by: Vicente Olivert Riera Signed-off-by: Thomas Petazzoni --- package/network-manager/network-manager.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk index 9f4cebe12b..4a05a658b9 100644 --- a/package/network-manager/network-manager.mk +++ b/package/network-manager/network-manager.mk @@ -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 -- 2.30.2