Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

xz: Enable BCJ filters on SPARC and 32-bit x86

The BCJ filters were meant to be enabled already on these
archs, but the script was buggy. Enabling the
filters should give smaller kernel images. will now use $SRCARCH instead of $ARCH to detect
the architecture. That way it doesn't need to care about the
subarchs (like i386 vs. x86_64) since the BCJ filters don't
care either.

Signed-off-by: Lasse Collin <>
Acked-by: Jan Beulich <>
Acked-by: H. Peter Anvin <>
Signed-off-by: Linus Torvalds <>
  • Loading branch information...
1 parent 40df43a commit 0db7bd8ca0033c1530bcefcbd49002364dba908a Lasse Collin committed with
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/
4 scripts/
@@ -12,8 +12,8 @@
-case $ARCH in
- x86|x86_64) BCJ=--x86 ;;
+case $SRCARCH in
+ x86) BCJ=--x86 ;;
powerpc) BCJ=--powerpc ;;
ia64) BCJ=--ia64; LZMA2OPTS=pb=4 ;;
arm) BCJ=--arm ;;

0 comments on commit 0db7bd8

Please sign in to comment.
Something went wrong with that request. Please try again.