Add RPI3 B+ model BT firmware file
[platform/adaptation/bluetooth-firmware-bcm.git] / packaging / bluetooth-firmware-bcm.spec
index fb77b03..1672264 100644 (file)
@@ -3,7 +3,7 @@ Summary:    firmware and tools for bluetooth
 Version:    0.2.0
 Release:    1
 Group:      Hardware Support/Handset
-License:    Apache-2.0
+License:    Apache-2.0 and Broadcom
 # NOTE: Source name does not match package name.  This should be
 # resolved in the future, by I don't have that power. - Ryan Ware
 Source0:    %{name}-%{version}.tar.gz
@@ -140,13 +140,16 @@ ln -s /lib/firmware/bcm43012/BCM43012B0_002.001.021.0081.0087.hex /lib/firmware/
 
 %post rpi3
 rm -rf %{_prefix}/etc/bluetooth/bt-dev-start.sh
+rm -rf %{_prefix}/etc/bluetooth/bt-dev-end.sh
 ln -s %{_prefix}/etc/bluetooth/bt-dev-start-rpi3.sh %{_prefix}/etc/bluetooth/bt-dev-start.sh
+ln -s %{_prefix}/etc/bluetooth/bt-dev-end-rpi3.sh %{_prefix}/etc/bluetooth/bt-dev-end.sh
 
 %files rpi3
 %manifest %{name}.manifest
 %license LICENSE.APLv2 LICENSE.Broadcom
 %defattr(-,root,root,-)
-%{_prefix}/etc/bluetooth/BCM43430A1.hcd
-%attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-end.sh
+/lib/firmware/brcm/BCM43430A1.hcd
+/lib/firmware/brcm/BCM4345C0.hcd
+%attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-end-rpi3.sh
 %attr(755,-,-) %{_prefix}/etc/bluetooth/bt-dev-start-rpi3.sh
 %manifest %{name}.manifest