sys-kernel/coreos-firmware: fix builds by updating CXGB version

Fix build failures by updating CXGB firmware version to 1.26.0.0.
This commit is contained in:
Dongsu Park 2021-07-30 11:03:41 +02:00
parent 990e4f82b8
commit b37bce7dff

View File

@ -59,6 +59,8 @@ RESTRICT="binchecks strip"
# source name is linux-firmware, not coreos-firmware
S="${WORKDIR}/linux-firmware-${PV}"
CXGB_VERSION="1.26.0.0"
src_unpack() {
if [[ ${PV} == 99999999* ]]; then
git-r3_src_unpack
@ -75,9 +77,9 @@ src_unpack() {
# way of installing the firmware files, so we need to
# create the symlinks to avoid failures at the
# firmware scanning stage.
ln -sfn t4fw-1.25.4.0.bin linux-firmware-${PV}/cxgb4/t4fw.bin
ln -sfn t5fw-1.25.4.0.bin linux-firmware-${PV}/cxgb4/t5fw.bin
ln -sfn t6fw-1.25.4.0.bin linux-firmware-${PV}/cxgb4/t6fw.bin
ln -sfn t4fw-${CXGB_VERSION}.bin linux-firmware-${PV}/cxgb4/t4fw.bin
ln -sfn t5fw-${CXGB_VERSION}.bin linux-firmware-${PV}/cxgb4/t5fw.bin
ln -sfn t6fw-${CXGB_VERSION}.bin linux-firmware-${PV}/cxgb4/t6fw.bin
# The xhci-pci.ko kernel module started requiring a
# renesas_usb_fw.mem firmware file, but this file is