update to latest v1.6 (Dec 9)

This commit is contained in:
Jaroslav Kysela 2020-12-10 17:43:23 +01:00
parent e72f339e1c
commit 6b47dc50d0

View File

@ -5,13 +5,13 @@
%global sof_version 1.6
%global sof_commit da8cb04cbd2f6031a2465794282f103ec83f15fe
%global sof_commit faa5bdc276651f3f8b7c77612fff770bd778987b
%global sof_shortcommit %(c=%{sof_commit}; echo ${c:0:7})
Summary: Firmware and topology files for Sound Open Firmware project
Name: alsa-sof-firmware
Version: %{sof_version}
Release: 3%{?dist}
Release: 4%{?dist}
# See later in the spec for a breakdown of licensing
License: BSD
URL: https://github.com/thesofproject/sof-bin
@ -38,37 +38,39 @@ This package contains the debug files for the Sound Open Firmware project.
cd lib/firmware
# we have the version in the package name
mv intel/sof/%{sof_version}/* intel/sof
rmdir intel/sof/%{sof_version}
mv intel/sof/v%{sof_version}/* intel/sof
rmdir intel/sof/v%{sof_version}
# rename intel signed firmware files
for platform in apl cnl icl tgl; do
mv intel/sof/intel-signed/sof-$platform-%{sof_version}.ri intel/sof/intel-signed/sof-$platform.ri
for platform in apl cnl ehl icl tgl; do
mv intel/sof/intel-signed/sof-$platform-v%{sof_version}.ri intel/sof/intel-signed/sof-$platform.ri
ln -sf intel-signed/sof-$platform.ri intel/sof/sof-$platform.ri
done
# rename public signed firmware files
for platform in apl cnl icl tgl; do
mv intel/sof/public-signed/sof-$platform-%{sof_version}.ri intel/sof/public-signed/sof-$platform.ri
for platform in apl cnl icl jsl tgl; do
mv intel/sof/public-signed/sof-$platform-v%{sof_version}.ri intel/sof/public-signed/sof-$platform.ri
done
# rename unsigned firmware files
for platform in bdw byt cht; do
mv intel/sof/sof-$platform-%{sof_version}.ri intel/sof/sof-$platform.ri
mv intel/sof/sof-$platform-v%{sof_version}.ri intel/sof/sof-$platform.ri
done
# rename debug files
for platform in apl bdw byt cht cnl icl tgl; do
mv intel/sof/sof-$platform-%{sof_version}.ldc intel/sof/sof-$platform.ldc
for platform in apl bdw byt cht cnl ehl icl jsl tgl; do
mv intel/sof/sof-$platform-v%{sof_version}.ldc intel/sof/sof-$platform.ldc
done
# add missing symlink
# add missing symlinks
ln -s public-signed/sof-jsl.ri intel/sof/sof-jsl.ri
ln -s intel-signed/sof-apl.ri intel/sof/sof-glk.ri
ln -s intel-signed/sof-cnl.ri intel/sof/sof-cml.ri
ln -s intel-signed/sof-cnl.ri intel/sof/sof-cfl.ri
# move topology files
rm -f intel/sof-tplg
mv intel/sof-tplg-%{sof_version} intel/sof-tplg
mv intel/sof-tplg-v%{sof_version} intel/sof-tplg
# remove NXP firmware files
rm -rf nxp ../../LICENCE.NXP
@ -115,7 +117,10 @@ if st and st.type == "link" then
end
%changelog
* Wed Oct 14 2020 Jaroslav Kysela <perex@perex.cz> - 1.6-3
* Thu Dec 10 2020 Jaroslav Kysela <perex@perex.cz> - 1.6-4
- Update to v1.6 (Dec 9)
* Thu Nov 19 2020 Jaroslav Kysela <perex@perex.cz> - 1.6-3
- Update to v1.6 (Nov 19)
* Wed Oct 14 2020 Jaroslav Kysela <perex@perex.cz> - 1.6-1