bluez5: enable bluetooth on raspberrypi0-wifi

Add functions/variable to enabling bluetooth on raspberrypi0-wifi.

Signed-off-by: Yusuke Mitsuki <mickey.happygolucky@gmail.com>
This commit is contained in:
Yusuke Mitsuki
2017-09-06 07:14:42 +09:00
committed by Andrei Gherzan
parent 6abd752bd0
commit a120ece0e4

View File

@ -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}"