[COPY] --- T2-COPYRIGHT-BEGIN --- [COPY] t2/package/*/linux-firmware/linux-firmware.desc [COPY] Copyright (C) 2015 - 2025 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] Rene Rebe [C] base/firmware [F] CROSS NOPARALLEL [K] + linux [L] Free-to-use [S] Stable [V] 20250627 [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] 9927710cb7d3cd460f8a936730c91fc66b043815c4010e7feaec034f linux-firmware-20250627.tar.bz2 https://gitlab.com/kernel-firmware/linux-firmware/-/archive/20250627/ makeopt= #makeinstopt="${makeinstopt/install/install-nodedup}" noorphaned=1 [[ $arch = x86* ]] || hook_add premake 2 "rm -rvf amd-ucode" # 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() { find $root/lib/modules -name "*.ko" | while read f; do ${archprefix}modinfo -F firmware $f done | sort -u > INSTALLED # add additional, dynamically string constructed firmware find cirrus/ -type f >> INSTALLED } # only installed used is a bit tricky, as the kernel needs them for initrd 1st :-/ if ! atstage rebuild; then hook_add premake 5 lf_find_used fi hook_add premake 7 'if [ -s INSTALLED ]; then [[ $arch = x86* ]] && ls amd-ucode/*.bin >> INSTALLED patch -p1 < $confdir/*.diff; fi'