On Fri, Sep 18, 2026 at 02:52:31PM +0400, Alexey Charkov wrote: > spl_decompression_enabled() names the two algorithms SPL happened to > support, so every algorithm added to image_decomp() requires editing the > header. It also asks about CONFIG_SPL_* from a header included in every > phase, so a VPL build with VPL_LZMA reads SPL_LZMA and answers about the > wrong phase. > > Add a hidden per-phase symbol selected by any of the compression > algorithms and ask about that instead, which also matches how > image_decomp() gates its own cases. > > SPL_BZIP2 is out of scope: lib/bzip2 has no phase-aware build rule. > > Signed-off-by: Alexey Charkov <[email protected]>
Reviewed-by: Tom Rini <[email protected]> -- Tom
signature.asc
Description: PGP signature
