xz: Enable BCJ filters on SPARC and 32-bit x86
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 18 Apr 2012 16:55:44 +0000 (19:55 +0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 18 Apr 2012 20:13:18 +0000 (13:13 -0700)
commit0db7bd8ca0033c1530bcefcbd49002364dba908a
tree69f699bf6c56ef3b2b801ffe6338e57d439a990c
parent40df43a17f3c465988ae96e61e1b8a31b78b76c2
xz: Enable BCJ filters on SPARC and 32-bit x86

The BCJ filters were meant to be enabled already on these
archs, but the xz_wrap.sh script was buggy. Enabling the
filters should give smaller kernel images.

xz_wrap.sh 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 <lasse.collin@tukaani.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/xz_wrap.sh