summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-connectivity
diff options
context:
space:
mode:
authorAndrey Gusakov <andrey.gusakov@cogentembedded.com>2017-11-01 19:49:05 +0300
committerVladimir Barinov <vladimir.barinov@cogentembedded.com>2017-11-28 14:31:53 +0300
commit27ebba749e6177f41ad840c1b0377dd8007e0747 (patch)
tree84d551674fa33871f0750927cc305b29ea70c83f /meta-rcar-gen3-adas/recipes-connectivity
parenta741482ab005ed90c717af54d41f4626420224dc (diff)
Kingfisher: bluetooth fixes
Add proper dbus configs Enable bluetooth on startup
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-connectivity')
-rw-r--r--meta-rcar-gen3-adas/recipes-connectivity/bluez5/bluez5_%.bbappend16
-rw-r--r--meta-rcar-gen3-adas/recipes-connectivity/bluez5/files/main.conf2
2 files changed, 18 insertions, 0 deletions
diff --git a/meta-rcar-gen3-adas/recipes-connectivity/bluez5/bluez5_%.bbappend b/meta-rcar-gen3-adas/recipes-connectivity/bluez5/bluez5_%.bbappend
new file mode 100644
index 0000000..99b0ede
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-connectivity/bluez5/bluez5_%.bbappend
@@ -0,0 +1,16 @@
+FILESEXTRAPATHS_append := "${THISDIR}/files:"
+
+SRC_URI_append_rcar-gen3 = " \
+ file://main.conf \
+"
+
+PACKAGECONFIG_append = " experimental"
+
+NOINST_TOOLS_EXPERIMENTAL_remove = " tools/bdaddr"
+
+
+do_install_append_rcar-gen3() {
+ install -d ${D}/etc/bluetooth
+
+ install -m 644 ${WORKDIR}/main.conf ${D}/${sysconfdir}/bluetooth/
+}
diff --git a/meta-rcar-gen3-adas/recipes-connectivity/bluez5/files/main.conf b/meta-rcar-gen3-adas/recipes-connectivity/bluez5/files/main.conf
new file mode 100644
index 0000000..d3e19f7
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-connectivity/bluez5/files/main.conf
@@ -0,0 +1,2 @@
+[Policy]
+AutoEnable=true