summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Dawson <spdawson@gmail.com>2013-11-28 09:36:40 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-11-28 14:10:33 (GMT)
commitf432b545badec4a45077aef3108c8b2c7d774516 (patch)
treef5eef927cd6181e377acbb25ed4fdd98cd3339ea
parented69ce1daf9cce524ec604b1ab46dcb5f119d5c0 (diff)
downloadbuildroot-f432b545badec4a45077aef3108c8b2c7d774516.tar.gz
buildroot-f432b545badec4a45077aef3108c8b2c7d774516.tar.bz2
connman: add support for ofono and neard
Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/connman/Config.in8
-rw-r--r--package/connman/connman.mk8
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