Skip to contentSkip to conversation

linux-firmware: fix install for Chelsio T[45]

Buildroot Peter Korsgaard 1 participant 1 message Jan 15, 2018

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=dcc91315765071b10dbf18ad6c8dfb96c103c947
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

It's broken for the last 3 version bumps, since 1c9846ecc9 "linux-firmware: Bump to the latest version"

Fix it by updating the name of the file to install.
Do not use * since it would install also old versions that would take 1MB extra space in the target.

A comment to remember to update the file name when bumping the package is not needed because a previous patch in the series makes the build to fail for missing file.

Cc Fabio Estevam <[email protected]>
Cc Peter Korsgaard <[email protected]>
Cc Peter Seiderer <[email protected]>
Cc Yann E. MORIN <[email protected]>
Cc Yegor Yefremov <[email protected]>
---
 package/linux-firmware/linux-firmware.mk | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
package/linux-firmware/linux-firmware.mk +4 -4
index 03704d8..45483a3 100644
@@ -337,14 +337,14 @@ LINUX_FIRMWARE_FILES += bnx2x/*
 endif
 
 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T4),y)
-# cxgb4/t4fw.bin is a symlink to cxgb4/t4fw-1.16.26.0.bin
-LINUX_FIRMWARE_FILES += cxgb4/t4fw-1.16.26.0.bin cxgb4/t4fw.bin
+# cxgb4/t4fw.bin is a symlink to cxgb4/t4fw-1.16.63.0.bin
+LINUX_FIRMWARE_FILES += cxgb4/t4fw-1.16.63.0.bin cxgb4/t4fw.bin
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.chelsio_firmware
 endif
 
 ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T5),y)
-# cxgb4/t5fw.bin is a symlink to cxgb4/t5fw-1.16.26.0.bin
-LINUX_FIRMWARE_FILES += cxgb4/t5fw-1.16.26.0.bin cxgb4/t5fw.bin
+# cxgb4/t5fw.bin is a symlink to cxgb4/t5fw-1.16.63.0.bin
+LINUX_FIRMWARE_FILES += cxgb4/t5fw-1.16.63.0.bin cxgb4/t5fw.bin
 LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.chelsio_firmware
 endif