Changes to fit a8 linux-firmware
This commit is contained in:
parent
41581ff5cf
commit
ef25385f2a
@ -45,29 +45,20 @@ install -c -m 644 %{bz_srcdir}/debian/firmware/broadcom/BCM43430A1.hcd %{buildro
|
||||
install -c -m 644 %{bz_srcdir}/debian/firmware/broadcom/BCM4345C0.hcd %{buildroot}%{_firmwarepath}/brcm/
|
||||
# Bluetooth for RPi 400
|
||||
install -c -m 644 %{bz_srcdir}/debian/firmware/broadcom/BCM4345C5.hcd %{buildroot}%{_firmwarepath}/brcm/
|
||||
# Other firmware files installed by linux-firmware are compressed, so compress these as well
|
||||
xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.txt
|
||||
xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.bin
|
||||
xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.clm_blob
|
||||
xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.txt
|
||||
xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/BCM43430A1.hcd
|
||||
xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/BCM43430B0.hcd
|
||||
xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/BCM4345C0.hcd
|
||||
xz -C crc32 %{buildroot}%{_firmwarepath}/brcm/BCM4345C5.hcd
|
||||
# Create model-specific symlinks
|
||||
# Raspberry Pi CM 4
|
||||
ln -s brcmfmac43455-sdio.bin.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.bin.xz
|
||||
ln -s brcmfmac43455-sdio.clm_blob.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.clm_blob.xz
|
||||
ln -s brcmfmac43455-sdio.bin.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.txt.xz
|
||||
ln -s brcmfmac43455-sdio.bin %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.bin
|
||||
ln -s brcmfmac43455-sdio.clm_blob %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.clm_blob
|
||||
ln -s brcmfmac43455-sdio.bin %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.txt
|
||||
# Raspberry Pi 400
|
||||
ln -s brcmfmac43456-sdio.bin.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.raspberrypi,400.bin.xz
|
||||
ln -s brcmfmac43456-sdio.clm_blob.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.raspberrypi,400.clm_blob.xz
|
||||
ln -s brcmfmac43456-sdio.txt.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.raspberrypi,400.txt.xz
|
||||
ln -s brcmfmac43456-sdio.bin %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.raspberrypi,400.bin
|
||||
ln -s brcmfmac43456-sdio.clm_blob %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.raspberrypi,400.clm_blob
|
||||
ln -s brcmfmac43456-sdio.txt %{buildroot}%{_firmwarepath}/brcm/brcmfmac43456-sdio.raspberrypi,400.txt
|
||||
# Raspberry Pi 5
|
||||
ln -s BCM4345C0.hcd.xz %{buildroot}%{_firmwarepath}/brcm/BCM4345C0.raspberrypi,5-model-b.hcd.xz
|
||||
ln -s brcmfmac43455-sdio.bin.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin.xz
|
||||
ln -s brcmfmac43455-sdio.clm_blob.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.clm_blob.xz
|
||||
ln -s brcmfmac43455-sdio.txt.xz %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.txt.xz
|
||||
ln -s BCM4345C0.hcd %{buildroot}%{_firmwarepath}/brcm/BCM4345C0.raspberrypi,5-model-b.hcd
|
||||
ln -s brcmfmac43455-sdio.bin %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin
|
||||
ln -s brcmfmac43455-sdio.clm_blob %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.clm_blob
|
||||
ln -s brcmfmac43455-sdio.txt %{buildroot}%{_firmwarepath}/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.txt
|
||||
|
||||
%files
|
||||
%{_firmwarepath}/brcm/*
|
||||
|
Loading…
Reference in New Issue
Block a user