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

Jules Maselbas jmaselbas at zdiv.net
Thu Sep 7 03:51:43 PDT 2023


This saves ~1.2KB from pbl binary size

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