diff mbox series

linux-firmware: fix zst install suffix

Message ID 20250424-linux-firmare-fix-szt-v1-1-feb963088f78@bootlin.com
State New
Headers show
Series linux-firmware: fix zst install suffix | expand

Commit Message

Antonin Godard April 24, 2025, 12:45 p.m. UTC
The linux-firmware Makefile defines an 'install-zst' rule, but currently
fw_compr_suffix() return the '-zstd' suffix when FIRMWARE_COMPRESSION is
set to 'zstd' which produces:

  make: *** No rule to make target 'install-zstd'.

Return '-zst' instead to properly run 'make install-zst'.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 meta/recipes-kernel/linux-firmware/linux-firmware_20250410.bb | 2 ++
 1 file changed, 2 insertions(+)


---
base-commit: e68ad590f9c0b4bcba94ad571553d81e2a7c6f50
change-id: 20250424-linux-firmare-fix-szt-0a5c92ef0c16

Best regards,
--
Antonin Godard <antonin.godard@bootlin.com>
diff mbox series

Patch

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20250410.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20250410.bb
index f12bb2c6d3..5dd178c03e 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20250410.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20250410.bb
@@ -269,6 +269,8 @@  def fw_compr_suffix(d):
     compr = d.getVar('FIRMWARE_COMPRESSION')
     if compr == '':
         return ''
+    if compr == 'zstd':
+        compr = 'zst'
     return '-' + compr
 
 do_compile() {