From a120ece0e4a12c8f77b32b76078003d2542187f0 Mon Sep 17 00:00:00 2001 From: Yusuke Mitsuki Date: Wed, 6 Sep 2017 07:14:42 +0900 Subject: [PATCH] bluez5: enable bluetooth on raspberrypi0-wifi Add functions/variable to enabling bluetooth on raspberrypi0-wifi. Signed-off-by: Yusuke Mitsuki --- recipes-connectivity/bluez5/bluez5_%.bbappend | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/recipes-connectivity/bluez5/bluez5_%.bbappend b/recipes-connectivity/bluez5/bluez5_%.bbappend index b2fbf22..03efd5c 100644 --- a/recipes-connectivity/bluez5/bluez5_%.bbappend +++ b/recipes-connectivity/bluez5/bluez5_%.bbappend @@ -25,6 +25,7 @@ BCM_BT_FIRMWARE = " \ BCM_BT_SERVICE = " brcm43438.service" +# for raspberrypi3 SRC_URI_append_raspberrypi3 = " ${BCM_BT_SOURCES}" do_install_append_raspberrypi3() { @@ -34,3 +35,14 @@ do_install_append_raspberrypi3() { FILES_${PN}_append_raspberrypi3 = " ${BCM_BT_FIRMWARE}" SYSTEMD_SERVICE_${PN}_append_raspberrypi3 = " ${BCM_BT_SERVICE}" + +# for raspberrypi0-wifi +SRC_URI_append_raspberrypi0-wifi = " ${BCM_BT_SOURCES}" + +do_install_append_raspberrypi0-wifi() { + enable_bcm_bluetooth +} + +FILES_${PN}_append_raspberrypi0-wifi = " ${BCM_BT_FIRMWARE}" + +SYSTEMD_SERVICE_${PN}_append_raspberrypi0-wifi = " ${BCM_BT_SERVICE}"