[PATCH] fixup! decompressors: Update xz to include ARM64 BCJ decoder

Jules Maselbas jmaselbas at zdiv.net
Thu Sep 7 06:37:17 PDT 2023


On Thu, Sep 07, 2023 at 12:51:43PM +0200, Jules Maselbas wrote:
> This saves ~1.2KB from pbl binary size
yeah but that's because there are no BCJ filter at all...
this patch is broken, I have a fix and will send a v2.

> Signed-off-by: Jules Maselbas <jmaselbas at zdiv.net>
> ---
>  lib/decompress_unxz.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/lib/decompress_unxz.c b/lib/decompress_unxz.c
> index 5c906932f8..132ab4a239 100644
> --- a/lib/decompress_unxz.c
> +++ b/lib/decompress_unxz.c
> @@ -131,9 +131,10 @@
>  #	define XZ_DEC_POWERPC
>  #endif
>  #ifdef CONFIG_ARM
> -#	define XZ_DEC_ARM
>  #	ifdef CONFIG_CPU_64
>  #		define XZ_DEC_ARM64
> +#	else
> +#		define XZ_DEC_ARM
>  #	endif
>  #endif
>  #ifdef CONFIG_IA64
> -- 
> 2.42.0
> 
> 



More information about the barebox mailing list