summaryrefslogtreecommitdiffstats
path: root/package/connman
diff options
context:
space:
mode:
Diffstat (limited to 'package/connman')
-rw-r--r--package/connman/Config.in1
-rw-r--r--package/connman/connman.mk5
2 files changed, 4 insertions, 2 deletions
diff --git a/package/connman/Config.in b/package/connman/Config.in
index 082b0ca686..b67b54059c 100644
--- a/package/connman/Config.in
+++ b/package/connman/Config.in
@@ -44,6 +44,7 @@ config BR2_PACKAGE_CONNMAN_DEBUG
config BR2_PACKAGE_CONNMAN_CLIENT
bool "enable command line client"
+ select BR2_PACKAGE_READLINE
endif # BR2_PACKAGE_CONNMAN
diff --git a/package/connman/connman.mk b/package/connman/connman.mk
index ed83ebc712..7a5207103c 100644
--- a/package/connman/connman.mk
+++ b/package/connman/connman.mk
@@ -4,7 +4,7 @@
#
#######################################################
-CONNMAN_VERSION = 1.6
+CONNMAN_VERSION = 1.7
CONNMAN_SITE = $(BR2_KERNEL_MIRROR)/linux/network/connman/
CONNMAN_DEPENDENCIES = libglib2 dbus iptables gnutls
CONNMAN_INSTALL_STAGING = YES
@@ -25,9 +25,10 @@ CONNMAN_POST_INSTALL_TARGET_HOOKS = CONNMAN_INSTALL_INITSCRIPT
ifeq ($(BR2_PACKAGE_CONNMAN_CLIENT),y)
CONNMAN_CONF_OPT += --enable-client
+CONNMAN_DEPENDENCIES += readline
define CONNMAN_INSTALL_CM
- $(INSTALL) -m 0755 -D $(@D)/client/cm $(TARGET_DIR)/usr/bin/cm
+ $(INSTALL) -m 0755 -D $(@D)/client/connmanctl $(TARGET_DIR)/usr/bin/connmanctl
endef
CONNMAN_POST_INSTALL_TARGET_HOOKS += CONNMAN_INSTALL_CM
OpenPOWER on IntegriCloud