linux-firmware: fix zst install suffix

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'.

(From OE-Core rev: cc9d972eba1f47fba206665260690ad8de99679f)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Antonin Godard 2025-04-24 14:45:59 +02:00 committed by Richard Purdie
parent bbcc57ba12
commit c1cac08c7c

View File

@ -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() {