diff options
| author | Antonin Godard <antonin.godard@bootlin.com> | 2025-04-24 14:45:59 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-04-29 09:55:31 +0100 |
| commit | c1cac08c7c7b9667ebc69a7d9c1885f7dc48a8f3 (patch) | |
| tree | 679f7f937487f1564cf31a9fbfb4d7a3b5585d0f | |
| parent | bbcc57ba12ea7fab55254f2b550a1306db445ce4 (diff) | |
| download | poky-c1cac08c7c7b9667ebc69a7d9c1885f7dc48a8f3.tar.gz | |
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>
| -rw-r--r-- | meta/recipes-kernel/linux-firmware/linux-firmware_20250410.bb | 2 |
1 files changed, 2 insertions, 0 deletions
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): | |||
| 269 | compr = d.getVar('FIRMWARE_COMPRESSION') | 269 | compr = d.getVar('FIRMWARE_COMPRESSION') |
| 270 | if compr == '': | 270 | if compr == '': |
| 271 | return '' | 271 | return '' |
| 272 | if compr == 'zstd': | ||
| 273 | compr = 'zst' | ||
| 272 | return '-' + compr | 274 | return '-' + compr |
| 273 | 275 | ||
| 274 | do_compile() { | 276 | do_compile() { |
