summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/connman/connman.inc9
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index b61e2afd26..db4d26c3a8 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -20,7 +20,7 @@ DEPENDS = "dbus glib-2.0 ppp iptables gnutls \
20 ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \ 20 ${@base_contains('DISTRO_FEATURES', '3g','ofono', '', d)} \
21 " 21 "
22 22
23INC_PR = "r17" 23INC_PR = "r18"
24 24
25TIST = "--enable-tist" 25TIST = "--enable-tist"
26TIST_powerpc = "" 26TIST_powerpc = ""
@@ -38,7 +38,7 @@ EXTRA_OECONF += "\
38 --enable-tools \ 38 --enable-tools \
39 --enable-test \ 39 --enable-test \
40 --disable-polkit \ 40 --disable-polkit \
41 --disable-client \ 41 --enable-client \
42 --enable-fake \ 42 --enable-fake \
43 ${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdunitdir=${systemd_unitdir}/system/', '', d)} \ 43 ${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdunitdir=${systemd_unitdir}/system/', '', d)} \
44" 44"
@@ -73,6 +73,7 @@ do_install_append() {
73 install -d ${D}${bindir} 73 install -d ${D}${bindir}
74 install -m 0755 ${S}/tools/*-test ${D}${bindir} 74 install -m 0755 ${S}/tools/*-test ${D}${bindir}
75 install -m 0755 ${S}/tools/wispr ${D}${bindir} 75 install -m 0755 ${S}/tools/wispr ${D}${bindir}
76 install -m 0755 ${B}/client/connmanctl ${D}${bindir}
76 77
77 # We don't need to package an empty directory 78 # We don't need to package an empty directory
78 rmdir ${D}${libdir}/connman/scripts 79 rmdir ${D}${libdir}/connman/scripts
@@ -116,13 +117,15 @@ python populate_packages_prepend() {
116 d.setVar("RDEPENDS_%s" % package, " ".join(rdepends)) 117 d.setVar("RDEPENDS_%s" % package, " ".join(rdepends))
117} 118}
118 119
119PACKAGES =+ "${PN}-tools ${PN}-tests" 120PACKAGES =+ "${PN}-tools ${PN}-tests ${PN}-client"
120 121
121FILES_${PN}-tools = "${bindir}/wispr" 122FILES_${PN}-tools = "${bindir}/wispr"
122 123
123FILES_${PN}-tests = "${bindir}/*-test ${libdir}/${BPN}/test/*" 124FILES_${PN}-tests = "${bindir}/*-test ${libdir}/${BPN}/test/*"
124RDEPENDS_${PN}-tests = "python-dbus python-pygobject python-textutils python-subprocess python-fcntl python-netclient" 125RDEPENDS_${PN}-tests = "python-dbus python-pygobject python-textutils python-subprocess python-fcntl python-netclient"
125 126
127FILES_${PN}-client = "${bindir}/connmanctl"
128
126FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*.so.* \ 129FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*.so.* \
127 ${libdir}/connman/plugins \ 130 ${libdir}/connman/plugins \
128 ${sysconfdir} ${sharedstatedir} ${localstatedir} \ 131 ${sysconfdir} ${sharedstatedir} ${localstatedir} \