diff options
author | John Klug <john.klug@multitech.com> | 2018-01-09 10:55:32 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2018-01-09 10:55:32 -0600 |
commit | 1f96fde1e2003eacef6c04c80ce29f6b41b5de4c (patch) | |
tree | 134d0ab71ced0444e9460d9aa82bf73396ade170 /recipes-connectivity/bluez/bluez5.inc | |
parent | 1f2b8e9c52433e8be448873de33122b0cc299dcc (diff) | |
download | meta-mlinux-1f96fde1e2003eacef6c04c80ce29f6b41b5de4c.tar.gz meta-mlinux-1f96fde1e2003eacef6c04c80ce29f6b41b5de4c.tar.bz2 meta-mlinux-1f96fde1e2003eacef6c04c80ce29f6b41b5de4c.zip |
Start of rfcomm python solution
Diffstat (limited to 'recipes-connectivity/bluez/bluez5.inc')
-rw-r--r-- | recipes-connectivity/bluez/bluez5.inc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/recipes-connectivity/bluez/bluez5.inc b/recipes-connectivity/bluez/bluez5.inc index b7ca007..844f38b 100644 --- a/recipes-connectivity/bluez/bluez5.inc +++ b/recipes-connectivity/bluez/bluez5.inc @@ -10,6 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \ DEPENDS = "udev libusb dbus-glib glib-2.0 libcheck readline" RDEPENDS_${PN}-pand += "bash" DEPENDS_${PN}-pand += "python-dbus python-logging python-syslog" +DEPENDS_${PN}-rfcomm += "python-dbus python-pygobject" PROVIDES += "bluez-hcidump" RPROVIDES_${PN} += "bluez-hcidump" @@ -31,6 +32,7 @@ SRC_URI = "\ file://bt-pan/init \ file://bt-pan/default \ file://bt-pan/bt-pan \ + file://rfcomm/rfcomm.py \ " S = "${WORKDIR}/bluez-${PV}" @@ -64,6 +66,7 @@ do_install_append() { install -m 0755 ${WORKDIR}/bt-pan/init ${D}${INIT_D_DIR}/bt-pan install -d ${DBTEXEC} install -m 0755 ${WORKDIR}/bt-pan/bt-pan ${DBTEXEC} + install -m 0755 ${WORKDIR}/rfcomm/rfcomm.py ${DBTEXEC}/rfcomm install -d ${D}${sysconfdir}/bluetooth/ if [ -f ${S}/profiles/audio/audio.conf ]; then @@ -96,7 +99,7 @@ do_install_append() { } ALLOW_EMPTY_libasound-module-bluez = "1" -PACKAGES =+ "libasound-module-bluez ${PN}-testtools ${PN}-obex ${PN}-noinst-tools ${PN}-pand" +PACKAGES =+ "libasound-module-bluez ${PN}-testtools ${PN}-obex ${PN}-noinst-tools ${PN}-pand ${PN}-rfcomm" FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so ${datadir}/alsa" FILES_${PN} += "${libdir}/bluetooth/plugins/*.so ${systemd_unitdir}/ ${datadir}/dbus-1" @@ -111,7 +114,8 @@ FILES_${PN}-obex = "${libexecdir}/bluetooth/obexd \ ${datadir}/dbus-1/services/org.bluez.obex.service \ " -FILES_${PN}-pand = "${libexecdir}/bluetooth/bluetooth/bt-pan ${sysconfdir}/default/bt-pan ${sysconfdir}/init.d/bt-pan" +FILES_${PN}-pand = "${libexecdir}/bluetooth/bt-pan ${sysconfdir}/default/bt-pan ${sysconfdir}/init.d/bt-pan" +FILES_${PN}-rfcomm = "${libexecdir}/bluetooth/rfcomm" CONFFILES_${PN}-pand = "${sysconfdir}/default/bt-pan" SYSTEMD_SERVICE_${PN}-obex = "obex.service" |