summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-connectivity/bluez5
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-connectivity/bluez5')
-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