[Buildroot] [git commit] connman: add support for ofono and neard

Peter Korsgaard peter at korsgaard.com
Thu Nov 28 14:10:33 UTC 2013


commit: http://git.buildroot.net/buildroot/commit/?id=f432b545badec4a45077aef3108c8b2c7d774516
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Simon Dawson <spdawson at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/connman/Config.in  |    8 ++++++++
 package/connman/connman.mk |    8 +++++++-
 2 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/package/connman/Config.in b/package/connman/Config.in
index 5345c80..1cf93e2 100644
--- a/package/connman/Config.in
+++ b/package/connman/Config.in
@@ -38,9 +38,17 @@ config BR2_PACKAGE_CONNMAN_BLUETOOTH
 config BR2_PACKAGE_CONNMAN_LOOPBACK
 	bool "enable loopback support"
 
+config BR2_PACKAGE_CONNMAN_NEARD
+	bool "enable neard support"
+	select BR2_PACKAGE_NEARD
+
 config BR2_PACKAGE_CONNMAN_NTPD
 	bool "enable ntpd support"
 
+config BR2_PACKAGE_CONNMAN_OFONO
+	bool "enable ofono support"
+	select BR2_PACKAGE_OFONO
+
 config BR2_PACKAGE_CONNMAN_DEBUG
 	bool "enable compiling with debugging information"
 
diff --git a/package/connman/connman.mk b/package/connman/connman.mk
index db74c03..cf54abc 100644
--- a/package/connman/connman.mk
+++ b/package/connman/connman.mk
@@ -18,7 +18,13 @@ CONNMAN_CONF_OPT += --localstatedir=/var \
 	$(if $(BR2_PACKAGE_CONNMAN_WIFI),--enable-wifi,--disable-wifi)			\
 	$(if $(BR2_PACKAGE_CONNMAN_BLUETOOTH),--enable-bluetooth,--disable-bluetooth)	\
 	$(if $(BR2_PACKAGE_CONNMAN_LOOPBACK),--enable-loopback,--disable-loopback)	\
-	$(if $(BR2_PACKAGE_CONNMAN_NTPD),--enable-ntpd,--disable-ntpd)
+	$(if $(BR2_PACKAGE_CONNMAN_NEARD),--enable-neard,--disable-neard) \
+	$(if $(BR2_PACKAGE_CONNMAN_NTPD),--enable-ntpd,--disable-ntpd) \
+	$(if $(BR2_PACKAGE_CONNMAN_OFONO),--enable-ofono,--disable-ofono)
+
+CONNMAN_DEPENDENCIES += \
+	$(if $(BR2_PACKAGE_CONNMAN_NEARD),neard) \
+	$(if $(BR2_PACKAGE_CONNMAN_OFONO),ofono)
 
 define CONNMAN_INSTALL_INITSCRIPT
 	$(INSTALL) -m 0755 -D package/connman/S45connman $(TARGET_DIR)/etc/init.d/S45connman


More information about the buildroot mailing list