diff options
-rw-r--r-- | meta/recipes-connectivity/connman/connman.inc | 9 |
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 | ||
23 | INC_PR = "r17" | 23 | INC_PR = "r18" |
24 | 24 | ||
25 | TIST = "--enable-tist" | 25 | TIST = "--enable-tist" |
26 | TIST_powerpc = "" | 26 | TIST_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 | ||
119 | PACKAGES =+ "${PN}-tools ${PN}-tests" | 120 | PACKAGES =+ "${PN}-tools ${PN}-tests ${PN}-client" |
120 | 121 | ||
121 | FILES_${PN}-tools = "${bindir}/wispr" | 122 | FILES_${PN}-tools = "${bindir}/wispr" |
122 | 123 | ||
123 | FILES_${PN}-tests = "${bindir}/*-test ${libdir}/${BPN}/test/*" | 124 | FILES_${PN}-tests = "${bindir}/*-test ${libdir}/${BPN}/test/*" |
124 | RDEPENDS_${PN}-tests = "python-dbus python-pygobject python-textutils python-subprocess python-fcntl python-netclient" | 125 | RDEPENDS_${PN}-tests = "python-dbus python-pygobject python-textutils python-subprocess python-fcntl python-netclient" |
125 | 126 | ||
127 | FILES_${PN}-client = "${bindir}/connmanctl" | ||
128 | |||
126 | FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*.so.* \ | 129 | FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*.so.* \ |
127 | ${libdir}/connman/plugins \ | 130 | ${libdir}/connman/plugins \ |
128 | ${sysconfdir} ${sharedstatedir} ${localstatedir} \ | 131 | ${sysconfdir} ${sharedstatedir} ${localstatedir} \ |