[COPY] --- T2-COPYRIGHT-BEGIN --- [COPY] t2/package/*/linux-firmware/linux-firmware.desc [COPY] Copyright (C) 2015 - 2026 The T2 SDE Project [COPY] SPDX-License-Identifier: GPL-2.0 [COPY] --- T2-COPYRIGHT-END --- [I] The Linux kernel device firmware files [T] This package contains vendor device's firmware images. [U] https://gitlab.com/kernel-firmware/linux-firmware.git [A] Linus Torvalds [M] René Rebe [C] base/firmware [F] CROSS NOPARALLEL [K] + linux [L] Free-to-use [V] 20260309 [P] X -?2--5---9 999.000 [CV-URL] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/refs/tags [D] bb07fe60bd2d0fb400e852d7bae67380285168a1e86d164148efa705 linux-firmware-20260309.tar.bz2 https://gitlab.com/kernel-firmware/linux-firmware/-/archive/20260309/ noorphaned=1 makeopt= #makeinstopt="${makeinstopt/install/install-nodedup}" [[ $arch = x86* ]] || hook_add premake 2 "sed -i /amd-ucode/d WHENCE" # delete files shared w/ alsa-firmware, at that includes more we prefer that hook_add premake 2 "sed -e '/ctefx.bin/d; /ctspeq.bin/d; /ess.maestro3_assp_kernel.fw/d; \ /ess.maestro3_assp_minisrc.fw/d; /korg.k1212.dsp/d; \ /sb16.alaw_main.csp/d; /sb16.ima_adpcm_capture.csp/d; /sb16.ima_adpcm_init.csp/d; \ /sb16.ima_adpcm_playback.csp/d; /sb16.mulaw_main.csp/d; /yamaha.ds1_ctrl.fw/d; \ /yamaha.ds1_dsp.fw/d; /yamaha.ds1e_ctrl.fw/d; /yamaha.yss225_registers.bin/d;' -i WHENCE" lf_find_used() { # extract referenced, used firmware files find $root/lib/modules -name "*.ko" | while read f; do ${archprefix}modinfo -F firmware $f done | sort -u | while read f; do echo "$f" # resolve symlinks, needs / escaped, ... sed -n "/Link: ${f//\//\\/} -> /{ s///p; q}" WHENCE done > INSTALLED # add additional, dynamically string constructed firmware find cirrus/ -type f >> INSTALLED ls intel/ibt-* >> INSTALLED } # only installed used is a bit tricky, as the kernel needs them for initrd 1st :-/ [ $stagelevel = 1 ] || hook_add premake 5 lf_find_used hook_add premake 7 'if [ -s INSTALLED ]; then [[ $arch = x86* ]] && ls amd-ucode/*.bin >> INSTALLED patch -p1 < $confdir/*.diff; fi'