summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bluez-utils/bluez-utils-2.9/bluetooth_conf.patch0
-rw-r--r--bluez-utils/bluez-utils_2.9.oe10
2 files changed, 6 insertions, 4 deletions
diff --git a/bluez-utils/bluez-utils-2.9/bluetooth_conf.patch b/bluez-utils/bluez-utils-2.9/bluetooth_conf.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/bluez-utils/bluez-utils-2.9/bluetooth_conf.patch
diff --git a/bluez-utils/bluez-utils_2.9.oe b/bluez-utils/bluez-utils_2.9.oe
index 05b9173512..18244f6a2d 100644
--- a/bluez-utils/bluez-utils_2.9.oe
+++ b/bluez-utils/bluez-utils_2.9.oe
@@ -1,13 +1,14 @@
DESCRIPTION = "Linux Bluetooth Stack Userland Utilities."
SECTION = "libs"
PRIORITY = "optional"
-DEPENDS = "bluez-libs"
+DEPENDS = "bluez-libs pcmcia-cs"
RPROVIDES = "bluez-pan bluez-sdp"
-PR = "r2"
+PR = "r3"
-SRC_URI = "http://bluez.sourceforge.net/download/bluez-utils-${PV}.tar.gz"
+SRC_URI = "http://bluez.sourceforge.net/download/bluez-utils-${PV}.tar.gz \
+ file://bluetooth_conf.patch;patch=1"
-EXTRA_OECONF = "--with-bluez-libs=${STAGING_LIBDIR} --with-bluez-includes=${STAGING_INCDIR}"
+EXTRA_OECONF = "--with-bluez-libs=${STAGING_LIBDIR} --with-bluez-includes=${STAGING_INCDIR} --enable-pcmcia"
do_install_append() {
install -d ${D}/sbin ${D}/bin/
@@ -15,6 +16,7 @@ do_install_append() {
mv ${D}${bindir}/* ${D}/bin/
rmdir ${D}${bindir} ${D}${sbindir}
chmod u+s ${D}/sbin/hciattach ${D}/sbin/hciconfig
+ chmod 755 ${D}/etc/pcmcia/bluetooth
}
inherit autotools update-rc.d