diff options
author | Yusuke Mitsuki <mickey.happygolucky@gmail.com> | 2017-09-06 07:14:42 +0900 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.com> | 2017-09-11 13:12:42 +0100 |
commit | a120ece0e4a12c8f77b32b76078003d2542187f0 (patch) | |
tree | 93d9b978880b2ff9382cbfedb8ea8c433063886a | |
parent | 6abd752bd0dce56a4458377dcabfe7fe84843715 (diff) | |
download | meta-raspberrypi-a120ece0e4a12c8f77b32b76078003d2542187f0.tar.gz |
bluez5: enable bluetooth on raspberrypi0-wifi
Add functions/variable to enabling bluetooth on raspberrypi0-wifi.
Signed-off-by: Yusuke Mitsuki <mickey.happygolucky@gmail.com>
-rw-r--r-- | recipes-connectivity/bluez5/bluez5_%.bbappend | 12 |
1 files changed, 12 insertions, 0 deletions
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 = " \ | |||
25 | 25 | ||
26 | BCM_BT_SERVICE = " brcm43438.service" | 26 | BCM_BT_SERVICE = " brcm43438.service" |
27 | 27 | ||
28 | # for raspberrypi3 | ||
28 | SRC_URI_append_raspberrypi3 = " ${BCM_BT_SOURCES}" | 29 | SRC_URI_append_raspberrypi3 = " ${BCM_BT_SOURCES}" |
29 | 30 | ||
30 | do_install_append_raspberrypi3() { | 31 | do_install_append_raspberrypi3() { |
@@ -34,3 +35,14 @@ do_install_append_raspberrypi3() { | |||
34 | FILES_${PN}_append_raspberrypi3 = " ${BCM_BT_FIRMWARE}" | 35 | FILES_${PN}_append_raspberrypi3 = " ${BCM_BT_FIRMWARE}" |
35 | 36 | ||
36 | SYSTEMD_SERVICE_${PN}_append_raspberrypi3 = " ${BCM_BT_SERVICE}" | 37 | SYSTEMD_SERVICE_${PN}_append_raspberrypi3 = " ${BCM_BT_SERVICE}" |
38 | |||
39 | # for raspberrypi0-wifi | ||
40 | SRC_URI_append_raspberrypi0-wifi = " ${BCM_BT_SOURCES}" | ||
41 | |||
42 | do_install_append_raspberrypi0-wifi() { | ||
43 | enable_bcm_bluetooth | ||
44 | } | ||
45 | |||
46 | FILES_${PN}_append_raspberrypi0-wifi = " ${BCM_BT_FIRMWARE}" | ||
47 | |||
48 | SYSTEMD_SERVICE_${PN}_append_raspberrypi0-wifi = " ${BCM_BT_SERVICE}" | ||